Introduce checks for not supported annotations for Hints based autodiscover of Elastic Agent

This PR relates to https://github.com/elastic/elastic-agent/issues/3064 and
https://github.com/elastic/elastic-agent/pull/4360
It provides the checks for the supported hints.
This PR needs to be merged before the https://github.com/elastic/elastic-agent/pull/4360

:green_heart: Build Succeeded

Buildkite Build
Commit: d922ef01adb8117359d7aae6cc15954636f0b61b

History

:green_heart: Build #132 succeeded 9bd3cb60c93875dd90081ca11dfb658764f91fe6

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 17950767e42c50365ecdd842349649cd70998f22

Failed CI Steps

:linux: Tests on Linux

History

:green_heart: Build #133 succeeded d922ef01adb8117359d7aae6cc15954636f0b61b
:green_heart: Build #132 succeeded 9bd3cb60c93875dd90081ca11dfb658764f91fe6

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 98d9808d0fef242e8719faf3417b262863bdbf55

Failed CI Steps

:linux: Tests on Linux

History

:green_heart: Build #135 succeeded 93065164edbb02b7de267bfd26c1ce05cc749280
:broken_heart: Build #134 failed 17950767e42c50365ecdd842349649cd70998f22
:green_heart: Build #133 succeeded d922ef01adb8117359d7aae6cc15954636f0b61b
:green_heart: Build #132 succeeded 9bd3cb60c93875dd90081ca11dfb658764f91fe6

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 60286d4f9eb5a691f425a8db74488a638c9771fe

Failed CI Steps

:linux: Tests on Linux

History

:broken_heart: Build #136 failed 98d9808d0fef242e8719faf3417b262863bdbf55
:green_heart: Build #135 succeeded 93065164edbb02b7de267bfd26c1ce05cc749280
:broken_heart: Build #134 failed 17950767e42c50365ecdd842349649cd70998f22
:green_heart: Build #133 succeeded d922ef01adb8117359d7aae6cc15954636f0b61b
:green_heart: Build #132 succeeded 9bd3cb60c93875dd90081ca11dfb658764f91fe6

/test

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 60286d4f9eb5a691f425a8db74488a638c9771fe

Failed CI Steps

:linux: Tests on Linux

History

:broken_heart: Build #137 failed 60286d4f9eb5a691f425a8db74488a638c9771fe
:broken_heart: Build #136 failed 98d9808d0fef242e8719faf3417b262863bdbf55
:green_heart: Build #135 succeeded 93065164edbb02b7de267bfd26c1ce05cc749280
:broken_heart: Build #134 failed 17950767e42c50365ecdd842349649cd70998f22
:green_heart: Build #133 succeeded d922ef01adb8117359d7aae6cc15954636f0b61b

:green_heart: Build Succeeded

Buildkite Build
Commit: 516584a01133cc35fe8377c08db3b3b2ad50ed97

History

:broken_heart: Build #138 failed 60286d4f9eb5a691f425a8db74488a638c9771fe
:broken_heart: Build #137 failed 60286d4f9eb5a691f425a8db74488a638c9771fe
:broken_heart: Build #136 failed 98d9808d0fef242e8719faf3417b262863bdbf55
:green_heart: Build #135 succeeded 93065164edbb02b7de267bfd26c1ce05cc749280
:broken_heart: Build #134 failed 17950767e42c50365ecdd842349649cd70998f22

:green_heart: Build Succeeded

Buildkite Build
Commit: 72a0cc59bfa68593dc18494af9abf47e070c2594

History

:green_heart: Build #141 succeeded 516584a01133cc35fe8377c08db3b3b2ad50ed97
:broken_heart: Build #138 failed 60286d4f9eb5a691f425a8db74488a638c9771fe
:broken_heart: Build #137 failed 60286d4f9eb5a691f425a8db74488a638c9771fe
:broken_heart: Build #136 failed 98d9808d0fef242e8719faf3417b262863bdbf55
:green_heart: Build #135 succeeded 93065164edbb02b7de267bfd26c1ce05cc749280
:broken_heart: Build #134 failed 17950767e42c50365ecdd842349649cd70998f22

@elastic/elastic-agent-data-plane could I have a review here please?


Creating a user profile

I would like to have a user profile. Are there any plans to create one?

The plans include creating a user profile, but after eliminating bugs related to access.

I'm getting closer to creating a user profile in the module

The user profile has appeared in the module.


run command Bluetooth timeout issue on Linux

Read the title.
Distro: Fedora Linux 39

This is not very much details to go on. Can you please give the exact steps to reproduce the problem and share the full output of the error?

Trying to connect with my boost hub, the light stops flashing, but the script is still searching, and some seconds after the script throws out an timeout error.

For comparison, does everything work normally if you code it with https://code.pybricks.com/ ?

Yes, but I want to code with an other IDE.

I'm now using the Pybricks Code IDE but built on the pc using yarn because that paid features are distracting me.

I had similar issues with Linux (Debian based). The bluetooth connection times out very fast, at least compared to Windows. I have reconnect the hub (bluetooth) after a few minutes of inactivity. I quess it is a Linux issue and not pybricksdev related. However, if someone has an idea how to prolong the blu connection, I would be very grateful.

Can you please give the exact steps needed to reproduce the problem?

I have reconnect the hub (bluetooth) after a few minutes of inactivity

The hub automatically turns itself off after 3 minutes of not being connected to a computer.
With pybricksdev (unlike the online Pybricks Code editor), it disconnects after the program completes. So if you spend a few minutes coding, the hub will be off when you try to start code again.

Thank you very much.
One more think just for documentation purposes:
Using Linux Mint 21.3, I could not see the Spike Hub in the bluetooth manager. After starting the Pybricks Code Editor, is appears in the manger and you can develop in  the Code Editor. Still  I can not use VSC, get the following error.
But it is for sure an hardware / firmware issues, as it works well on two other Linux Mint 21.3 systems.
File "/usr/local/lib/python3.10/dist-packages/pybricksdev/cli/__init__.py", line 380, in main
    asyncio.run(subparsers.choices[args.tool].tool.run(args))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/dist-packages/pybricksdev/cli/__init__.py", line 192, in run
    device_or_address = await find_device(args.name)
  File "/usr/local/lib/python3.10/dist-packages/pybricksdev/ble/__init__.py", line 68, in find_device
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError

Fixed by not using pipx.


Error starting Debug Service job after 2.0.2 update - "Environment variable DEBUG_SERVICE_KEYSTORE_PASSWORD is not set."

