Error while configuring ScopeStore on IdentityServer3 (version 2.1)

Hi,
I am new to IdentityServer3.I am getting the following error while configuring ScopeStore
{"Schema specified is not valid. Errors: \r\nThe relationship 'MaterdbModel.FK_dbo_ScopeClaims_dbo_Scopes_Scope_Id'
was not loaded because the type 'MaterdbModel.ScopeClaim' is not available.\r\nThe following information may be useful in resolving the previous error:
\r\nThe required property 'Scope_Id' does not exist on the type 'IdentityServer3.EntityFramework.Entities.ScopeClaim'.\r\n\r\n"}.
Please have a look and update the codebase and nuget package asap.
Thanks,
Amit

How did you create the DB? Did you use migrations?
https://identityserver.github.io/Documentation/docsv2/ef/migrations.html

I created the DB using EntityFramework sample provided in Samples.

Using migrations (the way our docs suggest)?

Let me try it and let you know.I haven't used migrations.

I am getting the following error :
Checking if the context targets an existing database...
System.InvalidOperationException: Can not override the connection for this context with an EntityConnection because the original connection was a standard DbConnection.
at System.Data.Entity.Internal.LazyInternalContext.OverrideConnection(IInternalConnection connection)
at System.Data.Entity.Infrastructure.DbContextInfo.ConfigureContext(DbContext context)
at System.Data.Entity.Internal.InternalContext.ApplyContextInfo(DbContextInfo info)
at System.Data.Entity.Infrastructure.DbContextInfo.CreateInstance()
at System.Data.Entity.Infrastructure.DbContextInfo..ctor(Type contextType, DbProviderInfo modelProviderInfo, AppConfig config, DbConnectionInfo connectionInfo, Func`1 resolver)
at System.Data.Entity.Migrations.DbMigrator..ctor(DbMigrationsConfiguration configuration, DbContext usersContext, DatabaseExistenceState existenceState, Boolean calledByCreateDatabase)
at System.Data.Entity.Migrations.DbMigrator..ctor(DbMigrationsConfiguration configuration)
at System.Data.Entity.Migrations.Design.MigrationScaffolder..ctor(DbMigrationsConfiguration migrationsConfiguration)
at System.Data.Entity.Migrations.Design.ToolingFacade.ScaffoldRunner.Run()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner)
at System.Data.Entity.Migrations.Design.ToolingFacade.ScaffoldInitialCreate(String language, String rootNamespace)
at System.Data.Entity.Migrations.EnableMigrationsCommand.<>c__DisplayClass2.<.ctor>b__0()
at System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command)
Can not override the connection for this context with an EntityConnection because the original connection was a standard DbConnection.
after running following command in PM console:
Enable-Migrations -MigrationsDirectory Migrations\OperationalConfiguration -ContextTypeName OperationalDbContext -ContextAssemblyName IdentityServer3.EntityFramework -ConnectionStringName materdbentities

I'm not sure what that means. This sample has all the migrations up to our latest 2.2 release:
https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/EntityFramework

I recreated the DB using EntityFramework sample (ver 2.2) and also updating the Identityserver3 Dll (ver 2.2) and still the same issue persists.Actually i am trying to create custom scopestore, the main page comes up but when i click on discovery document link on it, i get the following error :
Schema specified is not valid. Errors:
The relationship 'TestingDBModel.FK_dbo_ScopeClaims_dbo_Scopes_Scope_Id' was not loaded because the type 'TestingDBModel.ScopeClaim' is not available.
The following information may be useful in resolving the previous error:
The required property 'Scope_Id' does not exist on the type 'IdentityServer3.EntityFramework.Entities.ScopeClaim'.
The relationship 'TestingDBModel.FK_dbo_ScopeSecrets_dbo_Scopes_Scope_Id' was not loaded because the type 'TestingDBModel.ScopeSecret' is not available.
The following information may be useful in resolving the previous error:
The required property 'Scope_Id' does not exist on the type 'IdentityServer3.EntityFramework.Entities.ScopeSecret'.

Sorry -- you're dealing with EF at this point. I don't have any suggestions to help.


step 4 google login get sign in error

Error 401: disabled_client
Sign in with Google temporarily disabled for this app. This app has not been verified yet by Google in order to use Google Sign In.

This will be fixed in the next official update. Already fixed internally. We are verified now under a diff project name


[WIP] Added black formater for the code with code-checker on pull

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Fixes # (issue).
As discussed in slack, this is a pr for adding black with github actions.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

May I point you to the transformers library for inspiration/guidance?
Their setup.cfg configures this with isort and flake8. Additionally, their Makefile provides simple commands for devs to run before pushing up. No confusing precommit hooks in their build pipeline, just checks to see if it matches the desired format.
If your PR doesn't match, you just quickly run the make style command and push the changes back up to get the build to pass the style checks.

@kumuji @Borda let's get this merged?

@kumuji
Run black --config=black.toml --check .
Error: Could not open file black.toml: Error reading configuration file: [Errno 2] No such file or directory: 'black.toml'
##[error]Process completed with exit code 1.

I can move it to setup.cfg, now I know how. I will update soon, just a few days

so this applies black everytime we merge a PR into master? and will it only affect changed lines or always the whole file someone edits?

so this applies black everytime we merge a PR into master? and will it only affect changed lines or always the whole file someone edits?

The check is commented so it still optional not mandatory...
Just to define common rules if someone is using black =)


Unable to start normally!!!

crash-2023-11-02_21.32.37-client.txt
crash-2023-11-02_21.39.36-client.txt

Caused by: java.lang.NullPointerException: Cannot find mod container for id snifferplus
	at com.helliongames.snifferplus.registration.ForgeRegistrationFactory.create(ForgeRegistrationFactory.java:24) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23641!/:0.2.0] {re:classloading}
	```
Not caused by my mod for the first one.

2nd one means you need to update AzureLib.

The game cannot start due to the latest updates

Works fine for me.


Strip light not working through Homekit

What issue do you have? Please be as thorough and explicit as possible.
I have the H6110 Strip light setup. It has worked flawlessly with homekit since i got it setup. It stopped working about a week ago. Based on the logs in Homebridge, i can see that homebridge is receiving the command and parsing it properly (no errors). I can see that the light is active and showing up in the app. However, turning it on and off does nothing. The light is only controllable using the Govee app and nothing else.
Details of your setup.

Do you use Homebridge (with config-ui?) or HOOBS?
i am using Homebridge with config ui

Which version of Homebridge/HOOBS do you have?
version 1.3.3

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

v2.13.2

Which Govee devices do you have that are causing issues? Please include product models if applicable.

H6110 strip light
Please paste any relevant logs below.

Hi @damanveen are you still having issues with your device?
If you turn on plugin debug logging, can you post a line from your log when the plugin receives an update from govee? (the line that appears every 15 seconds)

Here is what I see when trying to turn the light on and off:

On Mar 19, 2021 at 3:27 AM,  <Ben @.***)>  wrote:
Hi  @damanveen (https://github.com/damanveen)  are you still having issues with your device?
If you turn on plugin debug logging, can you post a line from your log when the plugin receives an update from govee? (the line that appears every 15 seconds)
—
You are receiving this because you were mentioned.
Reply to this email directly,   view it on GitHub (https://github.com/bwp91/homebridge-govee/issues/57#issuecomment-802616067), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/ADUHVKFOFBVULRSAEZMQJI3TEL4GTANCNFSM4ZM2FV6A).

I can’t see anything

How about now:
[{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 10:59:49] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:00:03] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:00:18] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:00:33] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:00:48] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:01:03] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:01:18] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:01:33] [Govee] [Bed light] received update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:01:41] [Govee] [Bed light] sending update {"name":"turn","value":"on"}.
[19/03/2021, 11:01:41] [Govee] [Bed light] current state [on].
[19/03/2021, 11:01:49] [Govee] [Bed light] ignoring update [{"online":"false","powerState":"off","brightness":100,"color":{"r":255,"b":111,"g":178}}].
[19/03/2021, 11:01:49] [Govee] [Bed light] sending update {"name":"turn","value":"off"}.
[19/03/2021, 11:01:50] [Govee] [Bed light] current state [off].

On Mar 19, 2021 at 10:59 AM,  <Ben @.***)>  wrote:
I can’t see anything
—
You are receiving this because you were mentioned.
Reply to this email directly,   view it on GitHub (https://github.com/bwp91/homebridge-govee/issues/57#issuecomment-802895570), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/ADUHVKETHATBL26HADVS4NLTENREHANCNFSM4ZM2FV6A).

The online: false in the logs mean that the device isn’t connected to wifi. whether it is dropping the connection? If you look in the Govee app you might see an icon showing wifi disconnected.

The red icon like in this screenshot here:
https://github.com/bwp91/homebridge-govee/issues/51#issuecomment-779203312

Interesting, I thought the device still had wifi since the google home was sending commands and letting me know if the light is on or not (even though it didn’t actually do anything to change the light). Normally it would just say device isn’t responding or something.
I’ll try and reset wifi on the device and see if that fixes it.

On Mar 19, 2021 at 11:07 AM,  <Ben @.***)>  wrote:
The red icon like in this screenshot here:
#51 (comment) (https://github.com/bwp91/homebridge-govee/issues/51#issuecomment-779203312)
—
You are receiving this because you were mentioned.
Reply to this email directly,   view it on GitHub (https://github.com/bwp91/homebridge-govee/issues/57#issuecomment-802901215), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/ADUHVKEK6WNQWN4GYCAMCJLTENSCHANCNFSM4ZM2FV6A).

That fixed it! Thanks

On Mar 19, 2021 at 11:12 AM,  <Daman Singh @.***)>  wrote:
Interesting, I thought the device still had wifi since the google home was sending commands and letting me know if the light is on or not (even though it didn’t actually do anything to change the light). Normally it would just say device isn’t responding or something.
I’ll try and reset wifi on the device and see if that fixes it.

