winget list --scope machine fails with an error

Brief description of your issue
Listing packages with --scope machine fails with error.
Steps to reproduce
For tests You can install Git.Git with --scope machine, e.g. winget install --id Git.Git --scope machine, then try to list installed packages:
> winget list --exact Git.Git
Name Id      Version  Source
-----------------------------
Git  Git.Git <IP_ADDRESS> winget
> winget list --exact Git.Git --scope user
No installed package found matching input criteria.
> winget list --exact Git.Git --scope machine
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error
> winget list --scope user
Name                           Id                                Version           Source
-----------------------------------------------------------------------------------------
[...]
> winget list --scope machine
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error

Expected behavior
Expect no errors.
Actual behavior
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error

Environment
> winget --info
Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2428
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

@piotrminkina
Can you try winget source reset --force and let me know if that resolves the error?

Hello @denelon, no improvement.
> sudo winget source reset --force
Resetting all sources...Done
> winget list --scope machine
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Do you agree to all the source agreements terms?
[Y] Yes  [N] No: y
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error

Don't let the sudo deceive you ;) I run the command in Windows Terminal, in Powershell (as in the notification). The sudo command provides me with the gerardog.gsudo package.
I was stumped when I wrote the above paragraph and decided to check this command with Administrator privileges.
> sudo winget list --scope machine
Name                                     Id                                                   Version           Available      Source
-------------------------------------------------------------------------------------------------------------------------------------
Adobe Acrobat Reader                     AdobeAcrobatReaderCoreApp_pc75e8sa7ep4e              <IP_ADDRESS>
[...]

It seems that the problem occurs on the rights of a regular user.
Regards
Piotr Minkina

@piotrminkina - do you have separate accounts that you're using for the Administrator privileges and the User privileges? I've seen in some cases that winget doesn't perform as expected across multiple user accounts

@Trenly I wrote the Issue on the default account, created during the installation of the system, which is in the Administrators group. I also have an additional account created (with a User Profile created), which is in the Users group, but I don't use that account yet.

@piotrminkina can you try uninstalling the source and then running a search in the user context?
winget uninstall Microsoft.Winget.Source_8wekyb3d8bbwe should remove the source.

@denelon Still no improvement.
> sudo winget uninstall Microsoft.Winget.Source_8wekyb3d8bbwe
Found Windows Package Manager Source (winget) [Microsoft.Winget.Source_8wekyb3d8bbwe]
Starting package uninstall...
  ██████████████████████████████  100%
Successfully uninstalled
> winget list --scope machine
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error
> winget uninstall --scope user Microsoft.Winget.Source_8wekyb3d8bbwe
Found Windows Package Manager Source (winget) [Microsoft.Winget.Source_8wekyb3d8bbwe]
Starting package uninstall...
  ██████████████████████████████  100%
Successfully uninstalled
> winget list --scope machine
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error
> winget --info
Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Seems winget is uninstallable :)

Getting 0x80070005 : unknown error on winget uninstall  when --scope machine is specified despite being local admin
PS C:\Users\admin> Get-LocalGroupMember -Group "Administrators"

ObjectClass Name                          PrincipalSource
----------- ----                          ---------------
User        DESKTOP-GRLIE89\admin         Local
User        DESKTOP-GRLIE89\Administrator Local

PS C:\Users\admin> winget -v
v1.6.3482

Installation goes ok
PS C:\Users\admin> winget install --exact --id Giorgiotani.Peazip --silent --accept-package-agreements --accept-source-agreements --scope machine
 --version 9.5.0
Found PeaZip [Giorgiotani.Peazip] Version 9.5.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/peazip/PeaZip/releases/download/9.5.0/peazip-9.5.0.WIN64.exe
  ██████████████████████████████  9.03 MB / 9.03 MB
Successfully verified installer hash
Starting package install...
Successfully installed

But uninstall fails
PS C:\Users\admin> winget uninstall --exact --id Giorgiotani.Peazip --silent --accept-source-agreements --scope machine --version 9.5.0
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error

Reduce it to minimal case
PS C:\Users\admin> winget uninstall --exact --id Giorgiotani.Peazip --scope machine
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80070005 : unknown error

This works OK, when not specifying --scope machine
PS C:\Users\admin> winget uninstall --exact --id Giorgiotani.Peazip --silent --accept-source-agreements --version 9.5.0
Found PeaZip [Giorgiotani.Peazip]
Starting package uninstall...
Successfully uninstalled

Also amusingly
PS C:\Users\admin> winget source reset --force
This command requires administrator privileges to execute.

Using --scope machine should have permission:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm

The problem still exists in Windows Package Manager v1.7.10582 in PowerShell version 5.1.22621.2506.
> Get-LocalGroupMember -Group "Administrators"

ObjectClass Name                 PrincipalSource
----------- ----                 ---------------
User        Orilla\Administrator Local
User        ORILLA\Piotrek       MicrosoftAccount

> Get-ExecutionPolicy
RemoteSigned


Show MetaMask errors to user

Right now errors from MetaMask are only shown in console and a "Error submitting swap" toast. We should better inform the user what error is exactly occurring. Here's a list of possible errors:
https://github.com/MetaMask/eth-rpc-errors/blob/main/src/error-constants.ts
Questions for Don:

Should a MetaMask error appear in a toaster or in the Error overlay component?
Should translations be added for each error?
Only fix the most common "User rejected transaction" error. (quick fix)

Good topic. Does the app receive rpc or provider errors? Both?

Since it relates to the current order, error overlay with ability to dismiss and try again.
We could add translation keys for each but just fall back to English for now.
IMO rejections should just be ignored by the app and its state remain unchanged.

Both. Provider errors are translated and placed in the error overlay component. Rpc errors all show as a general error toaster.
To summarise: rejection should be unchanged and still show a toaster, but all other rpc errors should be shown in the error list.


Tiles not loading after fragment restart

Hi, I have a MapView nested in a fragment. Right after the MapView is created, everything works just fine. The problem is that if I navigate away from my app -> fragment is stopped and then come back to my app -> fragment is started, the tiles that were previously visible, disappear and they are no longer loaded. Using debug mode I get this: "MapTileProviderArray.getMapTile() requested but not in cache, trying from async providers: " a few times and that's it.
Can I do anything to reuse the MapView or I need to recreate it each time the fragment restarts?

you can try setting retainInstance(true) on the fragment.
what version of osmdroid is this?

I tried with setRetainInstance(true) but I get the same result.
I'm using compile 'org.osmdroid:osmdroid-android:5.1@aar' in my gradle file.

what version of android and type of device?

Looks like the mapview overrides onDeattachedFromWindow, where it detaches the tile provider.... but does not override onAttachedToWindow....this could be the problem. it's surprising that this hasn't been noticed or reported before hand. Does the demo app exhibit this behavior too?

Are you by chance removing the fragment with the map view on pause, then re-adding the same instance later? is the mapview instance static?

Android 5.1.1 on Xperia Z1 Compact. It seems that on emulator with Android 6 is working fine.
I am removing the fragment when user wishes because I have multiple fragments which are replaced by each other. The mapView doesn't have a static instance but the fragment has because I didn't want to recreate the fragment on each replace.

Ahh that's the problem. Static references to anything with context or views
is usually a bad idea.
On Sat, Mar 12, 2016 at 2:57 PM, zulluadi<EMAIL_ADDRESS>wrote:

Android 5.1.1 on Xperia Z1 Compact. It seems that on emulator with Android
6 is working fine.
I am removing the fragment when user wishes because I have multiple
fragments which are replaced by each other. The mapView doesn't have a
static instance but the fragment has because I didn't want to recreate the
fragment on each replace.
—
Reply to this email directly or view it on GitHub
https://github.com/osmdroid/osmdroid/issues/277#issuecomment-195798604.

I know it's not a good idea to use static references. I was somehow constrained to do it so. I'll try to find another way as soon as possible.

after some experimentation in #335 that's definitely the problem. You can't have a static reference to a view. Are you adding the map view programmatically? that's a common cause of memory leaks since android won't call onDetach for you. There may also be a problem with trying to reuse fragments that were attached, then detached, then reattached. I don't believe that scenario currently works since detach destroys all the background tile loading threads

The fragment and the map view are used programmatically (MapView is returned in onCreateView). Attach - detach - reattach was the case for my problems.
In the end, I removed the static reference to the fragment and used the fragment tag instead. This fixed my issue and everything is working fine right now.

great

In my case a fragment was detached and reattached again without any static reference (by tag from fragment manager). And that same problem occurred.
In such a case this code made map working again:
MapTileProviderBasic tileProvider = new MapTileProviderBasic(getContext().getApplicationContext(), TileSourceFactory.MAPNIK);
SimpleInvalidationHandler mTileRequestCompleteHandler = new SimpleInvalidationHandler(getBinding().getMap());
tileProvider.setTileRequestCompleteHandler(mTileRequestCompleteHandler);
map.setTileProvider(tileProvider);
Just in case anyone is searching for this :)


Added OCIHandleFree

Welcome :) Glad I could help.
Will add some more notes for some of the PRs where it makes sense. Some of the PRs are testing or visual changes.
If there is something in particular, welcome to ask.
This PR is adding OCIHandleFree for open (connections). OCIHandleFree releases C memory to help prevent memory leaks. If this was just C code would definitely need OCIHandleFree, but because Go wraps it not sure if Go cleans it up. So adding just in case Go does not free up the memory.

@MichaelS11 yell out to us at Oracle if you have OCI questions.  Seeing how @anthony-tuininga does things in ODPI-C may also be useful.

Thank you very much :)

Thanks

Thanks for the added detail @MichaelS11 and thanks for offering to help @cjbj  :)  I'd love to see this be the best Oracle lib out there.  I'm biased though because I've got a project where I have to do a ton of database work with Oracle and I want to do it all in Go!