Updated Debug extension from 2.0.1 to 2.0.2.
Stopped Debug Service.
Installed prereq server PTF SJ03030 on server (V7R5M0).
Restarted Debug Service.
Error: Environment variable DEBUG_SERVICE_KEYSTORE_PASSWORD is not set.
It looks like the at some point during the update process (not sure whether it's the extension or the server PTF), the DebugService.env is updated, removing the 4 lines at the end:
JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit
DEBUG_SERVICE_KEYSTORE_FILE=/QIBM/UserData/IBMiDebugService/certs/debug_service.pfx
DEBUG_SERVICE_KEYSTORE_PASSWORD=xIfWUJXUBsT7joaYXk6X/OEF74RA0o/hwj2VHG4/5FYyfA5Xo0WQuyrILSwXEVJtBrESmUIykGInkhKWIVSdpg==
CODE4IDEBUG=$([ -f $DBGSRV_WRK_DIR/.code4i.debug ] && cp $DBGSRV_WRK_DIR/.code4i.debug $DBGSRV_WRK_DIR/key.properties)

Is this expected behavior? This would mean that the cert needs to be regenerated which will add these 4 entries back, but that affects all users who have downloaded the client cert before?

Context
Version

Code for IBM i version
2.14.5

Visual Studio Code version
1.96.0

Operating System
darwin_arm64

Active extensions
.NET Install Tool (vscode-dotnet-runtime): 2.2.3
COBOL (cobol): 24.11.28
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.7.0
Dev Containers (remote-containers): 0.394.0
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.20.0
Excel Viewer (gc-excelviewer): 4.2.62
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
IBM i Debug (ibmidebug): 2.0.2
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.0
JSON Language Features (json-language-features): 1.0.0
Jira and Bitbucket (Atlassian Labs) (atlascode): 3.0.15
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Overtype (overtype): 0.5.0
Prettier - Code formatter (prettier-vscode): 11.0.0
Print (vscode-print): 0.13.2
Server Ready Action (debug-server-ready): 1.0.0
Source Orbit (vscode-sourceorbit): 1.0.2
TODO Highlight (vscode-todo-highlight): 1.0.5
Task Buttons (vscode-task-buttons): 1.1.3
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
YAML (vscode-yaml): 1.15.0
vscode-icons (vscode-icons): 12.9.0

Remote system

Setting
Value

IBM i OS
V7R5M0

Tech Refresh
4

CCSID Origin
37

Runtime CCSID
37

Default CCSID
37

SSHD CCSID
?

cqsh
true

SQL
Enabled

Source dates
Disabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin
/QSYS.lib/ILEDITOR.lib
/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin
/QOpenSys/QIBM/ProdData/JavaVM/jdk80
/QOpenSys/QIBM/ProdData/JavaVM/jdk11
/QOpenSys/QIBM/ProdData/JavaVM/jdk17

bash
attr
GETNEWLIBL.PGM
QZDFMDB2.PGM
startDebugService.sh
64bit
64bit
64bit

chsh
iconv

ls
setccsid

md5sum
tar

sort
uname

stat

tn5250

Shell env
BUILDLIB=AEALIB
CURLIB=AEALIB
HOME=/home/HEYMCHR
HOST=usalil2c.infor.com
LIBLS=XA10M7X1O AMXLIBB AMFLIBB AEALIB AEFLIB XA10FLIB QTEMP QGPL
LOGIN=heymchr
LOGNAME=heymchr
MAIL=/var/spool/mail/heymchr
OLDPWD=/home/HEYMCHR
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/usr/bin:/usr/bin
PWD=/home/HEYMCHR
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=<IP_ADDRESS> 65011 22
SSH_CONNECTION=<IP_ADDRESS> 65011 <IP_ADDRESS> 22
TGTRLS=V7R4M0
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
USER=heymchr
USERNAME=heymchr
WORKDIR=/home/HEYMCHR
_=/QOpenSys/pkgs/bin/env

Variants
{
  "american": "#@$",
  "local": "#@$"
}

It's quite possible Code for IBM i needs some additional changes to work with debug-2.0.2. I need to look into this more.

I guess this is expected behaviour. I suspect that the PTF being installed reset that file back to the default.

You need to regenerate the SSL certificates using Code for IBM i. Code for IBM i saves the certificate settings in the DebugService.env file. These settings are gone after installing a debug service PTF. If you rerun the certification generation wizard, Code for IBM i will save the settings to DebugService.env again.
Please note that there is no automatic way to regenerate the certificate right now. You can remove the folder "/QIBM/UserData/IBMiDebugService/certs" from the host machine. And Code for IBM i will allow you to generate the certificate again.

Don't bother removing the folder, you can also right click on the Debug Service item and choose Regenerate Service Certificate

As a workaround, I just save the 4 lines from the DebugService.env file before the PTF apply and then put them back into the replaced DebugService.env file after the PTF apply. Seems to work just fine.

Thanks @sebjulliand. The "Regenerate Service Certificate" could be a newer feature. I am not seeing this action in an older Code for IBM i driver.

How odd, it's been here for a few months 🤔 (the related commit is from July).


Request Event - Report 99001020 - Carry Out Action Msg. - Plan.

Hello,
I'm using the AL Language version 6.5.413786 and BC version 17.3.
I need the following event on Report 99001020 - Carry Out Action Msg. - Plan.:
local procedure CheckLine()
var
    SalesLine: Record "Sales Line";
    ProdOrderComp: Record "Prod. Order Component";
    ServLine: Record "Service Line";
    JobPlanningLine: Record "Job Planning Line";
    AsmLine: Record "Assembly Line";
    ReqLine2: Record "Requisition Line";
begin
    with "Requisition Line" do begin
        if "Planning Line Origin" <> "Planning Line Origin"::"Order Planning" then
            exit;

        CheckAssociations("Requisition Line");

        if "Planning Level" > 0 then
            exit;

        if "Replenishment System" in ["Replenishment System"::Purchase,
                                      "Replenishment System"::Transfer]
        then
            TestField("Supply From");

        **-------------- ADD EVENT -----------
        OnBeforeCheckDemandType(var RequisitionLine: Record "Requisition Line");
        ---------------------------------------**

        case "Demand Type" of
            DATABASE::"Sales Line":
                begin
                    SalesLine.Get("Demand Subtype", "Demand Order No.", "Demand Line No.");
                    SalesLine.TestField(Type, SalesLine.Type::Item);
                    if not (("Demand Date" = WorkDate) and (SalesLine."Shipment Date" in [0D, WorkDate])) then
                        TestField("Demand Date", SalesLine."Shipment Date");
                    TestField("No.", SalesLine."No.");
                    TestField("Qty. per UOM (Demand)", SalesLine."Qty. per Unit of Measure");
                    TestField("Variant Code", SalesLine."Variant Code");
                    TestField("Location Code", SalesLine."Location Code");
                    SalesLine.CalcFields("Reserved Qty. (Base)");
                    TestField(
                      "Demand Quantity (Base)",
                      -SalesLine.SignedXX(SalesLine."Outstanding Qty. (Base)" - SalesLine."Reserved Qty. (Base)"))
                end;
            DATABASE::"Prod. Order Component":
                begin
                    ProdOrderComp.Get("Demand Subtype", "Demand Order No.", "Demand Line No.", "Demand Ref. No.");
                    TestField("No.", ProdOrderComp."Item No.");
                    if not (("Demand Date" = WorkDate) and (ProdOrderComp."Due Date" in [0D, WorkDate])) then
                        TestField("Demand Date", ProdOrderComp."Due Date");
                    TestField("Qty. per UOM (Demand)", ProdOrderComp."Qty. per Unit of Measure");
                    TestField("Variant Code", ProdOrderComp."Variant Code");
                    TestField("Location Code", ProdOrderComp."Location Code");
                    ProdOrderComp.CalcFields("Reserved Qty. (Base)");
                    TestField(
                      "Demand Quantity (Base)",
                      ProdOrderComp."Remaining Qty. (Base)" - ProdOrderComp."Reserved Qty. (Base)");
                    if (ProdOrderChoice = ProdOrderChoice::Planned) and Reserve then
                        ReserveforPlannedProd := true;
                end;
            DATABASE::"Service Line":
                begin
                    ServLine.Get("Demand Subtype", "Demand Order No.", "Demand Line No.");
                    ServLine.TestField(Type, ServLine.Type::Item);
                    if not (("Demand Date" = WorkDate) and (ServLine."Needed by Date" in [0D, WorkDate])) then
                        TestField("Demand Date", ServLine."Needed by Date");
                    TestField("No.", ServLine."No.");
                    TestField("Qty. per UOM (Demand)", ServLine."Qty. per Unit of Measure");
                    TestField("Variant Code", ServLine."Variant Code");
                    TestField("Location Code", ServLine."Location Code");
                    ServLine.CalcFields("Reserved Qty. (Base)");
                    TestField(
                      "Demand Quantity (Base)",
                      -ServLine.SignedXX(ServLine."Outstanding Qty. (Base)" - ServLine."Reserved Qty. (Base)"))
                end;
            DATABASE::"Job Planning Line":
                begin
                    JobPlanningLine.SetRange("Job Contract Entry No.", "Demand Line No.");
                    JobPlanningLine.FindFirst;
                    JobPlanningLine.TestField(Type, JobPlanningLine.Type::Item);
                    JobPlanningLine.TestField("Job No.");
                    JobPlanningLine.TestField(Status, JobPlanningLine.Status::Order);
                    if not (("Demand Date" = WorkDate) and (JobPlanningLine."Planning Date" in [0D, WorkDate])) then
                        TestField("Demand Date", JobPlanningLine."Planning Date");
                    TestField("No.", JobPlanningLine."No.");
                    TestField("Qty. per UOM (Demand)", JobPlanningLine."Qty. per Unit of Measure");
                    TestField("Variant Code", JobPlanningLine."Variant Code");
                    TestField("Location Code", JobPlanningLine."Location Code");
                    JobPlanningLine.CalcFields("Reserved Qty. (Base)");
                    TestField(
                      "Demand Quantity (Base)",
                      JobPlanningLine."Remaining Qty. (Base)" - JobPlanningLine."Reserved Qty. (Base)")
                end;
            DATABASE::"Assembly Line":
                begin
                    AsmLine.Get("Demand Subtype", "Demand Order No.", "Demand Line No.");
                    AsmLine.TestField(Type, AsmLine.Type::Item);
                    if not (("Demand Date" = WorkDate) and (AsmLine."Due Date" in [0D, WorkDate])) then
                        TestField("Demand Date", AsmLine."Due Date");
                    TestField("No.", AsmLine."No.");
                    TestField("Qty. per UOM (Demand)", AsmLine."Qty. per Unit of Measure");
                    TestField("Variant Code", AsmLine."Variant Code");
                    TestField("Location Code", AsmLine."Location Code");
                    AsmLine.CalcFields("Reserved Qty. (Base)");
                    TestField(
                      "Demand Quantity (Base)",
                      -AsmLine.SignedXX(AsmLine."Remaining Quantity (Base)" - AsmLine."Reserved Qty. (Base)"))
                end;
        end;

        ReqLine2.SetCurrentKey(
          "User ID", "Demand Type", "Demand Subtype", "Demand Order No.", "Demand Line No.", "Demand Ref. No.");
        ReqLine2.SetFilter("User ID", '<>%1', UserId);
        ReqLine2.SetRange("Demand Type", "Demand Type");
        ReqLine2.SetRange("Demand Subtype", "Demand Subtype");
        ReqLine2.SetRange("Demand Order No.", "Demand Order No.");
        ReqLine2.SetRange("Demand Line No.", "Demand Line No.");
        ReqLine2.SetRange("Demand Ref. No.", "Demand Ref. No.");
        ReqLine2.DeleteAll(true);
    end;
end;

Thanks,
Luís Costa

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Mosaic nonce should be uint32

re: https://github.com/nemtech/catbuffer/blob/master/schemas/mosaic/mosaic_types.cats#L1

There is no format uint32 in the OpenAPI spec: https://swagger.io/specification/#data-types
Note that uint32 are in range between 0 to 4,294,967,295, where as int32 range varies between -2,147,483,648 to 2,147,483,647. To be able to represent all uint32 values, it's common to define the integer as int64 (-9223372036854775808 to<PHONE_NUMBER>854775807).


Feature request - Support libraries

Instead of not supporting libraries we can find a clever way to only conditionally apply ts-reset.  Then libraries can explicitly enable and typecheck but otherwise it's disabled by default

For anyone who ends up here, I managed to use it in my libraries creating a ts-reset.d.ts file with the following contents:
/// <reference types="@total-typescript/ts-reset" />

I guess it will depend on your bundling configuration, but in mine it works properly and it doesn't include any reference to ts-reset in the distribution assets.
What do you think @mattpocock? Is it a good idea? If you don't see anything wrong with it I can open a PR to add this on the README. And to be honest, if it works maybe it's even better to just do this all the time, that way you don't have to give different instructions whether you're working on a library or an app :).

