az vm extension image list doesn't show all versions

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

The package aadsshlogin-selinux-1.0.016890001-1.x86_64.rpm was recently pushed after a GPG  key bug fix, but does not show up when listing images
To Reproduce

az vm extension image list -l westus2 --publisher Microsoft.Azure.ActiveDirectory --output table
Name                 Publisher                                 Version

AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1553.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1560.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1588.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1595.1
Expected behavior

Should include 1.0.016890001
Environment summary

azure-cli    2.0.81
bash
Additional context

Compute

In fact, CLI only requests REST virtual-machine-extension-images/list-versions and displays the returned results from REST directly. Therefore, this may be the service related issue.
@darrinthomascecil Could you provide us with the specific debug logs to investigate this issue? Please add --debug after the original executed command, then send us the printed information by email

Looking into the issue.

AADSSHLoginForLinux Microsoft.Azure.ActiveDirectory 1.0.1553.1
AADSSHLoginForLinux Microsoft.Azure.ActiveDirectory 1.0.1560.1
AADSSHLoginForLinux Microsoft.Azure.ActiveDirectory 1.0.1588.1
AADSSHLoginForLinux Microsoft.Azure.ActiveDirectory 1.0.1595.1

According to the debug log provided by @darrinthomascecil, service only returns the above images
Request URL: /subscriptions/{subscription}/providers/Microsoft.Compute/locations/westus2/publishers/Microsoft.Azure.ActiveDirectory/artifacttypes/vmextension/types/AADSSHLoginForLinux/versions?api-version=2019-07-01
'x-ms-correlation-request-id': '336a90c3-4aff-4f51-8bb5-1e8c79e1dffd'

@darrinthomascecil Received the debug log details from @zhoxing-ms and currently going through the log details. I will update here as soon as I find anything on this issue.

@grizzlytheodore Could you please help to look at this issue?

Issue is still under investigation and will update back as soon as I have more information.

Issues seems to be related to API as the CLI returns the result of the REST API call but all the versions are not returned in the debug.  Need to work with extensions team and will update back soon.

@darrinthomascecil I'm getting the following output when running the command
az vm extension image list -l westus2 --publisher Microsoft.Azure.ActiveDirectory --output table
Name                 Publisher                                 Version
-------------------  ----------------------------------------  ----------
...
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1553.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1560.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1588.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1595.1
AADSSHLoginForLinux  Microsoft.Azure.ActiveDirectory           1.0.1713.1
...

So not seeing 1.0.016890001 or 1.0.1689.1 either.
Looking at the backend logs, and the Platform Image Repository only returns the 5 versions above - which makes me think it wasn't published correctly - and that it's not an issue with Azure CLI.
When was the package pushed? Did you get in touch with the MS team in charge of publishing ?

@darrinthomascecil - Based on the above comments, can you confirm when the package was pushed and if you are still experiencing the issue?

@darrinthomascecil - Can you please confirm if the issue is still there? Otherwise, we can close this item.

Closing this issue and feel free to re-open if you need any further help. Thanks!


Stream in files to gulp-webpack

I was wondering if its possible to extend things so that one can stream in the files to gulp-webpack. Its just that I do some pre processing of the files outside of webpack and would prefer not to have to send them to disk before running webpack. This might require changes at webpacks end but not being intermit with how gulp works, I'm not sure where the change needs to go.

So people don't waste time on this like I just did, overriding compiler.inputFileSystem will not do anything. The webpack() function calls new NodeEnvironmentPlugin().apply(compiler); that then sets up the resolvers to use the NodeJsInputFileSystem, so overriding compiler.inputFileSystem after the call to webpack() will not fix the resolvers. Then the whole compilation will fail because it will not find the files on disk.


FR: A way to set the minimum python version for a virtual workspace

I set up a virtual workspace to run MkDocs as discussed here; the config is the same is in #6288 (which I worked around by not running uv lock).
A minor annoyance is that uv lock sets requires-python = ">=3.12" in uv.lock, and there is no way to decrease this requirement AFAICT. uv seems to only accept a field for the minimum Python version in packages, and there are none in my config.
Perhaps the [tool.uv.workspace] section in pyproject.toml should support setting a minimum python version, or there should be a way to have a "virtual project" that has dev-dependencies and sets a minimum Python version instead of having to create a weird empty workspace to put dev-dependencies in its root.
Update: Ah, looking at #6285, maybe I'm supposed to have a .python-version... OTOH, judging by that bug, it may or may not work.

Yeah this is an awkward spot right now. The best you can do at present is a .python-version.

This is now solved by using a virtual package. You can add [project] with a Python version to what was previously a virtual workspace root.

Thank you!


Call a custom endpoint

Is there an easy way to call a custom endpoint? I want to use private endpoints, is that possible?

Looking at tweepy library code and how API methods are defined, I guess you could try something like this:
import tweepy
from tweepy.binder import bind_api

# OAuth process
auth = tweepy.OAuthHandler('key', 'secret')
auth.secure = True
auth.set_access_token('token', 'token_secret')

# Creation of the interface
api = tweepy.API(auth)

# Call of the custom endpoint
bind_api(
    api=api,
    path='/statuses/retweeters/ids',
    method='GET',
    allowed_param=['id', 'count', 'cursor', 'stringify_ids'],
    require_auth=True
)

I ended up writing a wrapper which doesn't work too well but it gets the job done:
from tweepy.binder import bind_api
from tweepy.api import API

class my_API(API):
    @property
    def home_timeline_priv(self):
        return bind_api(
            api=self,
            path='/timeline/home.json',
            payload_type='json', # payload_list=True,
            allowed_param=['since_id', 'max_id', 'count'],
            require_auth=True
        )

api = my_API(auth)


Fd 007.2 joinus

Fixes

Issue Title: FD-007.2 - Add Embedded Doc form to Join Us Page
Github #76
Created by @SincerelyBrittany
Description
Adds the google form to join us page for short term resolution for renderATL. Should be responsive-ish.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

+1


Filter part of error message when access to only one project is confusing

Current Behavior
As an Automate User with a project selected in the global project dropdown, I attempt to take a non-permitted action (delete user, edit user) and see an error message containing the text "filtered by projects []".
Desired Behavior
As an Automate User with a project selected in the global project dropdown, I attempt to take a non-permitted action (delete user, edit user) and see an error message containing the text "filtered by projects ["project-id"].

@susanev notcied that this happens when the zeta project is the only project this use has available: e.g. there's no dropdown to select another project.
Given that, my assumption is that we're not actually applying the project filter to the API requests and that the UI is trying to be smart about what the user can see. Could you check:

that the projects filter header is actually applied to the API requests
that this also occurs when there is more than one project available to the user

The project is not sent in the header if the user only has access to one project.
This does not occur when there is more than one project available.

Given that the user only has access to the one project, their actions are getting correctly authorization.

Thanks @blakestier! So the extent of this issue is that the error message is reflecting the state of the world: "user can't take this action and they have no project filters applied" and because the UI is trying to be helpful by showing "you only have access to one project" it causes confusion about what is really going on. Correct?

Yes, something like that. The Global Filter appears populated (by the single permitted project) so it's surprising for the filter to be [] in the error message.
We could simply drop that part of the error message when the filter is empty (unless that makes the msg less helpful?)

so, in that case, they don't actually have any filters applied.
i dont think that part of the message is useful in the access to a single project case, and i also want to customize it to better communicate a filter isnt applied, instead of saying empty array. im gonna take a bit to think about it though.

this work has been deprioritized.


name convention for gem files

Gem installation is not straightforward since the file is not named the same as the gem.
Changing the names to respect the convention and simplify gem installation.

👍 It would be nice to choose if we need to require "stuart or require "stuart-client-ruby". I'd go for the latter as it's the gem name.

Just re-register it on rubygems as stuart IMHO. It's available https://rubygems.org/search?utf8=✓&query=stuart

My feeling is that we need to keep the same naming logic for every client lib we have: stuart-client-#{langage_here}, we already have stuart-client-php, stuart-client-js, stuart-client-java


Unify highlight and tag in NPC indicators

Unify the logic and coloring of NPC tagging and highlighting
Merge highlightedNpcs and npc tags to one list
Compare npc index with list of tags on NPC spawn and add to
highlighted NPCs list instead of getting NPC from client.getCachedNPCs
Add brackets to single line ifs, remove redundant code
Cleanup code

Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

Rebased on latest NPC indicators changes, changed the tagged NPCs use NPC spawned and despawned events too.


Documentation App Service running on top of PaaS

Do you think this statement about App Service is on top of Paas is correct?  Why isn't it IaaS?

At its core, App Service is a service running on top of the Azure PaaS (platform as a service) infrastructure. As a result, the local drives that are "attached" to a virtual machine are the same drive types available to any worker role running in Azure. This includes:

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

ID: 0e6f6c24-c956-df49-ae5f-739312be4fed
Version Independent ID: aba60038-0195-1b85-6a24-8994b421b5d2
Content: Operating system functionality - Azure App Service
Content Source: articles/app-service/operating-system-functionality.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@rackerWard
Thanks for your feedback! We will investigate and update as appropriate.

@rackerWard Thanks for reaching here! The PR has been raised once reviewed by author @cephalin would be visible.
We will now close this out but if you feel you need more information please just let us know.


Error parsing time string '23:00:22': unparsable'

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports and didn't find any similar reports.

Expected Behavior
All ICS calendar data should load, and items with extra details (like seconds) should degrade gracefully.
Current behaviour
Some events seem to raise errors, and may be dropped.
JavaScript console output
plugin:obsidian-full-calendar:62470
FC: Error parsing time string '23:00:22': unparsable'
parseTime @ plugin:obsidian-full-calendar:62470