On Mar 19, 2021 at 11:07 AM,  <Ben @.***)>  wrote:
The red icon like in this screenshot here:
#51 (comment) (https://github.com/bwp91/homebridge-govee/issues/51#issuecomment-779203312)
—
You are receiving this because you were mentioned.
Reply to this email directly,   view it on GitHub (https://github.com/bwp91/homebridge-govee/issues/57#issuecomment-802901215), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/ADUHVKEK6WNQWN4GYCAMCJLTENSCHANCNFSM4ZM2FV6A).

One thing I will look into is messages in the log if the device is reported online/offline.
Hopefully this will make it clearer in a future version if any device is reported offline.

Thank you for the clarification! I’ll keep a lookout for the next time

On Mar 19, 2021 at 12:25 PM (x-apple-data-detectors://0),  <Ben @.***)>  wrote:
One thing I will look into is messages in the log if the device is reported online/offline.
Hopefully this will make it clearer in a future version if any device is reported offline.
—
You are receiving this because you were mentioned.
Reply to this email directly,   view it on GitHub (https://github.com/bwp91/homebridge-govee/issues/57#issuecomment-802954755), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/ADUHVKBY4VQZHIUXTYFNRRLTEN3HLANCNFSM4ZM2FV6A).


'x:Bind' not working inside DataTemplate's when using it inside a custom control.

Describe the bug
When we use the ComboBox ItemsSource as x:bind inside the Data Template, it uses as custom control. The binding item source value is not rendering in the Combobox items. Please find the sample and video below for more details,
App15.zip
https://github.com/microsoft/microsoft-ui-xaml/assets/93642597/d746805e-960a-4d1d-a08c-6d9deee76092
In x:bind, it not works. (ItemsSource="{x:Bind local:MainViewModel.ComboBoxItems, Mode=OneWay}")
In Binding, it works. (ItemsSource="{Binding ComboBoxItems}")
Steps to reproduce the bug

Run the sample.
open the combobox.
Note, ComboBox items are not render when we use it as x:bind in ItemsSource.

Expected behavior
Need to show the items in both x:bind and Binding
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.3.1: 1.3.230502000
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response

You are using x:Bind in a wrong way. Your data template does not have x:DataType.
Also, your custom control uses contentpresenter without having content (it will always be null), and x:Bind mechanism does not work with null DataContexts.
This is not a bug in winui.

In ComboBox ItemTemplate, we can't be able to use x:bind to bind the property's value for below code,
<ComboBox x:Name="CountryComboBox"
ItemsSource="{x:Bind model.Countries}" >

        <ComboBox.ItemTemplate>

            <DataTemplate x:DataType="local:Country">

                <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">

                    <Grid.ColumnDefinitions>

                        <ColumnDefinition Width="Auto" />

                        <ColumnDefinition Width="*" />

                    </Grid.ColumnDefinitions>

                    <ImageIcon

                Grid.Column="0"

                Width="24"

                Height="24"

                Source="{x:Bind CountryFlagPath}" />

                    <TextBlock

                Grid.Column="1"

                VerticalAlignment="Center"

                Text="{x:Bind CountryName}" />

                </Grid>

            </DataTemplate>

        </ComboBox.ItemTemplate>

    </ComboBox>

You are using x:Bind in a wrong way. Your data template does not have x:DataType.
Also, your custom control uses contentpresenter without having content (it will always be null), and x:Bind mechanism does not work with null DataContexts.
This is not a bug in winui.

Does this mean by design, we cannot use x:Bind for the ItemsSource of a ComboBox inside a DataTemplate?

This is probably related also to #2508


(motionlibrary_layer) Change in motion library to take a duration apart from the goal

closed by #47


Feature/colejd/misc changes

Resolves #619, and improves stability

Please double-check 70f9283.

❤


Add isBase64 string property

This PR adds isBase64 string property.

If we add this, do we need this for the other hash functions as well? Sha, md5 etc? 🤔

If we add this, do we need this for the other hash functions as well? Sha, md5 etc? 🤔

Maybe it makes sense only for base64 due to the base64Decoded string property, or make base64Decoded detect if a string is a base64 through str.base64?.base64Decoded.

What's the use-case for this? Is it for defining a constraint?
Today, you can do this in-language:
function isBase64(str: String) = str.match(Regex("[-A-Za-z0-9+/]*={0,3}"))

Or, a more precise version, and also a little bit more expensive:
import "pkl:test"

function isBase64(str: String) = test.catch(() -> str.base64Decoded) == null


Kick Idle Players

Description
As an admin, I'd like to be able to configure a maximum idle time and kick players above that threshold.
If there is no idle time set, players will not be kicked.
This might require a few changes to see when the player last entered a command, but I don't think it would require any major refactors.
Expected outcome
Idling forever can lead to being kicked.
Actual outcome
I can idle infinitely without being kicked and there is no way to configure otherwise.
Steps to reproduce
Idle forever.
Version of Ranvier
1.0.1

Might just implement a timer per person. Every tick updates timer. If any values on timer list greater than timeout value set in ranvier.json (or where ever) then kick. Could even have it check if it's enabled before every tick and just not update that or just set it to 0.
Every input entered would of course drop their counter back to 0... Unless there is no common input handler/point...

That could work. The common input handler would be the command parser or command event.

The command event would be the better place to put it.


Support full-text indexing for EEBO-TCP content

[x] Refactor page indexing (RSK)
~Review page indexing refactor (LT)~

closing this as a completed sub-task of #600  - testing should be done on that issue


Use of @apply ... #{'!important'} in scss

What version of prettier-plugin-tailwindcss are you using?
v0.5.3
What version of Tailwind CSS are you using?
v3.3.3
What version of Node.js are you using?
v18.16.0
What package manager are you using?
npm
What operating system are you using?
Ubuntu
Reproduction URL
https://github.com/abrahamsaanchez/prettier-plugin-important
Describe your issue
As you can see in the styles.scss file in the provided repo, when the plugin order the class the #{'!important'} go to the first place, breaking the @apply rule.
The #{'!important'}  should be at the last place.

Hey, I've merged this fix in #212 and gone ahead and published a release to NPM. This is now available as v0.5.4.
Thanks for reporting it!


Do u have any test results from Interoperability testing at mqtt.org?

http://mqtt.org/

http://acro-engineer.hatenablog.com/entry/2015/12/09/120500

@linearregression, passed eclipse paho interoperability tests: https://eclipse.org/paho/clients/testing/


improve Release useless info for the finished job to reduce mem usage

Proposed changes
Issue Number: close #xxx
The info about snapshot files is not visible in the result of SHOW RESTORE, but it costs a lot of memory.

Here is an example of a restore job about a large table, the main memory usage is in :

jobInfo

backupOlapTableObjects
tabletBeMap
tabletSnapshotPathMap

fileMapping

mapping
overwriteMap

This PR clear these fields when task is finished/cancelled, to reduce the memory usage.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM

run buildall

run buildall


Update constants-for-cryptencodeobject-and-cryptdecodeobject.md

There was a mistake in OID for Key_Usage.
Correct one is <IP_ADDRESS>
https://www.alvestrand.no/objectid/<IP_ADDRESS>.html
Also checked by using crypto32.dll

@AndyMcFishka : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@AndyMcFishka : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@QuinnRadich: I'm sorry - only the author of this article, @lastnameholiu, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Remove Arabic - no translation present

Maybe the content was not transferred properly from Weblate?

Hooray Jenkins reported success with all tests good!

Other way around I believe - we got a request in to add Arabic so a translator could work from within Weblate?
Looks like that was #2620
Weblate looks to have gone down again so I can't check if anything is there. It looks like its branch is getting pretty outdated at this point though.

I'm happy to add it as soon as we have the translation and the typescript. That said, I suggest removing the broken translation until then.

Here's a thought - and I think I noted this in another related PR/issue but I can't find it right now - would it be wise for us to include a config option to exclude a language from the drop-down specifically so we can add new ("empty") languages and the other language PRs missing fonts, to continue working on them (and letting them show up in Weblate for translator work) but not show in-game until they're suitably complete?
Pretty much give the language drop-down an extra logic hook to check a variable for excluded languages (could even simply be a constant in the relevant class) and if such a language file is found simply ignore it.
I think I'll submit a feature request for it, then we can work it separately and if somebody gets it fast enough we can get the pending language stuff out of the way :-)

#2784 got worked real fast and now excludes Arabic. Closing this as completed via workaround I guess :-)
One quirk: Arabic is a language without a single country to source a suitable flag icon from. I found a couple options via Google and on Wikipedia for ways to connect a flag to Arabic, but they seemed dubious.  I went ahead and made a pure green flag instead - hopefully that'll work for now.
The language code ar for Arabic sort of conflicts with the country code ar for Argentina, but luckily they speak Spanish so we'll never need a language entry with that flag icon. Conflict avoided!


Change the system prompt to force Sydney to generate 3 suggestions, as suggestions may now be generated by external AI

Is your feature request related to a problem? Please describe.
suggestions may now be generated by external AI
if suggestions appear in type == 1 message, they're generated by Sydney.
if suggestions only appear in type == 2 message, they're generated by an external AI.
The external AI generated suggestions are sometimes unrelated to the conversation.
Describe the solution you'd like
Add Always generate 3 suggestions. to system prompt.
Describe alternatives you've considered
No
Additional context
No

So this is my guess. I have tried to have AI generate multiple messages before. When AI generates the first messages, it may be intercepted. When it tried to generate the second message's suggestion after being cut off, there was no system prompt. This is just my guess,idk,but it does bypass some censorship.(Translated by translation software)


docs: add myst parser

Related PR: https://github.com/scylladb/sphinx-scylladb-theme/pull/803
This PR replaces Sphinx's deprecated extension recommonmark with myst-parser, as per https://sphinx-theme.scylladb.com/stable/configuration/markdown.html#recommonmark-parser.
How to test
Check the docs build and display without errors.

cc/ @annastuchlik


Windows does not correctly detect the available number of cores

To reproduce on a windows machine, right click the "My Computer" icon in Windows Explorer and open its Properties menu.  Note the number of cores.  Vapor will only report that 1 is available.  The following screenshot is of a processor that has 2 cores.

@shaomeng - Do you know exactly where we use parallelism throughout the application?  None in flow right?  Just VDC?

Flow and vdc for sure, and probably during the construction of a kd tree,
which is again in vdc.
On Tue, Jan 30, 2024, 11:59 AM sgpearse @.***> wrote:

@shaomeng https://github.com/shaomeng - Do you know exactly where we
use parallelism throughout the application? None in flow right? Just VDC?
—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/VAPOR/issues/3507#issuecomment-1917696660, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGG6JJZA52U3NAERYNOKPLYRE7JZAVCNFSM6AAAAABA5AQPWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGY4TMNRWGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


testcafe does not work in a jenkins slave running at k8s

What is your Test Scenario?

I would like to run some tests.
What is the Current behavior?

I can run the tests locally and using docker with this command
testcafe chromium:headless /tests/e2e-tests/ --fixture-meta 'xyz=one' -r spec,json:reports/report1.json
But in a jenkins slave I get an error like this:
The specified selector does not match any element in the DOM tree.

The screenshoot function generates an empty/white page.
The funny thing is It work fine in case I just start some random pod and execute the tests there...
What is the Expected behavior?

testcafe should produce the same results locally, in docker, in k8s, in a jenkins slave in k8s
What is your web application and your TestCafe test code?

       > | Selector('.l-header__searchWrap')

      Browser: Chrome 86.0.4240.111 / Linux 0.0

         13 |    }
         14 |  }
         15 |
         16 |  search = async (t: TestController, partName: string) => {
         17 |    const getURLTxt = await getURL()
       > 18 |    await t.hover(Selector('.l-header__searchWrap'), {
      offsetX: 1, offsetY: 50 }); //Move mouse vertical below navigation
      menu to avoid dropdown effect on hover
         19 |    await t.typeText(this.searchBar, partName, { replace:
      true });
         20 |    await this.firstElement(t, partName);
         21 |    if (await this.modalInput.exists) {
         22 |      await t.typeText(this.modalInput, "1", { replace: true
      });
         23 |      await t.click(this.modalAddToCart);

         at HomePage.<anonymous>
      (/tests/e2e-tests/pages/home_page.ts:18:13)
         at fulfilled (/tests/e2e-tests/pages/home_page.ts:5:58)

Your website URL (or attach your complete example):

Your complete test code (or attach your test files):

Your complete configuration file (if any):

Your complete test report:

Screenshots:

Steps to Reproduce:

I haven't been able to reproduce this error outside of a jenkins slave running in k8s. Even running the command inside container works (using kubectl exec ...).
Your Environment details:

testcafe version:    1.8.2
node.js version:    v14.15.3
command-line arguments:
browser name and version: 86.0.4240.111
platform and version:
other:

Hi @runningman84,
Try to run your tests with the latest testcafe version (1.10.1) and let us know about your results.

Hi @runningman84,
Try to run your tests with the latest testcafe version (1.10.1) and let us know about your results.

Perhaps this helps: https://github.com/DevExpress/testcafe/issues/7671#issuecomment-1716154759


feat: Integrate basilisk-hs for card storage alongside legacy locker

Type of Change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description
This PR is an extension for #704 . Earlier @manoj-juspay added the support for basilisk_hs permanent locker. But, in doing so removed the support of legacy locker. The current situation of the testing environment will still be using the legacy locker or some time, and for the mean while, we also need to support both lockers. Once, the testing environment also receives the required infra changes we can completely remove the deprecated locker code, while is being added in this PR.

Additional Changes

[ ] This PR modifies the database schema
[x] This PR modifies application configuration/environment variables

This change adds a new field under the configuration [locker]
[locker]
locker_setup = "legacy_locker" // "basilisk_locker"

Motivation and Context

How did you test it?
Testing is required on the sandbox environment to observer the full effect of this change

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

This force push was required, the history of the current branch and the base branch differed greatly, but as the base branch has been up-to-date with main, the latest commits were no longer required

https://github.com/juspay/hyperswitch/pull/718#discussion_r1133546509
Yes, for the current scenario, I have set it as None


Search not working in Angular 10

There is a problem with searching in Angular 10.  The search results seem to be "delayed" by one interaction.
In the screenshot below, I typed in the letter 'c' in the search - I would expect two results: France and Canada.

When I click my mouse either outside of the browser or right next to the letter 'c' in the search box it then displays correctly:

In Angular 8 I did not have to have a second interaction in order to see the search results.
Any help would be appreciated
Versions:
Angular 10.1.6
Angular2-multiselect-dropdown 4.6.5

The same behavior in my project!

Hey guys, you can try my fix using my fork

This remains broken in the recently released 4.6.6 version as well.

A workaround: you can add a keydown host listener and do a setTimeout(()=>{}) to force the angular digest cycle to trigger.

Thank you @eszione !
I went ahead and created a simple directive to wrap this code in so that it will be easy to take out later when the problem is officially fixed and to focus the keydown listener on only the multiselect component itself.
app-multiselect-search-fix.directive.ts
import { Directive, HostListener } from '@angular/core';

@Directive({
  selector: '[fixSearchBug]'
})
export class MultiselectSearchFixDirective {
  // trigger an additional change detection cycle
  @HostListener('keydown') onKeydownHandler() {
    setTimeout(()=>{});
  }
}

app.module.ts
...
import { MultiselectSearchFixDirective } from './app-multiselect-search-fix.directive';

@NgModule({
  declarations: [
    AppComponent,
    MultiselectSearchFixDirective
  ],
  ...
})
export class AppModule { }

app-component.html
<angular2-multiselect [data]="dropdownList" [(ngModel)]="selectedItems" [settings]="dropdownSettings"
    (onSelect)="onItemSelect($event)" (onDeSelect)="onItemDeSelect($event)"
    (onSelectAll)="onSelectAll($event)" (onDeSelectAll)="onDeSelectAll($event)"
    bugFixDirective></angular2-multiselect>


TST: Use ZiplineTestCase for test column.

Use WithSeededRandomPipelineEngine instead temp_pipeline_engine.
There will be slight changes in the expected and result indices, since a
trading calendar is used instead of a daily date range; however those changes do
not affect the intent of the test.

Coverage decreased (-0.04%) to 87.164% when pulling f935c099f0ca2594b1b0b47674142f8a6e4482ee on use-fixtures-for-latest-test-case into ec94e5aa9f57c30939d18585758d15da352b9dce on master.


Upgrade core to 10.7.0

Upgrade core to 10.7.0.
Changelog notes:
I didn't include the core "Internal" section in the changelog because they are internal.
I didn't include the following core change "Fix" notes:
The client reset callbacks now pass out SharedRealm objects instead of TransactionRefs. (#5048, since v11.5.0)
- Previous transactionRef format hadn't been exposed to the developer yet.
A client reset in DiscardLocal mode would revert to Manual mode on the next restart of the session. (#5050, since v11.5.0)
- DiscardLocal hadn't been exposed in realm-cocoa yet.
A client reset in DiscardLocal mode would assert if the server added embedded object tables. (#5069, since v11.5.0)
- DiscardLocal hadn't been exposed in realm-cocoa yet.
The client reset callbacks have changed so that the pre and post Realm state are passed to the 'after' callback and thee 'before' callback only has the local state. (#5066, since 11.5.0).
- Before and after callbacks hadn't been exposed in realm-cocoa yet.
In the C-API, query count() did not apply descriptors such as limit/distinct. (#5073, since the beginning of the C-API in v10.4.0)
- C-API

11.7.0, not 10.7.0.
The 11.7.0 release is broken and is missing a bunch of headers so the non-spm builds don't work.


change the PostObject api name and add test cases for it.

the tests specified by 'https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html' has been passed.
also add one unit test: Test_PostObject and it also passed.

@cxt90730 @thesues @dahefanteng pls help to review this pr, thanks a lot.


Replace favicon with something more appropriate

At the moment we're using a placeholder hot dog emoji for our favicon, but something that is specific to the site would be better. Any thoughts on this would be appreciated because other than wanting a change I don't really have a path forward.

Maybe a spinning top? That Inception callback might be appropriate for the "learnhowtolearnhowto" deal.


Grid utils

This was unintended PR, so I close it at this point. Let's come back to this later, looks good in any case!


Create 'go live' plan

e.g. social media channels, announcement plan, etc.

also final testing before go live

i can track this somewhere else. im going to close to de-clutter the issues list.


Cannot reproduce results quoted in paper

I'm sure I'm doing something wrong. I am reproducing the results by training the model from scratch using the preprocessed dataset provided. I've used 11 epochs and the rest of my hyperparameters are the defaults in the repository. I used the pybert/model_setup/CAB_dataset_script.py script to generate extra training examples.
I'm getting recall@5 as 15.27 and the other metrics are correspondingly a bit lower as well. Is there something that I'm missing?
Are there any other parameters I need to take care of?

Hi @AKBakshay can you look at @Josh1108 's problem with replication?  Thanks!

Hi @Josh1108. It is difficult to state the reason for the mismatch in results with insufficient details. Kindly, check if the training setup is correct and have a look at logs if there is some issue while training.


Track upstreamed performance changes for parboiled2

Due to https://github.com/apache/incubator-pekko-http/pull/14 we are now using an upstream parboiled2 rather than having our own in source version. As a result of this change we lost some minor performance improvements that was done internally which haven't been upstreamed to parboiled2 yet (see https://github.com/apache/incubator-pekko-http/issues/1#issuecomment-1432878256)
This is a meta issue to track these upstream changes

https://github.com/sirthias/parboiled2/pull/416 from https://github.com/apache/incubator-pekko-http/commit/d3b1322d4526171370935ec7b4648bc45fabc672
https://github.com/sirthias/parboiled2/pull/417 from https://github.com/apache/incubator-pekko-http/commit/1a50f8afd1f21b2c686b8015034a12a1fed47ce1
https://github.com/sirthias/parboiled2/pull/418 from https://github.com/apache/incubator-pekko-http/commit/58d8f48f2bb81f3eedbc743aa890dc8e80da252f
https://github.com/sirthias/parboiled2/pull/419 from https://github.com/apache/incubator-pekko-http/commit/14f5ae3cbb50240b25f60dda8182284a0776d1a2

@jrudolph A snapshot of parboiled2 was just released (see https://github.com/sirthias/parboiled2/actions/runs/4355422072/jobs/7612130167) that contains the upstreamed performance improvements mentioned in this issue so its now possible to create a PR restoring the performance improvements from pekko-http side.


The BIGINT option bigNumberStrings=true ignored for results.insertId

For INSERT query the last insertId is not cast to string when the auto-increment column is bigint. The bigNumberStrings is ignored and the result is returned as number.
typeof results.insertId == number

Hi @AgnisLV in the MySQL protocol, the insertId is always returned as a BIGINT no matter the query. The bigNumberStrings is specifically around the typecasting of columns, not of the other aspects of MySQL protocol packets (like the results packet).

Then it follows that the insertId  cannot be fully relied on in all cases, due to potential precision errors. Warning in the docs might be handy.

AFAIK there is no loss in the value. Can you provide a reproduction for the precision loss you are seeing so we can take a look?

Sorry, I was too hasty with my last comment. It seems that if supportBigNumbers  is enabled then insertId will be returned as a String when numbers are large enough. All clear now.


Stopped working after update to 1.0.4

everything worked until I tried to update to 1.0.4
updated node to latest, mkv updated to latest, followed instructions, all seemed fine, but mkv does not connect (does not show "Remote Access..." when starting anymore).
troubleshooting only goes this far:
  Error: Cannot find module 'express'
    Require stack:
    - C:\Users\--------\AppData\Roaming\mpv\scripts\mpvremote\remoteServer.js
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
        at Function.Module._load (node:internal/modules/cjs/loader:778:27)
        at Module.require (node:internal/modules/cjs/loader:999:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object.<anonymous> (C:\Users\--------\AppData\Roaming\mpv\scripts\mpvremote\remoteServer.js:9:17)
        at Module._compile (node:internal/modules/cjs/loader:1097:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
        at Module.load (node:internal/modules/cjs/loader:975:32)
        at Function.Module._load (node:internal/modules/cjs/loader:822:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
        'C:\\Users\\--------\\AppData\\Roaming\\mpv\\scripts\\mpvremote\\remoteServer.js'
      ]
    }

    Node.js v17.4.0

Win10 x64

It seems Express Node.JS module missing for you. Something went wrong with dependency managment (probably)
Try to reinstall the package after opening a Powershell  as administrator (on Windows) :
npm uninstall -g mpv-remote
npm install -g mpv-remote
mpv-remote

After running mpv-remote command follow instructions, 1.0.4 intruduced an automated installer which makes the whole process easier.
Note: Don't worry, the watchlist database not gonna be deleted (if you've used it)

It's working now, yey!
At first I had run installation with cmd and when prompted to choose installer it pointed me to PowerShell but PS did not work because it apparently wasn't allowed to run script on the system... When I enabled it and all commands from PS it installed all fine. Cherry on top - the sliding thru timeline now works from the android app (it didn't before)!
Once again, thanks for this fine tool. Hope you'll find ways and time to improve it further. I'm only gonna hint at custom configurable buttons maybe :D to be able to tie to custom keybinds in input.conf if that sort of thing is possible... For example, I have a keybind to change three predetermined subtitle colors.

I didn't know about powershell behaviour, it's been a while since I've installed MPV-remote to my own Media player HTPC (also running on Windows 10).
About seeking: it's interesting, it should've worked since the first release. When seeking online streamed videos with MPV can cause "problems" because of buffering, but with local file should work fine.
Still working on the project, I'd like to release the app on Google play, but still long way to go.
I don't know about handling of key bindings, but "file-local-options" property of MPV is changable. For example youtube-dl/youtube-dlp settings changable via by that option by file basis. My guess it's implementable, subtitle settings should be on "file-local-options". I've to investigate.
Thanks for your feedback! If you have any more suggestions/issues let me know!

Here's another thing of the top of my head...
mpv can override volume and go up to 130% by default,
I have volume override set to 150% in mpv.conf
--volume-max=150
but can't raise the volume over 100 thru the app.
So, maybe the app should be able to read volume override somehow.
Cheers!
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, January 23rd, 2022 at 7:57 PM, Ferenc Nánási @.***> wrote:

I didn't know about powershell behaviour, it's been a while since I've installed MPV-remote to my own Media player HTPC (also running on Windows 10).
About seeking: it's interesting, it should've worked since the first release. When seeking online streamed videos with MPV can cause "problems" because of buffering, but with local file should work fine.
Still working on the project, I'd like to release the app on Google play, but still long way to go.
I don't know about handling of key bindings, but "file-local-options" property of MPV is changable. For example youtube-dl/youtube-dlp settings changable via by that option by file basis. My guess it's implementable, subtitle settings should be on "file-local-options". I've to investigate.
Thanks for your feedback! If you have any more suggestions/issues let me know!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

Volume max already implemented by @byter11 . It's gonna be available on next release.


Sankaku complex JSON loading error / new tab delay

What steps will reproduce the problem?
Just select sankaku complex with a good user agent and try to load a page. After that you see by the logs every time that the json request was denied. Also when this source is enabled the new tab which automatically opens when you start grabber is delayed and with the other sources enabled it will appear directly. Here a screenshot:
https://i.imgur.com/ZwiYThM.png
What is the expected behavior? What do you get instead?
Not having this error (So probably disable json by default when you install it). And have the new tab directly open when you start grabber with sankaku complex enabled
How often does this problem occur? On which sources?
Everytime on chan.sankakucomplex.com
What version of the program are you using? On what operating system?
Version 6.0.2 with windows 10
Please provide any additional information below

I disabled the JSON API by default in 6.0.3.
As for the delay, it's induced by the login done every time Grabber starts. At start-up, Grabber will login to every source where you have credentials set, and ensure it was successful. It's necessary to do this before loading any page because the way to download page can change depending on whether you're logged in or not (for example the maximum page you can directly access on Sankaku increases from 25 to 50 when you're logged in).
I guess it could be cached or something, but that would add some risk if the site's login system changes while Grabber is closed.
If you don't use Sankaku (or not that often), you can also disable this check by setting the "page page" to 0 here (not that you won't be able to use the "Test" button anymore after that):


Feature/codeclimate test coverage

Pull Request Test Coverage Report for Build 39

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

Totals

Change from base Build 37:
0.0%

Covered Lines:
14

Relevant Lines:
30

💛  - Coveralls

Pull Request Test Coverage Report for Build 39

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

Totals

Change from base Build 37:
0.0%

Covered Lines:
14

Relevant Lines:
30

💛  - Coveralls


Bug: When a book is in multiple series, the "number" of the first series is shown when viewing the second series.

When a book has been added to multiple series - such as when a book is within a subseries inside a larger series - the wrong book number is shown viewing some of the series.
e.g. Smiley's People being part of

The Karla Trilogy  - 3
George Smiley  - 7

When viewing "The Karla Trilogy" the book number is correctly shown as "#3", but when viewing the second series "George Smiley" then the book number is also shown as "#3" instead of expected "#7".  It does however appear that the correct Book number sequence is used for sorting.

see 0.59.0

I can confirm that this fixes the issue and the correct sequence number is now displayed depending which series is being viewed.


Different base container mages used by Fybrik

Fybrik uses different base container images, e.g. ubi8/ubi:8.7 and ubi8/ubi-minimal:8.7.
ubi8/ubi:8.7 doesn't include microdnf so the checks of PR #2008 fail. We have to check if we can install microdnf or use another image.

What tool needs to be installed using microdnf?
please see:
The main difference between the ubi and ubi-minimal images is that the first provides the full yum toolset. Yum adds some dependencies such as Python packages. In contrast, the second provides microdnf as a replacement. The microdnf tool works from the same repositories as Yum, but only provides the ability to install, update, and delete packages:

I just saw @lappanna PR. maybe the RUN command can also be passed as a parameter along with the image such that in the case of ubi image it will use Yum instead of microdnf

adding a new parameter can lead to mistakes and errors, like we've seen with the IMG. It can be the last resort.
Can you check if there are other possibilities?

OK I will check. just FYI, there is a default value for the ARG(s).

Why is Fybrik base image configurable? Any reason not to stay with ubi-minimal?

One of the tls test implements the scenario where the CA certificates of the components in fybrik-system namespace are copied directly to /etc/ssl/certs/ directory in the manager/connector pods. ubi-minimal image has a minimal set of tools and thus lack the tools to copy the certificate. This is why ubi image was used instead. An alternative was to use ubi-minimal image and install the tools with microdnf.

One of the tls tests copies CA certificates of the components in fybrik-system namespace to /etc/ssl/certs/ directory in the manager/connector pods thus needs a tool that is needed for the copy operation and is missing from the ubi-minimal image. One of the options was to install the required tool with microdnf instead of using ubi image. I will try to return to this option. Thanks


How to get HTML with text in Table recognition

I got the html tags, bboxes of cell and labels. I also used the bboxes to OCR the text in the cell.
How do I use the text to fill in the HTML? given that the table cells are not in order and some cells can also be empty values

You can refer to line 139-141 in 'davarocr/davar_table/core/post_processing/post_lgpma.py'. If texts_tokens are the ocr results of each bboxes defined in line 114,  the final html will be available.

I got the html tags, bboxes of cell and labels. I also used the bboxes to OCR the text in the cell. How do I use the text to fill in the HTML? given that the table cells are not in order and some cells can also be empty values
You can refer to line 139-141 in 'davarocr/davar_table/core/post_processing/post_lgpma.py'. If texts_tokens are the ocr results of each bboxes defined in line 114, the final html will be available.

You can refer to line 139-141 in 'davarocr/davar_table/core/post_processing/post_lgpma.py'. If texts_tokens are the ocr results of each bboxes defined in line 114, the final html will be available.

1

thanks! this helps

I think the line you mentioned is from the old version of the code, can you please update the line number for further reference?
Thank you

Also, can you please tell me what exactly are the inputs of the post_processing of lgpma. I have gone through the code
and it says the inputs are as follows:
batch_result(list(Tensor)): prediction results,
like [(box_result, seg_result, local_pyramid_masks, global_pyramid_masks), ...]
**kwargs: other parameters
So I have few questions regarding this,

From where can we get the batch_results?
Are the results from the lgpma model (which contains html_tags, bboxes and labels) same as these batch_results?


[BEAM-2153] Move connection management in JmsIO to setup/teardown methods

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-2153] Move connection management in JmsIO to setup/teardown methods
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

@jbonofre you should also check this since you wrote JmsIO

R: @jbonofre

What's the reason to not do in per bundle ?

I gonna test, but first glance looks good to me. Thanks !

Coverage increased (+0.007%) to 70.203% when pulling 092bb22ee47f343b649a0627440f95e5a4bcbc33 on hepeknet:BEAM-2153 into d6ac39a23e50e82c013e5052b48cb6ffbf929195 on apache:master.


Safe validator initial start

🚀 Feature
Less down time when starting a validator.
Motivation
For network launch in testnet, starting too many validators at the same time has caused network halts. These halts are avoidable if the validator is synced when the bond_validator call is made.
Implementation options

Running a node with start --validator in the case bond has not been called will run the node as client watching for bond_validator. As soon as that transaction is seen the node will shift to validator mode.
Allow bond_public transaction to be sent from validator when it catches up to head. This is effectively a script that runs the validator as a client and then when the client is close to tip issues the bond_validator

In our testing, we start validators all at once all the time and we dont' see network halts.  What are the details of these halts?


Feature request: GitHub repo link handler URI scheme for opening repositories

Is your feature request related to a problem? Please describe.
Opening a public repo with GistPad to read code could be faster.
The current process is:

⌘+Shift+P
> GistPad: Open Repository
Type repository name

As a point of comparison, github1s is a very fast way to view a GitHub repo's codebase from inside a web-based version of Visual Studio Code, e.g. https://github1s.com/codespaces-contrib/gistpad – you just add 1s to the URL in your browser tab.
Describe the solution you'd like
If there was a "Open in VSCode" button on GitHub repo pages, I would click that button often – specifically for reading/searching code quickly. The simplest way to enable that would be a link handler URI scheme.
A URI scheme would be broadly useful. For example, it would let README.md for boilerplate repos add a Open in VSCode button, which would be faster than pasting git clone into your terminal and opening the repo in a local folder
I would be happy to make a "Open in VSCode" button as a very simple Chrome extension (it would just add a button with the link in a good spot on repository pages).
I do have access to Codespaces, but I don't currently use it because for writing code, I would rather use my own editor/environment.

Hey! There's actually already a protocol handler for opening a repo, though it needs to be enhanced in order to make this E2E truly shine. If you launch vscode://vsls-contrib.gistfs/open?repo=microsoft/vscode from your browser, that would open the VS Code repo in VS Code. If you didn't have the GistPad extension installed, it would walk you through installing it and then would open the repo. So if you wanted to create a Chrome extension, you could rely on that URL convention right now.
That said, the current protocol handler automates opening the repo, but it doesn't focus the GistPad tab and scroll the newly opened repo into view. So we could use this issue to track some enhancements that I can make to that behavior. Let me know what you think!

Thanks for getting back to me

If you launch vscode://vsls-contrib.gistfs/open?repo=microsoft/vscode from your browser, that would open the VS Code repo in VS Code

Wow cool!
I ended up just building this CLI tool instead: https://github.com/jarred-sumner/git-peek


Improve rendering on GitBook

The IDS Reference testbed is rendered via Gitbook to https://docs.internationaldataspaces.org/ids-reference-testbed/
The configuration should be updated to:

[ ] use the right Start Page (README.md)
[ ] Update the TOC and navigation bar

Thanks for the update and the proposed improvement in the IDS-testbed.
I have reviewed the proposed changes and I think it should be included at the SUMMARY.md file the Testsuite folder.


OSM convert Opendrive direction error

CARLA version: 0.9.13
Platform/OS: Ubuntu20
Problem you have experienced:
Using carla to convert osm to opendrive, then convert this opendirve to sumo net, found the direction is error.
What you expected to happen:
The correct map is
using sumo netconvert, osm to sumo net map

The carla convert map is (ignore some map details, focus on direction)

using carla osm2odr
using sumo opendirve to sumo net (the netconvert command same as co-simulation code)

The opendirve map direction between carla  convert and sumo netconvert result same as above

Steps to reproduce:
Other information (documentation you consulted, workarounds you tried):

One point(x,y) (carla is -y, sumo y) has one lat lon in two direction maps. So there is no problem with the latitude and longitude corresponding to the local coordinates of two map

I have solved this problem. I'll pull request to carla


Double taskbar icon in Mac

It's "the Dock"

i think this comes from the OS notifications lib

Yes it opens two instances.

If you quit the one on the left, then it closes both ShabadOS windows but one still remains in dock.

But, if you close the window first for the right side one and then you quit it from dock then one instance keeps running (the window for one is not closed).

So each new presenter window is a new instance of electron... so basically it adds it to the dock. We can find a way to group those together and that might solve this issue.

I currently have a single display for Mac, and therefore a single presenter window - are you sure it’s multiple instances? I suppose there is at least 3 processes running: main, renderer, and server

I have an external monitor connected. It opens up two presenter windows and shows me two icons in dock.

We can try using requestSingleInstanceLock()

Using requestSingleInstanceLock will prevent more than one instance being opened, and also won’t be allowed for MAS (although we’re not necessarily going down that route at the moment)

On 17 Jul 2020, at 19:15, ਸਹਜਪ੍ਰੀਤ ਸਿੰਘ<EMAIL_ADDRESS>wrote:

We can try using requestSingleInstanceLock()
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.


[misc] Use static linkage for every Boost components except Python

Related to https://discuss.python.org/t/delocate-auditwheel-but-for-windows/2589/9


HEC-872 timeout handling

I put a Do Not Merge label on it until we agree it can be pulled into this sprint... however reviews welcome!


Forceblade Sorcerer and Distant Hand Monk not getting magical attacks

Both of these classes have a feature that says their attacks should be considered magical for the purposes of overcoming resistances. But I'm not seeing that reflected in the inventory and their attacks are still being resisted by enemies such as the Skeleton Sorcerer who have resistance.
I also have a Blade Caller Rogue in my party and their daggers are properly counting as magical, both in the inventory and when attacking.

Save: bug.zip
Versions: Solasta v1.5.94, mod v<IP_ADDRESS>

fixed here. Thanks.


Proper usage of customParamsForGCloudTool.

I am trying to run tests with coverage as described in https://firebase.google.com/docs/test-lab/android/command-line#code_coverage_reports_for_instrumentation_tests.
When I run the command gcloud firebase test android run ... in terminal It works good. It creates artifacts/coverage.es file in Google Cloud Storage.
With test lab plugin I am able to deploy and test successfully without coverage enabled.
Also I can run tests with coverage if I set
environmentVariables = ["coverage=true"].
But when I try to upload code coverage reports to Google Cloud Storage with commands
environmentVariables = ["coverage=true", coverageFile=\"/sdcard/coverage.ec\""].
customParamsForGCloudTool = ["--directories-to-pull /sdcard"]
as described in document. It returns me the error
Execution failed for task

':app:firebaseTestLabExecuteDebugInstrumentationS7Debug'.
A general failure occurred. Possible causes include: a filename that does not exist, or an HTTP/network error.
Can it be the issue with parsing customParamsForGCloudTool?

After some investigation I find a solution how I can do it. I have to put argument of the parameter to separate item like
environmentVariables = ["coverage=true", "coverageFile=/sdcard/coverage.ec"]
customParamsForGCloudTool = ["--directories-to-pull", "/sdcard"]
Thank you for awesome plugin! I think we can close the issue.


dont cap grace period at 0 for soft evictions

the following flag is currently defaulted on the kubelet: --eviction-max-pod-grace-period="0" which renders any terminationGracePeriodSeconds set on the pod spec useless when said pod is (softly) evicted.
Would be nice to set this to a larger period (300s / 5m?) in order to support pods that need to terminate gracefully when handling long running connections or processes.
Pods that are evicted due to 'soft' thresholds being met are effectively being hard-killed which doesn't seem right to me.

@cjroebuck 👋
Being able to use soft evictions in DOKS sounds like a reasonable request. Apart from the grace period itself, I believe the major challenge is to figure out what the right thresholds are for the individual resource types (memory, disk, etc.). Ideally, we want to be able to use a default value that works for most (all?) clusters.

@cjroebuck would it be possible for you to set resource requests on your affected workload(s) high enough so that pod evictions doesn't even become an issue in the first place?


[gradle-plugin] Update common files for branch master

Update common files

Irrelevant for the Gradle plugin


Could i change the grafana title, login title, and logo, back ground image, etc... ?

This repository now has the new GitHub Discussions enabled:
https://github.com/prometheus-operator/kube-prometheus/discussions
Dear,
I want to change the grafana's title and logo but there is no permission for me.
  securityContext:
    fsGroup: 65534
    runAsNonRoot: true
    runAsUser: 65534

my grafana.deployment.yaml
I think when i change
bash-5.1$ pwd
/usr/share/grafana/public/build
bash-5.1$ grep -rl "Welcome to Grafana" *
4027.d7fb396211ac3ebbd91a.js
4027.d7fb396211ac3ebbd91a.js.map
this json file but i can't write cause it is only readable.
Could you please suggest any idea?
thanks, Best regards.

We are still happy to chat with you in the #prometheus-operator channel on Kubernetes Slack!

Done.


Enable all tests for streams module

Description:
Some tests were disabled in 8b1e0c021229cabf0b8cbf47128d52193489516b. Need to enable them after properly fixing them.

Tests hangs in windows build only. Also they pass when the tests are run from streams modules in all builds.


defineCustomElements is not defined

I tried to use this function on the target app (on which I want to use the web component).
I also tried to use this in the Ember app (in which component exists).

Hi @HarshRohila,
You need to import it from the addon:
import defineCustomElements from 'ember-cli-web-components';

Regards!

So does this approach only work for importing into other ember sites?  I wanted to use it in a plain html site like your demo but there must be some steps missing as I can't get the element to render.

Hi @paladinu, it should work on any website. Maybe you are missing the Ember dependencies. In order for this to work, you need to import the vendor.js and the app.js of the app generated with web components in your target app.

Hi @adrigzr, I have two questions, one is, what if you aren't building your components in an app?  If your ember project is just components instead? Also, I'm wondering in general if it still makes sense to use this package.  I notice it hasn't seen many updates in a while.  Has it served its initial purpose for you, have you moved on to something else?  Have you solved "reusing ember code in other applications" another way?  Thanks for the consideration.


Mapping between the example in annotations.jsonl and physical-interaction-tfrecords

Hello, thank you for the great work!
I have downloaded the annotations.jsonl and physical-interaction-tfrecords. However it is not clear to me how can I find the mapping between the examples in annotations.jsonl and the tfrecords in physical-interaction-tfrecords.
Specifically, what I need is to find the corresponding image frames (pre-condition and post-condition) for the each example in the annotation file. Could you help me with this?
Thank you!

Hi Ying,
If you want the images, I think you might have to do a matching -- but hopefully there's info in there that should help, including the fields "fn" (e.g. /home/rowan/datasets3/ipk-v1/slice_objectx/G70FvDNyl4H0.h5); where each trajectory was initially stored, or "slug", e.g. "data_dec_2_2020/PickupObject-CounterTop-Potato/G70FvDNyl4H0" - a shorter name for each one.
thanks --
Rowan

Hi Ying,
If you want the images, I think you might have to do a matching -- but hopefully there's info in there that should help, including the fields "fn" (e.g. /home/rowan/datasets3/ipk-v1/slice_objectx/G70FvDNyl4H0.h5); where each trajectory was initially stored, or "slug", e.g. "data_dec_2_2020/PickupObject-CounterTop-Potato/G70FvDNyl4H0" - a shorter name for each one.
thanks --
Rowan

Does each entry in the annotations.jsonl has its corresponding tfrecord? I can only find 17 matches between annotations.jsonl and physical-interaction-tfrecords using the ['meta']['fn'] field.


Code won't work

Challenge Bonfire: Seek and Destroy has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function destroyer(arr) {
// Remove all the values
var arr = arguments[0];
var z = [];
var j = 0;
for (i = 1; i < arguments.length-1; i++) {
z[j]=arguments[i];
j = j+1;
}
var chris = 0;
var leny = arr.length;
for (i = 0; i < z.length; i++) {
for (k = 0; k < z.length; k++) {
chris = arr.indexOf(z[k]);
if (chris != -1) {
arr.splice(chris, 1);
}
}
}
return arr;
}
destroyer(["tree", "hamburger", 53], "tree", 53, "");

It passes all the test listed. I tried every test case and they ALL came back with a red "X". However in the black display box it had the CORRECT answer. Did you even run my solution?

This is a duplicate of #3487. Please don't open duplicate issue reports, especially for ones that have been looked over and closed previously.

@ccsears thanks for posting this issue!
Note that your issue is a duplicate of your another issue: #3487 so I'll close this one. You can continue further discussion there, thanks.

Please review the Guidelines for Contributing, thank you!.


Be more clear in the docs that Batch Queries are supposed to

Batch Queries are supposed to manipulate and create new data, things like creating expensive indexes, updates over big tables, and creating tables from complex queries. For instance, doing a "select ..." query has no much effect as the results are not returned/stored in any place.

Okay, I'll edit and tag you to review the PR, thanks!


[Rest Server] Remove deasync

Remove node-etcd and deasync in rest server.

Coverage decreased (-2.4%) to 46.049% when pulling 33b2f42129afef617698fc8e786224f2699ad91a on xiongyf/remove-deasync into cd98507546b56459cd17f3e68073de73492b4f3a on master.


Run one file every two hours (start file JWM)

hello all,
i would like to know if JWM (start file) understands that a file needs to run every two hours, for example:
sleep 9s && /usr/bin/kibojoe/upnotifier 7200 &
so it does not work!
does anyone have any tips?
vlw fwi, Holmes :)

I think that's a job not for JWM or any window manager...  but for cron.
Does the program need to be run every two hours no matter if the user is logged in or not?  I assume this is on a PC you own and not a shared terminal at a university.

It looks like your command would cause JWM to hang for nine seconds at startup. Maybe you mean this?
( sleep 9s && /usr/bin/kibojoe/upnotifier 7200 ) &

hello all,
the upnotifier is a script to check for system updates
the operation is for a personal pc with logged in user
does not crash JWM, script works when you start the system, but not alert every two hours
i'll try the cron...
vlw fwi, Holmes :)

I definitely would put this in as a cron job and use an existing notification system to pop the notice up.

I'm not sure why it wouldn't work within JWM, the startup command thing really just runs the specified command in the background at startup.  I wouldn't think JWM would kill the command or anything.  More logging around it might help (within upnotifier, etc).

ok thank you @joewing @STrRedWolf @yetanothergeek
vlw fwi, Holmes :)


How to exit after calling the request?

Describe the bug
I used Node.js to call a gRPC service with an official example. However, after executing the script, Node.js did not exit and I had to manually call process.exit(0) to exit. Below is the relevant JavaScript code I wrote:
import { createPromiseClient } from "@bufbuild/connect";
import { ElizaService } from<EMAIL_ADDRESS>import { createGrpcTransport } from "@bufbuild/connect-node";
const transport = createGrpcTransport({
  baseUrl: "https://demo.connect.build",
  httpVersion: "2",
});

async function main() {
  const client = createPromiseClient(ElizaService, transport);
  const res = await client.say({ sentence: "I feel happy." });
  console.log(res);
  // process.exit(0);
}
main();

Environment (please complete the following information):

@bufbuild/connect-node version: 0.11.0
Node.js version: 16.16.0

The program will automatically exit in about ten minutes.exited with code=0 in 611.145 seconds

Extending the script with:
const activeHandles = process._getActiveHandles();
const activeRequests = process._getActiveRequests();
console.log("activeHandles", activeHandles.length, activeHandles);
console.log("activeRequest", activeRequests.length, activeRequests);

shows 3 activeHandles, 2 WriteStream  and 1 TLSSocket.

Extending the script with:
await main();

const activeHandles = process._getActiveHandles();
const activeRequests = process._getActiveRequests();
console.log("activeHandles", activeHandles.length, activeHandles);
console.log("activeRequest", activeRequests.length, activeRequests);

shows 3 activeHandles, 2 WriteStream and 1 TLSSocket.
Exits after 10m, I think its a connect pool that is keeping the script from closing.

Thank you for your answer. If it's a connection pool, can we safely exit the program by closing the connection pool?

Hey @luchenqun, with v0.10.0, clients keep the HTTP/2 connection alive. Node.js respects the active socket and does not exit on it's own.
The default timeout for idle connections is 15 minutes. You can provide a smaller value to let your script exit earlier, for example 5 seconds:
const transport = createGrpcTransport({
  baseUrl: "https://demo.connect.build",
  httpVersion: "2",
+ idleConnectionTimeoutMs: 5000,
});

If waiting for the idle timeout is not helpful in your use case, you can close the connection explicitly. You can find an example at the bottom of this PR description: https://github.com/bufbuild/connect-es/pull/673
While this works as intended, it might be surprising without the context. I think we might want to unref the connection so that the code in your example would exit right away.

The enhancement to this behavior was released in v0.12.0. The example in the description should exit on its own now.


completion menu

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
completion menu did not auto disappear
blink
https://github.com/user-attachments/assets/bbdb131a-e8e2-45b6-8e36-034a12f83559
cmp
https://github.com/user-attachments/assets/2eb3f3f4-ceb2-48ef-8b23-8e1d3ee4d339
Relevant configuration
No response
neovim version
NVIM v0.11.0-dev-1276+gae93c7f369
blink.cmp version: branch, tag, or commit
main

Duplicate of #545


MS-plus ZIR format

figure out what we can about the 'ZIR' files

Well, these ones are completely empty....
$ hexdump -C IR000.ZIR | head
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00002000

$ hexdump -C IR001.ZIR | head
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00002000

The others don't appear to show any specific structure, ie.
$ hexdump -C AC370_1U.ZIR | head
00000000  3b 6c 94 3c 6e 38 9d 3c  9b 09 a0 3c 24 04 9d 3c  |;l.<n8.<...<$..<|
00000010  c6 3e 92 3c 5e 84 80 3c  5e ad 51 3c f3 e4 1c 3c  |.>.<^..<^.Q<...<|
00000020  4a ad d2 3b 80 dc 7a 3b  b6 35 16 3b 73 d4 28 3b  |J..;..z;.5.;s.(;|
00000030  06 cf 8d 3b 89 72 f4 3b  8e ab 3e 3c 66 98 7b 3c  |...;.r.;..><f.{<|
00000040  06 6b 96 3c 29 dd a7 3c  89 e3 b1 3c 99 bd b8 3c  |.k.<)..<...<...<|
00000050  92 76 b7 3c 90 0b b6 3c  28 74 b0 3c c3 ba a6 3c  |.v.<...<(t.<...<|
00000060  a4 2d a0 3c ff d1 9a 3c  26 a7 9b 3c 86 db a0 3c  |.-.<...<&..<...<|
00000070  12 bc a4 3c a7 f1 a9 3c  6d 52 af 3c af de b1 3c  |...<...<mR.<...<|
00000080  b2 3b b2 3c 75 11 b2 3c  4b e6 ad 3c 84 60 a1 3c  |.;.<u..<K..<.`.<|
00000090  6f 0c 8e 3c f9 ef 69 3c  8a 10 37 3c ba 72 0c 3c  |o..<..i<..7<.r.<|

https://zoomcorp.com/en/ca/news/what-is-zooms-multi-layer-ir-technology/

So abusing Sox/Audacity, it looks like the ZIR is just a bunch of float values
$ sox -r 48k -e float -b 32 -c 1 --endian little temp.raw temp.wav

Looks like freq plot repeated 3 times. 1536 samples = 512 samples each....

quick way to generate with Construct
$ python3
Python 3.11.4 (main, Dec  7 2023, 15:43:41) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from construct import *
>>> ZIR = Array(1536, Float32l)
>>> data = ZIR.build([0.0] * 1536)
>>> outfile = open("FLAT.ZIR", "wb")
>>> outfile.write(data)
6144
>>> outfile.close()
>>> quit()

$ ls -la FLAT.ZIR
-rw-rw-r-- 1 simon simon 6144 Sep 22 12:02 FLAT.ZIR

If you actually wanted a 'real' ZIR, I guess you'd need to read in a '.WAV' (or three), perform an 512-point FFT and write out the individual gains.


Update Ambassador repository to use new Branch/Release Process

This issue likely needs to be split up into two phases:

Initial moving work and continued prototype plus a feedback chance for @kflynn and @rhs . This work will not touch the main Ambassador repository. (work will commence in a branch or fork, probably a fork @ plombardi89/ambassador so I can use all the Travis functionality properly).

Once review is complete then merge it into datawire/ambassador.

Initial work began in https://github.com/datawire/branch-release-sandbox (
NOTE: I need to update the README) ... I'm at the point where I think I can move from concept prototype to Ambassador-focused prototype with the goal of getting something in place that we can all play around with using Ambassador.
Goals

Forked Ambassador repository using the new process.
Discover and document any issues we might uncover.
Wire in the end to end tests to run on releasecandidate branches.

I need to rework the version code in config.py. Development builds no longer have `${MAJOR}.${MINOR}.${PATCH} form because they're based on the Git SHA.
This old code won't work:
    if '-' in scout_version:
        Dev build!
        v, p = scout_version.split('-')
        p, b = p.split('.', 1) if ('.' in p) else (0, p)

        scout_version = "%s-%s+%s" % (v, p, b)

@kflynn thoughts?
Versions in development land are ${BRANCH}-${GIT_SHORT_HASH}[-dirty] if the tree is dirty. Another option would be to use 0.0.0-${GIT_SHORT_HASH} and let the old logic work around splitting.

e2e's are passing on CI now. I have one last task left around publishing the netlify drafts. I'll tackle that later this week.

This is done now, no?


issue with zabbix 5.0

I know the minium version are 5.2 but is it possible to make it enable with 5.0 xml format?

You can try with this: template_module_zypper_updateinfo.zip
(exported it as .XML in v5.2 and changed version number inside XML to 5.0. No guarantee that it will actually work in 5.0.)


Bibstuff on github

Hello,
I was recently using some of the old bibstuff code for another project, and because I was fooling around with the code, I wanted to put it in git, which I use more than svn so I put a version of the repository on github: https://github.com/dschwilk/bibstuff
I used git-svn to make a local git repo from the google code svn repo,
then pulled in some of the relevant commits from
https://github.com/matthew-brett/bibstuff (but left out the sphinx extension
sub package that was the purpose of your fork for now).
I added a tests directory with basically simple demo tests (a stub,
anyway), and I made a sphinx documentation Makefile that compiles docs
automatically and pushes them to github pages: http://dschwilk.github.io/bibstuff/
I checked with Alan Isaac, and he is OK with moving the main development to github.

ba02c382a31946afde38517f619651814086b95f retired this repository in favor of sphinxcomtrib_bibtex. The link to the original project though still points to Google code. Google code has been shut down, suggesting that this fork is a continuation of an abandoned project from Google code. Due to this first impression, initially I didn't follow the link to Google code, and so didn't notice the redirect from Google code to https://github.com/dschwilk/bibstuff, until I read this issue.
Would it be possible to link to https://github.com/dschwilk/bibstuff from the README? Perhaps this could be mentioned also in the GitHub title for the project (the summary line at the top), so that people browsing can find it more directly.
Side comment: renaming README.txt to README.rst would also help with reading within the repository.

Would you consider doing a PR to make those changes?  That would be very helpful.

Yes, please find the changes in #12.


Error while training MNIST

Hey, I got the following error while running the training script on MNIST (with 3 channels - converted to RGB).
torch.Size([16, 128, 4, 4])
torch.Size([1, 9, 3, 3])
2020-06-30 06:07:48,118 ERROR Given transposed=1, weight of size [16, 128, 4, 4], expected input[1, 9, 3, 3] to have 16 channels, but got 9 channels instead
Traceback (most recent call last):
  File "train.py", line 177, in <module>
    main()
  File "train.py", line 173, in main
    raise e
  File "train.py", line 116, in main
    losses, inpainted_result, offset_flow = trainer(x, bboxes, mask, ground_truth, compute_g_loss)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/parallel/data_parallel.py", line 153, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/generative-inpainting-pytorch/trainer.py", line 40, in forward
    x1, x2, offset_flow = self.netG(x, masks)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/generative-inpainting-pytorch/model/networks.py", line 27, in forward
    x_stage2, offset_flow = self.fine_generator(x, x_stage1, mask)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/generative-inpainting-pytorch/model/networks.py", line 164, in forward
    x, offset_flow = self.contextul_attention(x, x, mask)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/generative-inpainting-pytorch/model/networks.py", line 328, in forward
    yi = F.conv_transpose2d(yi, wi_center, stride=self.rate, padding=1) / 4.  # (B=1, C=128, H=64, W=64)
RuntimeError: Given transposed=1, weight of size [16, 128, 4, 4], expected input[1, 9, 3, 3] to have 16 channels, but got 9 channels instead

I got a similar error in the original tensorflow repo as well. The 2 dimensions printed are a result of print statements I inserted
print(wi_center.shape)
print(yi.shape)

I am attaching a part of the YAML file as well
# data parameters
dataset_name: MNIST
data_with_subfolder: False
train_data_path: training_data/training
val_data_path:
resume:
batch_size: 32
image_shape: [28, 28, 3]
mask_shape: [16, 16]
mask_batch_same: True
max_delta_shape: [12, 12]
margin: [0, 0]
discounted_mask: True
spatial_discounting_gamma: 0.9
random_crop: False
mask_type: hole     # hole | mosaic
mosaic_unit_size: 6

When I try to do index an element of Dataset, I get a torch tensor of size [3,28,28] which seems ok (although the channels dimension is last in the yaml file).
Any help would be great!

The image_shape: [28, 28, 3] is too small for the network. You may specify the image_shape with [256, 256, 3] and then resize the MNIST images.


keep track of online users

Summary
Test Plan

Please consider the impact of your changes on the other developers.

#25  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Silver-Sword and the rest of your teammates on  Graphite


Can't install via cargo install; Cargo ignores clap version

This is a weird one. I can clone the project and build it locally just fine, but if I try and install it from crates.io with cargo install rust-script (or from a local checkout with cargo install --path .)
   Compiling clap v3.0.0-rc.0
   ...
   Compiling rust-script v0.18.0
error[E0599]: no method named `about` found for struct `Arg` in the current scope
   --> /home/eap/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-script-0.18.0/src/main.rs:109:18
    |
109 |                 .about("Script file or expression to execute.")
    |                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
   --> /home/eap/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-script-0.18.0/src/main.rs:123:18
    |
123 |                 .about("Execute <script> as a literal expression and display the result.")
    |                  ^^^^^ method not found in `Arg<'_>`
    ...

Looks like Cargo.toml specifies clap-3.0.0-beta.5 which indeed has the Arg::about method, but as you can see above cargo install tries to use clap-3.0.0-rc.0 which does not have Arg::about. Why would Cargo be doing this? Is there a workaround?

Workaround for now:
cargo install rust-script --version "0.7.0"
works as it relies on an older version of clap.
Past that, im not sure why the cargo Sem Version resolver ignores
clap-3.0.0-beta.5 for clap-3.0.0-rc.0

Thanks for reporting! The just released 0.19.0 fixes compatibility with and uses the latest clap release candidate, 3.0.0-rc.7.
Hopefully there will be a final release of clap 3 shortly, so we will avoid these kinds of errors in the future.


Use e2e test binary from the CI bucket

Now kubetest2 ginkgo tester can pull the e2e binary from the https://gcsweb.k8s.io/gcs/kubernetes-release-dev/ci/ via https://github.com/kubernetes-sigs/kubetest2/pull/49, use the same for testing now.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mkumatag: Updated the job-config configmap in namespace prow at cluster default using the following files:

key test-kubernetes-periodics.yaml using file config/jobs/periodic/kubernetes/test-kubernetes-periodics.yaml

In response to this:

Now kubetest2 ginkgo tester can pull the e2e binary from the https://gcsweb.k8s.io/gcs/kubernetes-release-dev/ci/ via https://github.com/kubernetes-sigs/kubetest2/pull/49, use the same for testing now.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


hypothesis

Is your feature request related to a problem? Please describe.
Adding automated testing
Describe the solution you'd like
See if hypothesis may be a good solution for this framework
Describe alternatives you've considered
adding many, many unit-testing

Released initial test-plan w/ 0.0.77


Automate builds using cibuildwheel

Hi,
I've been trying to run this on my universities cluster and with version 0.4.6 and up the following code gives an error:
import btrack
btrack.BayesianTracker(verbose=False)

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
File /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/site-packages/btrack/libwrapper.py:84, in load_library(filename)
     83 try:
---> 84     lib = ctypes.cdll.LoadLibrary(full_lib_file)
     85     logger.info(f"Loaded btrack: {full_lib_file}")

File /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/ctypes/__init__.py:452, in LibraryLoader.LoadLibrary(self, name)
    451 def LoadLibrary(self, name):
--> 452     return self._dlltype(name)

File /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/ctypes/__init__.py:374, in CDLL.__init__(self, name, mode, handle, use_errno, use_last_error, winmode)
    373 if handle is None:
--> 374     self._handle = _dlopen(self._name, mode)
    375 else:

OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/site-packages/btrack/libs/libtracker.so)

During handling of the above exception, another exception occurred:

OSError                                   Traceback (most recent call last)
Cell In[1], line 1
----> 1 import btrack; btrack.BayesianTracker(verbose=False)

File /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/site-packages/btrack/core.py:128, in BayesianTracker.__init__(self, verbose)
    126 # load the library, get an instance of the engine
    127 self._initialised = False
--> 128 self._lib = libwrapper.get_library()
    129 self._engine = self._lib.new_interface(verbose)
    131 if not verbose:

File /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/site-packages/btrack/libwrapper.py:94, in get_library()
     92 def get_library():
     93     """Loads and returns the btrack shared library."""
---> 94     lib = load_library(os.path.join(BTRACK_PATH, "libs", "libtracker"))
     96     # deal with constructors/destructors
     97     lib.new_interface.restype = ctypes.c_void_p

File /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/site-packages/btrack/libwrapper.py:87, in load_library(filename)
     85     logger.info(f"Loaded btrack: {full_lib_file}")
     86 except IOError:
---> 87     raise IOError(f"Cannot load shared library {full_lib_file}")
     89 return lib

OSError: Cannot load shared library /net/holy-nfsisilon/ifs/rc_labs/hekstra_lab/people/ianhi/envs/cellpose/lib/python3.10/site-packages/btrack/libs/libtracker.so

Running ldd --version gives: ldd (GNU libc) 2.17.
I suspect that the easy fix here to allow this library to work on older glibc version is build it as a static library. Specifically from reading around it seems that changing this line:
https://github.com/quantumjot/BayesianTracker/blob/9f08f1c0ff21ef2c9c64fc55e084c97ebc7d3e9a/Makefile#L38
to  -DBUILD_SHARED_LIB=OFF might do the trick.
If you think this would be a worthwhile solution then I would be happy to make a PR.

An alternate solution would be change how the c++ is distributed. It seems as though currently you are compiling the libraries on your computer and adding them to git. Instead you could use cibuildwheel to automatically build them for each OS. This would solve the GLIBC issue for me because the current majorly used manylinux is manylinux2014 https://github.com/pypa/manylinux#manylinux which supports CentOS7. The extra benefit here is that versions of what is supported is tied to the standardize source of the manylinux environrments. The downside is that this is would be more work to implement.

After looking around a bit it seems that building with static comes with some problems and may not be as simple as I'd hoped.
I do still think that switching to cibuildwheel and building OS specific wheels comes with some benefits, but may be decent work. So in the meantime I'm just building it myself on the cluster which seems to work fine.

Thanks @ianhi - The cibuildwheel approach looks like an interesting solution. We'll take a look, but you should also feel free to do a PR if you have the energy to tackle it!

downloading eigen and building the c++ can happen with the  CIBW_BEFORE_BUILD optoin: https://cibuildwheel.readthedocs.io/en/stable/options/#examples_10`

Related #198

Hi @ianhi, thanks for the idea on cibuildwheels. @p-j-smith and I had a look, and it did indeed prove a bit tricky! For now, we have added #231 which at least builds the binaries in CI so is better than the current workflow. I have raised a new issue in #235 to explain the changes that would be needed to have a better CI using cibuildwheels. If you have any tips/advice, would be great if you could pop it in that issue for now. Cheers 🙏


Avoid data copying in Set()

In current implemention, Set() first encode entry to local buffer, and
then push data into queue. In this PR, Set() encodes entry directly into
queue.

name
old time/op
new time/op
delta

BigCacheSet-4
983ns ± 8%
925ns ± 5%
-5.92% (p=0.040 n=5+5)

BigCacheSetParallel-4
521ns ± 4%
496ns ± 4%
-4.80% (p=0.032 n=5+5)

Coverage decreased (-2.8%) to 86.136% when pulling c37268bebfec77fa626fffe7ffea43b9eb8d69f7 on MoZhonghua:feat/set-no-copy into bff00e20c68d9f136477d62d182a7dc917bae0ca on allegro:master.

Thank you for contributing. I'll review it in next few days.
Can you fix a CI ? There is a problem with gofmt 😉

Closing due to age.


Cython should not be listed as a requirement

Can you remove cython from the list of requirement? Connor doesn't appear to use it. Relatedly, would it be possible to support recent pysam versions? This would make long-term support in conda simpler.

Hi Devon,

Re cython, we can drop this. (As I remember it, cython was added because of an older pysam dependency. Dropping support for the most ancient pysam versions would simplify a few things.)
Re pysam, Connor does work with pysam v14; I can look at at extending to v15.x.

I'm curious, are you using Connor with Takara kits, or independently?
Thanks,
cg

I'm not personally using it, I was just getting the recipe to build again in bioconda.

Gotcha. I'll follow up. Thanks!


if else os windows linux

with open("location.txt") as f:
    location = f.read()
    if sys.platform == "win32":
        os.startfile(location)
    else:
        opener = "open" if sys.platform == "darwin" else "xdg-open"
        subprocess.call([opener, location])

Fixed issue, thanks


Ask a  question about qemu net Can`t find gateway

hello buddy~ I tried to build detux. i follow the step and I built it up successfully， but i find a quetion in my detux.  My qemu virtual machine can only ping my host ip. It can not ping the gateway and can not access the Internet.  My host network configuration is as follows ：
auto br0   iface br0 inet dhcp bridge_port eth0 bridge_maxwait 0

My virtual host configuration is as follows

so ,what happend?  can you  help me ?

Did you run qemu command extractly?
I emulated it nomally. Using command below:
sudo qemu-system-mips -M malta -kernel qemu/mips/1/vmlinux-3.2.0-4-4kc-malta -hda qemu/mips/1/debian_wheezy_mips_standard.qcow2 -append "root=/dev/sda1 console=tty0" -net nic,macaddr=52:55:00:d1:55:01 -net tap


fix: bump auth-js to v2.64.4

What kind of change does this PR introduce?

See changelog

What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
90

Relevant Lines:
117

💛  - Coveralls


Upgrade macOS image for tests compatibility with numpy v2

Fix :
https://github.com/huggingface/optimum/actions/runs/11290608247/job/31402830526
https://github.com/huggingface/optimum/actions/runs/11290608260/job/31402830356

thanks ! yes many errors with old macos, we might also wanna drop python 3.8 as it's already EOL

of and no more cp8 on https://download.pytorch.org/whl/nightly/torchaudio/ 👋

thanks ! yes many errors with old macos, we might also wanna drop python 3.8 as it's already EOL

Yes for python 3.8 I wanted to tackle it for all workflows at once but will include it in this one so we're all good, thanks @IlyasMoutawwakil


use the orbbec camera to run the the new version rtabmap 0.17.6  error!

I used the orbbec camera to run the the new version rtabmap 0.17.6  error! but the older version rtabmap was ok..  is the camera driver not fit the rtabmap???
[ INFO] [1551257273.507102516]: rtabmap 0.17.6 started...
[ INFO] [1551257273.518923499]: Starting color stream.
[ INFO] [1551257274.112980126]: rtabmap (1): Rate=1.00s, Limit=0.700s, RTAB-Map=0.1196s, Maps update=0.0293s pub=0.0040s (local map=1, WM=1)
[ INFO] [1551257274.229862717]: Using plugin "static_layer"
[ INFO] [1551257274.261771882]: Requesting the map...
[ INFO] [1551257274.481063797]: Resizing costmap to 421 X 421 at 0.050000 m/pix
[ INFO] [1551257274.580789996]: Received a 421 X 421 map at 0.050000 m/pix
[ INFO] [1551257274.606411614]: Using plugin "obstacle_layer"
[ INFO] [1551257274.620584008]:     Subscribed to Topics: scan
[ INFO] [1551257274.754579212]: Using plugin "inflation_layer"
[ INFO] [1551257275.014146790]: Loading from pre-hydro parameter style
[ INFO] [1551257275.057684199]: Using plugin "obstacle_layer"
[ INFO] [1551257275.066937460]:     Subscribed to Topics: scan
[FATAL] (2019-02-27 16:47:55.101) Link.cpp:82::setInfMatrix() Condition (uIsFinite(infMatrix.at(1,1)) && infMatrix.at(1,1)>0) not met! [Linear information should not be null! Value=inf (set to 1 if unknown).]
terminate called after throwing an instance of 'UException'
what():  [FATAL] (2019-02-27 16:47:55.101) Link.cpp:82::setInfMatrix() Condition (uIsFinite(infMatrix.at(1,1)) && infMatrix.at(1,1)>0) not met! [Linear information should not be null! Value=inf (set to 1 if unknown).]
[ INFO] [1551257275.183047576]: Using plugin "inflation_layer"

same here


Unexpected Indentifier

I am new with node.js, I don't understand what's wrong with my code. I just followed the instruction on your readme

You probably missed the first paragraph, regarding Node version requirement. You need to be on Node 8 to use async functions...

Alright! Thanks :)


After  select new xxx{x=x.x} ,OrderBy fails

EF core 3.0
var query = from x in db.x
join y in db.y
on x.id equals y.id into xy
from y in xy.DefaultIfEmpty()
select new xxx{x=x.x}
query.OrderBy("x").ToList();
System.InvalidOperationException: The LINQ expression 'OrderBy<TransparentIdentifier<XTYHB, XTZDB>, string>(
source: Where<TransparentIdentifier<XTYHB, XTZDB>>(
source: LeftJoin<XTYHB, XTZDB, string, TransparentIdentifier<XTYHB, XTZDB>>(
outer: Where(
source: DbSet,
predicate: (x) => x.YHXZ == "Z"),
inner: Where(
source: DbSet,
predicate: (x0) => x0.FJCODE == "YHZT"),
outerKeySelector: (x) => x.YHZT,
innerKeySelector: (x0) => x0.CODE,
resultSelector: (x, x0) => new TransparentIdentifier<XTYHB, XTZDB>(
Outer = x,
Inner = x0
)),
predicate: (ti) => !(ti.Outer.SJLY.Equals("XSJBXXB"))),
keySelector: (ti) => new XTYHB{
YHM = ti.Outer.YHM
}
.YHM)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to either AsEnumerable(), AsAsyncEnumerable(), ToList(), or ToListAsync(). See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

override attributes cause this problem

@saber-wang, I have this problem, but I don't understand what you mean that override attributes cause this problem ...

@jenscski About that
class a
{
public virtual string A { get; set; }
}
class b:a
{
public override string A { get; set; }
}
It's a little too long to remember. This problem should not be caused by system.linq.dynamic.core?

Thanks.


can't install PySide with python 3.7 on linux

The current 2.2 releases talk about python 3.7 support, but the networking support seems to require PySide, which doesn't install with pip3 on this release, saying it only supports up to python 3.4:
 pip3 install pyside
Defaulting to user installation because normal site-packages is not writeable
Collecting pyside
  Using cached PySide-1.2.4.tar.gz (9.3 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i1ue_lnk/pyside/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i1ue_lnk/pyside/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-i1ue_lnk/pyside/pip-egg-info
         cwd: /tmp/pip-install-i1ue_lnk/pyside/
    Complete output (1 lines):
    only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Try to use v2.3beta2 instead: https://forums.luxcorerender.org/viewtopic.php?f=9&t=1805
It uses PySide2 instead of old and discontinued PySide.

Yep, that looks better. fails on some other python deps I don't have installed, so it might be worth adding a Pipfile to the distribution that makes it easy to install all the dependencies, or to run in pipenv.


toasts part 2/2

show info toasts uwu

dlete gardes, add subejct, delete subject, maybe edit changes


Try to avoid calling Dataframe.head to infer Vector's size

Currently when translating a spark field to a mleap field, the first Row will be retrieved to infer the Vector size in a VectorUDT column. The problem is that it may be an expensive function call if the input Dataframe has lots of stages.
Sometimes the metadata of Vector column may contains the Vector size info so I think Mleap should first try to infer from that and make calling Dataframe.head as the last option.

Closing this with the merge of your PR


Flush write stream after every msg

I have no idea whether this will do any good, but I lately have the impression that e.g. the variable viewer in the debugger lags, and maybe this is one of the reasons? It seems like it can't hurt.

Well, it will only be called after every complete message, and at that point we definitely want it to go over the write immediately, right?