I have a slightly different use case I'm wondering if it's possible to be supported:
We have a company-wide eslint plugin/config lib to help enforce our standards and get the most out of typescript. It also already patches some libs like NX's eslint generation and Angular Material's unsafe dialogs. We also have a shared base tsconfig file.
I'm wondering if it's possible for for TS Reset to be loaded with the rules we want just by installing our standards library. Or at least enforce that it's activated through some sort of linting rules.
I thought about using compilerOptions.types in the base tsconfig. But that option is too easily overridable, removing extended setting.
Note that I wouldn't do that in a runtime library. This is solely to help coworkers use TS Reset without having to forget to configure it properly. Or that it even exists.


call publish api on channel create

Right now I think we only call it during publish. Found a user with a channel but no api entry.

This was fixed

This was fixed


Missing GHA workflows

The following use cases are not supported via GHA.

Windows (MinGW) addon
Linux module
macOS module
Windows (MSVC) module
Windows (MinGW) module

What is missing?

Four of the workflows I mentioned in the description are building precompiles of the engine for Windows, macOS, and Linux using Godot Wasm as a module (similar to what you've done here).
Building the addon (GDNative/GDExtension) using MinGW would also be helpful but is lower priority as we've already got a Windows build in the release artifact.


Fix stale link in aks MSI documentation

Fix a stale link in the AKS MSI documentation to point to the correct resource.

@MGoedtel
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@alexadams-ms, thanks for catching this and bringing it to our attention. I'm currently working on some updates to this doc in a separate PR and have incorporated the updated link you provided here. Since these changes are included in my separate PR, I will close this one. Thanks again!
#please-close


Package fix

What this PR does / why we need it:
To reduce the packages vulnerabilities.
Which issue(s) this PR fixes:

Fixes #455
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Additional documentation, usage docs, etc.:

There are still some vulnerabilities present that needs to be fixed.


Mac vs. PC CSV files

This might just belong in the wiki, but I just discovered that domdb does not like CSV files that are created by a mac. I was able to fix this be re-saving the CSV and selecting 'MS-DOS'.

Will check to see if this is a "feature" of csv.DictReader in which case I should probably look into using something more robust such as pandas.read_csv.

K, so were you using Mac Excel to save the CSV? And used the option "Windows Comma-Separated"? And that didn't work so then you used "MS-DOS Comma Separated"? Or did you create the CSV using some tool other than Excel?

... I'm seeing opposite-than-reported behavior in that when I save from Mac Excel as "Windows Comma Separated" csv.DictReader works, but in "MS-DOS Comma Separated" it fails with this helpful error message:
vagrant@vagrant-ubuntu-trusty-64:/vagrant/scratch$ python read_csv.py
Traceback (most recent call last):
  File "read_csv.py", line 4, in <module>
    for d in DictReader(fin):
  File "/usr/lib/python2.7/csv.py", line 107, in next
    self.fieldnames
  File "/usr/lib/python2.7/csv.py", line 90, in fieldnames
    self._fieldnames = self.reader.next()
_csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?

Googling "universal newline mode Python" gives me this answer:
http://stackoverflow.com/questions/6726953/open-the-file-in-universal-newline-mode-using-csv-module-django
Should be easy to apply that fix

Someone else in the lab generated the problem file on a mac. On the mac, she was using MATLAB to add information to the CSV files. When I saw the error message in domdb, I suspected this was a mac/pc/file issue which is why I opted to open the files in Excel and re-save them as I described above.
Glad to hear this will be an easy fix.

Got it, I can attempt to test this now using Mac MATLAB--should be no problem now.

I just checked the latest version of the code with Mac-created file and we seem to be all set for now.


Changes for Depth range - recursive doc structure

Changes made:

Doc indexer to use depth range 0 for querying and 1 while indexing

Jina requirements to also include  jina[http]

Changes to index and encode yaml for depth range

Changes to README for Data path and Depth Range configurations

Reverted version in cookiecutter.json back to 0.0.1

Added extra requirements

A few things:

When discussing Flows and Pods in text form, be sure to capitalize (i.e. Flow, not flow)
Likewise, YAML should be in all caps in text

(Obviously shouldn't use this style in actual code, just text  )
Re the YAML code, I'll leave that to @hanxiao

Yes sure, fixed the caps, thanks a lot.

all good.


Error installing new venv from existing Pipfile; ValueError: Duplicate keys!

Issue description
I'm trying to install an existing Pipfile from a shared repo on my local.
I can successfully create the virtual environment, however when it starts to install my packages I get an error regarding duplicate keys
ValueError: Duplicate keys!
tomlkit.exceptions.KeyAlreadyPresent: Key "autopep8" already exists.
Which seems odd because there are no packages installed in this fresh environment.
Expected result
When I run $ pipenv install --three I would expect the virtualenv to be created and the packages specified in the Pipfile to be installed.
Actual result
# ~/path/to/project master*
$ pipenv install --three

Creating a virtualenv for this project…
Pipfile: ~/path/to/project/Pipfile
Using /usr/local/bin/python3 (3.7.1) to create virtualenv…
⠦ Creating virtual environment...Using base prefix '/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7'
New python executable in /Users/me/.local/share/virtualenvs/data-sci-docs-c6tNPoIQ-/shims/python/bin/python3.7
Also creating executable in /Users/me/.local/share/virtualenvs/data-sci-docs-c6tNPoIQ-/shims/python/bin/python
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/local/bin/python3

✔ Successfully created virtual environment!
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pipenv/project.py", line 527, in _parse_pipfile
    return tomlkit.parse(contents)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/tomlkit/api.py", line 49, in parse
    return Parser(string).parse()
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/tomlkit/parser.py", line 146, in parse
    key, value = self._parse_table()
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/tomlkit/parser.py", line 965, in _parse_table
    values.append(_key, item)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/tomlkit/container.py", line 139, in append
    raise KeyAlreadyPresent(key)
tomlkit.exceptions.KeyAlreadyPresent: Key "autopep8" already exists.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/toml/decoder.py", line 456, in loads
    multibackslash)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/toml/decoder.py", line 728, in load_line
    raise ValueError("Duplicate keys!")
ValueError: Duplicate keys!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/cli/command.py", line 254, in install
    editable_packages=state.installstate.editables,
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1741, in do_install
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 574, in ensure_project
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 506, in ensure_virtualenv
    python=python, site_packages=site_packages, pypi_mirror=pypi_mirror
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 946, in do_create_virtualenv
    sources = project.pipfile_sources
  File "/usr/local/lib/python3.7/site-packages/pipenv/project.py", line 850, in pipfile_sources
    if "source" not in self.parsed_pipfile:
  File "/usr/local/lib/python3.7/site-packages/pipenv/project.py", line 509, in parsed_pipfile
    parsed = self._parse_pipfile(contents)
  File "/usr/local/lib/python3.7/site-packages/pipenv/project.py", line 531, in _parse_pipfile
    return toml.loads(contents)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/toml/decoder.py", line 458, in loads
    raise TomlDecodeError(str(err), original, pos)
toml.decoder.TomlDecodeError: Duplicate keys! (line 22 column 1 char 335)

Steps to replicate
I put the commands I used above, and here is my Pipfile
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
pandas = "*"
numpy = "*"
matplotlib = "*"
sklearn = "*"
psycopg2 = "*"
jupyter = "*"
pystan = "*"
fbprophet = "*"
scipy = "*"
ipykernel = "*"
autopep8 = "*"
jupyter-contrib-nbextensions = "*"
jupyter-nbextensions-configurator = "*"
autopep8 = "*"

[requires]
python_version = "3.7"

$ pipenv --support | pbcopy

$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/usr/local/lib/python3.7/site-packages/pipenv'
Python location: '/usr/local/opt/python/bin/python3.7'
Python installations found:

3.7.1: /usr/local/bin/python3
3.7.1: /usr/local/bin/python3.7m
2.7.10: /usr/bin/python
2.7.10: /usr/bin/pythonw
2.7.10: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.7.1',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '18.2.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST '
                     '2018; root:xnu-4903.241.1~1/RELEASE_X86_64',
 'python_full_version': '3.7.1',
 'python_version': '3.7',
 'sys_platform': 'darwin'}