Steps to reproduce
I'm not really sure, since the debug output doesn't give me enough searchable details for the event.
Calendar information
I'm loading 13 Google Calendar calendars using their private URLs. Actually, as far as all of the events are missing from one of the URLs, and there are other blocking issues like the various timezone issues that apply unpredictably to some, but not all, of my loaded events.
Which Operating Systems are you using?

[ ] macOS
[X] Windows
[ ] Linux
[ ] Android
[ ] iOS

Obsidian Version
1.4.5 installer 1.3.5
Full Calendar Plugin Version
0.10.7
Checks

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

Possible solution
No response
Comments
I haven't reloaded the UI without other plugins since that would take several minutes, very likely give the same result, and then have to be undone, taking another several minutes (due to Obsidian's slow loading).

Should be fixed by PR #484 which was just merged.


Update metadata link from HIP 10 to HIP 412

Description:
The HIP 10 metadata schema was superseded by HIP 412, this PR just updates the link to the new schema docs.

@justynspooner Thanks for the PR!


complex integration with ndarray

Following #423, while the following conversion works right now (with ndarray and num-crate features on);
let arr = Array2::<Complex<f64>>::zeros((3,3).f());
Robj::try_from(&arr).unwrap()

the inverse doesn't.
let robj = R!("matrix(c(1+1i, 2+2i, 3+3i, 4+4i, 5+5i, 6+6i, 7+7i, 8+8i), ncol=2, nrow=4)")?;
let mx = <ArrayView2<Complex<f64>>>::from_robj(&robj)?;

The intent of this PR is to make the conversion valid for both sides.
I also kindly suggest to fully integrate num_complex. I don't know if there's a strong reason for it to be considered a feature.
Thanks for your attention.

I noticed in src/scalar/rcplx_full.rs that you use an alias c64 for Complex<f64> so I was really not sure which one of these I should have used for this commit. Sorry for the confusion.

I am enabling CI for you, let's see how it goes.

So aside form the tests, the only change you're making in this PR is to re-export the Complex type, right? Is this so that users can import from extendr? If you have a compatible version of num_complex as the one being used by ndarray, then this isn't an issue, right? I think it's a bit unconventional to just re-export the type to solve this issue, but I'm welcome to being proven wrong.

I am not sure I follow what you said, sorry for that, but the important code in this PR is using the macro below on Complex<f64>.
#[cfg(feature = "num-complex")]
make_array_view_2!(Complex<f64>, "Not a complex matrix.");

So in case anyone uses the num-complex and ndarray feature, the conversion will work as it already works normally for i32 and f64 types, for example.

Oh right, that's the macro for creating conversion traits, makes sense.

Propose to close this in favor of #443

Hmm but this PR adds a conversion for num_complex::Complex whereas #443 is for the wrapper type Rcplx. Is there merit in having both, like we do for most scalars?

When feature is enabled, Rcplx is just num_complex::Complex https://github.com/extendr/extendr/blob/master/extendr-api/src/scalar/rcplx_full.rs

Well it's a wrapper struct around it, but close enough.

I see your point, but to add support for just Complex, this PR needs to be revisited -- a lot has changed since its inception. I may do this when I get an opportunity.

Are you guys happy to close? I'm not exactly sure what is happening here or how this relates to #443.

Sure! I am closing it.

Thanks.


Eio_linux crash

I'm consistently getting a crash like this in Deku:
0: _build/install/default/bin/deku-node: internal error, uncaught exception:
0:                                       Stdlib.Effect.Continuation_already_resumed
0:                                       Raised by primitive operation at Eio_linux.run.(fun) in file "lib_eio_linux/eio_linux.ml", line 1471, characters 4-629
0:                                       Called from Eio_linux.with_uring in file "lib_eio_linux/eio_linux.ml", line 1315, characters 10-18
0:                                       Re-raised at Eio_linux.with_uring in file "lib_eio_linux/eio_linux.ml", line 1323, characters 6-41
0:                                       Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
0:                                       Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 34, characters 37-44

@EduardoRFS hypothesizes it's related to doing Eio stuff from other domains.
I can reproduce quite consistently on this commit: 4bc40c448a591b229c32b5c573a16171c9958be0. It has some changes, primarily removing things in an attempt to isolate the issue: no Tezos interop, no block storage, and no chain.json dump. At that point the only IO that should happen is gossip over TCP.
We should try to shrink the reproducer and post an issue on: https://github.com/ocaml-multicore/eio. In the meantime I'll track in this issue.

I have a (weak, mostly unfounded) hypothesis this might be related to https://github.com/ocaml-multicore/eio/issues/370


Keep myself in the loop on PRs in my areas

Whoooooo...

Since it's just CODEOWNERS I'm going to use my magic powers for awesome here.


tools: fix mmlink Quartus 21.3 loopback reset

Signed-off-by: anandaravuri<EMAIL_ADDRESS>

Coverage decreased (-0.03%) to 61.264% when pulling 87ce2157a4a3efab674ce72480fa3f02535a0f73 on aravuri/fix_mmlink into b08628de03c556fd35e6cd4935c789a473165a57 on master.


Operations on Azure Data Lake Storage Gen2 don't work (Auth failure)

Storage Explorer Version:
Microsoft Azure Storage Explorer
Version: 1.12.0
AzCopy Version: 10.3.3
Build Number:
Build Number: 20200116.10
Platform/OS:
Linux Ubuntu 18.04.3 LTS
Architecture:
x64
Bug Description

Azcopy commands issued from the storage explorer do not work on Azure Data Lake Storage Gen2 storage acocunts. Instead I'm getting an authentication error:
{
  "message": "\"failed to perform remove command due to error: cannot start job due to error: cannot verify resource due to error: -> github.com/Azure/azure-storage-azcopy/azbfs.newStorageError, /home/vsts/work/1/s/azbfs/zc_storage_error.go:41\\n===== RESPONSE ERROR (ServiceCode=AuthenticationFailed) =====\\nDescription=403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature., Details: (none)\\n   HEAD https://ngmldevhdiacct.dfs.core.windows.net/hdinsight/data/week_purchases.pq/transaction_week=2018-04-30failed?timeout=901\\n   Authorization: REDACTED\\n   User-Agent: [Microsoft Azure Storage Explorer, 1.12.0, linux,  AzCopy/10.3.3 Azure-Storage/0.1 (go1.13; linux)]\\n   X-Ms-Client-Request-Id: [b2c6d096-69b0-4617-7e0c-97a2565345eb]\\n   X-Ms-Date: [Tue, 10 Mar 2020 14:30:56 GMT]\\n   X-Ms-Version: [2018-11-09]\\n   --------------------------------------------------------------------------------\\n   RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\\n   Date: [Tue, 10 Mar 2020 14:30:56 GMT]\\n   Server: [Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0]\\n   X-Ms-Error-Code: [AuthenticationFailed]\\n   X-Ms-Request-Id: [d1721189-f01f-0072-6be8-f69a79000000]\\n   X-Ms-Version: [2018-11-09]\\n\\n\\n.\\n\""
}

Steps to Reproduce

Copy from a ADLS gen2 to another from the explorer (ctrl+C / Ctrl+V)
Try deleting a file on an ADLS gen2

Expected Experience

The operation works, files copied or deleted.
Actual Experience

Error saying "Deletion from xxxxx failed 0 completed"
Additional Context

I worked around the problem using manually generated SAS token and the azcopy command from the Azure storage
Similar to #1076, not sure why that one is closed.

Are you signed in or attaching with Azure AD? Does this consistently happen on every blob that you try to delete?

I'm signed in

It's only happening for Azure data lake storage gen2
It's quite inconsistent, I'm not getting that error now.

Hi @Saul-R.  John from the AzCopy team here.  It could be very helpful to see the AzCopy log files from the failed operations.  Be default they are found here $HOME$.azcopy
If you're not sure which ones are from the failed operations, you could probably find them with a grep search for AuthenticationFailed.
Log files contain filenames but no credentials.  You can email the log files directly to me. My email address is on my profile page.

Seems like the SAS token wasn't correctly generated for this request.
2020/03/10 13:58:55 failed to initialize destination container hdinsight; the transfer will continue (but be wary it may fail): -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, /home/vsts/go/pkg
/mod/github.com/!azure/azure-storage-blob-go@v0.7.0/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=AuthenticationFailed) =====
Description=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:fc2df15c-e01e-0041-6de4-f6c5d2000000
Time:2020-03-10T13:58:53.5423064Z, Details:
   AuthenticationErrorDetail: Signature did not match. String to sign used was rwl

2020-04-09T13:56:51Z
/blob/ngmldevhdiacct/hdinsight

2018-03-28

   Code: AuthenticationFailed
   PUT https://ngmldevhdiacct.blob.core.windows.net/hdinsight?restype=container&se=2020-04-09t13%3A56%3A51z&sig=-REDACTED-&sp=rwl&sr=c&sv=2018-03-28&timeout=901
   User-Agent: [AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; linux)]
   X-Ms-Client-Request-Id: [fed57de7-aa9c-4b62-58ac-602ce923e65d]
   X-Ms-Version: [2018-03-28]
   --------------------------------------------------------------------------------
   RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
   Content-Length: [499]
   Content-Type: [application/xml]
   Date: [Tue, 10 Mar 2020 13:58:53 GMT]
   Server: [Microsoft-HTTPAPI/2.0]
   X-Ms-Error-Code: [AuthenticationFailed]
   X-Ms-Request-Id: [fc2df15c-e01e-0041-6de4-f6c5d2000000]

Can't reproduce this anymore.

Welp, I guess we'll close this then...
Please open a new issue if you still encounter problems.


Installing build tool Windows

I have been checking around and only came across installing the build tools on Azure Devops. What if my dev environment is not azure devops ? Is there a way to install build tools on local windows machine with a PowerShell script for use?

The Power Platform Build Tools are (by definition) for Azure DevOps:
https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tools