@bwmarrin as a serious question, so we (Oracle) can tell what features are important and where to focus, what lead you to choose mattn/go-oci8 over go-goracle/goracle (or even rana/ora)?

I've used (and made a minor contribution) to mattn's sqlite library.  So I just tried his Oracle library first and it worked, so I haven't had a reason yet to try the others.  Granted I'm still fairly early on in my project so I'm not sure if I'll run into any issues as things progress.  If so, I've no doubt this library has the support to get them addressed :)
So, in short, I guess due to familiarity with @mattn himself.
If I run into issues or "wish it had" type of things I'm happy to report back and share my thoughts.

@bwmarrin those are all valid points. Thanks for sharing.


Increment version for core releases

Increment version for core releases

Can one of the admins verify this patch?

/check-enforcer override

Overriding check-enforcer as Tables has a known CI issue which isn't correlated to this change.


🐛 BUG: It does not seem possible to have the inspector listen on non-localhost IP

Which Cloudflare product(s) does this pertain to?
Workers Runtime, Wrangler core, Miniflare
What version(s) of the tool(s) are you using?
Wrangler 3.50.0
What version of Node are you using?
v20.11.1
What operating system and version are you using?
Debian Bookworm
Describe the Bug
Observed behavior
Even when specifying wrangler dev --ip <IP_ADDRESS>, the inspector only listens on <IP_ADDRESS> and there does not appear to be any additional flags to force the inspector to bind to any IP other than the loopback.
Expected behavior
There should be some way to for the inspector to bind to non-loopback addresses. This is important when running wrangler inside of a docker container, where port exposure works by forwarding the container's internal socket (e.g. <IP_ADDRESS>:9223) to some host socket e.g. <IP_ADDRESS>:1234. It's not possible to forward a container's loopback address.
In some sense, this is a regression caused by https://github.com/cloudflare/workers-sdk/pull/4437
It's totally understandable for the inspector to listen only on loopback by default, but it's a bummer that there is now no way to have it listen on non-loopback addresses.
Steps to reproduce
Just run wrangler dev and observe that there is no way to have the inspector bind to anything other than loopback. Specifying --ip <IP_ADDRESS> does not seem to allow this, either.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

As a workaround, I'm currently using the sed command below in a postinstall script in package.json of any project that uses wrangler. It forces the inspector to bind to the wildcard address (<IP_ADDRESS>). Definitely not ideal though.
sed -i 's~port: props.inspectorPort$~port: props.inspectorPort, hostname: "<IP_ADDRESS>"~g' ./node_modules/wrangler/wrangler-dist/cli.js


[html] allow extensions to provide computed custom data

Hi,
vscode has a setting html.customData (and css.customData) which allows extending the set of html tags known to the internal language service.
Currently users need to configure the list of custom-element.json files manually in the settings.
Are there plans to implement an automatic discovery of these files from the installed npm packages?
If not, maybe this could (and should) be done via an extension.
There is a corresponding contribution point. However, it seems to be pointing to a static file only. Also, it looks like changes to that file are not monitored so a hacky approach like overwriting some sort of temp schema file does not seem viable as well.
Is there any away for an extension to signal updates to the custom data it is contributing?
If so, a generic extension could provide logic + settings to discover these definitions and expose them to vscode once discovered. I would be happy to implement this. It would streamline consuming web component libraries quite a bit compared to having to manage paths manually in the vscode settings.
This looks like the most relevant thread on the web component side: https://github.com/WICG/webcomponents/issues/776
Side note: Some libraries already ship cusomt-elements.json files. They indicate their presence with a "customElements" field in the package.json. It's just that no one seems to pick them up..

They indicate their presence with a "customElements" field in the package.json.

Additionally, if a package uses a package exports map, it may be under:
{
  "exports": {
    "./customElements": "./custom-elements.json"
  }
}

The whole domain seems a bit fractured.
There also seems to typescript path via HTMLElementTagNameMap that allows extending the language service. It is used by https://github.com/mjbvz/vscode-lit-html under the hood. This also works.
I think the main gotcha here is that it only works in template literals in code (*.ts) files. Not sure why but my uneducated guess is it leverages the typescript infrastructure. At least in my case I did not manage to get type completion etc. in a *.html file.
Maybe https://github.com/microsoft/typescript-lit-html-plugin can just be extended so it also works in all html contexts and not just in template literals in code. That would also be an option for projects with typescript I guess..

I'd like to avoid that the HTML server is getting into understanding project configuration files (e.g. package.json). There's no single well-established standard and I/we are not experts in a field that quickly progresses.
So having an extension doing would be great.
As you mentioned, extensions can contribute custom data, but only as a static data.
We could extend the customData contribution points to take a URL as well. Then extensions can point it to a URL with computed content using a Text Document Provider.
If you are interested of making that change, I'd be happy to take a PR (for both css.customData and html.customData)

ok, i think i am doing something wrong, woth both FileSystemProviderand TextDocumentContentProvider i cant manage to watch for changes in my modified html-language-features extension.
If I use window.showTextDocument() to open the dynamic doc in the editor it updates fine so this means that the provider as well as the onDidChangeFile do work - it updates as expected.
But the extension does not seem to have a way to subscribe to changes in the in memory fs file (again, initial pass is fine, but i cannot detect updates in the html-language-features.
Is there any example where an extension subscribes to updates to a virtual doc (or fs-provider file) that is NOT opened by the user in the workspace?

You create a document with workspace.openTextDocument(uri), and hold a reference to it? workspace.onDidChangeTextDocument(..) should be triggered when you fire a change event in the provider. We rely on that in the JSON extension. Can you double check?

I am assuming you are referring to right?
https://github.com/microsoft/vscode/blob/dabc9bdc9db2854b8289e1f154726c00f67a2665/extensions/json-language-features/client/src/jsonClient.ts#L252
I have tried that pattern and it does not fire when I fire onDidChange (or onDidChangeFile respectively for FileSystemProvider) in the provider. If I deliberately open the virtual document in an editor it does update which leads me to believe my provider is fine...

Here's what I tried https://github.com/aeschli/test-135459

extension registers a TextDocumentContentProvider and opens a document from it

extension triggers change events and listens to them

open the extension

run the Test: Foo Content Update command

So this looks good, no need to open the document in an editor.
How is your code different?

yes this looks like what I am trying to do.
from looking at it the only difference is

I don't keep a ref to the opened doc around (html-language-server would need to do that then), but i am pretty sure i tried that at some point
in my scenario the extension providing the doc and firing the changes and the extension listening for them are not the same, but the workspace is global to all exts so I don't think that really makes a difference.

your example should help me to pin point what I am doing wrong - thanks a lot again!
I will check it later today and get back to you

I think i figured it out.
I had used paths of the shape my-scheme:data.json for some reason these don't (fully work)
If I use my-scheme:/data.json as the customdata path everything starts to work (including updates).
these are the changes I currently have for html-language-features:
https://github.com/sijakret/vscode/commit/b074018c3eb51f1ef5c159826ff3d43ffd1b2f0b
With this I can get an extension that automatically updates schemas to work..
@aeschli please take a look when you find time and let me know if I am on the right track here :)

ping

Can you create a PR?
Some comments:

To find out if a path is a URL or path make regex match for schema://
onDidChangeTextDocument is triggered very often. We need to optimize the check if we are impacted: Use a set and only check for the URI's and workspace paths we got (not the paths inside extensions)

I have created a PR.
This one does not have any changes to css-language-features yet.

To find out if a path is a URL or path make regex match for schema://

Since we don't know the particular scheme beforehand and we also need the uri later on anyhow create one and check for uri.scheme === 'file' && runtime.fs. Is that not ok?

onDidChangeTextDocument is triggered very often. We need to optimize the check if we are impacted: Use a set and only check for the URI's and workspace paths we got (not the paths inside extensions)

I have added a set for the paths contributed from extensions and the ones contributed from workspaces.
Im not sure why we should not consider the paths from the extensions, can you explain?
For my use case I actually particularly care about these since I am contribute a dynamic document via the customData.html contribution point.