System environment variables:

TMPDIR
__CF_USER_TEXT_ENCODING
HOME
SHELL
Apple_PubSub_Socket_Render
SSH_AUTH_SOCK
PATH
LOGNAME
XPC_SERVICE_NAME
USER
SECURITYSESSIONID
XPC_FLAGS
GOOGLE_API_CREDS
LANGUAGE_SHEET_ID
LC_CTYPE
LESS
LSCOLORS
OLDPWD
PAGER
PIPENV_PYTHON
PROMPT_EOL_MARK
PWD
PYENV_SHELL
REDSHIFT_DBNAME
REDSHIFT_HOST
REDSHIFT_PASS
REDSHIFT_PORT
REDSHIFT_USER
SHLVL
ZSH
TERM_PROGRAM
TERM_PROGRAM_VERSION
LANG
TERM
VIRTUAL_ENV_DISABLE_PROMPT
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

PIPENV_PYTHON: /shims/python

Debug–specific environment variables:

PATH: /Users/me/.pyenv/shims:/Users/me/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/me/.pyenv/shims:/Users/me/google-cloud-sdk/bin
SHELL: /bin/zsh
LANG: en_US.UTF-8
PWD: /Users/me/path/to/project

Contents of Pipfile ('/Users/me/path/to/project/Pipfile'):
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
pandas = "*"
numpy = "*"
matplotlib = "*"
sklearn = "*"
psycopg2 = "*"
jupyter = "*"
pystan = "*"
fbprophet = "*"
scipy = "*"
ipykernel = "*"
autopep8 = "*"
jupyter-contrib-nbextensions = "*"
jupyter-nbextensions-configurator = "*"
autopep8 = "*"

[requires]
python_version = "3.7"

Contents of Pipfile.lock ('/Users/me/path/to/project/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "7e7ef69da7248742e869378f8421880cf8f0017f96d94d086813baa518a65489"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.7"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {},
    "develop": {}
}

Just remove the duplicate entry as instructed, and all things are fixed.

 I can't believe I missed that. Thanks!


Suggester list design

Add more information about suggested actants:
label
detail

Loader when searching

High priority.

Exclude "discouraged" entities from the suggester.


Fast xoring in python

instead of
def _websocket_mask_python(mask, data):
    return bytes(b ^ mask[i % 4] for i, b in enumerate(data))

please use this:
native_byteorder = sys.byteorder

def _websocket_mask_python(mask, data):
    assert len(mask) == 4
    datalen = len(data)
    if datalen == 0:
        return b''  #  everything work without this, but may be changed later in python.
    data = int.from_bytes(data, native_byteorder)
    mask = int.from_bytes(mask * (datalen // 4) + mask[: datalen % 4], native_byteorder)
    return (data ^ mask).to_bytes(datalen, native_byteorder)

Why?

this is MUCH faster

How much?

Could you elaborate on this? Could you post benchmark results or insights why this works faster?

depending on datasize, on my computer, from 5 to 31 times. The most "optimal" size for benchmarking is data size of 3 MB

#!/usr/bin/python3.5
import sys
import itertools
from time import monotonic

native_byteorder = sys.byteorder

def _websocket_mask_python(mask, data):
    assert len(mask) == 4
    datalen = len(data)
    if datalen == 0:
        return b''  #  everything work without this, but may be changed later in python.
    data = int.from_bytes(data, native_byteorder)
    mask = int.from_bytes(mask * (datalen // 4) + mask[: datalen % 4], native_byteorder)
    #mask = int.from_bytes(itertools.islice(itertools.cycle(mask), 0, datalen), native_byteorder)
    return (data ^ mask).to_bytes(datalen, native_byteorder)

def _websocket_mask_python1(mask, data):
    return bytes(b ^ mask[i % 4] for i, b in enumerate(data))

data = b'f' * (1024*1024*3)

a = monotonic()
res = _websocket_mask_python(b'1234', data)
b = monotonic()

a1 = monotonic()
res1 = _websocket_mask_python1(b'1234', data)
b1 = monotonic()

print (res==res1, (b1-a1)/(b-a))

it is faster even on one-byte message :)

Looks not oblivious why more operations(and code) is faster than shorter version:
Python 3.4.3 (default, Nov 12 2015, 20:43:56)
...
In [14]: %timeit websocket_mask(b'1234', data)
1 loops, best of 3: 967 ms per loop

In [15]: %timeit websocket_mask2(b'1234', data)
10 loops, best of 3: 22.6 ms per loop

Do you have an explanation for this?

sure, original implementation is executed in python, while my implementation is executed in C.

I don't care too much because cythonized version 7 times faster than your optimized python one.
You may make a pull request though.

@socketpair But enumeration and bytes operations are not made in Python, right? Math is the same. What I see in yours is more function/method calls which means more work to do. Still curious.

@asvetlov about cython, what you compare with what ?

@kxepal b ^ mask[i % 4] for i, b in enumerate(data) creates a new int for every xor.
@socketpair's version just creates one long int from the bytes and xors them.

This is a rule: block operations are always faster than byte-by-byte.

True, thanks!

would this be merged so ?

also, constructing big integer is cheap operation. xoring two bigintegers with same size is cheap too.
The most time (as I think) this function spent in constructing mask...I tried 4 approaches, maybe you know faster one ?

@socketpair I've compared your _websocket_mask_python with aiohttp.websocket._websocket_mask_python and aiohttp.websocket._websocket_mask_cython.
The last is 7 faster than your code.
Sorry, I cannot merge still nonexistent pull request :)

will make pull request. Also I have improved performance of cython-based implementation :)

I have installed pytest from pip...
AttributeError: module 'pytest' has no attribute 'raises_regexp' :(

Please install pytest-raisesregexp manually.
I don't want adding it to requirements.txt because I have a wish to drop raises_regexp usage at all -- the librry is not so useful as I expected.

Fixed by 66c42342a4db7fcec4ec8c8604360f705b5ba664

oops :) race-condition :) :) I have some small improvements on that, but applied 15 second later then you merge PR