It is a package of Azure DevOps tasks, so they require Azure DevOps.  If you are using the onprem Azure DevOps server, you can install them manually by using the option to download the vsix from the marketplace.
https://marketplace.visualstudio.com/acquisition?itemName=microsoft-IsvExpTools.PowerPlatform-BuildTools

The Azure DevOps tasks inside the Power Platform Build Tools vsix are a wrapper around the Power Platform CLI:
https://learn.microsoft.com/en-us/power-platform/developer/cli/introduction
The Power Platform CLI is a cross platform CLI that can be used from any automation technology that can acquire and run a CLI.  It's available on nuget.org:
https://www.nuget.org/packages/Microsoft.PowerApps.CLI
Here is an example of acquiring and using it directly without installing the Power Platform Build Tools or GitHub Actions for Power Platform.
https://github.com/devkeydet/install-use-pac-nuget/blob/main/.github/workflows/acquire-run-pac.yml
The example above is a bit contrived because it is running in a GitHub Workflow and there is already GitHub Actions for Power Platform, which is what most customers would want to use if using GitHub:
https://learn.microsoft.com/en-us/power-platform/alm/devops-github-actions
But the example is intended to show people that if you are using any CI/CD technology that allows you to run a CLI (which I believe is all of them), then you can accomplish the same things that Power Platform Build Tools accomplishes with extra convenience for Azure DevOps, but on any CI/CD platform.

If you just want to install the Power Platform CLI on your PC, then the learn link above provides you instructions on how.  If you use winget, you can also run:
winget install Microsoft.PowerAppsCLI

Thank you, that was very helpful. I have one more question regarding import(from power platform to local machine) an existing canvas app through the power platform cli after connecting to the environment.


Need to update VFR Data Struct Definition in edk2-VfrSpecification (Bugzilla Bug 683)

This issue was created automatically with bugzilla2github
Bugzilla Bug 683
Date: 2017-08-28T02:22:14+00:00
From: @dandanbi
To:   @dandanbi
CC:   nobody, yonghong.zhu
Last updated: 2017-09-15T04:01:44+00:00

Comment 2662
Date: 2017-08-31 20:06:58 +0000
From: Yonghong Zhu <<yonghong.zhu>>
Bug scrub: Assign to module owner

Comment 2648
Date: 2017-08-28 02:22:14 +0000
From: @dandanbi

Industry Specification: ---
Releases to Fix: EDK II Master
Target OS: ---
Bugzilla Assignee(s): @dandanbi

Since our VfrCompiler will be enhanced to support Union and bit field, so the edk2-VfrSpecification need to be updated accordingly.
Update part: 2.3 VFR Data Struct Definition

Comment 2739
Date: 2017-09-15 04:01:44 +0000
From: @dandanbi
https://github.com/tianocore-docs/edk2-VfrSpecification/commit/2b9e56c530df33bf82f905007c6c4e297ce690c8


Tauri Plugin SQL - How can I use multiples database

Hello.
Is there any way to use more than one type of database?
[dependencies.tauri-plugin-sql]
features = ["sqlite", "postgres", "mysql"]
version = "2.0.0-beta"
If, for example, my application needs other types of connections. If not, does anyone have any suggestions on how I can do this?
I'm using Tauri 2.

This is not supported yet. Tracked here: https://github.com/tauri-apps/plugins-workspace/issues/288 (closing this in favor of 288).
You could use the rust libraries yourself in your app, or for remote connections (postgres/mysql) there may be js packages that already work in the browser so then you could use those for psql/mysql and this plugin for sqlite.


Multi select mat auto complete

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Guys, In multi select mat auto complete if I checked value from drop-down and press enter it shows [ object object] in input field.
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
I just want after press enter or space drop-down hide and checkbox value patch in input field.
Actual Behavior
If I click anywhere in the screen it will work fine. Checkbox value patched in input but if I press enter it shows (object object) in input
Environment

Angular:10
CDK/Material:
Browser(s):
Operating System (e.g. Windows, macOS, Ubuntu):

Please re-open this issue with a reproduction


Can't upload certain UT3 map packs

I'm not able to upload UNK Map Pack 1 and UNK Map Pack 2 due to website not recognizing any content info in them.

As much as I prefer to not do it - had to force type to Map Pack, since they contain various mutator-like things, so it couldn't be sure they were just map packs.
https://unrealarchive.org/mappacks/unreal-tournament-3/warfare/U/unk-mappack-vol1_8507ae0c.html
https://unrealarchive.org/mappacks/unreal-tournament-3/warfare/U/unk-mappack-vol2_e27f30d8.html

Can't be helped really, some mappers want to also include custom weapons in their map :/


pxt-core@latest now points to latest master

Fix 2 of 2 for Microsoft/pxt-microbit#1558
(Other fix here: https://github.com/Microsoft/pxt/pull/4951)
We've decided that:

v0 will take tag _v0 (a tag can't start with "v" or a number)
master will take default tag latest

This must be cherry-picked to stable4.2

@pelikhan Can you open an issue?


feat: support for vectis wallet

Hey! I'm happy to contribute to this awesome library including our wallet extension.
We are Vectis by NYMLAB a smart contract wallet infrastructure that allows user to interact with dApps on the blockchain with the same amount of autonomy of a classic non-custodial solution. More information here.
Vectis extension allows to expose smart contract wallets as it were a EOA, from a dApp perspective there is not difference.
On top of that we support natively ethermint and more specifically injective network since some protobuf changes from ethermint.
I couldn't test the integration since when I do the build and link the library to test it locally in a project it can't resolve some dependencies. I really appreciate help on test the integration and confirm is working properly.

I will test it out, approved!


How to set log level for rpc_server?

I am debugging an issue we are having related to gomicro v2.9.1. The service responses are not received by client. So there is an issue on sending the response or receiving them.
I didn't get any relevant logs and started to put fmt.Printf() all over the code... (couldn't use debugger as it is a distributed application and debugging all services at the same time seems a (bigger) pain to me).
In the end, I ended up at func (s *rpcServer) ServeConn(sock transport.Socket) in server/rpc_servicer.go and noticed
https://github.com/micro/go-micro/blob/94bd1025a64eaaba1d89189891ef49f3ab5eee7f/server/rpc_server.go#L437
I thought we set the logger using
log.SetLogger(outLoggerWithDebugLevel) // import "github.com/micro/go-log"

but we didn't get this log message (I verified that this debug log line is actually reached)
After some additional investigation I found:
https://github.com/micro/go-micro/blob/94bd1025a64eaaba1d89189891ef49f3ab5eee7f/server/server.go#L152
The log field is set with a default logger that seems to be completely unreachable to override or configure... (at least as far as I could see/find).
Am I missing something, and is it possible to change the log level of the RPC server? (without overriding this line, which is my current 'solution')

i'm plan to fix this, by providing logger option to client and server (also for broker at least) so you can have different log levels for each component


AAC test streams to front page

The AAC streams were added to the data base but are not visible on the front page. What needs to be done to make this happen?

Done!

@rbouqueau I can see CAAC tab but links for eac3 streams are listed.

That's correct and I can see the source of this confusion: the JS script accesses the elements by index, not by name. Let me dig into this when I find some time.

Should be addressed. Please close if ok.
I've noticed that there are other root elements (CEAC, CE4S, ...). Let me know if you wish to add them.

Yes please @rbouqueau it would be nice to show (CEAC, CE4S) as well, thanks.

Done.

It looks fine to me.
Do we need to raise issue to update the link later when the streams updated?

The group proposed to make pull requests in this case. Let me know if you see any limitation to this approach, otherwise please close the issue.

@rbouqueau Thanks.  I dont have permission to close the issue.

@rbouqueau Thanks. I dont have permission to close the issue.

Closing as agreed.


Hard dependency from Microsoft.IdentityModel.Clients.ActiveDirectory, version <IP_ADDRESS>801

In my test project by saving of gradient boosting model I’ve encounter strange implicit dependency from Microsoft.IdentityModel.Clients.ActiveDirectory. It doesn’t work (load assembly exception) in all referenced versions of this assembly except I reference pretty old one version 3.17.2. Even if I use dependentAssembly construction it doesn’t help. My project is net461.

@AndreiDegtiarev This is not an issue I have encountered before. I can't see why SharpLearning should depend on Microsoft.IdentityModel.Clients.ActiveDirectory, so it must be something implicit via another dependency. Is there anything special with the platform or project you are using?


use README instead of repo description

Just an idea:
I think README would be the best thing to run LDA on, since it contains a pretty good description of the project. Projects without README should be penalised either way. Often times the repository description is too short to describe in detail what the repository is all about.

Too slow for the web service. So won't include it in gitsuggest.com. But will make it part of API package.

@csurfer what about having some cache, train once a day or something?
It's funny, github has a discover feature now too.


api merge

@yingliming  lint failed

@yingliming lint failed

fix

/cc @iamyeka please take a look


Issue with ESM imports

Importing from a nodejs app with type set to module results in the following error:
Tested on Node 16.
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '....../node_modules/@as-integrations/fastify/build/esm/type' imported from<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:371:5)
    at finalizeResolution (node:internal/modules/esm/resolve:418:11)
    at moduleResolve (node:internal/modules/esm/resolve:981:10)
    at defaultResolve (node:internal/modules/esm/resolve:1078:11)
    at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:40)
    at link (node:internal/modules/esm/module_job:78:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

In the ESM build output, in the index.js, the import paths should contain the file extension.

Hi @Allaoua9. Could you provide some more information as that error output looks strange.
This package does not use 100% ESM modules as with many other packages but this can change.
If it's the problem I think it is a solution would be to use the cli flag --experimental-specifier-resolution=node when running you're application node.

Sorry if my post wasn't clear.
I think what the error means is since i'm using ESM resolution in my project, node will try to resolve the package '@as-integrations/fastify' by importing build/esm/index.js as specified in the package.json. But since ESM resolution requires file extensions, node won't be able to load the file types.js since the extension is missing in the import inside build/esm/index.js:
export * from "./types";
export { fastifyApollo as default } from "./plugin";
export * from "./handler";
export * from "./drain-plugin";

Using the flag --experimental-specifier-resolution=node resolves the issue, but i'm not comfortable using an experimental feature, plus it seems like the extensions in the imports are the way to go for ESM in the future.
I doubt there is a way to tell typescript to add file extensions in the resulting esm build.
I think the only possible fix is to add the .js extensions in all of your imports. Some examples form existing packages:
https://github.com/apollographql/apollo-server/blob/main/packages/server/src/index.ts
https://github.com/sindresorhus/got/blob/main/source/index.ts

To change all imports to extension .js need to refactor the tests also to use the ESM import, we could use node-tap test runner and c8 for code coverage

Hi @olyop :)
Sorry if my post wasn't clear.
I think what the error means is since i'm using ESM resolution in my project, node will try to resolve the package '@as-integrations/fastify' by importing build/esm/index.js as specified in the package.json. But since ESM resolution requires file extensions, node won't be able to load the file types.js since the extension is missing in the import inside build/esm/index.js:
export * from "./types";
export { fastifyApollo as default } from "./plugin";
export * from "./handler";
export * from "./drain-plugin";

