Automation: deletion of the landing zone should include the 5 ns - policies, logging, networking, projects, hierarchy - or let the config controller handle deletion via kpt live destroy

See original documentation

see https://cloud.google.com/architecture/managing-cloud-infrastructure-using-kpt#delete_the_resources
see https://cloud.google.com/config-connector/docs/how-to/managing-deleting-resources
see https://cloud.google.com/anthos-config-management/docs/tutorials/manage-resources-config-controller#delete_the_individual_resources

Add to the documentation and automation, currently we do only
kubectl delete gcp --all

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/main/docs/landing-zone-v2/README.md#clean-up
#446
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/gh446-hub/solutions/setup.sh
Why are we not letting the config controller handle services deletion it currently controls - using
  kpt live destroy $REL_SUB_PACKAGE

We will add

  kubectl delete gcp -n projects --all
  kubectl delete gcp -n networking --all
  kubectl delete gcp -n hierarchy --all
  kubectl delete gcp -n policies --all
  kubectl delete gcp -n logging --all

fix https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/743


Bluetooth: Adv comment fix

LGTM. Though I think we could just remove these comments.

I did consider that as well, and actually got started on that, but then stopped when I noticed that other equally trivial comments were added for e.g. data set, per adv param set, etc., and figured that if I started removing these comments, the others should also be deleted.
For samples I think they are fine to have, but could be more easily removed from the tests.


Copy 7.1 content and update configuration

Copy 7.1 content and update configuration
This is the first step in retiring the v7.1 content. Once this is live we can delete the content from the PowerShell-Docs repo.

Docs Build status updates of commit 3dacb30:
:warning: Validation status: warnings

File
Status
Preview URL
Details

archived-reference/7.1/Microsoft.PowerShell.Core/About/about_PSCustomObject.md
:warning:Warning
View (powershell-7.1)
Details

archived-reference/7.1/Microsoft.PowerShell.Core/About/about_Signing.md
:warning:Warning
View (powershell-7.1)
Details

archived-reference/7.1/Microsoft.PowerShell.Utility/Get-Verb.md
:warning:Warning
View (powershell-7.1)
Details

archived-reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-70.md
:warning:Warning
View (>=powershell-3.0)
Details

archived-reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-71.md
:warning:Warning
View (>=powershell-3.0)
Details

archived-reference/7.1/CimCmdlets/CimCmdlets.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Get-CimAssociatedInstance.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Get-CimClass.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Get-CimInstance.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Get-CimSession.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Import-BinaryMiLog.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Invoke-CimMethod.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/New-CimInstance.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/New-CimSession.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/New-CimSessionOption.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Register-CimIndicationEvent.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Remove-CimInstance.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Remove-CimSession.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/CimCmdlets/Set-CimInstance.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/Microsoft.PowerShell.Archive/Compress-Archive.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/Microsoft.PowerShell.Archive/Expand-Archive.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/Microsoft.PowerShell.Core/About/About.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/Microsoft.PowerShell.Core/About/about_Alias_Provider.md
:white_check_mark:Succeeded
View (powershell-7.1)

archived-reference/7.1/Microsoft.PowerShell.Core/About/about_Aliases.md
:white_check_mark:Succeeded
View (powershell-7.1)

This comment lists only the first 25 files in the pull request.

archived-reference/7.1/Microsoft.PowerShell.Core/About/about_PSCustomObject.md

Line 163, Column 3: [Warning: xref-not-found] Cross reference not found: 'System.Management.Automation.PSObject'.
Line 164, Column 3: [Warning: xref-not-found] Cross reference not found: 'System.Management.Automation.PSCustomObject'.

archived-reference/7.1/Microsoft.PowerShell.Core/About/about_Signing.md

Line 145, Column 1: [Warning: xref-not-found] Cross reference not found: 'pki.New-SelfSignedCertificate'.

archived-reference/7.1/Microsoft.PowerShell.Utility/Get-Verb.md

Line 0, Column 0: [Warning: file-not-found - See documentation] Invalid file link: '../../docs-conceptual/developer/cmdlet/approved-verbs-for-windows-powershell-commands.md'.

archived-reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-70.md

Line 333, Column 1: [Warning: file-not-found - See documentation] Invalid file link: './media/What-s-New-in-PowerShell-70/myscript-error.png'.
Line 351, Column 1: [Warning: file-not-found - See documentation] Invalid file link: './media/What-s-New-in-PowerShell-70/myscript-geterror.png'.

archived-reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-71.md

Line 74, Column 59: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.
Line 78, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.
Line 79, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.
Line 83, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.
Line 88, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.
Line 92, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.
Line 97, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../learn/experimental-features.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


add next_scan_all to systeminfo api response

Coverage decreased (-0.02%) to 53.966% when pulling ad2cafe4d2ab84fb0500877dd7d4730de60dda47 on reasonerjt:systeminfo-scan-all into 6e10a21871827ec9398d9c200022b4b8edc39f84 on vmware:master.


Use CFEP-03 to provide natively compiled packages for osx-arm64 with introspection enabled