Also, you have replaced size_t with uintmax_t it is not right.
uintmax_t is the largest unsigned type provided by the implementation.  size_t is the type of the result of the sizeof operator, big enough to hold the size of any object

Rebased and updated branch

size_t == 8 for 64-bit systems.
uintmax_t is an alias for unsigned long int on 64-bit OS.
For 32-bit OS it's still defined and is an alias for unsigned long long int.
In other words it's always uint64 on both 32bit and 64bit systems.

If your latest update are missed in master branch -- please create new PR.
But I don't buy your latest changes.
I wrote about uintmax_t above.
Regarding forcing little endianess: I believe keeping native byteorder makes sense. Keep in mind hypothetical machine with big endian order. Forcing to reconvert all orders looks like performance hurt.

I have check Python sources. endiannes in that function just change order in which bytes are read from bytearray, and nothing more. Since little-endiannes mean reading from begin to end, this is more optimal.
Since no interpretation to actual number values is done (i.e. no reconversion), there will be no performance hurt, but instead, since memory read left to right, performance improvements will be acieved :)

Memory is read by cache lines, not byte-by-byte.
I don't think it worth committing anyway.

OK, agree, changes are not so meaningful

Same issue: http://bugs.python.org/issue19251

FYI I wrote a patch  for that python issue @socketpair linked to, to allow things like b'abc' ^ b'xyz'. But it needs more feedback if it is to be included.


jetson.inference -- imageNet.classify() encountered an error classifying the image

Instead of running the imageNet-camera.py as it is, I am trying to run detection using an image from OpenCV. I found out that NumPy array can be converted into pycapsule object using jetson.utils.cudaFromNumpy(). I am trying to run the detection on the result returned from jetson.utils.cudaFromNumpy().
But the above errors come. my code:
import jetson.inference
import jetson.utils
import cv2
import argparse
import sys
import numpy as np

# parse the command line
parser = argparse.ArgumentParser(description="Classify a live camera stream using an image recognition DNN.",
						   formatter_class=argparse.RawTextHelpFormatter, epilog=jetson.inference.imageNet.Usage())

parser.add_argument("--network", type=str, default="googlenet", help="pre-trained model to load (see below for options)")
parser.add_argument("--camera", type=str, default="0", help="index of the MIPI CSI camera to use (e.g. CSI camera 0)\nor for VL42 cameras, the /dev/video device to use.\nby default, MIPI CSI camera 0 will be used.")
parser.add_argument("--width", type=int, default=1280, help="desired width of camera stream (default is 1280 pixels)")
parser.add_argument("--height", type=int, default=720, help="desired height of camera stream (default is 720 pixels)")

try:
	opt = parser.parse_known_args()[0]
except:
	print("")
	parser.print_help()
	sys.exit(0)

# load the recognition network
net = jetson.inference.imageNet(opt.network, sys.argv)

# create the camera and display
#font = jetson.utils.cudaFont()
#camera = jetson.utils.gstCamera(opt.width, opt.height, opt.camera)
#display = jetson.utils.glDisplay()
cap=cv2.VideoCapture(0)
# process frames until user exits
print(type(jetson.utils.cudaFromNumpy(np.ones((224,224,3)))))
while 1:
	# capture the image
	frame=cap.read()[1]
	print(frame.shape)
	frame=cv2.resize(frame,(1280,720))
	frames,width,height = jetson.utils.cudaFromNumpy(np.transpose(frame,(1,0,2))),1280,720

	#img, width, height = camera.CaptureRGBA()
	#print(width,height)
	#print(type(img))
	cv2.imshow("sd",frame)
	cv2.waitKey(1)
	# classify the image
	class_idx, confidence = net.Classify(frames, width, height)

	# find the object description
	class_desc = net.GetClassDesc(class_idx)

	# overlay the result on the image
	#font.OverlayText(img, width, height, "{:05.2f}% {:s}".format(confidence * 100, class_desc), 5, 5, font.White, font.Gray40)

	# render the image
	#display.RenderOnce(img, width, height)

	# update the title bar
	#
	# print out performance info
	net.PrintProfilerTimes()
	break

**The error is **
[TRT]   engine.cpp (555) - Cuda Error in execute: 4
[TRT]   engine.cpp (555) - Cuda Error in execute: 4
[TRT]   imageNet::Process() -- failed to execute TensorRT network
[TRT]   imageNet::Process() failed
Traceback (most recent call last):
  File "imagenet-camera.py", line 70, in <module>
    class_idx, confidence = net.Classify(frames, width, height)
Exception: jetson.inference -- imageNet.Classify() encountered an error classifying the image
PyTensorNet_Dealloc()
[TRT]   runtime.cpp (30) - Cuda Error in free: 4
terminate called after throwing an instance of 'nvinfer1::CudaError'
  what():  std::exception
Aborted (core dumped)

Hi @satinder147 , the CV image passed to cudaFromNumpy needs to be a 4-channel RGBA image, as imageNet.Classify() also expects a 4-channel RGBA image.
See the code snippet from this post that uses cv2.cvtColor() to transform the image from 3-channel to 4-channel:   https://devtalk.nvidia.com/default/topic/1071209/jetson-nano/detectnet-video-/post/5427509/#5427509

Hi @dusty-nv, same issue here
I followed Re-training on the Cat/Dog Dataset and have no problems.
According to my-recognition.py,
I load a resnet18 ImageNet successfully by net = jetson.inference.imageNet('resnet-18', argv) ,
but when it comes to inference: class_idx, confidence = net.Classify(img),
it throws out the error Exception: jetson.inference -- imageNet.Classify() encountered an error classifying the image
the img is loaded by img = jetson.utils.loadImage('test.jpg'),
print(img.shape, type(img)) is like this: (334, 500, 3) <class 'jetson.utils.cudaImage>
So, if I want to load the image directly from its file path, what's the suggested way to do it?

Hi @satinder147 ,
have you solved this issue and how, please?


Resolve UB found by miri

Miri reports plenty of UB in Tendril crate. It can be tested checked using cargo miri test (on nightly).

Ah, this is all just MaybeUninit.

Oh, this is trickier to fix, we use write!() on an uninit value at least once

Uses of mem::uninitialized are now gone, but cargo miri test still errors.
There is plenty of unnecessary or dubious unsafe code in this crate, enough to make it tempting (for me) to write a new library rather than go through all of it. (The whole generic "format" thing is also unnecessary, we’d be fine with just BytesTendril and StrTendril that wraps it.)


ShakaPlayer minimalist code?

Where can I find minimalist code for ShakaPlayer? I need a solution that can play videos and supports basic keyboard controls, while also being as lightweight as possible.
Thanks in advance.

Where can I find minimalist code for ShakaPlayer? I need a solution that can play videos and supports basic keyboard controls, while also being as lightweight as possible.

If you mean a minimal library, you can get the compiled, optimized, and minified version of our latest release here:

https://ajax.googleapis.com/ajax/libs/shaka-player/4.11.7/shaka-player.compiled.js

You can always find the latest releases hosted on Google's CDN here:

https://developers.google.com/speed/libraries#shaka-player

You can also build and/or host them yourself.

If you mean a minimal app demonstrating playback, see our tutorial here:

https://shaka-player-demo.appspot.com/docs/api/tutorial-ui.html

Does this help?


Run on startup not working

Even though the app is added to Windows startup process list and is enabled, the app doesn't launch.

Was a Windows OS issue


XR_ERROR_RUNTIME_FAILURE, seems OpenXR for WMR doesn't work at all

I guess this isn't directly because of StereoKit, but even the simplest cube .NET core project template fails to render anything.
OpenXR worked when initially released, but since months, probably around Windows 10 19H2 and still in 20H1, it doesn't work at all, it is installed and the OpenXR Developer Tools portal shows it is setup and ready, but the demo scene from that portal fails and StereoKit fails with [SK info] xrEndFrame [XR_ERROR_RUNTIME_FAILURE].
With no error shown by the OpenXR Developer Tools, it seems anything relying on OpenXR is simply unusable, which makes using any framework based on it a risky bet when UWP and SteamVR apps are all running fine.
Any idea of what might be wrong and if OpenXR is supposed to be ready for release?
Running on a Surface Book 2 15" build 19041.264 and OpenXR for WMR 101.2005.1005.0.