Using the flag --experimental-specifier-resolution=node resolves the issue, but i'm not comfortable using an experimental feature, plus it seems like the extensions in the imports are the way to go for ESM in the future.
I doubt there is a way to tell typescript to add file extensions in the resulting esm build.
I think the only possible fix is to add the .js extensions in all of your imports. Some examples form existing packages:
https://github.com/apollographql/apollo-server/blob/main/packages/server/src/index.ts
https://github.com/sindresorhus/got/blob/main/source/index.ts

Hi all. I have updated the source code and compiled code to include .js extensions.in v1.2.0. Hopefully this gives 100% ESM support as well as support for CJS.

That's neat @olyop thanks :) ! I'm gonna go ahead and close the issue


Add support to persist credentials in OS credential manager

Credential store is accessed with functionality provided from Ookii.Dialogs.Wpf.CredentialDialog.
As suggested in https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/259#issuecomment-361893715
Related to #629 and #259

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Sam13 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Double check how broken profile image links are handled

Hi @pasan04!
Since the Twitter profile image links will no longer be updated (see #15), many of these profile image links will likely break over time. Can you please double-check that the front end can handle this? I guess the desired behavior would be to do what the Facebook tab does if the image link no longer works. Of course, we'd like to use the images if we can.
Let me know your thoughts when you can and feel free to close the issue as soon as you're confident this is handled.
Thanks!

Sure. I will have a look into this and make the changes asap.

I handled the broken photo link in twitter by adding the photo link as facebook did. It's in blue colored with white colored letter. ex - https://twitter.com/RobertKennedyJr


HHH-16827 Avoid useless locks in NaturalId second level cache.

When populating second-level-cache by concurrent threads and several threads read the same entities annotated with @NaturalIdCache it comes to a lock-escalation. This scenario is described in HHH-16726
One of the reasons for the bad performance, is that when verifying if the shared cache already contains the key for the natural-id resolution, the current code calls if ( CacheHelper.fromSharedCache( s, cacheKey, cacheAccess ) != null ) {
in order to prevent identical re-cachings (NaturalIdResolutionsImpl.java line 251)
This is suboptimal and an overshoot for multiple reasons:

fromSharedCache call does not only verify if the shared cache contains the cacheKey,
it also tests if the item is readable by comparing session timestamps.
If the item is found but considered ‘unreadable', then identical re-caching isn’t prevented.
Even more bad: the re-caching attempted is done in vain: NaturalId items aren’t versioned so existing entries get never overriden.

public boolean isWriteable(long txTimestamp, Object newVersion, Comparator versionComparator) { ...

    return version != null && versionComparator.compare( version, newVersion ) < 0;

fromSharedCache call does return the found and 'readable' item, but we actually just need the information if the key is cached or not.

fromSharedCache call does produce unnecessary read-locks in NaturalId-region and as conseguence of the useless re-caching attempts (point 1) also useless write-locks are done with putFromLoad

All this contributes to a huge amount of useless locks in NaturalId cache when it’s get populated. It can avoided by simply calling cacheAccess.contains(cacheKey).

Hi and thanks for creating a pull request for this issue. Please note that we don't merge improvements on maintenance branches, only bug fixes, so if you want to contribute this, please create a PR against the main branch.


Possible websocket issue

Reported by a dev working on whitelabels
Another problem i've been seeing with the last 2 releases is an issue with the API for infura (before you say its on my end). I've tested APII with other releases and it works fine...
2022-01-31 10:58:52.966560-0700 AlphaWallet[1499:234012] convertToUserFriendlyError URL: https://polygon-mainnet.infura.io/v3/8c6e8f42bfc84f68bb8b4c2973fc55d6 error: responseError(APIKit.ResponseError.unacceptableStatusCode(403)) from: convertToUserFriendlyError(error:baseUrl:)
Its stuck in a loop. Market data will pull in and then disappear. Look at my screenshots

That happens on repeat. The data will register something and then rejects it.
This has happened on the last 2 releases on the iOS build for GitHub
Also I think its a websocket issue.
2022-01-31 11:01:18.303109-0700 AlphaWallet[1499:235157] [websocket] Read completed with an error Operation canceled
2022-01-31 11:01:51.571860-0700 AlphaWallet[1499:235157] [connection] nw_read_request_report [C26] Receive failed with error "Socket is not connected"
2022-01-31 11:01:51.761536-0700 AlphaWallet[1499:235157] [quic] quic_send_frames_for_key_state_block_invoke [C26.1.1:2] [-01fe7b76265e5a9ff9fe6774ae5e6e4a50f771b7] unable to request outbound data
The only way I can fix this is by simply unplugging the cord connected to my computer and my phone...
& the only way to get the data to populate from Infura is by doing a long press on the graph.. I have to do this for each network like Polygon & Eth.
Thanks for checking!

@oa-s Just to be sure. This is fixed?

need to take a look on it, but web socket issue, is not related to charts data fetching or fetching prices


remove token and proxy

Description
The summary of the proposed changes as long as the relevant motivation and context.
Issues
https://github.com/opea-project/GenAIInfra/issues/54
Type of change
List the type of change like below. Please delete options that are not relevant.

[x ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)

Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.

OK. we merge and I promptly create an issue with my suggestion!! :-)


docs: spelling fix on pluggable-widgets-client-api

Found a small grammar and spelling error while building a widget.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Feature Request] Introduce Universal Uploader

A dedicated screen that would allow the user to point VPS to a single folder per table where all updates and/or new table files exist. VPS would then scan and add/update everything as needed.
draft requirements...

standardized Folder structure for all needed media:   with individual folders for all items under that, like... LaunchAudio, Audio, Help/Instructions, Info, PuP-Pack, B2S, ROM, NVRAM, AltSound, AltColor, etc
for adding new :: VPS adds everything as you'd expect today
for updating :: VPS asks to append or overwrite... only relevant for media; VPX & B2S would always overwrite of course.
When PuP-Pack is in add/update, show link to pup-folder so user can 1-click to open, thus quickly configure the PuP Options as needed. (while best to config before upload but many do not understand the BAT is only copying files - so giving them a link is nice)
option to mark table status as 'complete' and Dismiss all notifications for it

The issue is similar to https://github.com/syd711/vpin-studio/issues/153.
I know its not the same as described/requested there, but the solution there is the same that I have in mind like for this ticket.
Instead of providing a folder structure on the client, I prefer the server being smarter regarding uploads.

I have updated the title to emphasize the solution for this. I hope this will be a sufficient solution for you when finished.

Fixed with 2.20.0.


[Request] Focus on password textbox when switching and allow enter

That said, it is inconvenient to reach over my mouse everytime to select the textbox and pressing the Okay button.

I agree with you, and I'm working on a solution for that.
Right now, I'm able to write as soon as the input shows. I'm trying to set the enter key to work with the "Okay" button. As soon as that works, I'll PR the changes.
Cheers :D


Doc wiki port

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.27%.
Report is 2 commits behind head on dev.

:exclamation:  There is a different number of reports uploaded between BASE (0f9428c) and HEAD (03bc953). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (0f9428c)
HEAD (03bc953)

3
1

Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #118       +/-   ##
===========================================
- Coverage   49.52%   33.27%   -16.25%
===========================================
  Files          59       39       -20
  Lines        7685     5809     -1876
  Branches     1652     1289      -363
===========================================
- Hits         3806     1933     -1873
- Misses       3815     3819        +4
+ Partials       64       57        -7

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


Update react-redux connect documentation link on HOC page to updated react redux docs

Update react-redux connect documentation link on HOC page to updated react redux docusaurus docs site

@harish-sethuraman @gaearon @pfongkye @eps1lon @sophiebits
Can you please give this PR a look when you get a chance 🙏


refactor: simplify operation of map

Ⅰ. Describe what this PR did
Simplify some redundant code of operation of map
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1444 into develop will increase coverage by 0.02%.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             develop    #1444      +/-   ##
=============================================
+ Coverage      45.41%   45.43%   +0.02%
  Complexity      1664     1664
=============================================
  Files            345      345
  Lines          12708    12702       -6
  Branches        1611     1611
=============================================
  Hits            5771     5771
+ Misses          6289     6283       -6
  Partials         648      648

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/java/io/seata/core/rpc/ChannelManager.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

由于前期Seata社区治理规范问题部分代码作者未签署CLA，可能引发社区知识产权风险问题。请所有在Seata社区贡献过代码（包含：主项目、官网、samples和多语言项目等）的 contributor 帮忙在这个链接登录github账号签署相应的开发者CLA，https://cla-assistant.io/seata/seata  。2023.1.31 未签署CLA的代码将会被rewrite，拜托大家帮忙签一下。


Use pandas DataFrame to store Layer properties

🚀 Feature
I created this mostly for tracking purposes.
The proposal is described in detail in the following document: https://hackmd.io/emsLO3cUR3O9nxSc6YYwUA
Additional context
Part of #2866

Whoo!


Bug: select默认值有展示但取不到

Version
Vben Admin V5
Describe the bug?
设置方式：

页面效果：

获取方式：

获取到的值：

Reproduction

System Info
System:
    OS: macOS 15.1
    CPU: (12) arm64 Apple M2 Pro
    Memory: 188.30 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 9.13.0 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.70
    Safari: 18.1

Relevant log output
No response

Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

defaultValue 放在跟componentProps同级就可以

经测试确实可行，谢谢


Not work in Laravel 7.0

Is not working in laravel 7.0
" - Conclusion: don't install laravel/framework v7.17.2"

$data_location = "https://maps.google.com/maps/api/geocode/json?address=".urlencode(utf8_encode($address))."&key=".config('googlemaps.key')."&sensor=".$this->sensor;
if ($this->region != "" && strlen($this->region) == 2) {
$data_location .= "&region=".$this->region;
}
D:\xampp\htdocs\googlemap\vendor\farhanwazir\laravelgooglemaps\src\FarhanWazir\GoogleMaps\GMaps.php
if map not working first get google api key is vailed and enable map service and for direction enable direction services and this package working with price plain of map and after these things map not still working then please  go to D:\xampp\htdocs\googlemap\vendor\farhanwazir\laravelgooglemaps\src\FarhanWazir\GoogleMaps\GMaps.php
and replace code
$data_location = "https://maps.google.com/maps/api/geocode/json?address=".urlencode(utf8_encode($address))."&key=".config('googlemaps.key')."&sensor=".$this->sensor;
if ($this->region != "" && strlen($this->region) == 2) {
$data_location .= "&region=".$this->region;
}
if working on server enable file_get_contents and any js changes of google map js related file is
D:\xampp\htdocs\googlemap\vendor\farhanwazir\laravelgooglemaps\src\FarhanWazir\GoogleMaps\GMaps.php
for help
http://biostall.com/demos/google-maps-v3-api-codeigniter-library/
https://www.youtube.com/watch?v=LTJ5t3fXoXU&t=699s


chore: Move Int.pow_right_injective

Part of #9411

Sorry, can you explain the purpose? I assume the point is to minimize imports, but please add it to the PR description.

Done

bors merge


Local Activity asynchronously started at the end of the workflow implementation leads to failure

Expected Behavior
    @Override
    public void wofklowMethod() {
      Async.procedure(activity::execute);
    }

An activity scheduled at the end of the workflow code asynchronously without waiting on the promise should be ignored.
Alternatively, it may be executed.
Such a code shouldn't block workflow completion, it's not an invalid workflow implementation.
Actual Behavior
It leads to
io.grpc.StatusRuntimeException: NOT_FOUND: workflow execution already completed exception on worker with workflow never completing.
Steps to Reproduce the Problem
Unit test: https://github.com/Spikhalskiy/java-sdk/commit/718fe8e794a50188c639e79a6ee47576960ae353

@Spikhalskiy please add to sdk features. Not 100% sure we put it there

Related to #1722

https://github.com/temporalio/sdk-java/commit/8b3be3bb521f7ab62b7d384ee417d053286a95d5


Re-implement bip39

This partially reverts https://github.com/cosmos/cosmjs/pull/804 (going back to our own implementation) and inlines much more bip39 functionality.

This should reduce the bundle size a lot as seen in https://github.com/cosmos/cosmjs/issues/904:

What else is needed here? Would be great to reduce build size. How best to help get this out of Draft?

This is basically ready. I just got side-tracked and did not consider this a release blocker for 0.27.0.
One thing I wanted to add is a pure-js implementation of pbkdf2 in order to support environments that do not have subtle or the Node.js crypto module. But we can also do a cry test and see if someone complains.


Add docker-compose, Update python version

Description

Add docker-compose (bifrost-node, bifrost-relayer)
Update python version from 3.8 to 3.10

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Something else (simple changes that are not related to existing functionality or others)

hey @seonggwonyoon, just suggestion, it will be cool to use the newest 3.11 Python - this is stable starting last Thursday and benchmarks are saying faster than 3.10 :pray:

Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite.
Link: https://docs.python.org/3/whatsnew/3.11.html

@seonggwonyoon thanks :mechanical_arm:


How long for training?

Hi,
This work is interesting!
I wonder how long for training your models to reproduce the results in the paper?
Thanks!

Hi @di-mi-ta ,
The number of training iterations varies between different domains and models (i.e., ReStyle-pSp and ReStyle-e4e), but to give you an idea, here are the number of iterations for the ReStyle-pSp models:

Human faces (1024x1024 resolution): 110,000 iterations
Cars (512x384 resolution): 75,000 iterations
Animal faces (512x512 resolution): 40,000 iterations
Churches (256x256 resolution): 150,000 iterations

These are the iterations that obtained the lowest losses during training for their respective domain. As you can see, the number of iterations varies vastly between the different domains due to their resolution and the difficulty of the domain.

Thank you for your reply!

Hi,
Could you release the quantitative numbers you used to plot the diagrams for comparing your method with other methods in your paper!
It would be better for reproducing correctly these diagrams if you release them!
Thanks!

This is a good idea.
I have all the numbers saved somewhere but organizing them into clean, readable tables will take a bit of work. I will definitely consider adding this to the revision, but it may take a bit of time before I get to it.
For the time being, I hope the diagrams are informative enough. However, if you have any issues or questions regarding the results, you are more than welcome to reach out.

Thank you for your quick reply. I hope to see them soon.


wandb.watch() produce nothing [CLI]

Description
I'm working on encoder-decoder like architecture, with multi-models (i.e., e_1, d_1, e_2, d_2, and e_3, d_3). At the moment, I'm only interested in the gradients flow of the e_3 and d_3, so that I call the wandb.watch() with the following command:
        self.wandb.watch(models=[self.model.module.encoder_3, self.model.module.decoder_3],
                         log='gradients',
                         log_freq=100, log_graph=False)

before the training start.
However, I cannot find the "gradients" section in the board.

In addition, wandb version that I used is the latest one at the moment, wandb-0.12.4.
Is there any thing I did wrong?
I appreciate all the help !!!
Environment

OS: Ubuntu 18.04
Environment: Pytorch 1.9, Driver Version: 460.91.03, CUDA Version: 11.2
Python Version: 3.7

Did you solve this problem？


SPDX License Identifier has unnecessary '.'

Describe the bug
The source  code for the Kotlin SDK has an SPDX License Identifier of:
 * SPDX-License-Identifier: Apache-2.0.
Could that extra '.' be removed? It is not part of the identifier spec to treat that line like a sentence and so will mean any tooling has to add additional logic to remove the '.', which given '.' is typically in versioning strings is also a bit uncomfortable to go ignoring.
Expected behavior
Not having the '.'
Current behavior
Having the '.'
Steps to Reproduce
Viewing the source.
Possible Solution
No response
Context
No response
AWS Kotlin SDK version used
0.15.0
Platform (JVM/JS/Native)
n/a
Operating System and version
n/a

This was addressed in #678, awslabs/smithy-kotlin#687, and awslabs/aws-crt-kotlin#54


Deploy sppkg to many sites using powershell

PnP has Add-PnPWebPartToWebPartPage.....how can this sppkg be deployed to hundreds of sites using automated tools?

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

ID: b7ee4609-11a2-b852-daed-585f9f678957
Version Independent ID: df1d0ade-b26f-2b48-eaff-4ed2d6b1ec63
Content: Deploy your client-side web part to a SharePoint page (Hello World part 3)
Content Source: docs/spfx/web-parts/get-started/serve-your-web-part-in-a-sharepoint-page.md
Service: unspecified
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Yes, we did.  They were not working for our App Extension according to my developer.  For example, after attempting to push the app-extension into the app catalog, no errors were reported, but the app-extension did not appear in the catalog.  We'll look at it again to be sure it wasn't a mistake on our part.

Deployment of a web part or an extension to thousands of sites have few different options. The most convenient option is to use tenant scoped deployment, which means that just by adding your solution to app catalog, web parts inside of it are available in all of the related sites. This kind of solution cannot, however, be responsible for provisioning any assets to the site, like lists or columns.
See more on tenant scoped deployment from following article - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-scoped-deployment.
Web parts can be activated on sites with tenant scoped deployment as they have a picker for content editors. Extensions can be enabled on the sites, but they'd still need to be activated. This means that they have slightly different options for deployment. See https://www.youtube.com/watch?v=YMyZHtE5IbI.
Starting from SPFx v1.6 which will be related late August 2018, you can also enable SPFx extensions to be enabled in sites from app catalog using new tenant wide deployment option for SharePoint Framework extensions. This was demonstrated for example in following SharePoint Dev monhtly community call - https://youtu.be/sPogIORXWcA?t=3065.

I met a problem about package version control. Story is I have two site collections one is  for demo, another is for qa test. I build a package with an increasing version number and deploy it to app catalog. all sites be affected immediately, I confirm none of sites have upgrade app by 'Get it'.


Add chocolatey uninstall script to remove shortcut

Fixes #136

Yea, I was looking for it too, but couldn't find one 😭 :sadpanda:


FR: Support multiple --instances flag

It'd be nice if clousd_sql_proxy accepts multiple --instances flags combined.
In k8s Deployment config, let's say if you need to specify 10 instances
command:
  - "/cloud_sql_proxy"
  - "--instances=some-project:some-zone:instance-name-1=tcp:3366"
  - "--instances=some-project:some-zone:instance-name-2=tcp:3367"
  - ...

is much easier to read than everything jammed together in one line.
If this sounds good please let me know and I'm happy to send a PR.

We're working on almost exactly the same thing as part of the v2 release.
The invocation will look like this:
cloud_sql_proxy <INSTANCE_CONNECTION_NAME1> <INSTANCE_CONNECTION_NAME2>

We're actively working on getting a beta version of v2 out of the door. Until that's available, I'm going to leave this open.

Thanks! Does that mean it doesn't hurt to have this feature in v1 as well ...? ;)

Thanks for the PR. I need to verify that this won't be a breaking change, and will leave a review soon.


Suggest to replace USE_DRSYSMS with USE_DRSYMS in README.md

The macro used in CMakeLists.txt and winafl.c is USE_DRSYMS, but in README.md, it is wrongly written USE_DRSYSMS which may make user confused.

Done, thanks for reporting!


Gulp tasks not being found

I have a gulpfile.js in the correct location with two tasks. The Ctrl-Alt-T view, however, tells me no build configurations can be found.
After some console.logging I found the following: My gulpfile.js is detected, so isEligable passes and it is being required. However, I placed console.log({ tasks: Object.keys(gulp.tasks) }); at the end of my gulpfile.js and in gulp-parser-task.js right after the require, which logged 2 and 0 tasks respectively.
My best bet is that either gulp has weird scoping issues, or something is wrong with the Task stuff atom-build does.

What OS are you on? What version of Atom?
There are tests which cover this functionality. Do they work in your environment?

Same here. Only the custom .atom-build.json task works. Neither package.json or gulpfile.coffee is detected. :disappointed:

gupfile.coffee support was introduces in c2f6e95c4945dee832a176f98610409127f3d60c, which is not part of a release yet. Please try again on master (or wait for v0.40.0 which shouldn't be too far off).

I made it work with package.json target (I was missing the "engines" field), but now it only runs npm install, which only invokes the "postinstall" script.
Shouldn't it instead run npm test or something that actually triggers all builds? "postinstall" is used only for compiling native libraries.
In summary, more sane behaviour would be to:

default to node when "engines" field is missing
run npm test or both npm install && npm test upon build

Well, test is one thing, build is another. I think what build is currently doing when it finds a  package.json is what most would expect. If there is anything else that should be done as part of the build, postinstall can be used as you so accutely pointed out.
I'm not sure what you mean with "default to node" ? Node wouldn't be able to do anything with the package.json file.
And as I said in previous comment. gulpfile.coffee will be supported in next version.


this player worked and now it doesnt with the same files that it previously played

Expected Behavior
(What did you expect to happen?)
I expected the song to play
Actual Behavior
(What actually happened?)
the song didnt play. It says that maybe my browser does not support that format. I am using the same browser - Chrome.
Steps to Reproduce the Problem

Specifications

Browser:
OS: Mac/Linux/Windows

Join the club, (and the waiting game) esity1.  A large group of us fellow Drive users have been dealing with this since Thursday Feb 6; see comments #82, #83, #84, #84, #85, #86, #87, #88, #89 and #90 . We had a similar problem last winter which lasted about two months. I don't think that the app developer is aware of this matter presently. Let's hope that it gets resolved in a short period of time.


fix(row-group): group header row height

fixes the issue where rowHeight on ngx-datatable-group-header doesn't work
What kind of change does this PR introduce? (check one with "x")

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

@timowolf Could you please review this PR?
Thanks!


Code confusing between element and its content

The first and only parameter of runPhpScriptTag is element, which is expected and used as exclusively as a DOM element node (element.getAttribute...).
However, the line below calls that function with a string, as far as I know (I think this is a bug):
https://github.com/seanmorris/php-wasm/blob/094f4e00fa99b1271af077b6de7d0d38d475ecae/source/PhpWeb.js#L77
Other usages of that function seems to be confusing this as well, for example while the following line correctly passes an element, the previous line declares a code variable (from the element content) and doesn't use it anywhere.
https://github.com/seanmorris/php-wasm/blob/818a3607b826f0b8eb029572c56042e0865170c1/source/PhpWeb.js#L90
A similar situation can be seen in other files, such as PhpShell.js and PhpWebDrupal.js.

This has been refactored.


subsys/mgmt/hawkbit: Unable to parse json if the payload is split into 2 packets

Describe the bug
response_cb isn't able to store the complete packet from HAWKBIT_PROBE & HAWKBIT_PROBE_DEPLOYMENT_BASE properly if they were to arrive in more than a single packet.
I was getting JSON parse error and by printing the buffer passed into the function I noticed that the last 32 bytes aren't correct, which is inline with what I saw in the log: the payload arrived in 2 packets and the second part is 32 bytes.
I'm guessing that this line is causing the issue, but I don't really understand it:
if ((body_data == NULL) && (final_data == HTTP_DATA_MORE)) {

However I understand the HAWKBIT_DOWNLOAD part and know that it should be applicable to the HAWKBIT_PROBE & HAWKBIT_PROBE_DEPLOYMENT_BASE. After applying this part solves the issue. I believe we can can use the same code to extract the body for all cases:
if (hb_context.dl.http_content_size == 0) {
	body_data = rsp->body_start;
	body_len = rsp->data_len;
	/*
	 * subtract the size of the HTTP header from body_len
	 */
	body_len -= (rsp->body_start - rsp->recv_buf);
	hb_context.dl.http_content_size = rsp->content_length;
} else {
	/*
	 * more general case where body data is set, but no need
	 * to take the HTTP header into account
	 */
	body_data = rsp->body_start;
	body_len = rsp->data_len;
}

if ((rsp->body_found == 1) && (body_data == NULL)) {
	body_data = rsp->recv_buf;
	body_len = rsp->data_len;
}

@Navin-Sankar @burumaj Any comments?

@ycsin yes HAWKBIT_DOWNLOAD part code is applicable to both the HAWKBIT_PROBE and HAWKBIT_PROBE_DEPLOYMENT_BASE.
Or try to collect the response data in single packet by changing the RECV_BUFFER_SIZE

@Navin-Sankar I think we should fix the root cause and unify how the response_cb extracts body_data and body_len, what do you think?
@burumaj Would it be possible for you to submit another PR on this? Maybe a have a body_extract function that has your latest changes in it which can be used by all three cases?

I just tried to increase RECV_BUFFER_SIZE to 1024, but still receives the payload in chunks. I'm not very familiar over how http works, but this chunked transfer seemed to be controlled by the host and is a feature of HTTP 1.1.

@ycsin If i recall correctly, this has to do with the network code. What happens is there is some remaining data in a network internal buffer that needs to be consumed before another "frame" of data can be retrieved. This is what I think is causing the issue you're seeing. This behavior is because of how the network driver is implemented. If you're using a modem I recommend looking into the implementation of the ofloaded network calls like read()

@burumaj But I'm using a gsm_ppp modem, which shouldn't be using offloaded stuffs.

What happens is there is some remaining data in a network internal buffer that needs to be consumed before another "frame" of data can be retrieved.

I'm also finding where this happens, I guess this could be the reason why the download is slow.
@jukkar May I have your inputs please?

@burumaj Do you mind submitting another PR that basically copy your latest implementation and apply it to download and deploymentbase parsing case?

I don't mind submitting another pr, but I can't promise anything timeline related.


How to get all the assets related with client?

Now there are four org in the network. But as to every org, there are a number of entities. For each client, it should be assigned to a specified role and a specified identity, i.e. entity of exporter, importer, exporter bank, importer bank, regulator or carrier. If the client of a given importer wants to query all the assets of him, how to do it? It seems easy to identify the role but uneasy to identify the identity of the client.
And why set the identity when instantiating the chaincode? Does this mean there is only one instance for each role?
Thanks.

The view offered by the chaincode (in other words, the set of invoke and query functions) is the only means through which a client can get any information stored in the ledger. As you can see in the chaincode, we have defined a number of functions to query asset information, like getTradeStatus, getLCStatus, etc.
I'm guessing you are asking how a client can get a list of all trades they have been involved in? Like the list of trade IDs? We have not defined such a function in the chaincode, but you can do so yourself by using the shim API (https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim). In particular, check out the functions GetStateByPartialCompositeKey and GetStateByRange. You can write, for example, a function getTradeIDList in which you use GetStateByPartialCompositeKey with the Trade prefix to get the trade ID list.
A client must enroll with a particular Fabric CA instance in our example application, where each CA instance is uniquely associated with a given organization. If you examine the chaincode (tradeWorkflow.go), you will see that only the organization name matters, and it is used to control access to the individual functions. In the web application, there is another layer of identity, involving login IDs, but those are interpreted only by the web server and are invisible to the chaincode, which only cares about organization membership.
Does this answer your questions?

Thanks. I got your points. It sounds reasonable. About question 1, yes I want to do a compound query. And I agree with you about the web application to deal with another layer of login IDs.

I am sorry. Still doubted about how to get all involved transactions of importer ImpEx for example. As you said, we can know ImpEx's MSP is ImporterOrgMSP. Do you mean I can implement a function like getTransactions('ImportedOrgMSP', 'ImpEx') to do get states by range? Now the MSP and importer name are given by client. Why need the chaincode instantiated with args as args in Init?
Thanks.

Thanks. Clear now.


AalenJohansenFitter raises error for show_censors with .plot()

aj = AalenJohansenFitter()
aj.fit(T, E, event_of_interest=1)
aj.plot(show_censors=True)

The above code returns a NotImplementedError but from the looks of the documentation, this should work.
Edit: Should note, I'm on 25.10

Hi @NickCEBM it looks like the problem is the show_censors argument. I can replicate this on 25.6 (what I have installed atm). If you set that to False, it should plot.
As for the source, it looks like the predict_at_times function is not available to AalenJohansenFitter. Looks like #940 may be related.
I will try to look into what needs to be updated this week

Thanks @pzivich
I can indeed get it to plot by leaving out the argument (as it defaults to False) but I happen to need the censor ticks on this occasion for consistency with some other graphs in my paper.
Many thanks for taking a look!

In the mean time, here is a hack-y way to put the censored indicators with a minimal example. I put in a tied event/censored time and everything worked.
I would recommend making sure there are no tied-events in the data before doing this. Otherwise the merging step may not work as intended.
import pandas as pd
import matplotlib.pyplot as plt
from lifelines import AalenJohansenFitter

# Data set
T = [1, 2, 2.9, 1, 5, 2.1, 3, 5, 1.5]
E = [0, 1, 2, 1, 0, 2, 1, 1, 0]

# Create pandas dataframe
d = pd.DataFrame()
d['event_at'] = T
d['event'] = E
d = d.set_index('event_at')

# Estimating Aalen-Johansen
aj = AalenJohansenFitter()
aj.fit(T, E, event_of_interest=1)

# CIF for censored times
d = pd.merge(aj.cumulative_density_, d, how='outer', left_index=True, right_index=True)
d = d.loc[d['event'] == 0].copy()

# Plot
aj.plot(show_censors=False)
plt.plot(d.index, d['CIF_1'], '+', markersize=12, color='C0')
plt.show()

There are indeed ties in both the censored and non-censored data, but I'll have a play with this and see if I can get to do what I need in the meantime. Thanks for the attempted workaround!

So tied censored and non-censored should be fine (I have that at t=1 in the example).
I mean ties for events types (like at t=3 event=1 and event=2 both occur). Aalen-Johansen breaks ties in the background by randomly jittering the data. Alternatively you can jitter those events manually (so AJ doesn't have to). I would recommend the manual jittering of the data. Hope that helps!

Ah, ok yes I assume there are tied events for my event of interest and the competing risk in my data but I'll have to double check that. I've just been using the random jittering with a fixed seed in my implementation for now as that suits my purposes fine. Will have a think about this on my end in the meantime.

Hi !
I discovered this conversation because I have the same issue, show_censors doesn't work.
I was wondering why ties for event types are a problem if the model automatically jitters the data ?
Thank you :)


[WIP] First pass at Keep Alive

Important: Right now this does not include the logic for automatically sending keep alive message. This is just the protocol changes necessary to support them. However, we can discuss how we're going to do keep alive here since it isn't totally worked out yet :).
Open Question: Where is keep alive really needed? In looking at the behavior of the transports, I'd think only SSE actually needs it, and only on the Server->Client channel. WebSockets has a pretty solid keep alive system. Long Polling is designed to support cases where the poll times out, and keeping it alive would actually require more network traffic. Having said that, SignalR needs to consider cases like TCP as well. On a raw TCP connection, you'll need full duplex Ping/Pong. One thought I had is to loosen the requirements I wrote in the spec even further and allow endpoints to ignore Ping frames if they want to. Then WebSockets and Long Polling can completely ignore it and SSE can send Ping frames (but the client can ignore them and not send Pong responses).
Big items:

Defined Ping and Pong messages in the spec (used WebSockets as an inspiration here)
Added support for Ping/Pong in JSON and MsgPack protocols in both C# and TypeScript code.
Added support for sending a Pong in response to a Ping to all clients and server.
Tests for all of the above

Small changes:

Refactored some things in server/client hub protocol implementations to reduce duplication and risk of drift between client and server

I think we'll need a brief meeting to sync up on the needs for keep alive. But the bulk of this code will be useful for whatever model we build.

SSE definitely needs it behind IIS because it times out the connection after ~100 seconds of inactivity .
I think I've seen cases with WebSockets where it becomes disconnected but doesn't react until you try to send through it.

WS and SSE need keep alives. Long Polling should not have keep alives.
Looking at the PR - I am not sure why we need ping/pong and if we need them whether they should be the same as keep alives. My thinking about keep alives was that we should make them as small as possible and as simple as possible. I thought about encoding them as {} in json and 0x01 0x91 0x06 in MessagePack. The only purpose of keep alives is to make sure a message can be sent/received. On top of that we could have a ServiceMessage if it turns out it is needed.

I agree with @moozzyk . We need keep alives for all transports. The basic idea is that we'll use these to avoid proxies killing the connection and to detect silent client disconnects like we did before. I'm not sure we need ping/pong, we just need server -> client messages.

Sure, that's the gist of my comments in the PR description. I'm not sure I follow why we need it for WebSockets? In my experience, those do terminate quickly when the network drops (but I'm going to do some testing)

Removing the payload is trivial, and I mostly agree, it seems unnecessary. I'm not even exactly sure why WebSockets needs it in theirs, but I left it in while I tried to research that. Came up with nothing and I know SignalR 2.x didn't have content, so I'm totally find removing that.

@davidfowl - why do we need keep alives for long polling? If we send keep alives from server we will make the transport even less efficient because the client will have to potentially restart the poll request much often. We tried to add keep alives to SignalR 2.1.x and use chunked responses and it was a disaster - we removed the feature in the very next version.

Agreed, we should only need it for WebSockets and SSE. We'll also need something in TCP/UDP if we ever decide to implement that. I do think we need the option for bi-directional keep alive (i.e. Client sending Ping to Server) for the same reasons (the client wants to know that the server is still there).

My thinking about keep alives was that we should make them as small as possible and as simple as possible. I thought about encoding them as {} in json and 0x02 0x91 0x06 in MessagePack.

I'm all for keeping them small but I think {} is overkill. Given that these messages will likely only be sent if the connection has been idle for a defined period of time, they'll probably end up in a single TCP frame. Size still matters somewhat there but if they're likely to be in their own frame, they don't need to be quite as tiny as two characters :). I'd prefer {"type":6} (where 6 is the type for Ping) in JSON. Your MsgPack suggestion is basically this already anyway :).

Sure it's not needed for long polling since it already has timeouts.

:up: :date: Removed payloads and the Pong message.


Update deep_svdd.py

Resolving loss.backward() error. It resolves issue #606
All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

thanks for the PR -- also by any chance could you redirect it to the development branch? thanks, Yue

@yzhao062 thanks for the review. I just redirected my PR to the development branch.


Issue with NGINX assets

Hello, when trying to get the latest version of nginx, there is an issue with retrieving the assets:
lastversion --format assets nginx
Traceback (most recent call last):
  File "/usr/bin/lastversion", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.8/site-packages/lastversion/lastversion.py", line 246, in main
    res = latest(args.repo, args.format, args.pre, args.filter,
  File "/usr/lib/python3.8/site-packages/lastversion/lastversion.py", line 92, in latest
    return s.get_assets(release, short_urls, assets_filter)
AttributeError: 'MercurialRepoSession' object has no attribute 'get_assets'

Same issue when using --format json
Is this something that can be fixed?
Thanks

Hi,
You can use lastversion nginx --format source instead.
For non-Github-hosted projects, assets and sources would probably be synonyms anyway...

Thank you for the bug report. Fixed in v1.2.2


fix: Inconsistent return in TweenManager#makeActive()

Fixes a bug

Describe the changes below:
Calling TweenManager#makeActive(tween); returns the TweenManager instance itself, however, if you create a tween externally (since those aren't in the add or active lists) and try to call makeActive() with it, this would return undefined.

👍


File with LOAD_GLOBAL(dispatcher) appears when I have an error

Issue Type: Bug
I am seeing what I believe to be a bug when I am debugging a file. I have a simple file (reproduced below) that has a simple error in it. But when I debug the file it runs it until it catches the error and then some internal file pops up and the error message is shown there.
Here is my file:
from PIL import Image
import numpy as np
from os.path import join
import os

path = 'E:/Path/To/Data'

my_files = [
    myfile for myfile in os.listdir(path) if os.path.isfile(os.path.join(path, myfile))
]

similar_files = [
    join(path, my_files[0]),
    join(path, my_files[1]),
]
similar_images = [Image.open(img) for img in similar_files]
combined_images = np.hstack((np.asarray(img) for img in similar_images))

Here is the file that pops up when I have an error message. I do not know what this file is:

LOAD_GLOBAL(dispatcher), LOAD_FAST(args), LOAD_FAST(kwargs), CALL_FUNCTION_EX{1}, STORE_FAST(relevant_args)
return implement_array_function(
implementation, concatenate, relevant_args, args, kwargs)

Here is the error message:
Exception has occurred: ValueError
all the input array dimensions for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 128 and the array at index 1 has size 72
  File "<__array_function__ internals>", line 6, in concatenate
  File "<__array_function__ internals>", line 6, in hstack
  File "C:\Path\To\File\my_file.py", line 18, in <module>
    combined_images = np.hstack((np.asarray(img) for img in similar_images))

Instead of this, I am expecting the error message to appear on the file that contains the error and highlight the line. The error message does have the correct line number information but it appears to go into some internals that I don't want it to.
Extension version: 2020.4.74986
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:36:23.138Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (16.32GB free)

Process Argv

Screen Reader
no

VM
0%

The file you're seeing is decompiled Python bytecode, because the debugger couldn't find source code for that file. This, in turn, happens because the exception occurred inside <__array_function__ internals>, and I think that we're treating it as user code, even though it's not one in this case.


Add support for Okta push notifications

This refactors the post challenge to add support for Okta push notifications by only contacting duo when the MFA factor is "DUO". I don't have a setup with Duo support, so I wasn't able to verify if this works with Duo though.

Thanks for the improvement.  I tested against a DUO push enabled okta account and it works for that as well.


[Notification] Plugin error!: Plugin does not expose any Hyper extension API methods

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS 10.14
Hyper.app version: canary branch

Issue
Hello, I'm trying to create a plugin for Hyper. I'm exporting mapHyperDispatch in the module (as stated on the website). Launching with yarn run app, I get [Notification] Plugin error!: Plugin "xx" does not expose any Hyper extension API methods
I'm supposed to use mapHyperTermDispatch although it's disabled
https://github.com/zeit/hyper/blob/bc6101e98f6bb57239aa4184afa02ca223f9dacd/app/plugins/extensions.js#L34-L36
https://github.com/zeit/hyper/blob/bc6101e98f6bb57239aa4184afa02ca223f9dacd/lib/utils/plugins.js#L173-L177

you can use some of
    'onApp',
    'onWindow',
    'onRendererWindow',
    'onUnload',
    'middleware',
    'reduceUI',
    'reduceSessions',
    'reduceTermGroups',
    'decorateBrowserOptions',
    'decorateMenu',
    'decorateTerm',
    'decorateHyper',
    'decorateHyperTerm', // for backwards compatibility with hyperterm
    'decorateHeader',
    'decorateTerms',
    'decorateTab',
    'decorateNotification',
    'decorateNotifications',
    'decorateTabs',
    'decorateConfig',
    'decorateKeymaps',
    'decorateEnv',
    'decorateTermGroup',
    'decorateSplitPane',
    'getTermProps',
    'getTabProps',
    'getTabsProps',
    'getTermGroupProps',
    'mapHyperTermState',
    'mapTermsState',
    'mapHeaderState',
    'mapNotificationsState',
    'mapHyperTermDispatch',
    'mapTermsDispatch',
    'mapHeaderDispatch',
    'mapNotificationsDispatch'
  ]```

@linonetwo Yep I've linked the file.
I'm just raising an issue about a paradox: if I use mapHyperTermDispatch, the renderer logs that I'm using a deprecated function. If I use mapHyperDispatch as seen in the docs, it's not working.

Oh, sorry about that, I was reading the code to de my bug, and remember this issue so pasted it here.
Don't worry about deprecated, there are so many PR to merge, so this API may last for a long time I guess.


Fixing bug with username vs cognito:username when using access token vs id token

Issue #, if available:
N/A
Description of changes:
When using Cognito access tokens, the key for the username in $ctx.identity.claims is username but when using id tokens, it is cognito:username. Now, it looks for username first as access tokens are recommended and then looks at cognito:username as a fallback.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mikeparisstuff eyeballed and looks good. Ping @kaustavghosh06 when you are ready to merge.

Just tested and can confirm it works


Asyncify flush

Draft for discussion. Could support multiple traits, this could be the 'embassy' feature instead of async...

this could be the 'embassy' feature instead of async

I think this is a good idea - Embassy might go away one day. Maybe call it async-embassy? That way we can have async-whatever for other executors if we need it.

Fixed the trait, but pr is still a bit of a mess

had to duplicate basically all of the send fn to make a send_async fn. I cant think of a good way to have the enum discriminants pulled into a From impl or something
I dont have a good dev board for the stm32f1 with an ssd1331 to attempt the embassy so its nrf52840 and optionally using multiple hals isnt a good solution.

But check it out does seem to work

It would be awesome if eventually there were a rutime-agnostic set of async traits. We're not ready yet (need more experimentation) but it would be cool if just the traits from embassy became managed by embedded-wg or similar so that if someone wants to use a different runtime they can.

Id track here
https://github.com/rust-embedded/embedded-hal/pull/285
and after that we need Prs to help the hals asyncify

Well this is one way to do multiple target examples

I just looked into trying to use this, but I found two big problems:

Completely missing async I2c support
Sync operations are still used for non-flush operations

Unfortunately I think the latter means that it can't be used with a proxy object from shared-bus, since it only provides async OR sync traits, but not both at the same time.
On the bright side, the async traits are now closer to standardized with the embedded-hal-async crate.


Increase the size of the signature

Hi!
is there a way to increase the size of the signature? I have changes the size of the draw area, but when it's saving as image it's display the small size and only a part of the signature it's visible
Thanks,
Flo

I got it thanks :)


Capturing Image on mobile & page didn't refresh after upload

Hello Daniel, Shabir here first of all amazing work and I have been following this project from the start . The problem I faced was when I opened the link on my android device , and clicked on browse files  I couldn't upload an image by capture , it took me to the screen to select photo from my mobile storage and also I noticed the page didn't refresh after I uploaded. I could see my image and other things as it is with the upload success message . Thanks again!

Hey Shabir, thank you for the update!
Do you have a screenshot of what's happening? Hard to tell, I've only got an iPhone haha.
And when you uploaded, you mean the image didn't remove from the screen? I could fix that and make it disappear after upload.
Plenty more to come.

Hehe! I figured u had iphone np. Yes image still stays and not able to use camera to click a photo directly takes me to the phone memory , also autofill doesn't work the second time I uploaded if it matters . Attached the screenshots

Also in faq , on what happens to my image?  the text is same color as background so it's not visible , also I feel like increasing the text size a little more would be helpful. Thanks!

all these happening in mobile  and also shouldn't it be why do we need images of food

@shabir15 I'm able to take a photo whilst also uploading from my phones memory. I'm using Samsung A32.
FAQs look all visible to me, unless these issues have been fixed :)

@ShivanS93 FAQs aren't visible when device is in darkmode due to colour of background text, I'll fix this today
I feel like the "not being able to use camera" isssue may be Android device specific (e.g. works on some but not others)
Adding functionality for the image to be removed when uploading is done now.

added image/uploaded file removal, thank you for this, now onto making clearer text for FAQ


Error installing floret with pip

Python 3.11.2
Windows 10
When I try to install floret with pip (it's a dependency of textacy), I get the following error, which is tricky to diagnose. Hard to tell if it's a C++ issue or an incompatibility issue.
Updating C++ did not help FYI.
  Building wheel for floret (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for floret (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
      C:\Users\Roberto\AppData\Local\Temp\pip-build-env-_wlvzy3m\overlay\Lib\site-packages\setuptools\dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!

              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.

              By 2023-Sep-26, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        opt = self.warn_dash_deprecation(opt, section)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\floret
      copying python\floret_module\floret\floret.py -> build\lib.win-amd64-cpython-311\floret
      copying python\floret_module\floret\__init__.py -> build\lib.win-amd64-cpython-311\floret
      creating build\lib.win-amd64-cpython-311\floret\util
      copying python\floret_module\floret\util\util.py -> build\lib.win-amd64-cpython-311\floret\util
      copying python\floret_module\floret\util\__init__.py -> build\lib.win-amd64-cpython-311\floret\util
      creating build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\test_configurations.py -> build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\test_script.py -> build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\test_tokenize.py -> build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\test_train.py -> build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\__init__.py -> build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\data.txt -> build\lib.win-amd64-cpython-311\floret\tests
      copying python\floret_module\floret\tests\README.md -> build\lib.win-amd64-cpython-311\floret\tests
      running build_ext
      building 'floret_pybind' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for floret
Failed to build floret
ERROR: Could not build wheels for floret, which is required to install pyproject.toml-based projects

This is usually the error you get when python can't find C++ at all, so I'm not sure what's going on.
But from our side it would make sense to fix the very minor issue behind that setuptools warning at the top and to publish a new release that includes prebuilt python 3.11 wheels so this package is easier for users to install.

Please try again with precompiled wheels in the new release, v0.10.3.

That's weird, and I just double-checked that the windows wheels were uploaded. If you still want to try python 3.11, you could try installing the exact version with pip install floret==0.10.3 to see if that makes a difference?

I can give it a try later in a test environment with 3.11 and report back. But from what I've read so far, this seems to be a common problem with 3.11.

Closing this for new, please reopen if you run into this again in the future!


(Suggestion) Launch one exe, monitoring other

Hello, with Warcraft 3 I see that obviously if the .exe launcher is different to the .exe that are on execution with the game open the skin can't obviously monitoring the play time.
I see this issue too with a game that first launch a launcher, and in that launcher you must click "Play game" to open the game, and after that the launcher closes and the game appears.
So I figure out that maybe could be implemented an option in Windows Shortcuts games to optionally add two paths instead of one, one will be the one that make the game launch, and the other will be the path to the .exe that must be monitorized to get the hours of play time. So for example the skin launchs Warcraft3.exe but monitorize if War3.exe is being executed or not. Or maybe better first one and then the other to avoid that [ProcessMonitor] gets a value of -1 and stops the monitorizing.
I don't know if it is easy or hard, or even impossible to implement this, but I let here this suggestion just in case you want to add it.

Perfect, thanks you one more time!!

I tried it in the last alpha and it works like a charm, thanks you again!!


Decide what to do with a protected failing message bundle.

A message bundle can conceivably contain both a protected message and a user application message that fails to execute.
Maybe we should just disallow this: There are very few protected messages anyway, and we could simply disallow them being in the same bundle as a user application message.

Another option is to distribute (and handle) system messages separately from user-application ones. This way we wouldn't need to implement the concept of Skippable/Protected messages at the protocol level:

all system messages are protected
user messages have to be handled/skipped/rejected in the user application.


texinfo: fix build references when cross-compiling

Description of changes
The XS modules were being built for the build platform, and the perl scripts had build platform shebangs.
It is possible to build the XS modules by passing PERL_EXT_CC=${stdenv.cc.targetPrefix}cc --enable-perl-xs=yes, but they
fail to load due to a handshake key mismatch. Instead, I just decided to disable the XS modules and use the pure Perl fallbacks when cross-compiling.
The shebangs were fixed manually using substituteInPlace.
I also discovered that gpm was unintentionally relying on the incorrect shebangs, so I fixed that as well.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[x] armv7l-linux

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build pkgsCross.armv7l-hf-multiplatform.texinfoInteractive