Currently, contributes.html.customData support relative paths: e.g. ./some-data.json, myfolder/myfile.json and we want to continue to support these.
Sending these through JSON.parse is not proper, as they are potentially not full URIs and we don't want to rely on the way how JSON.parse handles that.
So first check if the provided path is a full uri using : /^\w[\w\d+.-]*:/.test(path). If not, it needs to be joined with the extensionLocation.
Extension resources are supposed to be static resources and we do not support them to change (except in development scenarios, but I don't think we should go there right now).
That does not apply to the URIs that are contributed by extensions. That's handled by your code.

..Sending these through JSON.parse is not proper, as they are potentially not full URIs and we don't want to rely on the way how JSON.parse handles that.
So first check if the provided path is a full uri using : /^\w[\w\d+.-]*:/.test(path). If not, it needs to be joined with the extensionLocation.

You mean URI.parse not JSON.parse, right?

The first thing it does is applying a regex so I wanted to explicitly rely on that logic and seemed like the proper centralized way of handling the url.
If it does not find an explicit scheme it looks like it will fall back to file.

Checking for a scheme directly would, of course, be a slightly faster but also a more isolated solution.
let me know what you prefer!

Yes, sorry. Uri.parse
Yes, we do not want to rely on that fallback behavior which is not spec'ed. It is not the indented use of Uri.parse and eventually a warning will be emitted.

Implemented by #137557

I have created another PR.
without this PR i don't think any previous behavior breaks.
however, it is needed to actually make the feature work.
@aeschli please take a look!

We want to use runtime.fs.getContent for extension resources, but openTextDocument for resources in the workspace and coming from URIs.
I fixed the issue with 3d8b5674c769c885beee85546625d419ffafc10a

@aeschli I tried the current main branch and unfortunately it is still not working :(
Just because a path customData was contributed by an extension it does not have to be an fs path that resides in that extension. I think the whole point here is that the extensions can provide a custom scheme and serve dynamic data.
If you take a look at this debugging session in the screenshot below: Here customData:/data.json was provided by the extension (i.e. is in the pathsInExtensions Set) and the extension is installing a TextDocumentProvider to serve a dynamic scheme here.
With the current code the extension can never provide the virtual doc to html-language-features. getContent will always end up in the fs.. code path.

Maybe pathsInExtensions should be called pathsProvidedByExtension because that's what it is i guess..

Ok, one more try... Sorry for that.

now it works - thanks a lot :)

@sijakret Can you verify if all works in tomorrow's build and let me know?

of course. not sure about the schedule though. when should i look for it? will it be posted as a release here in the repo?

You can get the latest VS Code Insiders build here: https://code.visualstudio.com/insiders/
If your extension works with it, then we can mark this issue as verified.

Oh, i did not realize that one is updated daily.
works well - thanks a lot!

What are the steps to verify this?

create an extension that

contributes `"html.customData": [ "myScheme:/data.json" ]
contributes a TextDocumentProvider that handles "myScheme"
provides html customData via that scheme

the data provided should be picked up by the html language service for tags and attributes etc..

i have an extension that does this let me know if you want to use that to try it.

Marking as verified given that @sijakret has done so with his extension.
@sijakret Glad to try it myself with your extension as well. Is it published already?

@aeschli A preview version is actually ready. I was just unsure about two things:

should I rely on engine at >= 1.63.0?
If so the typings are not there yet for it right?

Yes, you add a "engines": { "vscode": "^1.63.0"} to avoid strange issues with older versions of VS Code.
What do you mean with typings?
That reminds me, we should update the spec of the extension point and settings.

i made some changes to make the extension also work in vscode.web: https://insiders.vscode.dev/github/sijakret/custom-element-scanner-test this should also work for you i think.

you need to add "custom-element-scanner" extension (recommended in workspace)
it adds a new view container on the left, enable automatic mode
then finds the custom element definitions in the toy project
if you go to the index.html file language service will know the tags

still a few things i need to figure out and the extension essentially would like to crawl the whole repo for package.json files with a "customElements" field. I will polish it a bit when i get to it but it already kind of get's the job done.

@aeschli one more question came up:

in which contexts is html-language-features used?
only in .html files?
what about markdown files etc..?

All files registered for editors with language id html and handlebars.
I don't think the Markdown language features do anything smart with HTML. (But you know more than me)


affect vs effect, simple mistake

Ah used the . github.dev thing to make the PR and it didn't pull in the template.... might have been my error.... simple grammar fix. just saw it.

Please make docs changes against the latest release branch.

Hey @akettmann-e24 , thanks for yuor contribution.
This PR is pretty straight-forward. After changing the target branch, I'm going to merge this.


Ignoring the namespace leads to validation errors.

This affects the productivity tool. When the option Ignore XML Namespace is set, the productivity tool embeds the namespace in lots of tags even if it's already defined. This in turn leads the validator to declare these tags invalid because of the namespace declaration.


Fix TrackCache memory crash

Fixes #85250
Fixes #85233

Tested on Linux with GCC, I confirm this fixes the MRP in #85233.
The concerns outlined by @AThousandShips above still need further consideration, but given that this seems to fix the crashes on Windows and Linux without apparent further regression, I'm merging it already to include into the 4.2-rc2 build I'm starting now.
Worse cast if there's some data corruption with the way hashmaps are copied, it shouldn't be worse than what we currently have before this PR. :sweat_drops:

Thanks!

Crossing my fingers it won't cause any problems, not familiar enough with it to test it specifically, but the thing to look out for is likely data loss, and the likely most visible error would be the safety check failing in SafeRefcount due to duplication, without increment


Update bulk-crap-uninstaller.json<EMAIL_ADDRESS>update version

updated version and hash
Closes #11968

[ X] I have read the Contributing Guide.

/verify

I also think this change is necessary for bulk-crap-uninstaller, please review and solve quickly, thanks!

 I think this might actually be needed.

According to v5.7 release note, OSDN link is not reliable anymore.

Switched OSDN link to SourceForge (OSDN appears to be abandoned) by @Klocman in https://github.com/Klocman/Bulk-Crap-Uninstaller/commit/a510d99a9012fe526d17e2c2f7e17cf93dbd1793

#11998


Check if storage account exists

Storage account name by convention: flare-<last5ofsubid>

using last 12 or final set after last "-"


[irods/irods#6251] do not explicitly add fmt to includes (main)

In service of irods/irods#6251
Ignore the branch name

#'d


hipblasdgemm not getting close to peak

What is the expected behavior

I would expect a dgemm of sizeable input to achieve close to the 47.9 TFLOP/s

What actually happens

By using the code provided in: https://github.com/JorgeG94/calum_performance_tool it can be seen that rocm/5.4.0 produces 38TFLOP/s

How to reproduce

The code in the repo https://github.com/JorgeG94/calum_performance_tool has the readme, but basically:
hipcc -L/opt/rocm-5.4.3/lib -lhipblas --offload-arch=gfx90a performance.cpp
./a.out 36000 14400 36000 10 T T

Environment

Hardware
description

GPU
MI250x

CPU
AMD Optimized 3rd Gen EPYC

Software
version

ROCM
v5.4.0

I will check this on my side.
Does the performance drop happen only with this size?
Have you checked other sizes and/or orientations?

@JorgeG94 Can you please test with the latest ROCm 6.1.2? If your issue is resolved, please close the ticket. Thanks!

Hi @JorgeG94, are you still experiencing this issue? If so, can you answer @nakajee's questions?

hi! sorry about this life was very chaotic. Moving to a newer version and some driver updates helped a lot thanks!


”Batoș”, ”Dedrad”, ”Goreni”, ”Uila” are listed in the drop-down menu

Description:
When user writes ”Batoș”, ”Dedrad”, ”Goreni”, ”Uila” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Dedrad"

Expected results
The location appears in the drop-down menu as "Sat Dedrad, MUREȘ (Batoș)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Goreni"

Expected results
The location appears in the drop-down menu as "Sat Goreni, MUREȘ (Batoș)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Uila"

Expected results
The location appears in the drop-down menu as "Sat Uila, MUREȘ (Batoș)".


[CS] Trait methods should only delegate to some other class to prevent locking context to trait

To cover case like this

@TomasVotruba I tried using ClassMethod node for it, but can't get it to find Trait, so I think there it needs Trait_ node instead and find its ClassMethods inside it.

In class method that is inside trait, I know only about this approach:
https://github.com/symplify/symplify/blob/5785eec1761919dd44e6b5ff82b3ac83c114cd4f/packages/coding-standard/src/Rules/AbstractSymplifyRule.php#L31

@TomasVotruba I tried :
        if ($scope->isInTrait()) {
            $traitReflection = $scope->getTraitReflection();
        }

When using ClassMethod node:
    public function getNodeTypes(): array
    {
        return [ClassMethod::class];
    }

but it not catched it. I tried latest dependency with run composer update. Probably related with latest nikic/php-parser


Full fledged Sql Server transport

Comes up pretty often, and might help a current Wolverine client

Tasks

[ ] Chain an item after PersistMessagesWithSqlServer to add the Sql Server Transport
[ ] SqlServerTransport.DiagnosticColumns() -- test it w/ dotnet run -- describe
[ ] ListenToSqlServerQueue(queueName) extension method
[ ] ToSqlServerQueue(queueName) subscriber extension method
[ ] Smoke test the resource model


SingleSelectivity new Item

How can I enable creating new Item, like the email/multiple, but single, and with dropdown select?
( if category not found in the list, enter name of new category... )
use the query somehow?

I think I've got it https://github.com/Antonimo/selectivity/blob/master/src/selectivity-free-single.js
I used a sticky "other" option that if selected a new input field will appear for entering new custom value;

Sorry for the late reply!
I think it would've been possible to return the "other" option with the query function as well. The downside though would be that if you want to use a static items list, you need to reimplement searching through that list yourself in the query function. Anyway, good to see you've found a solution! :)

Ye, I really enjoyed extending the core, very modular design, very intuitive imho.
but how is this maintainable, idk! yet ;)


Language parameter in OpoenAI() is not working anymore!

System Info
All latest versions
Who can help?
@agola
Information

[X] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[X] LLMs/Chat Models
[X] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
The parameter language="es" in OpenAI() is not working anymore. And I have to present it tomorrow at the university! I can't find any solution for this. Nowhere.
Pretty simple code that was working perfectly and now not anymore:
model= OpenAI(temperature=0, language="es")
Now I'm getting this error message:
C:\Users\zaesa\anaconda3\Lib\site-packages\langchain\utils\utils.py:155: UserWarning: WARNING! language is not default parameter.                 language was transferred to model_kwargs.                 Please confirm that language is what you intended.   warnings.warn(
How to solve it?
Expected behavior
It should just search in spanish pages and answer in spanish. It was pretty simple. Now it just doesn't work anymore. Any help will be really apprecaited.

Which version of Langchain you are using?

Thanks for answering me @subhan97ahmed.
I was using the version 0.0.266
Updated to the last one. Same issue. Went back to old version.
Tried also this code:
   conversation_history.append(         {"role": "assistant", "content": assistant_response})     conversation_history.append(        {"role": "system", "content": "Always answer in spanish and without repeating yourself in the same answer, or in other answers"})
And to search just on spanish websites tried on:
search = GoogleSearchAPIWrapper()
This:
search = GoogleSearchAPIWrapper(     language="es", api_key=google_api_key, cse_id=google_cse_id )
but I get errors telling there are no extra fields permitted for api_key, cse_id and lang.
This is weeird because it should accept these parameters.
Appreciate your help!

@venturaEffect
I did not see any language parameter being used in docs or code. Tried using model_kwargs but it didn't work. Maybe this will help your use case. Hope this helps.
from langchain.chat_models import ChatOpenAI
from langchain import PromptTemplate, LLMChain
from langchain.prompts.chat import (
    ChatPromptTemplate,
    SystemMessagePromptTemplate,
    AIMessagePromptTemplate,
    HumanMessagePromptTemplate,
)
from langchain.schema import (
    AIMessage,
    HumanMessage,
    SystemMessage
)

template="You are a helpful assistant that talks only in {language}."
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
human_template="{text}"
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)

chat_prompt = ChatPromptTemplate.from_messages([system_message_prompt, human_message_prompt])

chat = ChatOpenAI(temperature=0)

chat(chat_prompt.format_prompt(language="Spanish", text="Hi").to_messages())

Thanks a lot for this code snippet. Will have to think how to add this with the custom database I have and the access to the internet. Still can't understand why it doesn't work the parameters of  search = GoogleSearchAPIWrapper( language="es", api_key=google_api_key, cse_id=google_cse_id ) to just search for spanish web pages.


Remove Chris Lee

Trello card:
https://trello.com/c/n6vJ2QV4/189-leaver-chris-lee-12-09-2016

Looks fine. Merge away.


feature request: tap_action none

Hi, is it possible to add tap_action: none to cards? As hold_action also has the 'none' option, shouldn't this also be possible for taps?
Especially for glance cards I would like to disable tap_actions as the card is just to GLANCE at certain switch states (in my case). To prevent accidental turn off of the switch I would rather disable the taps entirely for these entities rather than creating template_sensors showing me the state of a switch.
Also, as icon_colors don't change for these template_sensors the 'tap_action: none' would be the better solution and reduces the nr of entities in HA.

hold_action doesn't have a none option exactly, it's more so that if one is not defined, nothing is done while tap_action does have a default action. I think that is something we can add but we're currently in a feature freeze while stand up the UI editor.


Add fields for author, author url, and author location to admin settings, use this for attribution line

https://github.com/gnowland/wp-jet-fuel/blob/f391fed3812788dd350bf75663f75447b24311ee/inc/admin/admin.php#L59-L61

dropped in favor of soberwp/intervention


Parameters optimize policy

Thanks for your jobs! This repo is well organized and help me a lot！
I notice that the parameters optimize policy is quite complex in the model:
（UCF01, Resnet101, 4Gpus, batch-size=64)
 return [
            {'params': first_conv_weight, 'lr_mult': 5 if self.modality == 'Flow' else 1, 'decay_mult': 1,
             'name': "first_conv_weight"},
            {'params': first_conv_bias, 'lr_mult': 10 if self.modality == 'Flow' else 2, 'decay_mult': 0,
             'name': "first_conv_bias"},
            {'params': normal_weight, 'lr_mult': 1, 'decay_mult': 1,
             'name': "normal_weight"},
            {'params': normal_bias, 'lr_mult': 2, 'decay_mult': 0,
             'name': "normal_bias"},
            {'params': bn, 'lr_mult': 1, 'decay_mult': 0,
             'name': "BN scale/shift"},
        ]

I want to know that is it necessary to get desired results? It seems that this tricks did't mentioned in the original paper? Have you done such experiment?
The training procedure seems unstable, in the first iteration of some epochs, the loss will explosion, maybe due to gradient explosion, but even I set the clip_gradient, the instability still exits.

These policies are not necessary in most cases. It’s just some legacy setting.

These policies are not necessary in most cases. It’s just some legacy setting.

hi, i finetune the last fc layer in the TSN, i want to know how to set optim.SGD, my way just like this
optimizer = torch.optim.SGD([
                                                 {'params': model.module.fc.parameters()}
                                                ],
                                                policies,
                                                args.lr,
                                                momentum=args.momentums,
                                                weight_decay=args.weight_decay)

but it's wrong: init() got multiple values for argument 'momentum'.
Could you give me some advice?


Receiving indicate characteristic notifications and propagating via the expected means

Fixes https://github.com/evothings/cordova-ble/issues/83

@robertoandrade Thanks a lot Roberto, merged you pull request.


[Feature] ability to disable sending join/leave messages to other gateways

when your intention is to only see join/leave messages from specific services and display them on eg. irc but do not want to have join/leave messages from irc pollute chat, the current configuration options fall short
i suggest displayJoinLeave for  the incoming event (from the gateway)
and sendJoinLeave to control sending the event to the gateway

Well, there is already ShowJoinPart which does the same as displayJoinLeave I think?

thzat sounds reasonable and in line with the expected default behaviour, after all its something you only want to touch and disable in special cases

Ok, try master :)

works like a charm


Dowhy CausalModel does not have 'causal_estimator' attribute

Both chapter 9 and chapter 10 notebooks have code like effect_pred = model.causal_estimator.effect().
I got an error running them: AttributeError: 'CausalModel' object has no attribute 'causal_estimator'
The book states that it uses DoWhy 0.8 but I am currently using DoWhy 0.10.1 (just want to keep my learning experience up-to-date) but I cannot determine if that's the cause of it. If it is, then how to implement the model on test dataset with current version of DoWhy? If not, then what have I missed?
Thanks!

Hi @Lyutenant - thank you for raising this up.
You are correct, there were some changes in the DoWhy's API since version 0.9+ and .causal_estimator object has been removed from the CausalModel class.
There are two ways of generating predictions on new data using the new API (examples follow the Chapter 09 notebook, S-Learner section):

Accessing the fitted estimator from the estimate object:

estimate._estimator_object.effect(earnings_interaction_test.drop(['true_effect', 'took_a_course'], axis=1))

Passing new data to the target_units parameter while setting fit_estimator to False:

model.estimate_effect(
    identified_estimand=estimand,
    method_name='backdoor.econml.metalearners.SLearner',
    fit_estimator=False,
    target_units=earnings_interaction_train.drop(['earnings', 'took_a_course'], axis=1),
).cate_estimates

I personally find the second way somehow less intuitive and less clear than the first one.
I also want to share with you that I encountered some unexpected behaviors in version 0.10.1 when using these methods. I raised an issue with the DoWhy team here: https://github.com/py-why/dowhy/issues/1038
If you asked my opinion, I'd recommend that you stick with DoWhy 0.8 at least for now.
I hope this reply will be helpful to you.
Wish you a joyful journey with the book and happy causal learning!

Hi @AlxndrMlk , thanks for your prompt reply.
I switched back to dowhy 0.8 and the issue is gone. I am taking your advice to stick to 0.8 for now, at least until the issue you have raised with the DoWhy team is solved.
p.s. I do enjoy your book a lot!


Correctly handle display usage in cells

The question is if we want to make it work this way, or offer an alternative.

Probably just hooking into display, unless you can think of a nicer approach.

can we currently add arbitrarily many outputs of a given MIME type to the ipynb we output?

Probably just hooking into display

Yeah either that or with a special type MultiOutput or so that would need to be made available. I guess easier to do the display route

Yeah either that or with a special type MultiOutput or so that would need to be made available.

Yes, that's an option, though if a user evals a single cell into a REPL they'll not have that type defined, which would probably be annoying.
Just following what IJulia does is probably the most straightforward thing to do currently.


Downloading win32 prebuild on linux doesn't copy dlls

Installing using npm_config_platform=win32 on a linux machine doesn't copy the dlls.
Steps to reproduce

Use a linux machine to install sharp using npm
Install with command: npm_config_platform=win32 npm i sharp
Check that dlls are copied to build/Release directory

Actual result
DLLs are not copied.
Expected result
DLLs are copied so that the win32 prebuild is valid when downloaded using a linux machine
I think the problem is in dll-copy.js script https://github.com/lovell/sharp/blob/b36ad25030e409d9b8339f5e379346bbe7d764f1/install/dll-copy.js#L9-L12
As in the case of install/libvips.js script it should look first at npm_config_platform environment variable.
I encountered this issue while trying to build an electron app for windows on linux. The app uses sharp.

Thanks for reporting this, a PR to look for npm_config_platform before process.platform would be most welcome.

v0.25.3 now available, thank you for fixing this.


cmbOwners - DefaultSelectedItems property setting Claim

@alexc-MSFT, we had an issue where a user was selected as an owner but we got an error message:

After some investigations it turned the user in question didnt have an exchange license.  Looking further into the code i noticed that the defaultselecteditems property on cmbOwners uses the concatenation function when setting the 'Claims' value.  Is there a reason for doing this?  I have updated our code to use: cmbOwners_1.Selected.Claims
}),Table({
        '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
        Claims:cmbOwners_1.Selected.Claims,
        Department:cmbOwners_1.Selected.Department,
        DisplayName:cmbOwners_1.Selected.DisplayName,
        Email:cmbOwners_1.Selected.Email,
        JobTitle:cmbOwners_1.Selected.JobTitle,
        Picture:""
}))

@SPB21 Good question, I don't think it should be using that function. I'm going to add this onto our roadmap to get this fixed.


Using inversify, constructor is called twice on controller when instantiated each call

Hi,
I am using inversify with routing controllers but i put a console.log into the constructor of my JsonController and it is being called twice.
I have the decorator @injectable() . on the Controller and its being registered inside the container using bind. I had to use toSelf otherwise it throws an error.
    container.bind(DepositController).toSelf();

I am also calling useContainer, and passing in the container.
Everytime i call into the controller using a rest client it calls the contructor twice.
Anyone got this issue ?

I would recommend you to use TypeDI which has seamless integration with routing-controllers and other libs made by pleerock 😉
But I will leave this issue opened, maybe there is a person which could help you with inversify configuration.

Yes, I think if I have to I can go to TypeDI, I did like how inversify works and seems a really well supported library. I would like to get it to work with routing controllers if possible.

This issue still persists.


Use serial_number instead of serial

This fixes deprecation warning coming from cryptography package about using cert.serial instead of serial_number.

Coverage remained the same at 60.798% when pulling 3e8151f95893bdadf737d82c9fbbce79e11ea1ee on jchuong:certificate_serial into c26ae160603eec3ea0a66d49438ce08b4a7d2995 on Netflix:master.

lgtm thanks!


Navigating between the participant pages is taking a lot of time.

 Try to pre-fetch the images of the next and previous page.

@ananya-agrawal can I work on this??
@opencodebot claim

@punisher1151 please respond

@opencodebot unclaim
Waiting for @punisher1151 reply.
I'm still open for this issue.

@anupm12 you may start working on this as @punisher1151 is not responding

Ok

@opencodebot claim

@opencodebot unclaim

@anupm12 but you have an open pr for this then why is this unclaimed?


Add missing check for 2d physics bounce and friction setters

The override check was already present for 3d physics but missing for 2d, should fix #27203

Indeed, I forgot to do it for 2D in #25282. Seems good, thanks!

Cherry-picked for 3.1.1.


enhance(log): do not return log object for POST and PUT requests

Sort of a revert of https://github.com/go-vela/server/pull/865 but this PR goes further and simply does not bother returning the log object on a successful POST or PUT.
I did a little bit of research on general HTTP practices, and it appears that this question of returning data on 200 and 201 codes is pretty much context-driven. Given that CreateStepLog + CreateServiceLog arguably shouldn't exist for user access and UpdateStepLog + UpdateServiceLog are locked behind worker permissions / platform admins, I think it's safe to say continuously returning the database object is not worth the overhead.
The only logic that utilizes this returned value in the entire codebase is a max-log-size check which can be performed with the in-memory _log value that is appended every second.
Merging this PR would result in downstream changes to the sdk-go, worker, and CLI

Returning the log does seem wasteful.
Today, we only use the return to calculate the log's size, so, what if these endpoints returned the size of the log in a header?

Today, we only use the return to calculate the log's size, so, what if these endpoints returned the size of the log in a header?

My thought on this was that we already have the data to check size before we make the call to update, and returning really any data would require decompression. I figured just the successful status code would be enough

@ecrupper @wass3rw3rk Do you think we need to mark this as a breaking change?

Good idea, even though I doubt it's used at all. I will mark it

Today, we only use the return to calculate the log's size, so, what if these endpoints returned the size of the log in a header?

My thought on this was that we already have the data to check size before we make the call to update, and returning really any data would require decompression. I figured just the successful status code would be enough

Ah. I forgot about compression.
This should simplify logging in the worker slightly, so I'm in favor of this.


What does these subfolders means?

Hi
I have run your software on a couple of my samples (.VCF)
In output I see some sub folders like
SBS96_1_Signatures
SBS96_2_Signatures
SBS96_3_Signatures
SBS96_4_Signatures
SBS96_5_Signatures

Does this mean that 5 signatures have found in my data? Why only you divided 5 signatures in an accumulative way in 5 sub folders?
If I want to select the best signatures defining my samples (overall), which sub folder I should look?
Please help me to get these
I really could not figure out the meaning of output even by reading the wiki pages several times
Thanks for any help in advance

Do you have a subfolder named "selected solutions"? Inside that, you will see two more subfolders named "de_novo_solutions" and "decomposed_solutions". Inside the de_novo_solution subfolder, you will see the selected solution of the de novo signatures. Inside the decomposed subfolder, you will see the decomposed solutions with the COSMIC signatures.

Thanks a million
In de novo sub folder I see Signature_plotSBS_96_plots_De_Novo_Solution.pdf with three signatures
So these 3 signatures have been extracted from my data
To know what these 3 signatures are, shall I compare them with something to get an idea what those are?

You can look at the Decomposed signatures subfolder to see the COSMIC signatures you found in the dataset


Close codes 1012 and 1013 are valid

TestSuite currently fails my library because it does not reject the following codes:

1004
1012
1013
1014
1016
1100
2000
2999

The rationale, I assume, is that anything reserved and not defined by RFC 6455 is considered "invalid". This puts me in an interesting position, though: if my library hardcodes these undefined opcodes to reject them, no one will be able to use it to design new extensions that use new opcodes.
I could always have a "developer mode" for the library that lets undefined opcodes through, and switch it off when running TestSuite. But that's further muddied by the fact that codes 1012 and 1013 are, in fact, defined as of May 2012.
Does Autobahn have a policy for evolving with new opcode definitions, and/or has there been any discussion on allowing a more relaxed test mode?

1012 and 1013 are not in RFC6455, which is what the test suite tests. But these 2: yeah, one could argue it's nevertheless registered. So I would call it a bug.

design new extensions

If it is not an official extension, you can't use those reserved codes: "1000-2999 	Standards Action, Specification Required or IESG Review"
If you are developing an unofficial extension, there are number ranges to use: "4000-4999 	Reserved for Private Use"
I think the test suite does probe these .. not sure though right now.

If it is not an official extension, you can't use those reserved codes

Right, I agree -- but as a library maintainer I can't very well know who is using my module in an "official" vs. "unofficial" capacity.

Yes, and as a test suite developer, we can't provide test cases for unknown extensions;)
Seriously: e.g. say you introduce new opcodes, complete new semantics etc .. a general testsuite can't do that. The testsuite has stuff for the now official WebSocket compression extension, and that's it.
In any case: when your library is NOT used for writing an extension, but for plain WS, you want (?) to have it conform to the strict letter. And if you want to support your library being used like this, it should have a mode "simple user mode" for that? If you would provide that, you could publish reports for that mode only. Which would make sense IMO.

In any case: when your library is NOT used for writing an extension, but for plain WS, you want (?) to have it conform to the strict letter. And if you want to support your library being used like this, it should have a mode "simple user mode" for that? If you would provide that, you could publish reports for that mode only. Which would make sense IMO.

Yes, I think so too. I'll go down that route, in which case this issue is now only for the new(er) codes 1012 and 1013. Thanks for the input!

RFC6455 - Section 11.7 - WebSocket Close Code Number Registry
http://tools.ietf.org/html/rfc6455#section-11.7
That references the close code number registry.
Which can be found at
https://www.iana.org/assignments/websocket/websocket.xml#close-code-number-rules
Which was proposed in the hybi mailing list on May 16, 2012  (which was 5 months after RFC6455)
http://www.ietf.org/mail-archive/web/hybi/current/msg09670.html
Most implementations in the wild already know what these 2 close codes are and consider them part of the standard implementation for websocket (even chrome and firefox!)

fixed in the new release: https://pypi.python.org/pypi/autobahntestsuite/0.7.5

Works great; thanks!
As an aside, that patch changed the test numbers (e.g. 7.9.8 used to be the close code 1014 test; it is now 1016). Anyone who was using a cases or exclude-cases option to refer to those specific numbers in their test spec will have to update it. I don't know what your compatibility policy is for 0.x, but it might be something to consider after you release a 1.0.

Regarding test case numbers: I think the unfortunate turth might be that we never really talked about what kind of stability in the produced reports the test suite claims to provide=( Which of course is an issue.
In the particular case, simply removing the tested values (and forgetting to add them on the "positive" list of tested values;) made the test numbers shift. An alternative would be: skip the originally tested values - the test case will appear as "missing". Essentially, we could have a list of "deprecated test numbers" somewhere in the code which are then skipped automatically.

Essentially, we could have a list of "deprecated test numbers" somewhere in the code which are then skipped automatically.

I think I would (eventually) prefer this approach, once you decide on a "stable" test interface. I was not affected by it for this patch, though, so no worries!

I am ProtocolError With close Code 1000 and Message is Empty, any one come across issue. If so could you tell me the reason for the issue.


new OMR_template created

Added a new OMR Template(png file and template.json) in sample/community/shamanth

To be taken as part of https://github.com/Udayraj123/OMRChecker/issues/40

@ShamanthVallem please share screenshots of output image with save_image_level = 4 here in a comment

Sure :)

@ShamanthVallem I am approving now, but before merging, can you make the bubbles smaller and move to center a bit?

One more thing - compress your image to be under 200KB

@Udayraj123 I made the mentioned changes and here is the new output

I compressed the image to 110kb

Much better! I will squash and merge so that commit history doesn't contain the larger sized images.


feat: add log4rs logger

The purpose is to supplement the log crate by adding configurability through a yaml file. With one central logger, we are able to save data in more granularity, including different output files and not merely runtime logs.
Re-uses the log4rs implementation in tari L1 chain.

Resolves #17


975 change font size and color

Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] 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).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

I think the title "User Events" needs to go up a little. There seems to be a lot of space between the header and the title. I think the title now is inline with "Group" drop-down menu. Also the "Events Per page" drop down has a different sized box.
Just throwing these in as comments as it is not related to this PR. And redesigning an already existing page and be messy and might get nice-looking only with multiple iterations.

Tested and approved.

I think the title "User Events" needs to go up a little. There seems to be a lot of space between the header and the title. I think the title now is inline with "Group" drop-down menu. Also the "Events Per page" drop down has a different sized box. Just throwing these in as comments as it is not related to this PR. And redesigning an already existing page and be messy and might get nice-looking only with multiple iterations.

Thanks, @minump. I think we can tweak every page later after we merge all the pull requests. Since it will change after we merge prs.

I think the title "User Events" needs to go up a little. There seems to be a lot of space between the header and the title. I think the title now is inline with "Group" drop-down menu. Also the "Events Per page" drop down has a different sized box. Just throwing these in as comments as it is not related to this PR. And redesigning an already existing page and be messy and might get nice-looking only with multiple iterations.

Thanks, @minump. I think we can tweak every page later after we merge all the pull requests. Since it will change after we merge prs.

yup. sounds like a plan Bing.
Approving the PR.


Release under a (L)GPLv2 compatible license?

As you may or may not know, the Apache 2 license is incompatble with (L)GPLv2. Linking against SPIRV-Cross (directly or indirectly) forces the project to be (L)GPLv3+. This can cause several issues:

Some code is (L)GPLv2 or (L)GPLv2.1 with no ability to relicense to a later version of the GPL
Some libraries are unwilling to be LGPLv3, instead preferring to stay LGPLv2.1+ for these same compatibility reasons
Some (proprietary, locked down) platforms do not allow GPLv3 software at all, or only allow LGPLv2 but not LGPLv3.

Being Apache2-licensed limits the scope of what I can consider using SPIRV-Cross for. For example, it prevents VLC (GPLv2) from using SPIRV-Cross / MoltenVK on several platforms, so it's a no-go. It also prevents me from using SPIRV-Cross in mpv or libplacebo to generate backwards-compatible GLSL for older versions of OpenGL, since mpv is LGPLv2.1+ and making a core dependency (video rendering) LGPLv3+ only is deemed not acceptable by the maintainers. (And doing so would also prevent libplacebo from being used by VLC, for example)
the tl;dr is that as it stands, SPIRV-Cross is essentially entirely useless to me due to the Apache2 license. Would it be possible to consider either dual-licensing under something like LGPLv2.1+, or alternatively a more permissive license such as BSD 3-clause or MIT?
Edit: I was under the impression that GPLv2 was allowed on the Apple app store, but it isn't. Retracted that part of my claim. However, LGPLv2 is allowed on the app store, and LGPLv2 + Apache2 is not compatible either.

This has been flagged internally, I don't think there is anything I can do for now.

Indeed, I just now learned about that. Feel free to close this issue (unless you also want to track the status publicly).

This is a non-functional issue, so I think I'll close this for now. I'll monitor the internal issue for now.

No news about this topic?

It should be possible now, just need to figure out what I need to do and get it approved.

Thanks :)

The ball is rolling, hopefully I have something soon.

@jbkempf  @haasn It took a while, but master now has Apache 2.0 + MIT dual license for the API and CLI as requested.

@jbkempf @haasn It took a while, but master now has Apache 2.0 + MIT dual license for the API and CLI as requested.

May you be blessed by $deity!

Can you please clarify how the MIT dual licensing works? Currently LICENSE just references Apache 2.0, and so does every source file. So how does one obtain an MIT licensed version of SPIRV-Cross?

Also, a grep for files not containing the MIT dual licensing header picks up the following (excluding test/build junk):
shaders-msl/vert/buffer_device_address.msl2.vert:1
shaders-msl/comp/buffer_device_address.msl2.comp:1
include/spirv_cross/barrier.hpp:1
include/spirv_cross/thread_group.hpp:1
include/spirv_cross/internal_interface.hpp:1
include/spirv_cross/sampler.hpp:1
include/spirv_cross/image.hpp:1
include/spirv_cross/external_interface.h:1

Why are these random files not dual-licensed MIT?

The source files have:
/*
 * Copyright 2015-2021 Arm Limited
 * SPDX-License-Identifier: Apache-2.0 OR MIT
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * At your option, you may choose to accept this material under either:
 *  1. The Apache License, Version 2.0, found at <http://www.apache.org/licenses/LICENSE-2.0>, or
 *  2. The MIT License, found at <http://opensource.org/licenses/MIT>.
 */

Not what is missing here.
The two random test shaders are accidential. It seems like they were reused from Vulkan-Samples repo. You can ignore shaders/ and references/ completely.
Those .hpp includes are not relevant for SPIRV-Cross anymore. It's deprecated junk from the C++ backend that applications would use to build against SPIRV-Cross generated code. They can be ignored.


Update README.md

I updated E
Congratulations on making a pull request!
Please make sure you check all the items.

[ ] You have increased the Total Companies Added count.

I add E for https://eliteluxuryyacht.com/

Not a tech company @mdsahil368828


minor edit to the am-time-ago directive code snippet

minor edit to the am-time-ago directive code snippet. Added .getTime() to ln 95 of readme

Coverage remained the same at 93.213% when pulling 2eb0ac83588fe43ea16c49e6658a7bb7544ae47e on Jkim55:readme into 448e472efb22bd51bdc210cf80c7d296b63e0aaa on urish:master.

Coverage remained the same at 93.213% when pulling 2eb0ac83588fe43ea16c49e6658a7bb7544ae47e on Jkim55:readme into 448e472efb22bd51bdc210cf80c7d296b63e0aaa on urish:master.

Hi!
After finally figuring out I needed utc to use the am-time-ago directive, I thought this edit might be useful for those reading documentation on the am-time-ago directive code snippet. :D
I hope it's helpful!
Ji

Hi @Jkim55 , thank you for your contribution. Can you please explain how adding new Date().getTime() helped in your case?

Thanks for accepting my pr! 👍
I used the angular-moment for a project I'm doing to learn angular. The project is to recreate a reddit like single page app and one of the parameters of the project is to display time as relative time from the current moment.
So, I came upon angular-moment, but I found that the am-time-ago directive wasn't doing what I expected it to do. Maybe that's obvious to more experienced developers, but I'm a newbie. So, I researched it a bit and found that am-time-ago directive seems to wants the # in unix time. Since new Date () doesn't return milliseconds, I chained getTime() to convert it to milliseconds.
Hopefully, this will help some other newbies or those who are just new to angular-moment a few minutes in their day. 🙌

opps- nevermind! Seems to work with the new Date, too. Maybe I made a typo!

Thank you for your time. It is always inspiring to see newbies contributing and taking part in open source, and you seems to have a lot going on in your github account. Keep up the good work!

Thanks for kind words! I'm so appreciative of js dev community, which I found to be supportive & open. 👍


Add down method to migration

I'll open a PR.
/**
 * Reverse the migrations.
 */
public function down(): void
{
    Schema::dropIfExists('redsys_requests');
    Schema::dropIfExists('redsys_cards');
    Schema::dropIfExists('redsys_notification_logs');
}

Thanks for the suggestion. Down migration is already on the main branch and will be available with the next release.


Feature Request | Allow Multiple Raven Instances

Do you want to request a feature or report a bug?
feature
Has someone had this problem before?
This is the same feature described in https://github.com/getsentry/raven-js/pull/1269, but a request that it be available in raven-node.
To recap:
Our node server executes code that is is affected by other services from multiple teams. Each of these services is developed and managed independently. Each team wants to have a separate DSN so their errors can be monitored separately. At the same time, we have a Raven singleton that captures any uncaught errors (those that are not captured explicitly with captureException).
Unfortunately, the current API doesn’t allow this.
Currently, we accomplish this with some messy manipulation of Raven's internals. Roughly,
const makeRaven = () => {
  const raven = new RavenFactory();
  raven.prototype = RavenFactory.prototype;
  raven.version = Raven.version;
  raven.disableConsoleAlerts = Raven.disableConsoleAlerts;
  raven.utils = ravenUtils;
  raven.transports = ravenTransports;
  raven.parsers = ravenParsers;
  return raven;
};

Object.keys(sentryConfigs).forEach((key) => {
  const ravenConfig = sentryConfigs[key];
  if (key === 'main') {
    const dsn = ravenConfig.dsn;
    // Must configure Raven before doing anything else with it
    Raven.config(dsn, ravenConfig).install();
    // The request handler must be the first middleware on the app
    expressServer.use(Raven.requestHandler());
  } else {
    const extraRaven = makeRaven();
    extraRaven.config(dsn, ravenConfig); // don't install because this shouldn't catch unhandled errors
    Raven._extraRavens = Raven._extraRavens || {};
    Raven._extraRavens[key] = extraRaven;
  }
});

and then we use these by calling Raven._extraRavens[projectName].captureException().
Obviously, this isn't the greatest or most stable solution. API support for this such as added in https://github.com/getsentry/raven-js/pull/1272 would be much preferred.

Hey @steverice, it's already possible :)
https://docs.sentry.io/clients/node/usage/#multiple-instances
Cheers!

Fantastic, thanks @kamilogorek !


Add aniruddha2000 as an approver and security contact

This PR adds aniruddha2000 to the OWNERS file and SECURITY_CONTACTS

/approve
/lgtm


Add shallow clone

It seems that when using git clone with specified depth (eg: --depth 1), gitcache will still try to mirror the entire repo.

I believe that's pretty much the whole point of gitcache - to have a mirror of the entire repo, which is a potentially heavy operation, but only during the initial clone, so that at any point of time in the future, the checkout/clone/etc. of the repo would be as fast as local copy of the data, and the full history is still available (often needed, e.g. to build a changelog, etc.).


How many gorm tags in gorm?????

When I look through the document of gorm,I come across some kinds of gorm tags,such as gorm:type varchar(20) and so on .But I don't know the whole gorm  tags existed in gorm .Also in main.go      "gorm:update_interface"  ,I can't fingure it out....

https://github.com/jinzhu/gorm/blob/master/model_struct.go
line173 to 546 is the tags description

Most tags should be documented in GORM's document, refer http://gorm.io/
Will consider updating the document to have a single page to list all of them in next version.

http://gorm.io/docs/models.html


Typescript: definitions should be exported for re-use

It's great to have a Typescript definitions file https://github.com/watson-developer-cloud/botkit-middleware/blob/master/lib/middleware/index.d.ts in the repo, sadly I can't use it in our botkit project because none of the interfaces are exported - can you please amend this?  Currently you have one default export which is a deprecated pattern, they should be named so this may be a breaking change.

Also would be good to rename interface Message to interface WatsonMessage (same for Payload and ContextDelta so they follow the same naming convention.

Thanks a lot for filing this issue! Would you like to write a PR for this? I'd be more than happy to walk you through the steps involved.

Yep happy to do a PR if you're good with the suggestions...

Fixed in #165

I can only blame myself for not reacting to this ticket in time.
It was a breaking change.
The old way of importing middleware no longer works:
import createWatsonMiddleware = require('botkit-middleware-watson');

result:
> node ./node_modules/typescript/bin/tsc
src/bot.ts:19:30 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'typeof import("/.../node_modules/botkit-middleware-watson/lib/middlewar...' has no compatible call signatures.

 19     const watsonMiddleware = createWatsonMiddleware({
                                 ~~~~~~~~~~~~~~~~~~~~~~~~
 20         username: process.env.CONVERSATION_USERNAME,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
 25         //minimum_confidence: 0.50, // (Optional) Default is 0.75
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 26     });

But expected way of importing default export doesn't work either:
import createWatsonMiddleware from 'botkit-middleware-watson';

It compiles successfuly but fails at runtime:
> node build/app.js

Initializing Botkit v0.6.21
info: ** No persistent storage method specified! Data may be lost when process shuts down.
/.../build/bot.js:14
    var watsonMiddleware = botkit_middleware_watson_1.default({
                                                             ^

TypeError: botkit_middleware_watson_1.default is not a function

You're right.  It's probably best to undo this change and do it properly with a breaking change (which will be cleaner).

@rob-pocklington-a139759 I updated middleware to support botkit 4 in https://github.com/watson-developer-cloud/botkit-middleware/blob/botkit-next/lib/middleware/index.js#L180
It will require a bump in major version, so I tried to solve your problem too, but I am a bit rusty on TypeScript and I can't figure out how to export everything correctly.
Could you help me to get this export right?
https://github.com/watson-developer-cloud/botkit-middleware/blob/botkit-next/lib/middleware/index.js#L179-L181
https://github.com/watson-developer-cloud/botkit-middleware/blob/botkit-next/lib/middleware/index.d.ts#L130-L133

Yep, added a comment to the first link above.

Fixed in 2.0.0


IDCOM-1863 Followed oclif migration guide

Followed the oclif migration guide. Several type errors occurring, mainly at lines with code such as const { args} = await this.parse(Airdrop). The type error will be on Airdrop. This is just an example, it happens multiple times with this.parse(***).

Fixed the clippy warnings here


Pulling a single file from a repository

Supposing I pushed multiple files to a repository using oras - is it possible / reasonable to be able to pull only a single file (layer, in the current format), referenced by digest?
In the example below, to only pull the layer corresponding to the first file, sha256:3fe24f297ab8bddcdef54e0fc016114e55e064d6a9e43834fd10963ba99d3cae?
{
  "schemaVersion": 2,
  "config": {
    "mediaType": "application/vnd.oci.image.config.v1+json",
    "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
    "size": 2
  },
  "layers": [
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar",
      "digest": "sha256:3fe24f297ab8bddcdef54e0fc016114e55e064d6a9e43834fd10963ba99d3cae",
      "size": 138,
      "annotations": {
        "org.opencontainers.image.title": "Makefile"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar",
      "digest": "sha256:040fc227a60a0de08a8083cee60bec935af2bebf81d665a3a8c0401988948a17",
      "size": 1082,
      "annotations": {
        "org.opencontainers.image.title": "LICENSE"
      }
    }
  ]
}

@radu-matei yes, it is possible. We are still working on getting the docs together. Please take a look at the test method Test_3_Conditional_Pull() here: https://github.com/deislabs/oras/blob/master/pkg/oras/oras_test.go#L240

Nice, I'll have a look at that.
Thanks a lot, Josh!
Closing this.


Try using Arrow IPC compression

We're currently doing our own LZ4 block compression for messages. Maybe it'd be better to use the one from Arrow IPC? The Arrow IPC StreamWriter has a compression option which supports LZ4.

https://github.com/rerun-io/rerun/pull/8347#discussion_r1879874587

See https://rerunio.slack.com/archives/C04DLS7CCE4/p1732715341625009

See https://rerunio.slack.com/archives/C04DLS7CCE4/p1732715341625009

thanks @teh-cmc, I forgot that we already discussed this.

The reasons from that Slack thread:

We want the compression to be separate from the encoding, because we may want something other than Arrow IPC
We don't what Arrow IPC's compression gives us (such as per-column compression settings)
We want to be able to change the compression scheme on-the-fly

In short, we gain very little and lose control, so it's not worth it.


[BUG] DRC Drug System Error

Describe the Bug
When trying to process coke_raw to coke_pure at the coke lab
Steps to Reproduce

Turn on electricity in coke lab
go to any table in middle
Try to process the coke_raw to coke_pure
See error in console

Expected Behavior
to not throw the error in console
Actual Behavior
no items given or taken, error thrown in console
Screenshots

If applicable, add screenshots to help explain your problem.
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
!! Ensure that there are no IP addresses or any private informatio
n in the screenshots. !!
Additional Context
drc_drugs.zip
Add any other context about the problem here.

Hi, I don't think this error is related to WaveShield, have you tried without WaveShield?

yes i did, its when i removed waveshield it worked. let me try a fresh install of script


Enhancement for class ActionColumn

Hi all. Method createUrl() in class ActionColumn uses hardcoded column name "id". But it is not always wanted as some tables might have different PK column name (For example table auth_item which is part of Yii migrations - try to create CRUD using Gii and you will reproduce this problem). I believe that this row:
$params = is_array($key) ? $key : ['id' => (string) $key];

Could be replaced with this code:
$params = [];
foreach ($model->primaryKey() as $pkColName) {
  $params[$pkColName] = (string) $model->$pkColName;
}

What do you think?

Yes, could be done, I think.

@rackycz

try to create CRUD using Gii and you will reproduce this problem).

it's fixed 3 month ago

Yes, seems so. @rackycz please update.


Feature/update UI docs

I updated the documentation based on feedback from participants.

Can we move images under radlab-ui/images to an existing new folder - docs/static/img ? In that way all the documentation and related images will be at one place.

I don't mind, but I'd argue that that folder pertains to documentation itself, while these images are about the UI.  I replicated the implementation from the modules, as they all have an images-folder, with architecture.png inside.  Let me know if you still want me to move them or not.

Can we also add the section on how one can get the bug fixes and new feature updates from Public RAD Lab repo to their own private repos.

I've never done this, so if you can give me a bullet list of steps to execute, I can add them.  Or feel free to add them yourself :)


Query rows for pagination returns non-serialized results (as in object, not JSON)

So, why is this an issue?  Because relationships do not show easily until toJSON() is called on individual rows and its a PITA once you get to the view.
Controller Model pull:
var results = await ResultModel
            .query()
            .orderBy('created_at','desc')
            .with('test', (builder) => {
                builder.select('id', 'name')
            })
            .with('testset',(builder) => {
                builder.select('id', 'name')
            })
            .paginate(page, 10)

This returns results as an object containing something like below:
{
rows: {
  Result {
   __setters__: [Array],
       '$attributes': [Object],
       '$persisted': true,
       '$originalAttributes': [Object],
       '$relations': [Object],
       '$sideLoaded': {},
       '$parent': null,
       '$frozen': false,
       '$visible': undefined,
       '$hidden': undefined
  }
}
pages: { total: 20, perPage: 10, page: 1, lastPage: 2 },
isOne: false
}

I'm having to loop through result rows to repack serialized data in the controller.  Since Edge doesn't have the ability to use variables (or so i think?) its difficult to solve this cleanly.
For now, I may opt to just use good old SQL and .fetch() to solve this issue.
PS: I do know I can do this: results.rows[0].$relations.testset.id but that's ugly
PPS: Adonis has been very nice!  I've done Laravel work before and its so natural!

Closing since no answer from issue reporter.


Dashboard popup (#90)

Issue 90: Dashboard date popup displays as integer

I'm squashing the commits on this because you had a few (looks like unintended) comments in extraneous commits. Next time, try to keep the commits relevant so we don't need to squash and can use a merge commit instead. Great work!


Mutation during displacement

Hello, Dr. Yang. I am new to CFD, I am doing two-phase flow displacement, I built a 64^3 model, apply the driving force in the left side of the X direction, the displacement was slow for the first 75,000 times, by 80,000 times it was all through, They are 5,000, 20,000, 40,000, 75,000 and 80,000 times respectively，what is the cause of this? The all iterations is 100000.
In addition, the phase_ftb64.dat file is all set to 1, and the fixed phase boundary condition is used. Then, does the parameter setting of niu_g represent -1 is the phase of displacement force, and does psi_solid represent the contact Angle of niu_g phase between niu_l and the solid skeleton surface? Looking forward to your reply.

Yes, psi_solid is the cosine of desired contact angle between non wetting
phase and surface.
It looks like the viscosity of niu_g is quite big, probably that's why the
invasion was slow
if you can make Y and Z direction psi boundary conditions to 0 (periodic)
then re-run, you probably will get something different.
This is a small geometry, if we constrain X inlet with non-wetting and
constrain all rest 5 faces as wetting phase, this will make the invasion
quite difficult, so we can "open" Y and Z direction to let the fluid has
more freedom to move, I hope this change might improve the simulation.
On Wed, 24 Jul 2024 at 03:31, xiangWu-WW @.***> wrote:

iter-5000.jpg (view on web)
https://github.com/user-attachments/assets/b5f55df4-53bd-4969-b585-c78450f03526
iter-20000.jpg (view on web)
https://github.com/user-attachments/assets/a4597003-3f2b-4cc8-a9fd-edd560c873b9
iter-40000.jpg (view on web)
https://github.com/user-attachments/assets/d184d34b-9edf-4bdf-ae13-5795754cb86a
iter-75000.jpg (view on web)
https://github.com/user-attachments/assets/cdeda6dc-8a0c-48f6-8ff4-f7760fab0f5b
iter-80000.jpg (view on web)
https://github.com/user-attachments/assets/2be27007-a200-47c1-a4fe-ff0a8f4efa77
e4d6c01837531afa001fa07afa48ee1.png (view on web)
https://github.com/user-attachments/assets/3926c86c-1d51-47cc-8455-e624cf8704be
Hello, Dr. Yang. I am new to CFD, I am doing two-phase flow displacement,
I built a 64^3 model, apply the driving force in the left side of the X
direction, the displacement was slow for the first 75,000 times, by 80,000
times it was all through, They are 5,000, 20,000, 40,000, 75,000 and 80,000
times respectively，what is the cause of this?
In addition, the phase_ftb64.dat file is all set to 1, and the fixed phase
boundary condition is used. Then, does the parameter setting of niu_g
represent -1 is the phase of displacement force, and does psi_solid
represent the contact Angle of niu_g phase between niu_l and the solid
skeleton surface? Looking forward to your reply.
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/30, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQA5AS2NZDIHGV3EUDTZN4GZFAVCNFSM6AAAAABLLRORWKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDMNBVG4YTKOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


MdMenu documentation error, menu says to use "mdMenuTriggerFor" attribute for triggering the menu but it uses -> "md-menu-trigger-for"

MdMenu Documentation error.
MdMenu documentation say to trigger menu with mdMenuTriggerFor attribute, camel cased, but when i've looked at the code it expects md-menu-trigger-for, If I use md-menu-trigger-for it works as expected.
Does not work if i pass mdMenuTriggerFor:
<button md-icon-button [mdMenuTriggerFor]="menu">
     <md-icon>more_vert</md-icon>
</button>
<md-menu #menu="mdMenu">
   <button md-menu-item> Refresh </button>
   <button md-menu-item> Settings </button>
   <button md-menu-item> Help </button>
   <button md-menu-item disabled> Sign Out </button>
</md-menu>

Above code throws:
zone.js:355 Unhandled Promise rejection: Template parse errors:
Can't bind to 'mdMenuTriggerFor' since it isn't a known property of 'button'. ("
      </div>
    </div>
    <button md-icon-button [ERROR ->][mdMenuTriggerFor]="menu">
       <i class="fa fa-ellipsis-v"></i>
    </button>
")

But if I pass md-menu-trigger-for it works as expected?
<button md-icon-button [md-menu-trigger-for]="menu">
     <md-icon>more_vert</md-icon>
</button>
<md-menu #menu="mdMenu">
   <button md-menu-item> Refresh </button>
   <button md-menu-item> Settings </button>
   <button md-menu-item> Help </button>
   <button md-menu-item disabled> Sign Out </button>
</md-menu>

Which versions of Angular, Material, OS, browsers are affected?
Material version<EMAIL_ADDRESS>Angular version<EMAIL_ADDRESS>

The camel-cased property was introduced with Material beta.0, it seems like you're using alpha.

Ok, didn't realize it might of been added to newer versions, thanks, i will update and check the beta


Sauce extension is not working in strava and iOS and chrome since yesterday

Hi @ObadahA can you provide some more context?  Photos, logs, versions, etc.

I don't see the datails of sauce plug in as I used to.

Thanks for that @ObadahA Can you checkout the contents (and post here if relevant) of Safari -> Preferences -> Extensions -> Sauce for Strava.
And if that is enabled as expected can you check that contents of "Edit Websites..." under the Sauce for Strava Permissions section.  It should say something to the effect of "strava.com: [allow]"
Lastly if all those things look good (enabled, etc).  Can you enabled Safari Developer options and then right click on the page (any strava activity is good) and see what the "Console" tab of the developer tools has in it?

Thank you so much! It’s working right now as before


No Overall Scale Option

There used to be an option to scale the whole model equally, but it appears to not be possible anymore.

This is intentional. Height scaling/full model scaling should be done with penumbra racial scaling mods, and not with cutsomize+. There is a guide pinned in the discord showing how to do so.

This is intentional. Height scaling/full model scaling should be done with penumbra racial scaling mods, and not with cutsomize+. There is a guide pinned in the discord showing how to do so.

Does that apply to minion/fairy/carbuncle etc? Because the Root option under Advanced works on my character, but not other types of models.

You mentioned a discord, where can I find it to utilize this guide.


Datasets and VRAM

Dear authors of Tsinghua University. Thank you for your outstanding contributions, especially with regard to Time Series. I find this time series library incredibly helpful and useful. But I have a few questions, one is why do you only use about 6-8 data sets in your papers? When reading through Timesnet, iTransformer and Autoformer I noticed that you only use a few data sets. Wouldn't it be better to use more data sets to generalize the model, especially for Transformer models? Or is it because you are limited by computing power?
Another question would be how much VRAM did you have available for training and how much would you recommend to use? I am planning to fine tune a model for imputation for my master thesis.
Kind regards,
Petros Tsialis

Hi, actually these 6-8 datasets are conventional in this area. The well-acknowledged papers, Autoformer and Informer, all experiment on these datasets. In TimesNet, we extend the downstream tasks into imputation, classification and anomaly detection, where 10 more benchmarks are employed.
Usually, one single GPU or even CPU are enough for the forecasting tasks. But for the high-level analysis tasks, such as classification and detection, you will need a last one 3090 RTX GPU.


feat(ado-ext-telemetry): Embed upload artifact into task

Details
This removes the need to have a separate publish task for the report artifacts in the azure-pipelines.yml. It is using the special logging commands to upload an artifact in ADO pipelines. It also updates the documentation accordingly.
I ran pipelines for Windows, Ubuntu, and Mac to ensure operability across operating systems.  I also ran a test pipeline that still had the publish step defined in the yaml file. It fails with an error stating that the artifact already exists.

Embed Upload Pipeline runs

Ubuntu Latest: Pipelines - Run 20220310.2 logs (azure.com)
Windows Latest: Pipelines - Run 20220310.4 logs (azure.com)
Mac Latest: Pipelines - Run 20220310.6 logs (azure.com)
What happens if pipeline still has publish step for artifacts (it fails that step): Pipelines - Run 20220310.8 logs (azure.com)

Motivation
Feature work, partially addressing #1063
Context
I initially attempted to use the uploadArtifact method defined in the azure-pipelines-task-lib/task library only to find out that under the hood it uses the special logging command via a console.log call.  We are capturing and modifying the stdout, and anything that uses a console.log receives a ##debug prefix.  Once I realized that the underlying mechanism was to use the logging commands, I switched to using the logging command directly.
Pull request checklist

[n/a] Addresses an existing issue: Fixes #0000
[x] Added relevant unit test for your changes. (yarn test)
[x] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[x] Ran precheckin (yarn precheckin)
[ ] (after PR created) The Accessibility Checks (pull_request) check should fail. All other checks should pass.

Codecov Report

Merging #1085 (4bd5463) into main (fc1a26c) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1085      +/-   ##
==========================================
+ Coverage   89.65%   89.70%   +0.04%
==========================================
  Files          54       54
  Lines        1286     1292       +6
  Branches      151      152       +1
==========================================
+ Hits         1153     1159       +6
  Misses        133      133

Impacted Files
Coverage Δ

...tension/src/output-hooks/ado-stdout-transformer.ts
93.10% <ø> (ø)

...ss-reporter/console/ado-console-comment-creator.ts
95.00% <100.00%> (+0.55%)
:arrow_up:

...s/ado-extension/src/task-config/ado-task-config.ts
100.00% <100.00%> (ø)

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 fc1a26c...4bd5463. Read the comment docs.


Use "property" instead of "field" in 400.28 error message

We should consistently use "property" when referencing members of an Entity.
Should we consider a more specific message if the error is that properties are not nested in data?

And really this is about unexpected JSON properties, not even Entity properties yet.


Pretrained model

Very grateful for the author's work! Could the author please provide the pretrained model and the code for inference?

sure.  will do this week.

thank you for this contribution. a single-image inference would be awesome for mortals like me  :-d

hi,
sorry for the delay.
please find here all (44) the pretrained weights, evaluations scripts for datasets and single image, folds, and facial landmarks.
closing. reopen in case of issue.
thanks

thank you soooooooooooooo much!!!! And all the best...
Enes.


Unable to set property 'privilege' to 'SMSCommand'

Hi to all.
in release 2.0.2 we have waring:
Unable to set property 'privilege' to 'SMSCommand' on org.asteriskjava.manager.response.ManagerResponse: no setter.
Brgs,
Niemi

I can't find SMSCommand in any version of Asterisk going back to 1.4 - what kind of Asterisk server is this coming from?

I'm going to close this for now because I don't feel this is an asterisk-java issue, but feel free to comment if you disagree and I will re-open it.


Session crashed on colab

Hi,
Have you guys managed to make it works on T4 colab?
P.S. It crashes multiple times even with offload_per_layer = 5 as mentioned in the comment.

Hey! Just tried running the notebook and everything works for me. Have you tinkered with the original notebook in any way? If not, try restarting the session and running it again starting from the model initialization cell.

Hey!
Can you please provide some more information:

On which cell exactly did the notebook crush with offload_per_layer = 4?
How many of RAM and GPU VRAM did you have in Google Colab?

Note that our demo notebook should run normally in Google Colab with offload_per_layer = 4, but will crush sometimes with offload_per_layer = 5. The latter option is made for local run with low VRAM.

hqq_aten package not installed. HQQBackend.ATEN backend will not work unless you install the hqq_aten lib in hqq/kernels.

hqq_aten package not installed. HQQBackend.ATEN backend will not work unless you install the hqq_aten lib in hqq/kernels.

Hqq_aten is not required as we have custom triton kernels for GEMV.

This issue appears to be resolved -- closing.


Update kmeans.py

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

daw