Heyas, thanks for the report!
This doesn't happen on my other machines, but I just tried this on my Surface Book 2 15", and I can confirm it does happen there. However, this is also the first time I've had a WMR headset boot properly on my Surface Book 2, so uhh... I'd call it a slight improvement! I've not been happy at all with how my Surface Book 2 handles, it's rough :( However, I've also never had OpenXR crash out on me entirely like this, so I don't have much experience troubleshooting this part! I'll look into it, and I'll float this one to the WMR OpenXR team and see if they have any insight on it!
In the meantime, it looks like I'm on a slightly older Windows build, 18363.836, but the same OpenXR for WMR. Though the OpenXR runtime version might be a better comparison there. If you check OpenXR Developer Tools -> System Status, what's your runtime version there? I'm at 100.2003.19009

Here's the exception I get along with this failure:
Exception thrown at 0x00007FFECDCEA799 in StereoKitTest.exe: Microsoft C++ exception: _com_error at memory location 0x00000044A29FD228.
Exception thrown at 0x00007FFECDCEA799 (KernelBase.dll) in StereoKitTest.exe: WinRT originate error - 0x80070057 : 'The provided value was outside of the range of valid values.'.
onecore\com\combase\winrt\error\restrictederror.cpp(1014)\combase.dll!00007FFECEE635B0: (caller: 00007FFECEE4CAEC) ReturnHr(11) tid(5650) 8007007E The specified module could not be found.
analog\input\mirage\publicapi\compositionlayerd3d12bufferprovider.cpp(201)\Windows.Mirage.dll!00007FFE6DC11E9A: (caller: 00007FFE6DB9FA25) ReturnHr(21) tid(5650) 80070057 The parameter is incorrect.
    Msg:[deviceAdapterLuid.LowPart == m_outputAdapterLuid.LowPart && deviceAdapterLuid.HighPart == m_outputAdapterLuid.HighPart]
analog\input\mirage\publicapi\holographiccamera.cpp(531)\Windows.Mirage.dll!00007FFE6DB9FA43: (caller: 00007FFE6DB9F811) ReturnHr(22) tid(5650) 80070057 The parameter is incorrect.
Exception thrown at 0x00007FFECDCEA799 in StereoKitTest.exe: Microsoft C++ exception: winrt::hresult_invalid_argument at memory location 0x00000044A29FCD00.

Given the mention of LUID here, there's a good chance this is related to the fact that Surface Book 2 has 2 GPUs in it?

We are investigating this issue in Microsoft OpenXR runtime. A fix will be provided soon. Thanks!

I believe this should be fixed and/or irrelevant by now, lots of improvements in related areas.


Add AnimatedIn and AnimatedOut events to component

Great library so far. Is there a way to AnimateOut at the moment? Or is this pending.


Fix for merge so that numbers don't get turned into {}'s

Since upgrading to the latest version of i18n-js we started having issues with I18n.toNumber - it would always result in NaN.
Debugging it showed that our numbers.format localisation was actually coming through I18n as:

Where what we expected was:

This was traced back to the merge method in i18n.js. It treated strings correctly, but not  booleans/numbers/array. A simple test case for this follows:
I18n.extend({cats: 1}, {cats: 1})
// {cats: 1}
I18n.extend({}, {cats: 1})
// {cats: {}}

I just merged #420 which seems similar to this PR
Maybe you can try master and see if that's fixed?
Thanks.

#420 fixes it, thanks :)


Update logback-classic, logback-core to 1.5.13

About this PR
📦 Updates

ch.qos.logback:logback-classic
ch.qos.logback:logback-core

from 1.5.12 to 1.5.13
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "ch.qos.logback" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #426.


[Linux] Plugin builds and loads in electron but the video is not playing

Hi, thanks for this plugin. I need some help.
I've managed to build it just fine under Windows and it was working like a charm. Then I tried under Fedora and there the plugin wouldn't even load. So I tried under Ubuntu, now it loads but the video is not playing.
I've managed to get and build nacl_sdk and then built the plugin itself. It loads and I get the ready event in the JS code but the video playback never starts. I've tried to debug .cc file to find where the problem is but I'm not a c++ developer so I've only managed to figure out that it stops in method HandleMessage after this line
std::string type = dict.Get("type").AsString();

I can output to stderr before that line but not after, it just halts. I don't see any error anywhere, electron app still runs fine. I've noticed that I don't see any output to stdout, only stderr works, maybe there's some information being outputted but I jsut cant see it.
@Kagami can you help me to figure out what can I be doing wrong? Not even sure how to debug further from here.

I removed line "defines": ["_GLIBCXX_USE_CXX11_ABI=0"], from bindings.gyp and it worked.


Misc helpers

Some miscellaneous changes for more convenience

Thanks for the pull request. Can you open this on on branch develop-7.3 ? Master right now is in the middle of a redesign for v8


Add detail to RequestErrors caused by MapBBOXError

Enable users to more easily determine the cause of a MapBBOXError caused by a large request by providing details of the reason.
I spent a while a few weeks ago trying to determine the cause of service exceptions related to WMS requests that where either num_tiles > max_tile_limit or dimensions > max_output_pixels.

Thanks Walker.


Issues implementing in react

I can't get this to work in react. Error that canvas has height of 0. Anyone had any luck?

Can you please provide a reproducing example on codesandbox?

Apologies for the styling & other errors, includes other attempts at trying to get it to work.l I am still relatively new to front end frameworks
`import React, {Component} from 'react'
import './homepage.css';
import Brusher from 'brusher';
class Homepage extends Component {
constructor(props){
super(props)
this.state = {
changed: ''
}
}
componentDidMount(){
// const canvas = this.refs.canvas
// // const ctx = canvas.getContext("2d")
//

//   <canvas ref="canvas" width={640} height={425} />
//

this.brusher = new Brusher({
  image: 'portfolio-background.jpeg', // Path of the image to be used as a brush
  keepCleared: true,     // Put the blur back after user has cleared it
  stroke: 80,            // Stroke size for the brush
  lineStyle: 'round',    // Brush style (round, square, butt)
  autoBlur: false,       // Brusher will use the provided image for the blurry background
  autoBlurValue: 15,     // Blur strength in pixels
});

// this.runBrusher()

this.setState({changed: "changed"})

// this.brusher.init();
// brusher.init();
console.log('updated!');

}
// componentDidUpdate(){
//   console.log('helllooooo');
//   this.runBrusher();
// }
// componentDidMount() {
//   brusher.init()
// }

runBrusher = () => {
console.log('hello');
this.brusher.init();
}
render(){
return(

    {
      this.state.changed.length > 0
      ?

      {this.runBrusher()}

      :

nuppp

    }

  {/*

Welcome to the homepage

  */}

)

}
}
export default Homepage`

For anyone looking at this thread in the future:
It doesn't work in React because the image fails to load (under loadSelectedImage()).
You can download and modify it so it says: this.image.src = require("./" + this.options.image);
Working demo here: MasonWang025/react-brusher
Just look under App.js for how to use my Brusher.js.


Add Reemember916's md file

created some markdown text

``created a branch, created a file and made a commit, and opened a pull request


[D-313] Fix currency build issues

Pulled two commits from main in order to fix currency service build failure:

open-telemetry/opentelemetry-demo/pull/1335

open-telemetry/opentelemetry-demo/pull/1296

Pin alpine to 3.18
C++ 1.13.0 is being used by dependent libraries, so C++ version was updated

Both of these changes are required to remain compatible with open-telemetry/opentelemetry-cpp

LGTM, thanks for fixing this!

Thanks @kabrol98. Can we please also do a submodule update in the main repository?


Support negative values

The package currently does not support negative values. I would be great to add some scaling to the inputs to support this.
The example values that i used:
min: -3000,
max: 3000,
value: -750,

It also struggles a lot, when you toggle between different min and max ranges. I think both of these issues can be fixed by scaling this values better. I attahced the formula i used in my code. Maybe you can implement this within the widget itself?
double normalize(
  double oldMin,
  double oldMax,
  double? value, {
  double newMin = 0,
  double newMax = 100,
}) {
  if (value == null) return newMin;
  if (oldMax - oldMin == 0) return 0;

  return (((value - oldMin) * (newMax - newMin)) / (oldMax - oldMin)) + newMin;
}

Thank you @tobiasht for that 💪🏻
I will try to make some improvements in the upcoming version.

That would be awesome. I'm in a situation where I'd need to set the max value to 0 and dynamically change the min value. The min value needs to be negative.

This was implemented/fixed by @dino-keskic in #7 and released in version 0.4.3 💪🏻.
If there are further problems, please reopen this issue.