Comment:
Currently the gstreamer packages are cross-compiled from osx-64 for osx-arm64, which means that the introspection support is disabled (see https://github.com/conda-forge/gstreamer-feedstock/commit/19b76c317b60a1d162308d4997db802b033157e9). It is reasonable to ask that this project utilise CFEP-03 to provide natively compiled packages for osx-arm64 such that downstream projects can use the introspection features?
I do not understand the maintenance burden that this would imply, and unfortunately cannot offer any of my own time to such a task, so would be satisfied with 'no' as an answer for that reason.

From my personal experience regarding CFEP-03 is that the maintenance burden increases a lot if a package needs to be updated frequently, which has been the case for all qt-related packages, which require manual uploads for  aarch64. There are times where the packages are uploaded after several weeks of waiting.
The general opinion is that, unless a team member is compromised to compile the packages natively each time a new package version is published as well as pinging the core team to upload the packages providing the logs, it is preferred to have a cross-compiled version, even if some features are disabled.

It seems that gobject-introspection may have cross compilation support now
https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/64

I somewhat got introspection to work with cross compilation in
https://github.com/conda-forge/libvips-feedstock/blob/main/recipe/build.sh
just wanted to point you to that.

I wonder if we should be making introspection pacakges noarch and upload them once per operating system?

Don't think that's possible, given that they contain a reference to the shared library. Also, depending on platform and which features have been enabled, perhaps more or less functions will be exposed through gobject-introspection.

reference to the shared library

is this a textual pointer? or maybe more details about it?

Also, depending on platform and which features have been enabled, perhaps more or less functions will be exposed through gobject-introspection.

understood.

reference to the shared library

is this a textual pointer? or maybe more details about it?

Actually, it contains the full path to the shared library. Sorry should have been clearer

full path to the shared library

My understanding is that things like: https://github.com/conda-forge/libvips-feedstock/blob/main/recipe/build.sh
basically use the cross compiled gi introspection module


bugfix: add URL for node in src/vars.js

Re: https://github.com/jshint/jshint/issues/3567#issuecomment-917540451
See history in https://nodejs.org/api/url.html#url_class_url.

Coverage remained the same at 100.0% when pulling 1661d6fa6cb7c42838df998c07e64a2d2311efa4 on coolaj86:patch-1 into 75e48b7e1103dfaf60eee72fdbae55acb64bae6c on jshint:master.


Inline native-transformation with variables

It should be possible to use a variable and a transformation on one line of definition. It should be a bit similar to what is used for formatting.
Proposed syntax:
<parameter name="myParam">@var | dateTime-to-first-of-month<parameter>

If the value of @var is 2019-01-25 then the value passed to the parameter myParam should be 2019-01-01.

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/22338595/artifacts


Updated PR for switching to src layout

An alternate attempt to refactor the code base into src layout while not breaking where Pulumi thinks things should be.
Best not to review this one commit by commit: there's some thrashing, as I realized that PDM + Pulumi isn't an ideal combination for GitHub workflows (they seem to have specific, conflicting ideas about how to handle python virtual environments).
Apologies for the size of the PR. The actual code used for the Pulumi demo hasn't really changed. Most of the diffs are related to:

moving Pulumi's "hello world" tutorial code into a src-based layout and adding a pyproject.toml file
using pip-tools to generate requirements files from the dependencies specified in pyproject.toml
adding a workflow for code checks (linting and type checking, with tests to come soon)
formatting changes to appease the linter
README updates

@elray1 This is an updated version of the PR you looked at earlier. They may indeed be a way to make Pulumi and PDM work together in a GitHub action, but I didn't want to spend any more time on it.

approved, will let you merge or squash/merge as you see fit!


Implementation of XGboost algorithm in Python, Java, C++, C

🛠 Issue
Issue no https://github.com/Kumar-laxmi/Algorithms/issues/1064
👨💻 Changes proposed
Added XGboost Algorithm in Python, Java, C++ and C
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Please review the changes in each implementation and provide feedback on the code structure, algorithm implementation, and any potential improvements.
Thank you for your time and valuable feedback.
Best regards,
Phalesh Kolpe
📷 Screenshots

remove .vscode/tasks.json & Java/Machine_Learning/README.md

removed the asked files.

@derphalesh Is this code generated by ChatGPT?
Because the same code got generated for me:
And, a human programmer would never type std:: so many times, instead he/she would prefer using namespace std in C++ codes

Sorry for that sir I wanted to raise pr as soon as possible as I got the deadline that's why I used gpt code in my code for Java and cpp I will do the code for that again. Please give me 5-6 days  as I am new to cpp and Java.


Edit

👷 Deploy Preview for adoring-leavitt-e31a11 processing.

Name
Link

🔨 Latest commit
8b7d07ed9db7ed74fb148ed54fda5aeade357894

🔍 Latest deploy log
https://app.netlify.com/sites/adoring-leavitt-e31a11/deploys/62a218d445fee5000898b3a8


[fix][broker] Fix message loss during topic compaction

Motivation
If a batch contains a message with a null value (i.e. payloadSize == 0) and PhaseOneResult.from haven't been set, then the compactor may skip the whole batch message according to PhaseOneResult.from in phase two, which will lead to message loss during the topic compact. The root cause is deletedMessage of whole batch be marked true when the batch contains one message with a null value.
Also, PhaseOneResult.to has the same problem, when finding the value of the message is null, PhaseOneResult.to will not be updated.
https://github.com/apache/pulsar/blob/98628845aa94b416b0c3711b5a15819ade549c57/pulsar-broker/src/main/java/org/apache/pulsar/compaction/TwoPhaseCompactor.java#L126-L166
Modifications

Fix deletedMessage calculate in the batch message,  just when delete times are equal to the number of messages in the batch to mark deletedMessage=true.

Using singleDeleteMessage/singleReplaceMessage instead of deletedMessage/replaceMessage in the batch.

Don't extract message with null key in phase one.

Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report

Merging #20980 (b55e6b9) into master (9862884) will increase coverage by 39.58%.
Report is 3 commits behind head on master.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master   #20980       +/-   ##
=============================================
+ Coverage     33.53%   73.11%   +39.58%
- Complexity    12174    32244    +20070
=============================================
  Files          1621     1875      +254
  Lines        126919   139416    +12497
  Branches      13851    15328     +1477
=============================================
+ Hits          42561   101938    +59377
+ Misses        78745    29417    -49328
- Partials       5613     8061     +2448

Flag
Coverage Δ

inttests
24.23% <18.75%> (-0.04%)
:arrow_down:

systests
25.20% <18.75%> (?)

unittests
72.39% <100.00%> (+40.33%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...g/apache/pulsar/client/impl/RawBatchConverter.java
93.50% <100.00%> (+19.82%)
:arrow_up:

...rg/apache/pulsar/compaction/TwoPhaseCompactor.java
75.22% <100.00%> (+5.03%)
:arrow_up:

... and 1520 files with indirect coverage changes


docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.

I tried running kubeadm-dind-cluster on Windows 10 with https://docs.docker.com/toolbox/toolbox_install_windows/ and got the following error.
 $ ./dind-cluster-v1.11.sh up
* Making sure DIND image is up to date
v1.11: Pulling from mirantis/kubeadm-dind-cluster
Digest: sha256:ee87eb24cab4a596f31ba83bd651df10750ca5ac7c5ce9834467c87fa7f6564b
Status: Image is up to date for mirantis/kubeadm-dind-cluster:v1.11
* Starting DIND container: kube-master
docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.

I suspect that it's because Docker Toolbox's docker daemon lives in an isolated Virtual Box machine, and probably kubeadm-dind-cluster assumes Docker daemon runs in the same host environment?

Maybe an independent issue actually, will close for now.

Were you able to solve this issue?


Script not found

Hey, I'm using image from hub.docker.com and I encountered a problem with "Script not found"  message when I try to do your example foo/bar.
Regardless of specified value of APP_SCRIPTS_DIR in docker-compose file still i get message "Script not found".

The foo/bar script is only an example and does not exist in the scripts folder of this repository. You must create it in the mounted folder. For a quick test, you can try the test script: curl -XPOST localhost:8080/test
However I found another pb in the Docker image (maybe related to yours in fact). The bash shell is missing. So #!/bin/bash scripts do not run. I just corrected. Can you pull the image again?

Any update?


Changed token header from token to Authorization:Bearer ...

OpenAPI specs

Add securitySchemes for DX AAA Token and add security for non-generated APIs

DxTokenAuthenticationHandler

Change to AuthenticationHandler because normal handler cannot be used in RouterBuilder.securityHandler() in EntityRouterBuilder
Handle Authentication:Bearer <token> style of header

OgcFeaturesAuthZHandler

Handle Authentication:Bearer <token> style of header

RouterManager

Remove handling of disable.auth property

Is now handled in RouterBuilder using RouterBuilderOptions.setRequireSecurityHandlers()

CollectionMetadata

Remove token header param and add security key

OgcFeaturesEntity, OgcProcessesEntity, OgcTilesEntity, DxMeteringRouterBuilder, StacRouterBuilder

Remove token authentication handlers as that is taken care of by RouterBuilder.securityHandler() in EntityRouterBuilder now

EntityRouterBuilder

Update CORS allowed headers to allow Authorization header
Make DxTokenAuthenticationHandler private since it's never used by any of the router builders
Add securityHandler when building the router to automatically handle any APIs that have the security block in the OpenAPI spec
Use RouterBuilderOptions to handle disable.auth property

Constant files

Added new header
Added new security scheme string and security JSON object to be added to generated APIs that need security

Integration tests and Postman collections

Updated all token headers

Build finished.


Compile errors Unity 5.5.0b3

When I open the project in Unity Unity 5.5.0b3, I get compile errors - see attached screenshot.
I don't know how to fix it, please help.

I appear to be having the same problem

This has something to do with thew Database Control Asset. Did you download it from the store?
You can find the link here.

Yes. I've tried with both the one that came with this project, and the one from the asset store I believe the problem is that the project is targeting the .NET framework 4.0, and the DatabaseControl.dll asset's assembly info is having it set to target v3.5.
In essence, it's the very reason why some nugget packages fail to install... The target version for the assembly and the project after 2 different versions, and Unity (or Mono, IDK which) doesn't like that.

Yeah i've got the same issue

Hey guys, I have come up with a solution,
Problem:-
The problem here is that we do not have the database control or we do not have the updated version of database control, Brackeys did all of this work perfectly, the problem here i that we have updated versions and all that stuff.
Solution:-
Now, first of all, if you do not have Database Control, go to your imported project in unity and delete the included database control file provided with the project, after you have done that, Download DatabaseControlFree from here[thats the same file Brackey's used, but an updated version...] :- https://www.assetstore.unity3d.com/en/#!/content/41337 and you are done with the downloading part.
Now in the console,double click on the first script, and it will take you to VisualStudio/MonoDevelop [Depending on what you use, in my case, MonoDevelop], once it opens, you will see the script and replace the Highlighted word [i.e. DC or DatabseControl, followed by a dot(.)  and a word][replace only the DC or DatabaseControl] with 'DCF' go ahead and hit save, and you will notice that the first error will go off. Do the same to all the errors and you are done!!
:+1: If this helped you :100: ,
Support me on patreon : https://www.patreon.com/TheSteamGuy
Subscribe me on youtube : https://www.youtube.com/channel/UC8JfEe-OZzqReISIpwX2DQw
If it did not work :-1: ,then let me know in the comments.....
~TheSteamGuy
Developer&Hardware&Sotware Engineer

Same Problem Here

sorry to say that, but the link doesnt work for me to download the new database control

OK now it works, thank allot TheSteamGuy! :)

But how can I fix the problem, that no 3d models could be loaded? @thesteamguy8

But how can I fix this problem @thesteamguy8 ???? PLEASE HELP

can you show me the screenshot of the code [the part where the problem occours], also, it would be great if you provide a snippet of the whole code along with the screenshot...
~TheSteamGuy

Same problem here :

Fix for:
[Null Reference Exception: Object reference not det to an instance of an object.
LoginMenu+c__Iterator1.MoveNect () (at Assets/Scripts.....]
who so ever is getting this problem, make sure that you have enabled unity services[multiplayer services], this might be a problem because in the new version of unity, you have to enable the unity multiplayer services to enable internet matchmaking features(this feature has a limit of 10 people).
By enabling unity multiplayer options(as brackeys did), you unlock the feature of online matchmaking options, in the basic version of unity, you are only allowed to invite only 10 players. In the pro version of unity, you are allowed to invite 100players.
Possibilities of this problem:
1.You have not enabled unity services
2.You are not logged in to your unity account
3.There is a bug in the installed version
4.It is not compatible with the following version
possibilites are endless
There are two solutions to this problem.

Install the older version of unity, the best one is the one used by brackeys in the tutorial.
Set this Project to LAN only by using unet(Offline) or photon unity(offline).

This is the best solution that I can provide with the given info.
👍 If this helped you 💯 ,
Support me on patreon : https://www.patreon.com/pranesharry?alert=1
Subscribe me on youtube : https://www.youtube.com/channel/UC8JfEe-OZzqReISIpwX2DQw
If it did not work 👎 ,then quote this reply and let me know.....
~TheSteamGuy

Fix For
[Null Reference Exception: Object reference not det to an instance of an object.
LoginMenu.Start() (At Assets/....]
This is a simple fix, you may not have set the menu properly.
For more info check the Brackey's video on menu's!
👍 If this helped you 💯 ,
Support me on patreon : https://www.patreon.com/pranesharry?alert=1
Subscribe me on youtube : https://www.youtube.com/channel/UC8JfEe-OZzqReISIpwX2DQw
If it did not work 👎 ,then quote this reply and let me know.....
~TheSteamGuy

Hey guys, I have come up with a solution,
Problem:-
The problem here is that we do not have the database control or we do not have the paid version of database control, Brackeys did all of his work perfectly, the problem here is that we have the free version and all that stuff.
Solution:-
Now, first of all, if you do not have Database Control, go to your imported project in unity and delete the included database control file provided with the project, after you have done that, Download DatabaseControlFree from here[thats the same file Brackey's used, but an updated version...] :- https://www.assetstore.unity3d.com/en/#!/content/41337 and you are done with the downloading part.
Now in the console,double click on the first script, and it will take you to VisualStudio/MonoDevelop [Depending on what you use, in my case, MonoDevelop], once it opens, you will see the script and replace the Highlighted word [i.e. DC or DatabseControl, followed by a dot(.) and a word][replace only the DC or DatabaseControl] with 'DCF' go ahead and hit save, and you will notice that the first error will go off. Do the same to all the errors and you are done!!
👍 If this helped you 💯 ,
Support me on patreon : https://www.patreon.com/TheSteamGuy
Subscribe me on youtube : https://www.youtube.com/channel/UC8JfEe-OZzqReISIpwX2DQw
If it did not work 👎 ,then quote this reply and let me know.....
~TheSteamGuy
Developer&Hardware&Sotware Engineer

Hi, I'm trying to put the script called "dcDemo_MenuControl_CSharp.cs" on the MenuControl in the inspector, but I can't. Unity says: "no monobehaviour scripts in the file". The filename and class name are the same, and there are no errors or warnings in the file. Help?

@thesteamguy8 ^

any idea?login and register not working,when i try to login with lobby scene,player is on the air

@thesteamguy8
https://www.assetstore.unity3d.com/en/#!/content/41337
^^^ link does not work, just says 404 content not found.
Is there any other link?

Had the same issues described above. The solution is very easy. The problem is that the developer changed a bunch of things and now you just have to write
string returnedd = ee.Current as string;
and not
WWW returnedd = ee.Current as WWW;
then change everywhere returnedd.text to returnedd. everything c]should work.
Do it also with "returned"

Hey guys,i'm a chinese guy having watched this videos ,and i'm facing a lots bothering issues but I really want to have this project.
I'll utterly appreciate it if some of you send me a entire unity project which is checked and having no problems to buid and play with imformations about unity version used;
my emailadress<EMAIL_ADDRESS>thanks.

@thesteamguy8

i have a problem when i login/register it just infinite loads! please help!


Tasks freezing, wifi disconnection, reconnection impossible (IDFGH-3611)

Environment

Development Kit: [none]
Kit version (for WroverKit/PicoKit/DevKitC): [none]
Module or chip used: [ESP32-WROVER-E]
IDF version (run git describe --tags to find it): v4.0.1
Build System: [CMake]
Compiler version (run xtensa-esp32-elf-gcc --version to find it): (crosstool-NG esp-2019r2) 8.2.0
Operating System: [Linux]
Power Supply: [external 5V]

Problem Description
On the same project as that described here: #5122.

I have an esp32 using wifi and bluetooth:

A lot of datas are received via the BLE.
These datas are send to a server with mqtt.

After a while, the queue of the btc_thread start to fill up. When the queue is full, the queue of the btu_thread start to fill up...
Then, I have a wifi timeout disconnection (WIFI_REASON_BEACON_TIMEOUT) and it's impossible to reconnect to the wifi (WIFI_REASON_AUTH_EXPIRE).
Some tasks seems to freeze: hciT, btuT, BTC_TASK, sys_evt, esp_timer, ipc0 and ipc1.
log_work_queue_250.log
Note:

the "water level" of theses queue is obtain with osi_thread_queue_wait_size(btc_thread, 0); and osi_thread_queue_wait_size(btu_thread, 0);.
the DEFAULT_WORK_QUEUE_CAPACITY has been increase to 250 (in stead of 100). (https://github.com/espressif/esp-idf/issues/5122#issuecomment-620978546)

Thanks for reporting, we will look into.

Hi @pbruynbroeckQuimesis please help to provide following info:

According to the log, the WiFi didn't reconnect after several reconnections, does the application set the maximum reconnection count, after maximum reconnection reaches, the application no long reconnect the WiFi?
How about the deinit the BT if the application detect the problem is happened?
Is it possible provide smallest demo code for us the reproduce this issue? Then we can debug it ourselves and it would be more effective than our current debug way.

Hello @liuzfesp,
In this project, I have the periodic_task. This task does different things including:

run esp_ble_gap_start_scanning every 30sec (if there is no device connected),
run esp_wifi_scan_start, esp_wifi_scan_get_ap_records, esp_wifi_set_config, esp_wifi_connect every 10sec (if there is no connection),
run esp_ble_gap_disconnect if no datas are exchange on the BLE for a while (see in the log: W (4558923) HUB_MANAGER: The bracelet 0 no longer send data for 13520 ms. Disconnect..).

All theses features works fine in a normal case.
(We see in the log that the perdioc_task is also freeze, that's why we have no more attempt to reconnect to the wifi).
However, I thinks the root cause is linked to the queues used by btc_thread and btu_thread.
What can block the processing of theses queues? What start by fill up the btc queue, and only when the btc queue is full, start to use the btu queue?
Unfortunately, it's a big project and it will take a lot of time to simplify this project and create additional scripts to simulate interactions with other devices. And also, I have the feeling that the issue occurs more often when all functionalities are working in same times (play music, wifi, BLE, mqtt and uart communication).

Hi, @pbruynbroeckQuimesis

Maybe you can increase the queue of btc and btu according to your actual needs.

If there are a large number of adv packets in the environment during ble scan, it may cause btc queue to block. You can speed up the execution speed of ble_gap_cb and reduce the time of ble scan.

If you still can't solve the problem, I will provide a patch based on your commit, When the problem occurs, the content of btc queue and btu queue will be typed out to see what data causes a sudden increase

Looking at the log, this looks very similar to the problem I'm reporting in https://github.com/espressif/esp-idf/issues/5351#issuecomment-657337155. Everything is fine until randomly a wifi:bcn_timout,ap_probe_send_start with 200 beacon timeout, and the device never recovers until a reboot.

Hi, @pbruynbroeckQuimesis

Maybe you can increase the queue of btc and btu according to your actual needs.
If there are a large number of adv packets in the environment during ble scan, it may cause btc queue to block. You can speed up the execution speed of ble_gap_cb and reduce the time of ble scan.
If you still can't solve the problem, I will provide a patch based on your commit, When the problem occurs, the content of btc queue and btu queue will be typed out to see what data causes a sudden increase

Hi @WCCWCC ,
When the queue btc/btu started to fill up, the ESP32 was working normally. It was connected to my other device via BLE. (The ESP32 wasn't in 'scanning mode').

Thanks @gadget-man,
Do you have also the btc and btu queue size increasing just before disconnection?
(To display the size of theses queue, I use osi_thread_queue_wait_size inside btc_transfer_context and btu_task_post
bt_status_t btc_transfer_context(btc_msg_t *msg, void *arg, int arg_len, btc_arg_deep_copy_t copy_func)
{
    static int queue_size = 0;
    static int prev_queue_size = 0;
    queue_size = osi_thread_queue_wait_size(btc_thread, 0);

    if(queue_size > prev_queue_size)
    {
        ESP_LOGI("BTC", "btc_thread waterlevel %d", queue_size);
        prev_queue_size = queue_size;
    }
...

)

Thanks @gadget-man,
Do you have also the btc and btu queue size increasing just before disconnection?
(To display the size of theses queue, I use osi_thread_queue_wait_size inside btc_transfer_context and btu_task_post
bt_status_t btc_transfer_context(btc_msg_t *msg, void *arg, int arg_len, btc_arg_deep_copy_t copy_func)
{
    static int queue_size = 0;
    static int prev_queue_size = 0;
    queue_size = osi_thread_queue_wait_size(btc_thread, 0);

    if(queue_size > prev_queue_size)
    {
        ESP_LOGI("BTC", "btc_thread waterlevel %d", queue_size);
        prev_queue_size = queue_size;
    }
...

)

I have Bluetooth disabled, is this relevant in my case?

I thought that was because btu / btc queues was full that I have wifi: bcn_timout, ap_probe_send_start but in fact not..
I see in my log:
I (4528853) BTC: btc_thread waterlevel 118
I (4528853) BTC: btc_thread waterlevel 119
I (4528873) wifi:bcn_timout,ap_probe_send_start
I (4528893) BTC: btc_thread waterlevel 120
I (4528933) BTC: btc_thread waterlevel 121
[...]
I (4541963) BTU: btu_thread waterlevel 249
I (4541993) BTU: btu_thread waterlevel 250
I (4542713) wifi:bcn_timout,ap_probe_send_start
I (4545233) wifi:ap_probe_send over, resett wifi status to disassoc
I (4545233) wifi:state: run -> init (c800)
I (4545243) wifi:pm stop, total sleep time:<PHONE_NUMBER> us /<PHONE_NUMBER> us
I (4545243) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (4545253) WIFI-Manager: SYSTEM_EVENT_STA_DISCONNECTED: 200 (WIFI_REASON_BEACON_TIMEOUT)

@pbruynbroeckQuimesis BT queue full is not expected to happen. Is this issue only happens when BT queue size full? Can you post the code that lead to BT queue full?
There're some ways to do flow control in application side (you can check the BLE throughput examples) to prevent queue full.

As I said, the ESP works fine: it receives data from BLE and send it over MQTT. (In the same time, it reads data from memory to play music with i2s, it communicates with another device with UART,... so the load is heavy but all works fine.)
But, after a while (here: 4528853 ticks => 75 min), btu/btc queques start to fill up but without any reason... so I'm not able to find the code that lead to BT queue full
This is why I asked in https://github.com/espressif/esp-idf/issues/5551#issuecomment-656529024:

What can block the processing of theses queues? What start by fill up the btc queue, and only when the btc queue is full, start to use the btu queue?

Was this ever resolved? I am seeing the exact same behaviour with IDF v4.3.2. Bluetooth off. Nothing intensive going on. Every few weeks, it just disconnects on certain networks with error 200 (WIFI_REASON_BEACON_TIMEOUT) ! These are networks with multiple APs if that's relevant. Also potentially relevant, esp_wifi_set_ps(WIFI_PS_MAX_MODEM)... I noticed that the network was falling out during OTA until I set esp_wifi_set_ps(WIFI_PS_NONE); just before the intensive flash erase etc begun. With this setting it runs fine... So, WIFI_PS_MAX_MODEM is clearly not reliable.

hi @monkeytronics , esp_wifi_set_ps  is used to configure whether to keep the RF on during the interval between two beacon intervals, so if use WIFI_PS_NONE it can keep the RF on all the time and if the wifi environment is bad it can enhance the wifi performance.

hi @monkeytronics , esp_wifi_set_ps is used to configure whether to keep the RF on during the interval between two beacon intervals, so if use WIFI_PS_NONE it can keep the RF on all the time and if the wifi environment is bad it can enhance the wifi performance.

@Xiehanxin
I don't get your point.
The bug report here is not about performance.
Since esp-idf supports setting WIFI_PS_MIN_MODEM and WIFI_PS_MAX_MODEM, they should work as well.


Auto authenticate services that run internally with Zero-OS

We need to open zero-os ports in the services that runs internally and that uses those ports

related to https://github.com/zero-os/0-core/issues/326

Software version
1800cfd7d854b0bd8dd31bdd664838cb1d1f3a22


[Bug] "Automatically start Beeftext at login" does not work

Expected behavior
Beeftext should automatically start after login with preference "Automatically start Beeftext at login" activated.
Actual behavior
Does not start.
Steps to reproduce the behavior

Beeftext installed as admin but using it as a regular user.
Activate respective setting in preference. Logoff, login. Nothing happens.
No entry in Windows Settings > Apps > Autostart
Deinstallation and reinstallation does not work.
Reproduced on two different computers.

Beeftext version (e.g. Beeftext v7.0 Portable Edition).

11.1 installed in program directory as admin.
I'm not sure but I think the bug already appeared with version 11. I'm using Beeftext since at least version 7

Operating system version (e.g Windows 10)
Windows 10 and Windows 10 Pro, 64 Bit

Hi. Thanks for reporting it could be linked to the fact that the default install location changed in 11.0 and the startup registry entry was not update to reflect the change of location. However is it surprising that turning the feature off and on again does not help.

I just checked it again (changed setting, rebooted, changed setting, rebooted) and the problem persists.
I saw that writing debug events to log file is enabled. If you want me to send it, just tell me where it is located.

I don't think I log any event related to auto-start. I will do some code change and provide you with a test version once done.

Hi Xmichelo,
so you see others complaining the same issue.

Indeed. I'm pretty busy with my day job at the moment, but I'll do my best to look at the problem this week end.

Hi.
I've reworked the code for auto-start. Please give this new build a try:
Beeftext-11.1-Installer.zip
I've also added some information in log regarding the auto-start. you can open it using the Advanced ➜ Open Log File menu entry. If you still encounter issues, the content of this log file will be helpful to me.

Hi,
I just installed 11.1, enabled autostart and rebooted. After login Beeftext was not started. This is the content of the logfile:
2021-09-19 12:38:41.261 - INFO    - Beeftext started.
2021-09-19 12:38:41.261 - INFO    - Auto-start is enabled.
2021-09-19 12:38:41.263 - ERROR   - Beeftext is not properly installed. The application cannot be registered for auto-start.
2021-09-19 12:38:41.268 - ERROR   - The combo last use date/time file is not a valid JSON document
Frank Hamm
Der Entspannende | Kultur- und Weinbotschafter Rheinhessen | Autor | Wanderblogger
Kontakt, Profil: frank-hamm.comhttps://frank-hamm.com/ | Blog: derentspannen.dehttps://derentspannen.de | [cid:991a7ce1-4bfa-4f80-890c-ba6f00099003]  Microsoft @.***>
Friedhofstr. 8, DE-55278 Selzen
[cid:46eb3e39-b67e-48f2-a7d6-61543b87e221]https://derentspannen.de/

Von: Xavier Michelon<EMAIL_ADDRESS>Gesendet: Samstag, 18. September 2021 19:29
An: xmichelo/Beeftext<EMAIL_ADDRESS>Cc: Frank Hamm<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [xmichelo/Beeftext] [Bug] "Automatically start Beeftext at login" does not work (#416)
Hi.
I've reworked the code for auto-start. Please give this new build a try:
Beeftext-11.1-Installer.ziphttps://github.com/xmichelo/Beeftext/files/7190379/Beeftext-11.1-Installer.zip
I've also added some information in log regarding the auto-start. you can open it using the Advanced ➜ Open Log File menu entry. If you still encounter issues, the content of this log file will be helpful to me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/xmichelo/Beeftext/issues/416#issuecomment-922343603, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD4Y337SF34OWHYGYJM2C43UCTD57ANCNFSM5DP5RQTA.
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.

* Do you use a windows administrator account or a standard user account?

I use a standard user account.

* Did you install the application in the default folder?

I installed Beeftext in the default folder.

I installed Beeftext, restarted the PC and .. it didn't autostart. I opened the log and it seems that registering for autstart points to the x86 path:
2021-10-09 16:19:19.207 - INFO    - Beeftext started.
2021-10-09 16:19:19.207 - INFO    - Auto-start is enabled.
2021-10-09 16:19:19.207 - ERROR   - Beeftext is not properly installed (installedAppPath points to a non-existing file 'C:/Program Files (x86)/Beeftext/Beeftext.exe'). The application cannot be registered for auto-start.

Beeftext is installed in "C:\Program Files\Beeftext\Beeftext.exe"

Hello,
I think the last Beeftext version that was released is V16. But it doesn't launch automatically at startup.
While this one works well at startup [Beeftext-11.1-Installer.zip]
I tell you this for information.

Can you please launch Beeftext v16, then go Advanced ➜ Open Log File and give me the content of the file.


Add release steps

Description
Release steps added into the README so that the release process is documented publically.
You can view the documentation here: https://github.com/nhsuk/nhsuk-service-manual/blob/DomBaker-patch-1/README.md#creating-a-tagged-released

Hi @chrimesdev and @DomBaker, just checking we're not releasing this yet. I haven't had a chance to review Dom's changes.

Hi @sarawilcox this is just documentation in the GitHub repository README file, it doesn't affect the service manual website and no release is required.
We can iterate these release steps any time in the future (after people have followed them to do releases), but for the time being we need some kind of documentation for the release process so that we aren't blocked by only certain members of the team knowing the steps.

OK @chrimesdev, thanks. Would you mind leaving the ticket in the review column, please? I do want to have another look at it and we can then test it with team members when we do a release.

I've made a few minor text changes. All done.


Formatting issue in python pkg documentation

Problem description

I saw a product documentation issue on the following URL: https://www.pulumi.com/docs/reference/pkg/python/pulumi/#module-pulumi.automation

Formatting seems to be cutting the middle column in half vertically. Viewed on Firefox @ 1920x1200
Screenshot:

I saw this today as well. Thank you for filing! I'll move this over to the Hugo site for our docs!


entoas: one directory per testing schema

This is in preparation for additional schemas for testing (like cyclic schemas)

Thanks for the contribution @masseelch ❤


C# Emotion SDK: Get ClientException without a message

I integrated the Emotion Recognition SDK in my app, using the NuGet package. However, when I call EmotionServiceClient.RecognizeAsync(), I get a ClientException, without any message.
I tried the WPF sample in this repo, with various photos, and get the same problem - ClientException without a message. The photos are <4 MB and >35x35 pixels. They work with Face Detection.

Turns out this is related to the API key being used. However, this was hidden due to several reasons, which should ideally be rectified to avoid others going down this same path (happy to contribute a fix):

The ClientException is wrapped inside an AggregateException (perhaps due to async/await? Don't know if this can be got around)
The ClientException just has a generic message, saying that an exception was thrown (adds zero value); this is what the WPF sample prints out
ClientException has a property, Error, which contains a Message and Code. I'd redesign this so that Code was a property of ClientException, and the actual ClientException.Message were populated.
I notice this same pattern in the Face SDK.

Hi Saqib,
As we have discussed, we will improve the exception message here. Thanks again!

Hi Saqib - new code was pushed out earlier that should address this issue.  Thank you for your patience.

Closing out since this is resolved in the latest update. Thanks for reporting @SaqibS!


Category Grade Does not Calculate correctly w/EC Item

When a category has an Extra Credit (EC) item within it, the category score accounts the EC item as a regular item.
For example:

EC is an extra credit item out of 10 points. Exam is out of 100 points. Victor has a score of 0/10 for the EC and 100/100 for the Exam. His correct category score should be 100% ( (0+100)/100 = 100%).
Let's say he received 5 points in the EC item. His score should then be 105% ( (5+100)/100 = 105%). Currently it is calculated as 95.45%.

Similar to #3180.

FYI this has been merged to 11.x already but is still in ready for test. We will communicate a better way to handle this shortly.

Confirmed in trunk:


Add receipt validation option

Hey @hyochan !
First I have to thank you for the awesome work on react-native-iap 👍
I'm maintaining a few open source projects myself and I know the commitement and time it takes.
Secondly, thank you for starring react-native-iaphub 🙏
Your module is making IAP easy on the client side and I'm trying on my side with IAPHUB to take care of the pain validating receipts on the server side...
react-native-iaphub is just a simple wrapper of your library directly communicating to IAPHUB.
Was thinking it would be cool to add an option using iaphub in the "Receipt validation" section of the README 🙂
I added the section in this PR if it sounds good to you.
Thank you!

Thanks @hyochan ! Will definitely do when I can

@maxs15 Could you also notify our modules to IAPHUB. That would make us feel friendly :) You can use our [logo[(https://user-images.githubusercontent.com/27461460/75094417-20321b00-55ce-11ea-8de7-a1df42a4b7df.png) if you want!

I added a link to your repo on the top of the README 🙂


GWT preloader doesn't use percent-encoding

I noticed today a filename containing a semicolon fails to load on GWT as its path in assets.txt contains a literal ; instead of %3B. This and other reserved characters should be encoded to avoid issues.
https://github.com/libgdx/libgdx/blob/97071719d19be261095122ec1d77af8e8bcdea84/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/PreloaderBundleGenerator.java#L125
It would also be an idea to transform the paths to lowercase, though the superDev server is case-sensitive even on Windows so any errors from that should be caught pretty quickly.
Sure, asset names shouldn't contain funny characters to begin with, but they do.

Can you assign this task to me?
It would be better if you could give me more guidance.

No-one's rushing to do anything about this - it can informally be your issue. One possible solution could be:
URLEncoder.encode("Hey; wh@t?!", "UTF-8").replace("+", "%20");

Returns: "Hey%3B%20wh%40t%3F%21"


Error formats

Looking at Stripe and Shopify:
401 Unauthorized
Stripe:
{
  "error": {
    "message": "Invalid API Key provided: *****",
    "type": "invalid_request_error"
  }
}

Shopify:
{
  "errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}

404 Not Found
Stripe:
{
  "error": {
    "code": "resource_missing",
    "doc_url": "https://stripe.com/docs/error-codes/resource-missing",
    "message": "No such customer: 'customer_0000'",
    "param": "id",
    "request_log_url": "https://dashboard.stripe.com/test/logs/req_00000?t=1689359605",
    "type": "invalid_request_error"
  }
}

Shopify:
{
  "errors": "[API] The requested resource was not found but could be available again in the future."
}

Something I don't like about either of these approaches is they don't provide a nice way of representing multiple errors that occurred, which can be the case with validations. For example, if a Project requires a name and due_at value, the API should respond with a list of those errors, i.e. @project.errors.full_messages.
So an error should at minimum have a high-level message ("Could not create project", etc) but optionally additional details.
Just riffing on a few ideas:
{
  "error": "Invalid API Secret Key"
}

{
  "error": "Project not found with id=42"
}

{
  "error": "Could not create project",
  "details": "Name is required, due_at is required."
}

{
  "error": "Could not create project",
  "details": ["name is required", "due_at is required"]
}

{
  "message": "Could not create project",
  "errors": ["name is required", "due_at is required"]
}

{
  "errors": ["name is required", "due_at is required"]
}

{
  "errors": [
    { "message": "name is required"}
    { "message": "due_at is required"}
  ]
}

@jedbarlow What do you think? I like the simpler schemas, but I also like how Stripe's schema is "future" proof and allows for additional attributes depending on the error message (could point to documentation URL, etc).
Maybe something like:
{
  "errors": [
    {
      "message": "Could not create project",
      "details": ["name is required", "due_at is required"]
    }
  ]
}

So:

The root object is an errors[] array
Each item in the array at minimum has a message attribute
There may be additional attributes depending on the type of error. For example, ActiveRecord validation errors might have a details[] array, a rate-limit error might have a attributes describing the limits, next retry, etc.

This seems reasonable to me. At the same time I think it should be noted that the permission of arbitrary attributes on an error leaves a lot of room for getting creative and means consistency depends on convention.
For example under the schema you mention, nothing is stopping someone from choosing to represent your last example using nested errors instead of using the more compact details string array, and it gets bloated very quickly:
{
  "errors": [
    {
      "message": "Could not create project."
      "errors": [
        {
          "message": "due_at is required",
        },
        {
          "message": "name is required",
        }
      ]
    }
  ]
}

alternatively, someone could choose to use a sequence of errors, which would also be compatible with the schema.
{
  "errors": [
    {
      "message": "Could not create project."
    }
    {
      "message": "due_at is required",
    },
    {
      "message": "name is required",
    }
  ]
}

I could see how each project that uses restable might want to have its own convention, depending on its specific needs. So this flexibility can be a good thing. Also, as a reference point, the JSON API error spec is very similar to the schema you outline, except all attributes are optional and there are a few guidelines for some common attributes


Shipping Markup $ unable to set full dollar amount (ie can't set 3.50 only 3 or 4)

Unable to use partial numbers in shipping markup column.  Accepts only whole numbers.
Following configuration gives error:

Error Message

Setting to 3 or 4 works fine. even using 3.00 is accepted.
Running version 2.0.18

@Red-Cross-Knight We have updated the plugin to address this issue. Please update to version 2.0.19.

Still getting the same error.
Versons:
Wordpress - 5.3.4
WooCommerce - 3.9.2
Flagship - 2.0.19

Hi Red-Cross-Knight,
It is working fine for us.

This is only working on when you select to add a new box, does not work on existing boxes.


Falls back to 'user.global_name' if 'user.nick' has not been set.

This fixes a bug where get_nick_name() will fail to grab the players nickname if it hasn't been set in the server.

With the new discord username mechanism, a user joining our server now has their "display name" set in discord.Member.global_name instead of defaulting to what was in their username.
If a nickname isn't set by us, then any call to get_nickname will fail to show the correct user in ?getId

WARNING I'm pretty sure the code is correct, but I have not tested it.
Test procedures: On your server, remove your nickname or remove the nickname of someone and run ?getId <@thatuser>
getId should show their "global_name" in the first argument of the return and not their username.

Requires redbot to release 3.5.3. Closing.


Bug using Enum inside Where condition

DBFlow Version: develop-SNAPSHOT
Issue Kind (Bug, Question, Feature): Bug
Description:
SQLite.select().from(Bonus.class).where(Bonus_Table.market.eq(Market.CERT_X)).queryList();
android.database.sqlite.SQLiteException: no such column: CERT_X (code 1): , while compiling: SELECT * FROM BonusWHEREmarket=CERT_X ORDER BY underlyingName ASC
i think SELECT should be:
SELECT * FROM BonusWHEREask!=0.0 AND market='CERT_X' ORDER BY underlyingName ASC
with this converter works
public class CustomConverter extends TypeConverter<String, Market> {
	@Override
	public String getDBValue(Market model) {
		return model.name();
	}

	@Override
	public Market getModelValue(String data) {
		return Market.valueOf(data);
	}
}

this workaround works for "eq" but not for "in"
"in" seams not use converter
same converter produce this select that works
SELECT * FROM BonusWHEREask!=0.0 AND (typeBarrier='CONTINUA' OR typeBarrier='DISCRETA') ORDER BY underlyingName ASC
and this that not works
SELECT * FROM BonusWHEREask!=0.0 AND typeBarrierIN (DISCRETA,CONTINUA) ORDER BYunderlyingNameASC

Do you have a type converter registered for that enum?
On Nov 4, 2016 4:53 AM, "Alessandro Scarozza"<EMAIL_ADDRESS>wrote:

DBFlow Version: develop-SNAPSHOT
Issue Kind (Bug, Question, Feature): Bug
Description:
SQLite.select().from(Bonus.class).where(Bonus_Table.
market.eq(Market.CERT_X)).queryList();
android.database.sqlite.SQLiteException: no such column: CERT_X (code 1):
, while compiling: SELECT * FROM Bonus WHERE market=CERT_X ORDER BY
underlyingName ASC
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Raizlabs/DBFlow/issues/1054, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFIxB9LoZgtdFFS7jxpNagQf43peUEV5ks5q6w6xgaJpZM4KpaLe
.

public class MarketConverter extends TypeConverter<String, Market> {
	@Override
	public String getDBValue(Market model) {
		return model.name();
	}

	@Override
	public Market getModelValue(String data) {
		return Market.valueOf(data);
	}
}

public enum Market {
	SEDEX("Sedex"),
	CERT_X("Cert-X");
	private final String label;

	Market(String label) {
		this.label = label;
	}

	@Override
	public String toString() {
		return label;
	}
}

Can you debug through it and see if it is an issue of case sensitivity? You are storing Sedex, but the enum is named SEDEX. I would imagine valueOf is comparing against SEDEX which is not equal to Sedex.

.name() return SEDEX
toString() return Sedex
inside SQLite Database i have SEDEX
the problem is formal, sqlite does not accept SELECT syntax. need this character : '

Ah I see, buggy indeed.

TypeConverter not needed for Enum in your case cause based on .name() & .valueOf(...)
DBFlow support out of the box enum as type as you can see in this test.

@obuiron in test i don't see where clausole using Enum

Your query seem correct, try without your custom enum TypeConverter.
public class Author extends BaseModel{
..
  @Column
  private Status status;

  public Author() {}

  public Status getStatus() {
    return status;
  }

  public void setStatus(Status status) {
      this.status = status;
  }

  public static enum Status {
      OK,
      KO
  }
..

Query : SQLite.select().from(Author.class).where(Author_Table.status.eq(Author.Status.OK)).querySingle()
Generated query : SELECT * FROM AuthorWHEREstatus='OK'

There are some big changes with how type converters work in V4. These issues are likely related.

@obuiron in version develop-SNAPSHOT without converter does not works.

I opened a PR #1055 to reveal the issues noted here. I am unfamiliar with all the details surrounding that bit of the codebase and am strapped for time so hopefully @agrosner or anyone else familiar with the design can grab that PR and work through it without much ceremony.

in develop.

confirm that fix works perfectly.
PS i love DBFlow, i try much ORM for android and found DBFlow the best. thz for your works, i will help the dev :)


added tags in all testcases and added new column in the report.html t…

Summary
This PR is for adding tags to all testcases, printing the same in the report.html, also removed the xfail markers from Organizational Level testcases
Description
Added 2 tags to each testcases (1. smoke and 2. name of the module).
Added code in the conftest to add new column for Tags in the report.html and print the tag values.
Removed the xfail markers from test_case_09_creation_organization_level and test_cleanup_items_in_locations_menu
Link to Jira Ticket (if applicable)
QA Checklist

[x] Label(s) and Assignee added
[x] PR sent for review
[ ] Documentation (if applicable) added/updated

@snopoke thanks for the comments, made the changes and now it is working perfectly.


Fix: Reconnects will be attempted even when a disconnect is triggered by afk timeout

Relevant components:

[ ] Signalling server
[X] Frontend library
[ ] Frontend UI library
[ ] Matchmaker
[ ] Platform scripts
[ ] SFU

Problem statement:
This PR addresses https://github.com/EpicGames/PixelStreamingInfrastructure/issues/203.
Solution
When programmatically closing the websocket connection, we set the shouldReconnect bool to false, indicating that the webRtcPlayerController should no attempt to auto reconnect.
Documentation
No updates needed.
Test Plan and Compatibility
Testing completed by triggering a stream restart on the frontend and observed the auto reconnect functionality not being triggered.
Also triggered the reconnect flow and observed it still worked as expected.

Looks good.


[SILOpt] Fix mutable state in EagerSpecializer

rdar://118554892
On the first occurance of a @_specialize attribute with target: argument, onlyCreatePrespecializations would be set to true, preventing any subsequent pre-specializations with exported: false

@swift-ci smoke test

@swift-ci smoke test


Add API to parse/update Uri.query

Testing #8192
Currently Uri.query needs to be parsed and updated through Uri.with() by the extension author. It would be nice to offer API doing that.

I would refer folks to https://nodejs.org/dist/latest-v6.x/docs/api/querystring.html since the format of the query is actually scheme dependent... Not very eager to open also that can of worms ;-)

Makes sense. Thanks.


refactor: reduce usage of markdown splicing

Fixes #691
Fixes #682
Background
This pull request simplifies some of the pre-processing steps that we use to transform the raw documentation in electron/electron into the rendered HTML on the website.
graph TD
  F[Download raw documentation from Electron repository] --> A[Regex-Based Markdown Processing]
  A --> B[Custom MDX Transformer Plugins]
  B --> C[docusaurus-plugin-content-docs]

  subgraph E[run as pre-build npm script]
    A
    F
  end

  subgraph D[run within Docusaurus]
    B
    C
  end

The first pre-processing step involves making changes to the raw Markdown files on disk by using regex-based replacement in yarn pre-build. The replacements made are crude but necessary for edge cases that can't be parsed by Docusaurus' MDX parser.
For example, MDX's usage of JSX means that <img> tags need to be self-closing, while they don't need to be according to the HTML spec:
https://github.com/electron/website/blob/9487f624415d8a4950e33acb4e2142aad8b75db2/scripts/tasks/md-fixers.ts#L86-L97
Problem
The fixLinks function attempts to normalize in the documentation by storing a hashmap of each file and its respective Markdown string contents. It then replaces every single Markdown link with the normalized link matching the file name. This storage mechanism causes problems when two or more documents have the same name under different paths (e.g. API documentation and a tutorial for some exported module).
This fixer function was added early in the website's development cycle (#3) and is useless for the vast majority of links in the docs.
However, fixLinks is necessary to get another one of our Markdown hacks working. Namely, inlineApiStructures adds the ability to insert API structures in other documents using an ?inline Markdown link.
This situation leaves us at an impasse where we have broken links in our docs with fixLinks enabled, but we can't fix the problem without breaking links in inlineApiStructures.
Solution
This PR tackles the problem by migrating the inlining process to Docusaurus' MDX rendering pipeline, which parses the raw Markdown into an AST and converts it into HTML.
At a high level, we already have multiple plugins that manipulate ASTs, one of which (api-structure-previews) stores API structure content in memory to render hover previews on API pages.
This PR reuses this architecture to separately inline the appropriate API structure content in the AST and removes fixLinks and inlineApiStructures entirely.
Additional notes

api-structure-previews now stores the MDAST for each structure instead of the raw string to facilitate inlining.

This change allows the MDX plugin to avoid converting MDAST -> String -> HTML. For this reason, we don't need the react-markdown library anymore.
Instead, we directly process MDAST -> HAST -> HTML, which is rendered in React using dangerouslySetInnerHTML.

During PR review, please skip the entire /docs/ directory. It switches all normalized links to their raw counterparts, which still work. Docusaurus does not throw any broken link errors on build times.

For example, MDX's usage of JSX means that <img> tags need to be self-closing, while they don't need to be according to the HTML spec:

This is a tangent, but that feels like a good candidate that we might be able to fix upstream with a linting rule.


MIT License?

Can you confirm that the code in this repository is under the MIT license like the gym repo?
A commit of a LICENSE file would be great.
Thanks!

Added!


GUI example building should respect make commands

The expected behavior of :
$ make html-noplot

is to only convert the rsts to html without execting any examples. While the expected behavior of:
$ make html

is to execute the examples to generate new rsts and convert them to html.
However, the GUI examples currently execute even if one does make html-noplot. This is non-ideal for developers looking to quickly test if the output looks as expected.
Any easy fix possible @chenghuzi  ?

nbconvert has something like an execution flag in their command-line tool. So there should be a way to do so, if we can dynamically adjust this option according to the make option.


Change in existing voting strategy

Fixes # .
Changes proposed in this pull request:

please resolve conflicts, looks like planet-finance strategy already exist, are you trying to change something in it?

please resolve conflicts, looks like planet-finance strategy already exist, are you trying to change something in it?

yes


what is the maximum bitrate lsquic can reach?

Hi, I did a preliminary performance test recently. The way I test is writing data by lsquic_stream_write in on_write callback.
I have test packet_size=200K interval=10ms, and packet_size=50K interval=5ms. The max birate is about 30Mbps.
This result does not satisfy our application scenario. Is it because I use it in the wrong way? And what about your test data? Thanks for your help.

Those packet sizes are very large; 200K is obviously wrong.  Did you mean something else?
Is the sender using 100% CPU?
Our tests show that CPU will eventually become a bottleneck.  Depending on the kernel version (I am assuming you're running this on Linux), sending UDP packets can take as much as 45% CPU.  In other words, maximum throughput depends on how fast your processor is.

Sorry, I may not make it clear. Actually I mean the logic data size from upper application, not the real packet in quic protocol. More specifically, I will pass 200K data buffer to lsquic_stream_write every 10 ms.
ssize_t lsquic_stream_write(lsquic_stream_t *stream, const void *buf, size_t len)
I wonder whether this bottleneck is caused by the way I used. I test based on the echo_server demo which used libevent to maintain the event loop. In my understanding, the callback on_write is triggered by the libevent timer (prog_timer_handler). So it doesn't reach the 100% performance.

Your understanding of the callback mechanism is correct.
You should be able to peg the CPU on the loopback interface.  You're not sending fast enough for some reason.
For comparison, try transferring data using the HTTP client and server and see how fast it goes.

I exclude all my external logic and make a new pure test to observe how fast lsquic can write and read. Specifically, this is how I test:

Keep server lsquic_stream_wantwrite as 1
In the on_write callback, write as many as it can, such as lsquic_stream_write(stream, st_h->buf, 0x1000000)
Client read data in similiar way.

Theoretically, it can reach 1000MB/s, but it can only reach 4MB/s. (4MB/s is also the bottleneck in my real test scenario.) As a comparison, TCP can reach 100MB/s.
In theory, QUIC should not be this slow. I have tried to shorten the es_clock_granularity and some other opimizations. But the performance didn't improve.
Is there any problem how I use it?

It is difficult to say whether you are doing something wrong from just the bug report.  Nevertheless, 4MB/s does seem quite slow.
How fast can data be transferred using http_server and http_client on the same link?

Actually following your advice, I have read the code of http_server and http_client roughly.
In my understanding, the part of stream reading & writing and event loop is similar to echo_server and echo_client. I didn't find the obvious difference between the two, so I thought the test result is similar.
And another problem is that there are so many modes in http_server. I'm a little confused about how to modify the code for the performance test.
Can you give me some instructions about how to modify based on http_server? Or provide a performance program?
The performance is important to us. It determines whether we can use lsquic in our product. Thanks for your help.

The echo server and client server as basic examples of the API use.  We don't use them often, as we mostly work with HTTP/3 protocol and HTTP server and client.
The HTTP server has two modes: filesystem mode (when -r command-line flag is specified) and interop mode (when -r flag is omitted).  For performance testing, I recommend using the interop mode.  In this mode, responses are generated instead of being read from the filesystem.
The HTTP client has -K option to discard server response (instead of printing them to stdout).
Basically, a performance test could work like this:

Run HTTP server: ./http_server -c example.com,cert,key -s <IP_ADDRESS>:12345
Run HTTP client: time ./http_client -H example.com -s <IP_ADDRESS>:12345 -K -p /file-1G

This will time how long it takes to transfer a one-gigabyte file over the loopback interface.
The HTTP client has several options that allow to vary load: number of connections, number of requests per connection, and others.  Have a look at the output of http_client -h.

Thanks. I will make a performance test on my Android device and give you feedback tomorrow.

As you suggested, I made a performance test by http_server and http_client.
Test environment is that two Android devices transfer 1G files through WiFi hotspot.
The average transmission speed is 8.2MB/s. By contrast, TCP can reach 15.4MB/s.
The CPU usage is 6.8% which doesn't seem to be a bottleneck.
This is a result from time:
2m06.10s real     0m24.26s user     0m47.01s system
One thing I notice is that the time of user+system is about half of real and the lsquic speed is also half of tcp. Is it possible that lsquic is in idle state half of the time and does not make full use of it？

Is it possible that lsquic is in idle state half of the time and does not make full use of it?

Yes, this is exactly what it looks like.  There are a few possible explanations:

There is a problem with lsquic's congestion controller.  This is unlikely: our testing shows that, given enough CPU, QUIC should always match TCP speed -- in other words, utilize all available bandwidth.  On the other hand, it's not impossible: what are the other network characteristics -- for example, RTT?
UDP traffic may be treated differently than TCP traffic by the hotspot.
Some quirk in the Android environment.  Did you have to use threads for this test or did you use vanilla http_client and http_server?

The code version and options in http_server and http_client are exactly same as the origin. And android runtime is very similar to Linux. The only difference is I use ndk to build arm64-v8a platform.
I also made a common UDP performance test. The average speed is 14MB/s, which is very close to tcp. So maybe it is not the UDP traffic problem.
The way I test on Android is that execute the executable file directly by adb shell. So the performance should be the best.

For the more network characteristics, in our product, the most important factor we care about is the time-lag. Because we use QUIC to transport video stream.
In our test, we found the lag is not stable. The delay will float in tens to hundreds of milliseconds.
And an unacceptable disadvantage is that, from the perspective of the phenomenon, sometimes the data packages will be stuck for a while (a few seconds), and then resume and catching up, like a pulse.
This long and nonuniform delay has a great impact on our video stream application.

You did not answer a couple of my questions:

What is the RTT in your setup?
Are you using modified lsquic code?

In the last few months, we fixed several performance-related bugs in lsquic.  I would be interested to learn whether the updated version of the library performs better in your testing.

@瑞卡那 你好，我现在使用的 lsquic 2.30.0版本。 遇到的一系列问题和您去年遇到的这些问题基本一致。我想请教一下，你们现在解决这些问题了吗？希望能够在空闲的时候 回复一下，谢谢

similar issue with perf_server / perf_client on WIndows.
I can reach roughly 10MB/s+ throughtput on localhost which is a little bit low.

I am also encountering this. It may be my implementation.
Can you recommend a performance test scenario for windows?

@dtikhonov e.g. what parameters to use with perf_server / perf_client to peg cpu on localhost?

On Linux, it not only doesn't peg the CPU, it doesn't use the correct
> perf_client -p 104857600:104857600 -s ::1:443 -H localhost -L notice -z 12000
10:22:51.997 [NOTICE] conn-stats: connection E96B936EBDC063BA marked busy: it's had 16 immediate ticks in a row
10:22:51.997 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 186; cwnd: 64518; conn flow: max: 11275393, avail: 1382159; packets: sent: 829, lost: 2, retx: 2, rcvd: 189; batch: count: 179; min: 1; max: 6; avg: 1.73
10:22:52.987 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 1639; cwnd: 67710; conn flow: max: 102628343, avail: 857678; packets: sent: 7717, lost: 9, retx: 9, rcvd: 1609; batch: count: 1484; min: 1; max: 8; avg: 6.00
10:22:53.114 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 702; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 841, lost: 5, retx: 5, rcvd: 6272; batch: count: 617; min: 1; max: 7; avg: 1.00
10:22:54.183 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 565; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 493, lost: 3, retx: 3, rcvd: 4908; batch: count: 490; min: 1; max: 2; avg: 1.00
10:22:55.301 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 569; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 499, lost: 5, retx: 5, rcvd: 5097; batch: count: 494; min: 1; max: 2; avg: 1.00
10:22:56.353 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 542; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 466, lost: 2, retx: 2, rcvd: 4796; batch: count: 465; min: 1; max: 2; avg: 1.00
10:22:57.461 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 539; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 471, lost: 5, retx: 5, rcvd: 4836; batch: count: 465; min: 1; max: 2; avg: 1.00
10:22:58.538 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 534; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 462, lost: 2, retx: 2, rcvd: 4820; batch: count: 460; min: 1; max: 2; avg: 1.00
10:22:59.558 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 547; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 476, lost: 5, retx: 5, rcvd: 4783; batch: count: 471; min: 1; max: 2; avg: 1.00
10:23:00.609 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 566; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 497, lost: 3, retx: 3, rcvd: 4991; batch: count: 494; min: 1; max: 2; avg: 1.00
10:23:01.677 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 541; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 471, lost: 0, retx: 0, rcvd: 4818; batch: count: 471; min: 1; max: 1; avg: 1.00
10:23:02.806 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 565; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 491, lost: 4, retx: 4, rcvd: 4922; batch: count: 487; min: 1; max: 2; avg: 1.05
10:23:03.892 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 547; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 477, lost: 4, retx: 4, rcvd: 4999; batch: count: 473; min: 1; max: 2; avg: 1.00
10:23:04.880 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 536; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 466, lost: 3, retx: 3, rcvd: 4792; batch: count: 463; min: 1; max: 2; avg: 1.00
10:23:05.968 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 472; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 409, lost: 3, retx: 3, rcvd: 4126; batch: count: 406; min: 1; max: 2; avg: 1.02
10:23:06.149 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 540; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 464, lost: 3, retx: 3, rcvd: 4771; batch: count: 461; min: 1; max: 2; avg: 1.00
10:23:07.201 [NOTICE] conn-stats: E96B936EBDC063BA: ticks: 559; cwnd: 72714; conn flow: max: 105870518, avail: 1012910; packets: sent: 483, lost: 2, retx: 2, rcvd: 4909; batch: count: 481; min: 1; max: 2; avg: 1.00
10:23:07.510 [NOTICE] conn-stats: busy connection E96B936EBDC063BA is destroyed
10:23:07.510 [NOTICE] [QUIC:E96B936EBDC063BA] sendctl: stats: n_total_sent: 16025; n_resent: 0; n_delayed: 0
10:23:07.510 [NOTICE] Connection closed
10:23:07.510 [NOTICE] [QUIC:E96B936EBDC063BA] conn: # ticks: 10162
10:23:07.510 [NOTICE] [QUIC:E96B936EBDC063BA] conn: sent 16025 packets
10:23:07.510 [NOTICE] [QUIC:E96B936EBDC063BA] conn: received 75763 packets, of which 0 were not decryptable, 0 were dups and 0 were errors; sent 16025 packets, avg stream data per outgoing packet is 6543 bytes
10:23:07.510 [NOTICE] [QUIC:E96B936EBDC063BA] conn: delayed ACKs settings: (3/1.000/0.800/0.350/0.050/0.050); packet tolerances sent: count: 0, min: 0, max: 0
10:23:07.510 [NOTICE] [QUIC:E96B936EBDC063BA] conn: ACKs: delayed acks on: yes; in: 2340; processed: 2339; merged: 1

Still absymal performance.
On Linux, setting -z 8000 gives a much higher performance.
What is going on here?

We have tested the following scenarios and not managed to peg the CPU or get reasonable performance:

lsquic.dll integrated into our own application under Windows; 30Mb/s
perf_client/perf_server on Windows bare metal; 10Mb/s
perf_client/perf_server on Linux VM; 30Mb/s
perf_client/perf_server on Linux VM tuning packet size etc; 80Mb/s

Is this the sort of performance that we should be expecting?

I'm not currently working on lsquic. But I guess we may check the buffer and pacing parameters, they can both highly affect on performance.


Convert properties.json to metadata.json and add more fields

This PR will add metadata to the pax. I will also add it outside of the pax file so that we can quickly process it when generating the release cache.
What other fields should we add?

[x] name
[x] version
[x] category or group?
[x] repository?
[x] install size
[x] test status
[x] build line
[x] runtime deps
[x] build deps
[x] commit sha
[x] md5 checksum?
[x] pax size?

Future:

gpg signature?
BOM related materials? license?
excludes to exclude unnecessary dirs

@DevonianTeuchter curious what your thoughts are here?

checksum - yes (do we need to specify the algorithm?)
signature - is this the GPG sig?  Would be good to start implementing those (but would we ship a bootstrap gpg? )
license - would be useful along with...
BOM related materials -  could add a "zopen audit" capability
repository - not sure this would add much??
issue link - probably not
install size - yes
pax size - maybe

Also thinking...
if the pax was to contain anything extra that doesn't need to be applied to a system; for example, the "meta" package itself ships a lot of directories and tools that might not really be relevant for a running system - like "tools" or "cicd".  There could be an "excludes" property (or conversely an "includes" property).
Maybe, commit history so that if a particular version broke something, then that would show in the pax's commit history (allowing a level to be "--select"'d for install prior to the breaking commit)  - and something that could be displayed in an audit command also.

Hi both, check this out - https://github.com/orgs/ZOSOpenTools/discussions/212#discussioncomment-7129712

Adding category or group as discussed in discord

I have updated the PR with a few more metadata fields, including size and category

An example for ctags:
{
  "product": {
    "name": "ctags",
    "version": "<IP_ADDRESS>",
    "release": "20231027_155500",
    "summary": "ctags on z/OS",
    "repo": "git@github.com:ZOSOpenTools/ctagsport.git",
    "categories": "editor",
    "total_tests": "1",
    "total_success": "1",
    "buildline": "STABLE",
    "size": "1886",
    "runtimedeps": "",
    "builddeps": "comp_xlclang curl git gzip jq make sed tar zoslib",
    "commitsha": "b5eb65e86ab492c733cae2b8574731f747494b28",
    "pax": "ctags-5.8.20231027_155500.zos.pax.Z",
    "pax_size": "784",
    "md5": "de6f592ec3423c2fc693baec59f12cf7"
  }
}

Can you compare / contrast with information other package managers have? In particular there was one you thought we may want to move to so consistency with it would be good.
For runtime and build should we be listing minimum version required or what we built/tested with?

Can you compare / contrast with information other package managers have? In particular there was one you thought we may want to move to so consistency with it would be good. For runtime and build should we be listing minimum version required or what we built/tested with?

@IgorTodorovskiIBM in particular, while we don't have any specific minimum / maximum versions for build/runtime dependencies, we should design in what that would look like. Also we should have a version in here somewhere so that when we need to change, we can tell what version of metadata we are looking at.

Latest update include version_scheme, licenses, and improved formatting
Here's an updated look at the metadata.json:
{
  "version_scheme": "0.1",
  "product": {
    "name": "autoconf",
    "version": "<IP_ADDRESS>",
    "release": "20231103_121123",
    "summary": "autoconf on z/OS",
    "repo": "https://github.com/ZOSOpenTools/autoconfport",
    "license": "https://github.com/ZOSOpenTools/autoconfport/blob/main/patches/LICENSE",
    "zopen_license": "https://github.com/ZOSOpenTools/autoconfport/blob/main/LICENSE",
    "categories": "",
    "buildline": "STABLE",
    "test_status": {
      "total_tests": "",
      "total_success": "-1"
    },
    "size": "7852",
    "build_dependencies": "autoconf automake bash comp_xlclang curl flex git gzip jq m4 make perl sed tar texinfo zlib zoslib",
    "commitsha": "eefb4418c29453d19d5ef59fcbb4fd3e5433117c",
    "runtime_dependencies": [
      {
        "name": "m4",
        "versionRange": null
      },
      {
        "name": "perl",
        "versionRange": null
      }
    ],
    "pax": "autoconf-2.71.20231103_121123.zos.pax.Z",
    "pax_size": "2800",
    "md5": "ec23d964e5ca4e0c2757c6dd430b755a"
  }
}

versionRange is null for now, but we can use the same logic as we implemented for build dependencies, which allows for >, >=, and other operators. It seems that brew provides just a list of dependencies and specific version: https://formulae.brew.sh/api/formula/git.json
I did look at brew and rpm spec. There are some interesting ones that we could add at some point, like "caveat" in brew which could be useful for tools like sudo that require some steps to be run with superuser authority.


EventMessage "subscriptionId" related updates

added NIP01 relay-to-client required constructor parameter "subscriptionId" to EventMessageFactory

["EVENT", <subscription_id>, <event JSON as defined above>], used to send events requested by clients.
                 ↑

fixed EventMessage.createEventMessage(...) create sequence
added required arrayNode item "subscriptionId" to EventMessage encoder
fixed CanonicalAuthenticationMessage decoder

@tcheeric Hi, Eric.  Comment/suggest/deliberation/etc on this PR are welcome as always, otherwise I will merge into develop branch ~48hours from now (Friday, Aug 21 2024, 21:00 UTC)


Token confidence

Switch to per-token confidence when writing out PDFs. This will (eventually!) let us not lose lines of text when part of them has been damaged.

This isn't ready yet.

--min_confidence=0.9 discards too much good text. We should tune it again.
Text selection in Preview doesn't work reliably; it's easy for selection to pass through a gap between tokens and start selecting a background image instead.

this can happen naturally from white space between tokens in the original text...
or from spaces that result from low-confidence tokens. We may want to fill this with other text instead.

We're not writing spaces between tokens in the PDF, and should be. This was masked by viewers auto-inserting spaces based on the gap between tokens, but that's not reliable, and when it fails theresultingtextishardtoread [^1].

[^1]: The resulting text is hard to read.


[5.9] Avoid host triple computation in BuildParameters.forTriple()

We know the triple here, so we shouldn't have to recompute from scratch.
(cherry picked from commit 389edb717478e7fc7963eccdc338463321407e75)

@swift-ci please test


Explain which port traefik must expose to make dnschallenge acme certificate generation work

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
I expected documentation to explicitly and clearly say which port traefik must expose to make dnschallenge acme certificate generation work.

Hello,
There is no port for the DNS-01 challenge: the DNS challenge will just use the API of your DNS provider to create a TXT record (this is outside of your local network).
The HTTP-01 and TLSAPLN-01 use a port but not the DNS challenge.

Hi @ldez,
Thank you for your answer. I still have a simple question:

will DNS challenge work if I do NOT expose any port?

The DNS challenge doesn't need Traefik to expose a port because the ACME server, to validate the challenge, will communicate with a public DNS server, not Traefik itself.
Doing an ACME challenge requires being able to communicate with the ACME server.
Using a DNS challenge requires being able to communicate with the API of your DNS provider.
So you need to be able to communicate with those 2 elements, but it doesn't require to expose publicly a port.
The DNS-01 challenge doesn't require to expose any port.


[MM-37726] - Self-managed: Update email template to new branding - Invitation email

Summary
This email updates the invitation email template to the new branding

Ticket Link
MM-37726
Related Pull Requests
Has server changes (https://github.com/mattermost/mattermost-server/pull/18136)
Release Note
NONE

@AGMETEOR this test server also doesn't seem to be sending the new invite email

@AGMETEOR this test server also doesn't seem to be sending the new invite email

@matthewbirtch this PR also has server changes that contain the new templates. We can test this post merge?

@AGMETEOR I'll approve based on the screenshot, but we will need to ensure this is tested properly once merged. I'm off this week, so could you please coordinate with @andrewbrown00 when this is merged to test the new emails?

Ok I’ll add him for PM review for this and all the rest.

Thanks, @AGMETEOR, let me know when the other PR is merged and I can test.

...this PR also has server changes that contain the new templates. We can test this post merge?

Thanks, @AGMETEOR, let me know when the other PR is merged and I can test.

...this PR also has server changes that contain the new templates. We can test this post merge?

@andrewbrown00 I merged the server PR.

Thanks, @AGMETEOR, looks like there's an issue with the Test Servers which seems to be impacting all or a lot of PR's atm.

/update-branch

Thanks @AGMETEOR, there are a few items to change:

[ ]  Logo should to use the Sapphire/Center Channel Text #3F4350 color
[ ]  Title should to use the Sapphire/Center Channel Text #3F4350 color
[ ]  Body should use the Sapphire/64% Center Channel Text #3F4350 64% color
[ ]  Button (CTA) should to use the Sapphire/Button BG #1C58D9 color
[ ]  Illustration is too large and should be 246px wide
[ ]  Secondary body text should to use the Sapphire/Center Channel Text #3F4350 color
[ ]  Learn more link should use the Sapphire/Button BG #1C58D9 color
[ ]  Footer text should use the Sapphire/56% Center Channel Text #3F4350 56% color

Here's a link to the design file for reference.

@andrewbrown00 most of the items mentioned were not showing up due to spinwick issues. I have spun up a server that includes those now. For the image size, here's a new PR on the server side https://github.com/mattermost/mattermost-server/pull/18200 that adjusts that size. That change may not propagate quickly to this PR's spinwick though

Thanks, @AGMETEOR, one small change:

[ ]  Body should use the Sapphire/64% Center Channel Text #3F4350 64% color. It has the correct color applied, but it's not using the 64% opacity.

@andrewbrown00 updated the color in the server PR https://github.com/mattermost/mattermost-server/pull/18200/files

/cherry-pick cloud

Cherry pick is scheduled.


share block: copy to clipboard button added & localization fixed

share block: copy to clipboard button added & localization fixed
Test URLs:

Before: https://...hlx.page/drafts/solene/archive/share
After: https://...hlx.page/drafts/solene/archive/share?milolibs=copy-to-clipboard

Localization Test:

Before: https://...hlx.page/es/pages/drafts/solene/share
After: https://...hlx.page/es/pages/drafts/solene/share?milolibs=copy-to-clipboard

@So1ene do there need to be more unit tests added for code coverage in the share.js block? It just looks like the coverage percentage went down.  So it made me wonder if we need to add any missing test cases.

As discussed with @chrischrischris and Mairi (designer from Webistry), I updated the style of the tooltip to match the Adobe style guide convension


Change dataset type from SourceDataset to TargetDataset for return_target_with_labels in get_datasets

Made previously discuessed change and added a test test_get_mnist_mnistm_target_with_labels

Looks good. Maybe get_datasets should have another keyword flag called supervised that gets passed to the target_train and target_val datasets.

I agree, would this be alongside return_target_with_labels or alongside it?

I think alongside return_target_with_labels because that flag is used in the academic setting where you want to do unsupervised learning, but you want separate target datasets that have the ground truth labels for evaluation.

I'm not sure i've added this correctly so you'll need to take a close look at it! :smile:
Based on my understanding of it.

supervised?
target_with_labels
result

N
Y
target_train, target_val, <- (both unlabeled) target_train_with_labels, target_val_with_labels

Y
N
target_train, target_val (both are labeled)

Y
Y
target_train, target_val target_train_with_labels, target_val_with_labels (all labeled) [not sure why one would set both true)

N
N
target_train, target_val <- (both unlabeled)

I think this is what I have implemented.
I also added a new test test_get_mnist_mnistm_supervised.
I'm sure there will be some changes required so just let me know.
Thanks

Both tests passing

Looks good, thanks!


Determine ticket flow for Github

Im thinking of something like this for issue tracking and flows
https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
@broderboy
@kperusko  what do you think?

@sshaar08 For me it's a little bit too many colors/tags. Can we keep it simple with 6-7 tags max?


typed protocols: synchronous yield/await in pipelined peers

Add a SenderAwait, allowing synchronous await for pipelined peers.
This lets us mix pipelined and synchronous style in the same peer. The rule is that we can only use the synchronous yield and await when we have no outstanding pipelined responses. This ensures that we handle responses in the right order and don't get our trailing data mixed up.
Also enforce trailing data checks more strictly in the drivers.
TODO: The typed-protocol lib itself doesn't yet have a protocol suitable for really testing the trailing data checks. We would need one with a request and multiple responses, and then to use that synchronously, to get a case where the send side has non-empty trailing data.
This will be useful for the tx submission protocol to allow the protocol to have the blocking version of the txids request to have a response from the client that terminates the protocol. This will allow the client side to termiante the tx submission, which is probably handy in practice, and is also useful for tests (so the producer side determines how much to submit and can terminate when its done).

@avieth hopefully that's everything addressed. Let me know what you think now.

Let me think if it's not too tricky to do that synchronisation. Perhaps it's not because we make sure not to mix the pipelined and syncronous cases, so perhaps we can simply pass the trailing back and forth at the transition boundaries.

Ok, I've added another patch that does exactly that, and I think it works out fine.
Let me know what you think and I can squash the last three patches to clean things up.


A lot of exceptions

Version: 0.5.15
OS: Windows
After 5-15 seconds starts to spam exceptions to the cmd.
https://imgur.com/a/PPvN0Tw

The same problem
Win 11 AMD
v0.5.15

Can you paste the log here?
The way the app is designed it doesn't impact it as a whole but rather just some of the attacks but it would be nice to be able to assess the impact

https://anonfiles.com/j7T48cMfxb/piece_of_log_txt

use log redirection to file and attach that file to the issue

With new patch (0.5.20) there are no problems.
I'm gonna close issue if @Liar4u also has no exceptions in cmd

@Vladisl0ve fixed.


Cookie categories consent

Hello,
is there an option to categorize cookies (Functional Cookies, Preferences Cookies, Performance Cookies, Advertising Cookies) and the user can consent or not to one or many of these categories? Or are you planning on implementing such a feature?
Thanks

This is outside the scope of this project which purely does a yes/no to cookies.
This is potentially a feature that may be in our GDPR plugin in the near future (although I'm not involved in it, so I cannot be certain) but it isn't something that you will be able to do with this tool.

You can use this script that does what you are asking for:
https://termsfeed.com/cookie-consent/


(chores) camel-core: setup and cleanup the data after test execution

You could consider using the TempDirectory extension https://junit.org/junit5/docs/current/user-guide/#writing-tests-built-in-extensions-TempDirectory

Yeah, but at later moment. I think there's already some code using it (or, at least, a ticket about this).