.css() getter doesn't seem to work on detached DOM nodes

Current behavior
const cashElement = $('

')
cashElement.css({ top: 10 })
console.log(cashElement.css('top')) // empty string

Expected behavior
cashElement.css('top') should return 10px
Live demo
https://jsfiddle.net/94wvmnp2/

I just "fixed" this for the sake of jQuery alignment, but I haven't made the release yet though as Travis is having troubles starting up the browsers, could you take a look at that?
I'm not sure this was actually a bug though, that node doesn't have top: 10px applied to it because it's disconnected from the DOM, that's just how browsers work. jQuery in that scenario is defaulting to the value we set earlier, but that's kind of meaningless as it's possible that once that node gets connected to the DOM it won't actually have top: 10px applied to it as that might get overridden by some stylesheet, so the return value of $.fn.css when dealing with disconnected nodes is kind of meaningless really, this "fix" may actually hide some potential bugs in your app, these sorts of manipulations of disconnected nodes should be avoided.

I just "fixed" this for the sake of jQuery alignment, but I haven't made the release yet though as Travis is having troubles starting up the browsers, could you take a look at that?

Hm, looks like the issue is on the SauceLabs side, did you try to re-trigger the same build?

I'm not sure this was actually a bug though, that node doesn't have top: 10px applied to it because it's disconnected from the DOM, that's just how browsers work. jQuery in that scenario is defaulting to the value we set earlier, but that's kind of meaningless as it's possible that once that node gets connected to the DOM it won't actually have top: 10px applied to it as that might get overridden by some stylesheet, so the return value of $.fn.css when dealing with disconnected nodes is kind of meaningless really, this "fix" may actually hide some potential bugs in your app, these sorts of manipulations of disconnected nodes should be avoided.

Roger, thanks!

Hm, looks like the issue is on the SauceLabs side, did you try to re-trigger the same build?

Yeah. I'll try again tomorrow, hopefully they'll fix it by then.


Use torch.compile for version 2.0 and higher

Any insight on performance difference between the 2 approaches to the various kernels?

For the dropout fusion cases (training and inference), NVfuser is better for perf than torch.compile since torch.compile generates 3 kernels instead of one, including a auxiliary distribution kernel and a memcpy kernel, while also being much slower and incurring non-negligible CPU overhead. For all other cases torch.compile is equal or better, i.e. generates lesser number of and/or faster kernels.

/te-ci

Pipeline 8562248


there is no web session to update

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I use fastlane for upload testflight.
So, a make a beta script as below(fastlane env)
I don't know why fastlane doesn't load web session of my apple connect account.
I want to know the method to test appstore connect using fastlane.
Command executed

fastlane beta
Complete output when running fastlane, including the stack trace and command used

 [[15:35:20]: -------------------------------------------------
[15:35:20]: --- Step: Verifying required fastlane version ---
[15:35:20]: -------------------------------------------------
[15:35:20]: Your fastlane version 2.28.3 matches the minimum requirement of 2.28.3  ✅
[15:35:20]: ------------------------------
[15:35:20]: --- Step: default_platform ---
[15:35:20]: ------------------------------
[15:35:20]: Driving the lane 'ios beta' 🚀
[15:35:20]: -------------------
[15:35:20]: --- Step: match ---
[15:35:20]: -------------------
[15:35:20]: Successfully loaded '/Users/Workspace/project path/fastlane/Matchfile' 📄
+---------+--------------------------------------+
|  Detected Values from './fastlane/Matchfile'   |
+---------+--------------------------------------+
| git_url | github url |
|         |                     |
+---------+--------------------------------------+
+-----------------------+--------------------------------------+
|                   Summary for match 2.28.3                   |
+-----------------------+--------------------------------------+
| type                  | appstore                             |
| git_url               | git hub url |
|                       |                     |
| git_branch            | master                               |
| app_identifier        | my identifier                 |
| keychain_name         | login.keychain                       |
| readonly              | false                                |
| verbose               | false                                |
| force                 | false                                |
| skip_confirmation     | false                                |
| shallow_clone         | false                                |
| force_for_new_devices | false                                |
| skip_docs             | false                                |
| platform              | ios                                  |
+-----------------------+--------------------------------------+
[15:35:20]: Cloning remote git repo...
[15:35:23]: 🔓  Successfully decrypted certificates repo
[15:35:23]: To not be asked about this value, you can specify it using 'username'
[15:35:23]: Your Apple ID Username: my id
[15:35:29]: Verifying that the certificate and profile are still valid on the Dev Portal...
Multiple teams found on the Developer Portal, please enter the number of the team you want to use:

company (Company/Organization)
indivisual (Individual)
1
[15:35:33]: Installing certificate...

+-------------------+-----------------------------------------------------+
|                          Installed Certificate                          |
+-------------------+-----------------------------------------------------+
| User ID           | company                                          |
| Common Name       | iPhone Distribution: company |
| Organisation Unit | company                                          |
| Organisation      | company                                   |
| Country           | US                                                  |
| Start Datetime    | Oct 22 11:30:35 2019 GMT                            |
| End Datetime      | Oct 21 11:30:35 2020 GMT                            |
+-------------------+-----------------------------------------------------+
[15:35:34]: Installing provisioning profile...
+---------------------+------------------------+------------------------+
|                    Installed Provisioning Profile                     |
+---------------------+------------------------+------------------------+
| Parameter           | Environment Variable   | Value                  |
+---------------------+------------------------+------------------------+
| App Identifier      |                        | identi    |
| Type                |                        | appstore               |
| Platform            |                        | ios                    |
| Profile UUID        | sigh_xyz.. | 336378e6-6df8-4c3f-9d  |
|                     | ace_appstore           | 12-2ecb9156024a        |
| Profile Name        | sigh_xyz.. | match AppStore         |
|                     | ace_appstore_profile-  |    |
|                     | name                   |                        |
| Profile Path        | sigh_xyz.. | /Users//Libra  |
|                     | ace_appstore_profile-  | ry/MobileDevice/Provi  |
|                     | path                   | sioning                |
|                     |                        | Profiles/336378e6-6df  |
|                     |                        | 8-4c3f-9d12-2ecb91560  |
|                     |                        | 24a.mobileprovision    |
| Development Team ID | sigh_xyz.. |             |
|                     | ace_appstore_team-id   |                        |
+---------------------+------------------------+------------------------+
[15:35:35]: All required keys, certificates and provisioning profiles are installed 🙌
[15:35:35]: Setting Provisioning Profile type to 'app-store'
[15:35:35]: -------------------
[15:35:35]: --- Step: pilot ---
[15:35:35]: -------------------
[15:35:35]: To not be asked about this value, you can specify it using 'username'
[15:35:35]: Your Apple ID Username: id
[15:35:39]: Login to iTunes Connect (id)
Multiple iTunes Connect teams found, please enter the number of the team you want to use:
Note: to automatically choose the team, provide either the iTunes Connect Team ID, or the Team Name in your fastlane/Appfile:
Alternatively you can pass the team name or team ID using the FASTLANE_ITC_TEAM_ID or FASTLANE_ITC_TEAM_NAME environment variable
itc_team_id ""
or
itc_team_name "company"

company ()
indivisual ()
1
+-------------------+-----------+
|         Lane Context          |
+-------------------+-----------+
| DEFAULT_PLATFORM  | ios       |
| PLATFORM_NAME     | ios       |
| LANE_NAME         | ios beta  |
| SIGH_PROFILE_TYPE | app-store |
+-------------------+-----------+
[15:35:45]: there is no web session to update

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 2    | default_platform    | 0           |
| 3    | match               | 14          |
| 💥   | pilot               | 10          |
+------+---------------------+-------------+
[15:35:45]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  The request could not be completed because: Unauthorized Access
https://github.com/fastlane/fastlane/issues/15411 [open] 19 💬
a day ago
➡  iTMSTransporter using Signiant upload method even with -t DAV override
https://github.com/fastlane/fastlane/issues/15375 [open] 40 💬
21 hours ago
➡  Changelog not generating
https://github.com/fastlane/fastlane/issues/15141 [closed] 9 💬
3 weeks ago
and 33 more at: https://github.com/fastlane/fastlane/search?q=The request could not be completed because%3A
	there is no web session to update&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
[!] The request could not be completed because:
there is no web session to update]

Environment

 ✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.21.0 (Apple Git-122)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.14.6 (18G95)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.28.3"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
#     cocoapods
#  carthage
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    match(type: "appstore") # more information: https://codesigning.guide
    #gym(scheme: "myScheme") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "myScheme") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "my identifier" # The bundle identifier of your app
apple_id "my id" # Your Apple email address

team_id "my team id" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.28.3
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

atomos
0.1.3

CFPropertyList
2.3.5

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.13.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.17.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.28

json
1.8.1

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
0.13.1

generated on: 2019-10-23

I uninstall fastlane
brew cask uninstall fastlane
and re init fastlane
it works for me.

Still have the same error...

I think reinstall fastlane using ruby install.
sudo gem install fastlane -NV
after update ruby version my ruby version is
ruby 2.6.5p114

I think it's because I installed it with brew cask install fastlane...
Maybe it can compromise fastlane installation because brew cask install fastlane use gem to install it finally. I would be better to install it directly by gem.
I have fixed the error like this:

Uninstall fastlane
brew cask uninstall fastlane
Install fastlane by gem
sudo gem install fastlane -NV
Add this lines in ~/.bash_profile
export FASTLANE_PATH="/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.134.0/bin"
export PATH="$FASTLANE_PATH:$PATH"
source ~/.bash_profile
And now I have the latest version 🎉

@anthlasserre this solved the problem!

I ran into the same issue. It seems the Homebrew installation is very old https://github.com/fastlane/fastlane/issues/15496, and I ran into several other inexplicable issues over the last few days.
Reinstalling fastlane via Ruby @anthlasserre worked for me, although I did not need to add FASTLANE_PATH since I am using rvm.

Worked for me @anthlasserre

thanks


Music, Pictures, and Videos folders not translated in the homepage

Description

Steps To Reproduce
It happens if the language is not English but any other language, which is Traditional Chinese in this case.
Expected behavior
Music, Pictures, and Videos folders are translated into matching language in Home.
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.22000.493
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Is this still an issue in <IP_ADDRESS>?

No, it’s working now. Much appreciated!


Remove second banner when signing in

Changes Unknown when pulling 1e8009bd9da4701d0b1b6b2f7eef739105b5e3e3 on two-banners-bug into ** on master**.


Need to store type in firebase

Our types of tasks are not storing in firebase as of yet, we need to add that functionality so the button/emogis will appear on reload

fixed fam!


[Question] What is the plan to workaround Google rate limiting

I'm aware that the part about scraping the search results from Google has not yet been implemented. However, if you had more time, what would be your solution to do so, and how would you will work around Google rate limiting?
I'm also aware that you raised a concern previously via email

I realize the Google search result has changed a lot since last time I crawled, which I believe makes the challenge much more difficult than it used to be :-(. I don't know if the one who gave the challenge is aware of this change yet.

Since you didn't provide more details, it is hard to know which issue you faced, but we didn't notice significant changes that prevented a possible solution to extract the search result.

Hi, about the update on google search result page, it seem like google is currently using some form of server side rendering JS framework instead of returning plain HTML like before, you can inspect on the returned page in developer tool:

The script section is very dense and the page cannot be  opened in preview mode which hinted the page is rendered dynamicly using javascript.
The other problem is that the since the page is rendered dynamically using javascript, the class name and ID seems to be rendered dynamically with random ID as well which make it hard to find the pattern or the structure.

The page data when scrolling down is also not sent by json API but some plain text structure:

I the above problems make implementing the crawler much more difficult than it used to be.
About the work around Google rate limiting, I think I'll start with some queueing mechanism using postgres or redis and crawling by batch and adding some random or jitter delay between each batch, I'll also implement process tracking for each keyword on the dashboard.

Thanks for your insight, it seem my network IP range is the thing that causing the problem:
Before changing to mobile hotspot:

After changing to mobile hotspot:

And also, I think the class name problem still persists.
Thanks for advice.


Implemented filter method for Constraint

Will solve issue #11

Changes included in pull request #10 are also included here.

Thank you Kjartan! I ended up taking a simplified approach to achieve the same effect. Now .rename(), .filter() and .with_columns() works for all ModelElements (i.e. Variables, Set, Constraint, Expression). This was done by implementing different ._new() methods in each and simply passing through the polars methods directly in ModelElement.
    rename = _pass_polars_method("rename")
    with_columns = _pass_polars_method("with_columns")
    filter = _pass_polars_method("filter")


changes needed to run guide

+ a couple of suggestions to make the guide a bit clearer.
In general, I was able to run through the guide without getting stuck. The changes proposed are just to keep the versions up to date and help the next person find it even clearer than I did. Great job!

cheers for this @Jenniferstrej  :D


[Bug][TCGC]: apiVersions of subclients can be undefined

Describe the bug
See this spec: https://github.com/Azure/autorest.csharp/blob/5c4fa0277ee7087fbd3a55ef629ab190405d18bd/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec/Azure.NewProject.TypeSpec.tsp#L203
Demo is a subclient, and its apiVersions is undefined. I think it should be an empty array.

Reproduction
Just parse the spec in the link above.
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For bug in the typespec language or core libraries file it in the TypeSpec repo
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

for service without versioning, we always return undefined.

closing since this is by design, @archerzz please reopen if this is still an issue


License mode??

This project is MIT??
Kind regards.
I need to implement this library for a project
and I need to know if this software is licensed or free software.
use.

Yes, it's MIT.
Added a license file

Thanks 👍


Question about XY Positioning

What is your question?
I'm trying to make a thing with moving the notes and it's really frustrating considering I don't know the exact XY positioning for the HUD, like for example, I'm used to 0,0 being in the middle, but here, 0,0 is basically above the top, and it feels like when I try to do a negative X value, it goes to the right, I'm used to it going to the left, same happens with Y positioning, so I'd like a bit of an explanation about how the XY positioning works.

https://en.m.wikipedia.org/wiki/Coordinate_system

Found out the XY coordinate plane by tweening a note to 0, 0. Thanks for your help anyway.


Is this the same as the easyerp online version?

If this is the same as a online version my team and i would love to collaborate with you guys to help make the software even better. we have been looking for something like this in this space. a little about is at pegas.io

even we are ready to take it further, so if the original author has ditched this project, i would like to start from where they left and take it further, if you guys are also ready to collaborate, let me know @woakes070048

@jacksolutions we have been using erpnext for our projects but I am will in look st this project again

i know erpnext but

it is python
its a resource hogging, it is even crashing on 4 GB

I don't off the top of my head. Erpnext and easyerp differnt animals. Are you looking to develop for your internal use or for customers?

yes jack, lets do it, nice to have an ERP that is based on nodejs and nosql

@sm2x @jacksolutions do you guys have an email so we can invite you guys to a slack channel?

jaykishan(dot)vansadawala(at)gmail(dot)com
let me know once you invite so that i can remove my email

Okay just sent the invite

okay i have got the invitee, thanks

Great

I am also interested. How can I get involved?

@onamission checkout #16 - we're discussing how this might look in future over there.

I am also interested.


Readme.md: adds section about query logging

First off, I wanted to say "thank you" for creating and maintaining this great module!
Recently, I ran into a use case where I wanted to log all the raw queries being made by a connection pool.
I had to dig around the Issues tab a bit until I landed upon this. It was close to the solution I needed (I dug into the source code and saw that the Sequence object was not being bound to the main export Object, so ended up removing the mysql.Sequences.Query line and it worked like a charm).
I think having this little snippet in the README itself would help future users quickly find out how to do this. I figured it made most sense as a sub-section within the Debugging and reporting problems section.
Please let me know if should adjust anything or if adding this to the docs does not make sense.
Thanks!

Hi @rovolution thanks for the PR! That section of the README is specifically about debugging & reporting problems with this module to us, not just in general. When you use debug: true it will already output the queries, so adding a subsection to do the same thing is pretty redundant. Perhaps there may be a better location in the README?

@dougwilson perhaps moving it to the Pooling Connections section?
Another thing we could potentially do is add a new section that discusses different ways to access the raw MySQL string. For example, how to access it for a single query, a single connection, a pool of connections, etc...
Let me know what you think. Thanks!

@rovolution Thank you very very very very very very much !

@dougwilson any updates on this? Thanks!

I haven't giving it much thought beyond that it definitely doesn't belong in the current section, so there isn't any changes to really merge at this time. I know you gave a suggestion, but that doesn't seem right, either. I also noticed your example uses undocumented feature, so I think it would be important that everything in your example is actually documented before added it, or that just raises more questions.

sounds good. ill go ahead and close this then. Thanks!