Client/Server cannot communicate - attemping to load Signer.

Is this an issue with ACMEsharp?
Google search points at a mismatch between TLS configs, but I dont remember changing anything in my environment.
This has worked before, I have a valid cert generated for a subdomain using v<IP_ADDRESS>, however its now retroactive in a sense.
Server: Win2008R2
IIS: IIS7
Client versions: <IP_ADDRESS>, <IP_ADDRESS>

PS C:\Users\XXXXXXXXX\Desktop\letsencrypt-win-simple.v1.9.0> .\letsencrypt.exe
Let's Encrypt (Simple Windows ACME Client)
Renewal Period: 60
Certificate Store: WebHosting
ACME Server: https://acme-v01.api.letsencrypt.org/
Config Folder: C:\Users\XXXXXXXXX\AppData\Roaming\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org
Certificate Folder: C:\Users\XXXXXXXXX\AppData\Roaming\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org
Loading Signer from C:\Users\XXXXXXXXX\AppData\Roaming\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Signer
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.Co
mponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, Sec
ureCredential scc)
at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCreden
tial)
at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRe
quest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.TlsStream.CallProcessAuthentication(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object
state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, B
oolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at ACMESharp.AcmeClient.RequestHttpGet(Uri uri)
at ACMESharp.AcmeClient.Init()
at LetsEncrypt.ACME.Simple.Program.Main(String[] args)
Press enter to continue.

It doesn't look like an ACMESharp issue, but an issue with you connecting to https://acme-v01.api.letsencrypt.org/. It looks like they only support TLS 1.0, TLS 1.1, and TLS 1.2 and they don't support SSL 2 and SSL3 on their server.
So maybe your side didn't change, but maybe theirs did. So you might want to check to see what all protocols are enabled for the Windows client. I found this post that shows how to change them for the Windows client and server. I would make a backup before trying it and it does require a reboot.

Hi, thanks for the reply. I went ahead and applied those reg settings and rebooted, but unfortunately
I'm still crashing.
For reference:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]
"DisabledByDefault"=dword:00000001
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]
"DisabledByDefault"=dword:00000001
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Client]
"DisabledByDefault"=dword:00000001
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]
"DisabledByDefault"=dword:00000001
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000

Can you access https://acme-v01.api.letsencrypt.org/directory from your computer? Are you behind a proxy server or a web filter?

https://acme-v01.api.letsencrypt.org/directory resolves in chrome on the host machine.
Host machine is a VPS, so it's most likely behind the hosting company's firewall.

I'm not really sure what else to check.
Has anyone else had anything similar to this or any suggestions?

Taking a look at the machines event log I see a swamp of Schannel errors.

A fatal error occurred while creating an SSL client credential. The internal error state is 10010.

They're generated each time I run the utility, so I'll look into this first.

Server in question is being wiped, out of my control, sorry to waste your time guys. Thanks for your help @rkerber

I realize this is an old thread, but I ran into this tonight after recently running a script to lockdown my ciphers and cipher suites. Running Server 2016 Core and also couldn't do an Invoke-WebRequest successfully to any website.
I completely undid all of the changes made by the script and stepped through each section one-by-one...turns out disabling TLS 1.0 is what triggered the issue. Apparently, .NET Framework 4 is not set to use TLS 1.1/1.2 out of the box.
In order to get around and enable PS/.NET 4 apps to use TLS 1.1/1.2, you need to set the following two reg keys:
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Type DWORD -Value 1
New-ItemProperty -Path HKLM:\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Type DWORD -Value 1


Ensure that Limiter is released even if waiter is cancelled

I think we need a test for this to avoid re-introducing a bug like this in the future -- maybe we can start with the demo code from our chat?

Added a test that exercises cancelling a job that has already be enqueued to acquire the limiter. I confirmed that this fails on main, but passes on this branch.


Commercial-Friendly License Available?

❓ Questions
Are you offering a commercial-friendly license elsewhere? Startups could really use it.

The code is now available under the MIT license :)


"Cannot find rendered stateless component" error when upgrading to React v16

I'm upgrading to React v16 and have hit some snags with my unexpected-react tests. In some cases, it seems that the deep rendering mechanism isn't working quite right. For examle the following test, gives an error:
    expect(
      <Toc
        nodes={singleLevelTocData}
        {...Object.assign({ openPaths: {}, carUuid: mockedData.uuid }, props)}
      />,
      'when deeply rendered', 'to have rendered',

              Body

              Chassis

              Powertrain

    );

From the error output it seems clear that the test isn't see the resulting DOM elements. It seems only to see the components. The resulting error notes on the bottom that it "cannot find rendered stateless component":
     UnexpectedError:
expected
<Toc
   nodes={[
  { title: 'Body', count: 16, path: '/ssc/body', dot_path: '0.0', children: ... },
  { title: 'Chassis', count: 13, path: '/ssc/chassis', dot_path: '0.1', children: ... },
  { title: 'Powertrain', count: 88, path: '/ssc/powertrain', dot_path: '0.2', children: ... }
]}
   openPaths={{}} carUuid="294189a029390ebc444b367884a9474a"
   route="tocSearchPath" itemsBefore={0} handleClick={function handleClick() {}}
   generateNodeHref={function generateNodeHref() {}} highlightUuid=""
/>
when deeply rendered
to have rendered

      Body

      Chassis

      Powertrain

  Cannot find rendered stateless component. Are you sure you passed a real component to `when deeply rendered`

Any idea what might be going on here? In prepping for v16, I noted the advice in the README to use jsdom-global, so my emulateDom file now looks like:
require('jsdom-global')();
require('./requestAnimationFramePolyfill');

where requestAnimationFramePolyfill.js is the polyfill linked in the README: https://gist.github.com/paulirish/1579671

I take it Toc is a stateless component? It'd be very, interesting to know what happens if you made it a stateful class component.
Other than that, I presume you're on v5 of unexpected-react? What version of node?

@bruderstein: I converted it to a class component to see what would happen. The message regarding the stateless component disappeared, but it still isn't seeing the rendered DOM elements. I am indeed on v5 of unexpected-react. Node v6.9.4.

Is there any message (try with UNEXPECTED_FULL_TRACE=1 set as an environment variable)?
Is it just this component, or do all components exhibit this behaviour?
If possible, just to confirm, can you clear your node_modules and reinstall, i wonder if there's an old version of something in there.
I'll try it on that version of node tonight, just in case.  I'll also try and get some more precise instructions so we can work out where it's failing.

I ran the test suite on node 6.9.4, and that all worked, so i don't think it's that.
I highly suspect it's something in your node_modules (like two copies of react or react-render-hook library, for example).  Clearing it and doing a reinstall should fix that.
If it doesn't, can you try adding a const hooks = require('react-render-hook'); as the first line of your test file, and then doing the following (passing the same props as before to Toc):
const component = ReactDOM.render(<Toc ... />, document.createElement('div'));
console.log(hooks.findComponent(component);

Use the class version of <Toc>.  As long as that console.log dumps out a bunch of data, then the fundamentals are working, and the issue is probably some duplication of packages somewhere, if it doesn't, something is very odd. I'd be keen to know in that case the exact versions of your deps (specifically react, react-dom & react-test-renderer)

Closing this as no feedback and it isn't reproducible


How to get the card type (visa, mastercard, etc.) so I can pass that info to payment gateway

I'd like to be able to pass the card type as we want to display it later on.

not sure if this is still relevant but for people with the same question: you can use the bin of the card to decode if it's type, the bin is the bank identification number of each card and it identifies a card down to the bank which issued it, with a BIN API like the one from binlist.io you are easily able to check which card goes with which card type.

$('#someTextBox').change(function() {
$('#someOutput').text(creditCardTypeFromNumber($(this).val()));
});
This will output into some element with id="someOutput" the result of the text box which fires when the user changes the text in the element id="someTextBox".

How to check for username and password correct logins to a credit card site...to provide details

Thanks for the hints I ended up doing something similar to write to an <input type="hidden">
onclick="$('#hiddenCardType').val(Payment.fns.cardType($('#number').val()));"


Confirm Update menu item goes away when timer is fired again and the episode is playing

Forgot to add a check to see if the title is confirmed yet before hiding the confirm menu item if update confirmation is enabled.

Fixed


Timezone warning

Just started playing with Sculpin and ran into a small issue.
OSX Mavericks comes with PHP 5.4 installed by default (which is great) but it does not have a default timezone set. Upon running sculpin generate I'm getting this warning:

Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in phar:///bin/sculpin/src/Sculpin/Core/Source/FilesystemDataSource.php on line 138

So the error message makes it sound like everything is okay (defaults to UTC), but then I get this error:

[InvalidArgumentException]
"1970-01-01T00:00:00Z" is not a valid date.

Not sure what's happening there. Help? :)

Bump! Did this get solved?

@emmajane looks like a PR was merged in July to fix it, but they weren't able to test it.
And alas, I have no reliable way to test it either. Are you running into the issue?

@emmajane It did fix the issue for me, yes. The code I used was basically copied directly from Composer, so while untested, I'm pretty confident it will work. You will need to update Sculpin though, if you haven't since July 30, 2014.

Downloaded whatever is currently at https://download.sculpin.io/sculpin.phar and the error went away!! \o/

Nice :)
@simensen I'm going to close this, since it's fixed.

@reinink Thanks. :)
And thanks to everyone else who jumped in!


User/defaultryan/velocity midl on stable

This cherry picks #1612 into the stable branch, plus one more commit:
Sets this branch's TerminalVelocity channel to 'stable', and removes the empty winmds and projections for PushNotifications and EnvironmentManager.
There are still some files related to PushNotificaitons, that I'm unsure if I should remove at this time.

The build is still copying over PushNotificationsLongRunningTask.exe. @pmpurifoy should that still be present in the stable 1.0 branch?


Various cards & editions not converted properly

Had a user send me their Manabox csv to convert to CS. They had 55 entries that did not import to CS correctly but several common sets among them. I've paired it down to just those entries.
Manabox_Not_Imported_08-30-2024.csv
Thought it might be useful to provide more data for the whack-a-mole effort.
Cheers,
~ Bodey

Should all be fixed except Incinerate - the version in the csv looks like a digital-only version and I can't find that specific version in the app. CardSphere also has no foil version of that card, so it fails to upload even if I convert it to the Player Rewards version.


Zabbix Triggers panels throw error and do not appear after Grafana 4.6.1 migration

I'm submitting a ...

[X ] Bug report
[ ] Feature requestdd
[ ] Question / Support request

If you don't send bug report, remove sections below
For bug report please include this information:
Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

4.6.1
3.0.5
3.7.0

What did you do?
I migrated my Grafana from 4.5.2 to 4.6.1.
What was the expected result?
Open existing Zabbix Trigger panels normally
What happened instead?
The following error message from Grafana was shown:
"Plugin Error
Fetch error: 404 Not Found Instantiating http://myserver:3000/public/tether-drop Loading http://myserver:3000/public/plugins/alexanderzobnin-zabbix-app/panel-triggers/ack-tooltip.directive.js Loading plugins/alexanderzobnin-zabbix-app/panel-triggers/module"
If it relates to metric data visualization would be great to get

Duplicated #475


Update description of ecmaVersion argument

This is probably not intended to be an exhaustive list, but only leaving out the newest values is counter-intuitive. Also, the documented default is wrong.

Great. Merged as bb4dd2d. Might we worthwhile to set up a way to generate the readme from doc comments at some point.


Added .vs to .gitignore

Let's get this in here once and for all :lipstick:

YOU BROKE TRAVIS! ;)

LOL. TC doesn't even start because it's a .gitignore-only change :stuck_out_tongue_winking_eye:

Blah I would have had this change but NOOOOOOOOOOOOOO NO one wanted my PR.
On Wed, Aug 26, 2015 at 9:02 PM, Andreas Håkansson<EMAIL_ADDRESS>
wrote:

Merged #2037 https://github.com/NancyFx/Nancy/pull/2037.
—
Reply to this email directly or view it on GitHub
https://github.com/NancyFx/Nancy/pull/2037#event-392822358.

--
Kind Regards,
Phillip Haydon
www.philliphaydon.com


FM tries to call string as a function if its the same name as a built-in

Hello.
Firstly, thanks for this package. Hope the following has enough detail.
Had been getting a little irritated with an intermittent issue which I've found the time to investigate a bit.
Every so often a field would get replaced with a non-string then when try to persist it would freak out with a 'Could not convert XX object to string' error. Turns out it was every time faker would generate 'Max' as a name. Digging in further it seems if you tried other built in function names (say 'Floor' or 'Abs' etc), it would also do it.
So say I was to do the following:
$factoryMuffin->create(\App\Entity\User::class, [     'firstName' => 'Max' ]);
This would try and run max() which does all sorts of unpredictable things with the resulting object (in my particular instance a reference to the containing object).
I've created a repro here if that is helpful.
Digging in to this deeper, the culprit seems to be GeneratorFactory::make calling is_callable, which obviously returns true as 'max' is an OK function, but it is also a string.
I can fix the issue by changing Line 57 to:
if (!is_string($kind) && is_callable($kind) || is_string($kind) && strpos($kind, '::') !== false)
The tests pass, but I'm not sure thats a great approach? And my use case doesn't really cover using FM with the scope resolving format like that, so don't know if I'm understanding why it should be used in that manner.
Happy to attempt a pull request (never done one) if you like and are feeling patient.

Thanks for the detailed description. I don't think we can fix this without breaking a lot of stuff for people, since your proposed fix would break any code that used function names as callables.
Instead, I'd suggest you do the following in your code to work around this limitation:
$factoryMuffin->create(\App\Entity\User::class, [
   'firstName' => function () { return 'Max'; }
]);

Suspect you're probably right on the fixing part. Thinking a bit more about it, I'm not sure it would be possible to reliably tell what a built-in function vs some other callable is, especially if its a global func.
That work around works well enough for me for the moment.
Thanks.


Fix broken builds for #4511.

Explanation

Fixed a bunch of build errors that I noticed in https://github.com/oppia/oppia-android/pull/4511, namely:

GA & beta builds were missing ActivityRouterModule
ActivityRouter was trying to inject DestinationScreen rather than DestinationScreenCase (which also caused a Gradle failure)
All UI tests needed to be updated to include ActivityRouterModule
The Bazel configuration for ActivityRouterModule was reversed (the thing that needs references to activities must be part of app module currently), plus the Route and RouteKey files weren't part of the build

I've verified the following build:

//:oppia_dev
//:oppia_alpha, //:oppia_alpha_kenya, //:oppia_beta, //:oppia_ga (all four minus Proguard since it takes a long time to run)
The four tests updated in https://github.com/oppia/oppia-android/pull/4511: ProfileProgressFragmentTest, RecentlyPlayedFragmentTest, ActivityIntentFactoriesTest, and RecentlyPlayedSpanTest

I didn't verify any other builds, including for Gradle, since the above suggests a high likelihood of them at least building. After this PR is merged the base PR will have its CI re-run which will show remaining things that need to be fixed.
Essential Checklist
N/A -- This PR is not part of Oppia Android.
For UI-specific PRs only
N/A -- Only fixed broken build issues.

PTAL @vrajdesai78.


Use stdin -> stdout instead of letting elm-format change the file

Investigate if this makes for better performance and could help with some weird quirks

Yes, I was just thinking that doing this might make Atom behave better w/r to preserving the cursor position.

Fixed thanks to @halohalospecial


MINOR FIX: User Secrets Support for Integration Tests

I have tested this with the following scenarios:

With out environment variables
With only environment variables
With only user secrets
with both user secrets and environment variables (user secrets takes precedence)

(Note the PR is the first pipeline test)

@BrianLParker this is too complex - can we simplify?

Closing this due to inactivity


RemoveUnused* recipes should support SuppressWarnings(unused) annotation

E.g., UnusedLocalVariables + UnusedPrivateMethods examples
UnusedLocalVariables:

UnusedPrivateMethods:

Is it a bug? Is it an enhancement? It can be both.

This is supported by RemoveUnusedPrivateMethods by virtue of the fact that we now ignore all methods that have annotations on them.

@jkschneider not sure if it's worth handling, but there's a case in Netflix/Hollow where the suppression happens at the class declaration:
@SuppressWarnings("unused")
public class HollowPrimaryKeyIndexTest extends AbstractStateEngineTest {
...
}


Getting error when trying to get token from refresh token (When using Email OTP authenticator)

Describe the issue:
When user from a different tenant from the application tenant domain tries to log into a SaaS app which uses Email OTP authenticator (as first factor or last factor), it logs in successfully. But when the token expires and try to get the token from refresh grant, giving 500 response with the following error.
[2023-08-18 07:58:33,250] [0fe75261-7b1b-4c28-beea-c18a769edc38] ERROR {org.wso2.carbon.identity.oauth2.OAuth2Service} - Error occurred while issuing the access token for Client ID : RlxYZr5nFydFizt9FvYEVFmfE4ka, User ID null, Scope : [] and Grant Type : refresh_token org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: User id is not available for user: sujansanjula1212<EMAIL_ADDRESS>	at org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler.updateCacheIfEnabled(RefreshGrantHandler.java:351)
	at org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler.persistNewToken(RefreshGrantHandler.java:336)
	at org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler.issue(RefreshGrantHandler.java:118)
	at org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:433)
	at org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:412)
	at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:350)
	at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:163)
	at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:141)

How to reproduce:

Configure email OTP.
Create a service provider and enable SaaS application option in super tenant. (Keep the access token expiry time to a less value)
Add email OTP as an authenticator. (As first factor or second factor)
Create another tenant and add a user to that tenant.
Try to login to that application and wait until access token expires

After expiring access token, token call with refresh grant fail with above error.
Expected behavior:
Should get the access token using refresh grant.

The reason for this is when publishing the authentication step attempt, it set the authenticated user's tenant domain to application tenant domain for federated authenticator. Since Email OTP, SMS OTP also extended using FederatedApplicationAuthenticator class, when using them as an authentication step same thing happen.
https://github.com/wso2/carbon-identity-framework/blob/16fab4552dca2cb66c67cb47e99b83982d8f458c/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/AbstractApplicationAuthenticator.java#L276
Here username is shown as sujansanjula1212<EMAIL_ADDRESS>But the correct one should be sujansanjula1212<EMAIL_ADDRESS>

Fixed with https://github.com/wso2/carbon-identity-framework/pull/4933


[MINOR] Small ui modification in notebook actionbar

What is this PR for?
Small ui improvements

Change keyboard shortcut icon
Modify commit container style

What type of PR is it?
Improvement
Screenshots (if appropriate)
Before

After

Before

After

Before

After

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes

thanks for fixing this UI issues! LGTM

LGTM

LGTM

LGTM 👍

I made one more change in table ascending, descending icon. Please review.

@minahlee Tested it and looks good :)

Merging if there is no more discussions

Rebased master and updated screenshot in description

Selenium test passes after rebasing master


Flag incorrectly resolved markets, warn about unreliable creators

Some quick upcoming followups:

Adding an explanation under "Flag this market as incorrectly resolved"
Adding a banner in the user profile

Something to keep in mind is that the thresholds and gral math that decides when we should flag a user is very tentative, and quite lenient atm. I'd like to get a few days/weeks of data in (by people reporting market), and then decide how to tweak it by looking at the data.


Develop server lifecle site doc pod obsolete fix

Make the site doc in server-lifecycle.md that talks about when the operator automatically rolls pods match the operator runtime.
Add domain resource schema doc to say that customer supplied pod and service label names can't start with 'weblogic.'.

I added the restriction to podLabels and serviceLabels.
I didn't add them to podAnnotations or serviceAnnotations.


ntr: abnormal nuclear transport during meiosis PMID:26483559

abnormal nuclear transport during meiosis
A cellular process phenotype observed during meiosis/sporulation in which nuclear transport is abnormal.
supplied by Hui-Ju Yang
PMID:26483559
Fig. S2

abnormal nuclear transport FYPO:0005573
abnormal nuclear transport during meiosis FYPO:0005574
renamed FYPO:000518 to make 'vegetative' explicit

edit file: 746f58ea7398be3632fe74b5599808a6a26507e6
release: b23bd2763fe080f268e151c5bdaaf4117f1c5f22


ModuleNotFoundError: No module named 'torch._six'

Hi @jwohlwend Great work! Becoming something big.
Do you know the potential reason for No module named 'torch._six'?
(boltz_AF3) me@server:/data/123456/test/test_boltz-AF3/boltz$ boltz predict test.fasta --use_msa_server
Traceback (most recent call last):
  File "/data/123456/test/test_localcolabfold/localcolabfold/colabfold-conda/bin/boltz", line 5, in <module>
    from boltz.main import cli
  File "/data/123456/test/test_boltz-AF3/boltz/src/boltz/main.py", line 23, in <module>
    from boltz.model.model import Boltz1
  File "/data/123456/test/test_boltz-AF3/boltz/src/boltz/model/model.py", line 27, in <module>
    from boltz.model.modules.confidence import ConfidenceModule
  File "/data/123456/test/test_boltz-AF3/boltz/src/boltz/model/modules/confidence.py", line 12, in <module>
    from boltz.model.modules.trunk import (
  File "/data/123456/test/test_boltz-AF3/boltz/src/boltz/model/modules/trunk.py", line 13, in <module>
    from boltz.model.layers.triangular_attention.attention import (
  File "/data/123456/test/test_boltz-AF3/boltz/src/boltz/model/layers/triangular_attention/attention.py", line 22, in <module>
    from boltz.model.layers.triangular_attention.primitives import (
  File "/data/123456/test/test_boltz-AF3/boltz/src/boltz/model/layers/triangular_attention/primitives.py", line 30, in <module>
    and importlib.util.find_spec("deepspeed.ops.deepspeed4science") is not None
  File "/data/123456/test/test_localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/importlib/util.py", line 94, in find_spec
    parent = __import__(parent_name, fromlist=['__path__'])
  File "/data/123456/test/test_localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/deepspeed/__init__.py", line 16, in <module>
    from .runtime.engine import DeepSpeedEngine, DeepSpeedOptimizerCallable, DeepSpeedSchedulerCallable
  File "/data/123456/test/test_localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 24, in <module>
    from deepspeed.runtime.utils import see_memory_usage, get_ma_status, DummyOptim
  File "/data/123456/test/test_localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/deepspeed/runtime/utils.py", line 18, in <module>
    from torch._six import inf
ModuleNotFoundError: No module named 'torch._six'

Probably happens because you have an older deepspeed installed (note that deepspeed is not a requirement for boltz). I would recommend that you install boltz in a fresh environment. You can also try upgrading deepspeed and see if that helps.

Hi @jwohlwend , thanks for the comment and I confirmed it's a problem of my env.


Read Body from Odin and display them to the user

render json: { errors: p.errors }, status: :unprocessable_entity

p.errors is an array


Only renders the nav if it is visible

#713

isVisible uses HTMLElement.offsetParent which will return null if the element or any of its ancestors are hidden.

Only thing with this is according to chrome console:
SVGElement.offsetParent' is deprecated and will be removed in M50, around April 2016.
Same issue with SVGElement.offsetWidth
We might want to port these both over to an alternative at some point soon I'm guessing?

Element.getBoundingClientRect() is recommended as an alternative. Looks like it'll do  what we want in both cases.


Crash when trimming a video that's on the repository

I've noticed that when trimming the video of the repository, it crashes:
intro.zip
The exception says :
E: Unsupported mime 'audio/ac3'
E: FATAL EXCEPTION: pool-1-thread-1
    Process: life.knowledge4.videocroppersample, PID: 26274
    java.lang.IllegalStateException: Failed to add the track to the muxer
        at android.media.MediaMuxer.nativeAddTrack(Native Method)
        at android.media.MediaMuxer.addTrack(MediaMuxer.java:626)

How come?
When making it trim without sound, it works fine, but then I don't have sound in the output video (of course)...
I wrote about this issue here too:
https://stackoverflow.com/q/54573454/878126

Oops this occurs because I've moved to Android framework's code.
However, I did this because this library can't use Uri instead of File, which I've reported here:
https://github.com/sannies/mp4parser/issues/357


Stepper header without icons

Bug, feature request, or proposal:
Bug/feature request
What is the expected behavior?
Just display numbers in stepper headers
What is the current behavior?
Tries to display "create" in the icon after changing to another step
What are the steps to reproduce?
https://stackblitz.com/edit/angular-vpoj5j you can see it here
What is the use-case or motivation for changing an existing behavior?
Not everyone uses the icons
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 8.2.14
typescript 3.5.3
Is there anything else we should know?
I know I can override the icons, however I'm unsure about changing it to always using the 'number' state.
The UX of changing the stepper to these icons doesn't really appeal to me.
Additional info
doing  this :
<mat-horizontal-stepper>
  <ng-template matStepperIcon="edit"></ng-template>
  <ng-template matStepperIcon="done"></ng-template>

  <mat-step>...</mat-step>
</mat-horizontal-stepper>

does not do it. the pencil icon continues to appear for opened states

This is 100% a bug because numbers are shown when I use the stepper, but as soon as I visit a step and then switch to another step that step begins using <mat-icon>create</mat-icon> which just renders as text because I don't use the Material Icons library.

I would be interested in this feature as well, how to get it picked up?


Model functions now include metadata

Types of changes
This pull request includes an API change where Model.update(), Model.loss() and Model.eval_score() now return an additional output with any metadata that is useful for logging (or anything else); for example, reconstructions, gradients, entropy, individual loss terms, etc..
This also adds a new callback to ModelTrainer that is called after every batch is computed, using the loss/score and metadata as inputs (the other callback is called after every epoch).
This will eventually become a breaking change (in v0.2.0), but for now I added some extra logic to keep models on the old API functional.
TODO before merge:

[ ] adding unit tests for the new callback.
[ ] test how it works in #86

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue
Closes #108, and the rationale is explained there.

How Has This Been Tested (if it applies)
Original unit test pass

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[ ] All tests passed, and additional code has been covered with new tests.

@eugenevinitsky @JanS97


Add distroless envoy docker image. Relates #12122

See https://github.com/istio/istio/issues/12122#issuecomment-475516828

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: phil9909
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
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

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

Hi @phil9909. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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.

/ok-to-test

@phil9909: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
86d8c370ae5c0f2e4d96eee84b2ef905cc012707
link
/test e2e-simpleTests-cni

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. I understand the commands that are listed here.

@phil9909: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
86d8c370ae5c0f2e4d96eee84b2ef905cc012707
link
/test e2e-simpleTests-cni

prow/istio-pilot-multicluster-e2e.sh
86d8c370ae5c0f2e4d96eee84b2ef905cc012707
link
/test istio-pilot-multicluster-e2e

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. I understand the commands that are listed here.

@phil9909 as this PR doesn't test the images against the gate, could you produce a new PR as recommended here:
https://github.com/istio/istio/issues/12122#issuecomment-476109598
Cheers,
-steve

I close this in favor of #12741 as suggested, so that we have discussions in one place.


Use Rule.oneOf to resolve correct loader

This PR uses the oneOf rule to resolve loaders in webpack.config.prod.js. This will use the first loader that matches in the list of loaders provided by oneOf and enables us to remove the big exclusion list of the file-loader. The file loader will only be used if the module falls through all other loaders.
https://webpack.js.org/configuration/module/#rule-oneof
For some reason though I had to still preserve the js(x) exclusion in the file loader. Otherwise the build would break. This happens with or without the eslint preloader. Will have to investigate further why exactly this happens and why these unknown js(x) modules fall through to the file-loader.
The resolve now looks something like this (pseudocode):
[
  { 'eslint-loader', enforce: 'pre', test: 'javascript' },
  {
    oneOf: [
      { 'url-loader': test: 'images' },
      { 'babel-loader', test: 'javascript' },
      { 'style-loader', test: 'style' },
      { 'file-loader' },
    ]
  }
]

This is sooo sweet. Thank you.
Still pending some work?

Thank @sokra as he pointed me in the right direction :D Yeah now I see I missed the dev config. Will add that in a bit.

For some reason though I had to still preserve the js(x) exclusion in the file loader. Otherwise the build would break. This happens with or without the eslint preloader. Will have to investigate further why exactly this happens and why these unknown js(x) modules fall through to the file-loader.

Did you figure this part out?

Did you figure this part out?

Not yet. I can try my luck tomorrow but there is a chance I will come to no conclusion. Debugging webpack is a pain and __webpack_require__(...) is not a function does not really help there.
But -- I added oneOf to the dev config. Should be good now if you don't point me to a spot I missed :)

Let's hang on until you try to figure it out. If you can't, no sweat, just write here and we'll get somebody familiar with webpack internals to look at it. I'd like to understand better before merging. Thank you!

Ok, I found out what the problem is and have two possible fixes for you. The culprit is the css-loader runtime that gets injected as a .js file that would then be loaded by the file-loader if we don't exclude .js files explicitly. Why this happens is beyond me. I suspected the ModuleScopePlugin but it is clean.
As a proof-of-concept I tried to patch the css-loader so that the runtime gets loaded with the !! prefix which ignores all loaders. But that is another can of worms (weird errors) I was not willing to open.
So here are my proposed solutions:

Keep the exclusion and document why it's there.
(Cleaner IMHO) Add include: paths.appSrc to the file-loader. But this could potentially break projects that use the file-loader to load files from outside paths.appSrc for whatever reason.

I'm happy to implement either one of these based on feedback.

Keep the exclusion and document why it's there.

This sounds good to me.

Should be good now. Thanks for your precious weekend time guiding me through this. If there is anything else I missed then feel free pointing me to it.

@EnoahNetzach Let me know if you have any comments here!

I’ll get this in for now. Thank you again!


Download Secure File does not set reference name variable on output (Release Pipelines / GUI)

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: DownloadSecureFile@1
Environment

Server - Azure Pipelines or TFS on-premises?

This is on a hosted agent, all build details I am going to keep private, they are not publicly accessible nor relevant to this issue.

Agent - Hosted:

2022-10-13T10:56:12.7718779Z Agent name: 'Hosted Agent'
2022-10-13T10:56:12.7719179Z Agent machine name: 'WIN-DERNTA73BHA'
2022-10-13T10:56:12.7719396Z Current agent version: '2.210.1'
2022-10-13T10:56:12.7787030Z ##[group]Operating System
2022-10-13T10:56:12.7787318Z Microsoft Windows Server 2019
2022-10-13T10:56:12.7787488Z 10.0.17763

Issue Description

Note: This issue is only for GUI pipelines ie release pipelines, it's not an issue if we have direct access to the yaml.

Given the following config for this task:

The following YAML is generated:
steps:
- task: DownloadSecureFile@1
  displayName: 'Download App Store Provisioning Profile'
  inputs:
    secureFile: 'MY_SECURE_FILE_NAME'

Note the missing name, we configured the name ProvisioningProfile, which the GUI says can be referenced by ProvisioningProfile.secureFilePath
This variable does not actually get set and it can't be referenced by subsequent tasks, instead they have to know the filename. This makes pipeline maintainability really difficult and it looks like its a bug in the GUI -> YAML generation.
Confirmed the reference name is not used by setting system.debug to true and inspecting task output:
2022-10-13T10:56:23.9550347Z ##[debug]Processed: ##vso[task.setvariable variable=secureFilePath;isOutput=false;issecret=false;]D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision

I would expect the reference name:
2022-10-13T10:56:23.9550347Z ##[debug]Processed: ##vso[task.setvariable variable=ProvisioningProfile.secureFilePath;isOutput=false;issecret=false;]D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision

Task logs
Debug logs from task
2022-10-13T10:56:23.0361448Z ##[debug]Evaluating condition for step: 'Download App Store Provisioning Profile'
2022-10-13T10:56:23.0363392Z ##[debug]Evaluating: succeeded()
2022-10-13T10:56:23.0363862Z ##[debug]Evaluating succeeded:
2022-10-13T10:56:23.0365461Z ##[debug]=> True
2022-10-13T10:56:23.0365932Z ##[debug]Result: True
2022-10-13T10:56:23.0366344Z ##[section]Starting: Download App Store Provisioning Profile
2022-10-13T10:56:23.0513973Z ==============================================================================
2022-10-13T10:56:23.0514326Z Task         : Download secure file
2022-10-13T10:56:23.0514560Z Description  : Download a secure file to the agent machine
2022-10-13T10:56:23.0514784Z Version      : 1.200.0
2022-10-13T10:56:23.0515232Z Author       : Microsoft Corporation
2022-10-13T10:56:23.0515534Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-secure-file
2022-10-13T10:56:23.0515896Z ==============================================================================
2022-10-13T10:56:23.0627128Z ##[debug]Using node path: C:\agents\2.210.1\externals\node10\bin\node.exe
2022-10-13T10:56:23.2750595Z ##[debug]agent.TempDirectory=D:\a\_temp
2022-10-13T10:56:23.2776400Z ##[debug]loading inputs and endpoints
2022-10-13T10:56:23.2810106Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2022-10-13T10:56:23.2827167Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2022-10-13T10:56:23.2829810Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2022-10-13T10:56:23.2833727Z ##[debug]loading INPUT_RETRYCOUNT
2022-10-13T10:56:23.2836032Z ##[debug]loading INPUT_SECUREFILE
2022-10-13T10:56:23.2853721Z ##[debug]loading SECRET_IOS_DISTRIBUTION_CERTIFICATE_PASSWORD
2022-10-13T10:56:23.2856339Z ##[debug]loading SECUREFILE_TICKET_00000000-0000-0000-0000-000000000000
2022-10-13T10:56:23.2867804Z ##[debug]loaded 7
2022-10-13T10:56:23.2877120Z ##[debug]Agent.ProxyUrl=undefined
2022-10-13T10:56:23.2879180Z ##[debug]Agent.CAInfo=undefined
2022-10-13T10:56:23.2880481Z ##[debug]Agent.ClientCert=undefined
2022-10-13T10:56:23.2881664Z ##[debug]Agent.SkipCertValidation=undefined
2022-10-13T10:56:23.4955086Z ##[debug]check path : D:\a\_tasks\DownloadSecureFile_00000000-0000-0000-0000-000000000000\1.200.0\task.json
2022-10-13T10:56:23.4956655Z ##[debug]adding resource file: D:\a\_tasks\DownloadSecureFile_00000000-0000-0000-0000-000000000000\1.200.0\task.json
2022-10-13T10:56:23.4957442Z ##[debug]system.culture=en-US
2022-10-13T10:56:23.4975823Z ##[debug]retryCount=8
2022-10-13T10:56:23.4976746Z ##[debug]socketTimeout=undefined
2022-10-13T10:56:23.4979347Z ##[debug]secureFile=00000000-0000-0000-0000-000000000000
2022-10-13T10:56:23.4980685Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/civica-blue/
2022-10-13T10:56:23.4987210Z ##[debug]SYSTEMVSSCONNECTION auth param ACCESSTOKEN = ***
2022-10-13T10:56:23.4988369Z ##[debug]Secure file retry count set to: 8
2022-10-13T10:56:23.4990151Z ##[debug]Agent.ProxyUrl=undefined
2022-10-13T10:56:23.5026843Z ##[debug]secure file name for id 00000000-0000-0000-0000-000000000000 = MY_SECURE_FILE_NAME.mobileprovision
2022-10-13T10:56:23.5027764Z ##[debug]Agent.TempDirectory=D:\a\_temp
2022-10-13T10:56:23.5030267Z ##[debug]Absolute path for pathSegments: D:\a\_temp,MY_SECURE_FILE_NAME.mobileprovision = D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision
2022-10-13T10:56:23.5031919Z ##[debug]Downloading secure file contents to: D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision
2022-10-13T10:56:23.7675535Z ##[debug]secure file ticket for id 00000000-0000-0000-0000-000000000000 = ***
2022-10-13T10:56:23.7676730Z ##[debug]SYSTEM.TEAMPROJECT=Gov NI
2022-10-13T10:56:23.9539186Z ##[debug]Downloaded secure file contents to: D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision
2022-10-13T10:56:23.9541825Z ##[debug]set secureFilePath=D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision
2022-10-13T10:56:23.9550347Z ##[debug]Processed: ##vso[task.setvariable variable=secureFilePath;isOutput=false;issecret=false;]D:\a\_temp\MY_SECURE_FILE_NAME.mobileprovision
2022-10-13T10:56:23.9647810Z ##[section]Finishing: Download App Store Provisioning Profile

This issue is very similar to #11658, but that issue got closed without resolution and this is still clearly an issue with the GUI side.

Hi @Axemasta thanks for reporting! We are working on more prioritized issues at the moment but will get back to this one soon.


Add block time to block table

Currently when storing a new block, we save the block timestamp only. However, some applications might want to get the block time as well. For this reason, we need to add a row computing the time as follows:

if no blocks exist, use the genesis time to compute the block time
if a previous block exists, use that block's timestamp to compute the block time

References forbole/bdjuno#39

@HarleyAppleChoi @kwunyeung When taking a look at this issue, I've found how that we cannot implement this inside Juno.
The reason is that in order to compute the time block, you have to have:

the genesis time, and
the time for the block previous to the one you are computing the difference for

These two requirements collide with the current working of Juno. Currently, you can run Juno in three different modes:

listening for new blocks only;
parsing old blocks only until the current block height;
listening for new blocks and at the same time parsing old blocks.

While (2) does not have any problems, (1) and (3) do. Particularly, the listening for new blocks might cause some problems:

to compute the block time you have to have the previous block timestamp, but
the previous block might not exist yet due to it not being parsed.

This conflict would cause extremely incorrect block time calculations.
Solution
When thinking how to solve this problem, I figured out that it might be a lot easier and faster to perform this kind of computation client side.
The idea is the following:

Subscribe to new blocks.
Each time a new block is created, get all the timestamps for the existing blocks.
Compute the average block time.

The time complexity of this solution is actually O(n) which would result in the computation taking > 1s only when the blocks count is very hihg (>= 10.000.000 blocks) as you can see from this NodeJS looping performance post.
To better show my solution, I've created a repository: AvgBlockTimeCalculator. Inside it you can find and test the code by yourself.
Please let me know what you guys think about this.

@RiccardoM I guess calculating each block time would be fine being done on client side but not the average block time. For example, the current block height of cosmoshub-3 is at 3.26m. It's not possible to get all block timestamp and calculate the average when a user request. Consider there are 50 concurrent users, the server will be querying the database for hundreds of millions of block data.
From the repo, the average block time is only being calculated by the subscription which only taking the responded data into account. It will not have the average block time from genesis block.
Saving each block time in the database is good as this data won't be changed after a single processing. I'm thinking if the following solution is possible.

Parse the blocks without calculating the block time
Setup a timer, get all processed blocks without block time and calculate block time of H block against H-1.
If H-1 doesn't existing, skip H.

There are two types of AverageBlockTime, OverallAverage and AverageBy{TimeInterval}.
To calculate the OverallAverage block time, we don't need to know the block time of each block. This can be done by calculating
OverallAverage = (CurrentBlockTimestamp - GenesisBlockTime) / CurrentBlockHeight

The AverageBy{TimeInterval} can be calculated by another timer process or cron job. For example, every day midnight, make the following calculation
AverageByLast24Hrs = (TodayLastBlockTimestamp - YesterdayBlockTimestamp) / (TodayLastBlockHeight - YesterdayLastBlockHeight)

@kwunyeung Let me answer you by points

Consider there are 50 concurrent users, the server will be querying the database for hundreds of millions of block data.

I honestly don't think this is a problem at all. Hasura has shown us that it can scale pretty well. You can see this inside their "See Hasura scale to 1 million active GraphQL subscriptions" article. You can see that they had 1 million clients and they were updating 1 million rows per seconds. At this workload, Postgres was at only 28% load.
I don't think we will ever reach this number, so I think we can safely assume we will not have any problem about this.

From the repo, the average block time is only being calculated by the subscription which only taking the responded data into account. It will not have the average block time from genesis block.

Actually, that subscription gets all the blocks ever created, starting from the first up to the latest. So the blocktime is the most accurate possible. It takes all the blocks, gets their time and computes the average block time of all of them.

I'm thinking if the following solution is possible.

Parse the blocks without calculating the block time
Setup a timer, get all processed blocks without block time and calculate block time of H block against H-1.
If H-1 doesn't existing, skip H.

The problem with this approach is that we might have to run this process a lot of times before getting all the block times since it's recursive (to compute H you need H - 1).
Let's take an example. Let's assume that we now start BDJuno against a chain that has 1.000.000 blocks already created. Let's also assume that in order to parse all the blocks, and get to the latest height, this will take BDJuno 1 hour per 10.000 blocks. Let's also assume we update the block time once per hour.
In this case, we will have

the block time computed considering only the first block for the first 1 hour
the block time computed on the blocks 1 - 10.000 for the second hour
the block time computed on the blocks 10.001 - 20.000 for the third hour
... and so on

This will result in a block time that is never in real time, since it's only computed once every X amount of time.

Ok, then we don't have to store the block time of every block. Just calculate on client side. The average block time can be done by the simple math I mentioned and they should be saved in the table when a new block is processed. This data is being treated as the latest status of the chain. The aggregated data would help us create more statistical analysis. In the current version, I have AverageBlockTimePerMin, AverageBlockTimePerHour and AverageBlockTimePerDay. The same goes for delegation ratio and number of transactions.

@kwunyeung I think that can be done inside BDJuno then, am I correct? If so I will take care of creating an issue to describe how to implement this properly.

@RiccardoM yes it can be done inside BDJuno. Thanks!


Not working with business or student account

Please add feature to upload all type onedrive acc

Any update on this?

Any update on this?

+1

Bump. Is this project still active? And if so, any chance we could get a Business support? 🙏🏻🙏🏻


Question on how template will be made available to modellers

For REMIND-MAgPIE to prepare a submission, we need to read the template into R. We currently use this function that can read xlsx files but also yaml files such as:
- Final Energy:
    unit: EJ/yr

But: It does not yet understand things such as:
- Emissions|{Tier-1 Species}:
-     unit: "{Tier-1 Species}"

How will the template be made available to modellers, such that we can prepare? Thanks!

Yes, as long as we somehow get an R object containing the full variable names out of it, we should be able to convert it into something our scripts understands.

Hi Oliver, Daniel,
Do you know any equivalent of reticulate for python?
I am not sure the question was fully answered: wether each teams should use an appropriate script to convert the .yaml file to a full variable list,
Or if it is here on github that the community (we) should provide automatic conversion of the .yaml full (i-e, expanding the Tag on variables).

We now implemented a feature where the lists of variables and regions will be made available as an xlsx spreadsheet at https://files.ece.iiasa.ac.at/common-definitions/project-template.xlsx (and will be updated automatically to be in sync with the repository). The link to the file is already added to the Readme of this repository.
@orichters, is that sufficient for you?

Yes, that is perfect! loadIIASATemplate happily read the file and we can figure out how we automate the download.

Will the min, max specification, summation rules etc. also be exported?

Yes, all attributes in the yaml are included as columns. We still need to come up with conventions on attribute-names for min/max-attributes, but that’s a different discussion…

Thanks, excellent!

There is another small issue: The expansion of the tags does not work yet in the components field:

Now at https://files.ece.iiasa.ac.at/common-definitions/common-definitions-template.xlsx


One-shot feature kills slaves of unrelated projects

Greetings,
We've installed v2.0 on several of our jenkins masters, and encountered the following issue:
Our jenkins masters are independant instances, most teams run their own masters. But slaves are launched and run in one google project, maintained by IT. For some masters (teams), new "one-shot" feature is enabled, for others, it is not. And some remaining masters are still running older versions of the plugin without these new one-shot and snapshot features at all.
Apparently, some of the masters with one-shot enabled will start killing slaves of other masters, where one-shot is disabled, probably following some naming pattern which can be similar for different masters. As a result, some teams end up with their slaves killed by other teams' masters while jobs are still run: e.g. "Team A" slave gets killed by "Team B" master, which are two independent teams.

How are we seeing that a certain worker is killed by another team's master? Are there more stack traces I can see. What kind of labels are you using for your workers/jobs?

@mikeitup Its not One shot feature that is killing your tasks but probably Clean orphaned nodes
See https://issues.jenkins-ci.org/browse/JENKINS-56201
To fix it just change name of could in each of jenkins instances.

@rachely3n sorry I didn't reply earlier, I think what @ingwarsw says solves our issue. Thanks!

This is interesting. I may have to work on a new feature to better distinguish instances with a particular master.
@ingwarsw so the problem is because both masters are using the same cloud name?

@rachely3n See #51


The implement

Wonder still use jax to implement like Unifold? Really fantastic work . wait for releasing

It is pytorch


python310Packages.accessible-pygments: 0.0.3 -> 0.0.4

Changelog: https://github.com/Quansight-Labs/accessible-pygments/raw/v0.0.4/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 223156 run on x86_64-linux 1

2 packages failed to build:

python310Packages.jupyter-book
python311Packages.jupyter-book

6 packages built:

python310Packages.accessible-pygments
python310Packages.pydata-sphinx-theme
python310Packages.sphinx-book-theme
python311Packages.accessible-pygments
python311Packages.pydata-sphinx-theme
python311Packages.sphinx-book-theme


Specify subfolders NOT to include

Hi Graysky,
I was wondering if there's a way of not including some sub-folders. My idea was to include my owncloud installation, but I don't want to include the data folder into asd.
I imagine it'd be possible to do it with some symbolic linking witchery. Basically, creating the overlay for everything, but the specified subfolders and then symlinking it, but I'm not sure if it'd work as I'm not too familiar with the inner workings of overlayfs.

Conceptually, I don't see how that would work if the ignore dir is under the sync dir.

I ended up just changing the data folder to outside the owncloud installation folder. Probably even a good idea regardless of asd or not.
Unfortunately, my machine is stuck with linux 3.8 (odroid-U2), so no overlay for me... ):
But thanks for answering.

That sounds like a good solution.  Wow, 3.8 is OLD... that isn't even a lts kernel.  You might wanna switch your ARM distro to something more fresh.  Arch ARMv7 is shipping 4.1.12 I believe and that will work for your odroid-u2.


Mob app tt 225

Adding the first changes to story TT-225. Setting up UI property to change the "I don't know" option on the select phone view to "Yes, but I'd prefer not to".  Adding if else to the view to show one or the other of these depending on whether visit is part of A or B group in AB Test


Export resource lost and cannot set when change csproj file

Godot version
4.1.1 mono
System information
windows10 x64
Issue description
I try to use this to give C# project a global constant
<DefineConstants>isDebug</DefineConstants>
and get lots of error output when running
I check all scene and find the export resource are lost, and cannot be set in editor
Steps to reproduce
N/A
Minimal reproduction project
just a normal C# project

Please upload a minimal reproduction project to make this easier to troubleshoot.
Also, there's already a DEBUG constant when C# projects are build with the Debug configuration, and Godot adds custom constants (these Godot specific constants are documented in the C# features page).
You are replacing all those constants with <DefineConstants>isDebug</DefineConstants>, if you meant to add to the existing constants you should be using <DefineConstants>$(DefineConstants);isDebug</DefineConstants> instead.

It seems we are using #if TOOLS in the generated code. Since you are replacing the constants defined by Godot.NET.Sdk (and thus removing the TOOLS constant) the code inside the #if TOOLS is not included in the compilation.

Closing since this is working as expected. See the comments above for the explanation.


How to use Locust for UI performance testing?

Hi,
I would like to use Locust for UI performance testing.
How to use Locust for UI performance testing?
How can I get the loading time of the HTML elements?
Thanks

Have a look at the webdriver locust class in https://github.com/SvenskaSpel/locust-plugins
Right now it doesnt actually measure the loading time, but with some knowledge of selenium you could be able to log that. Feedback/PRs are very welcome :)

@cyberw I'll appreciate it if you could log measuring the loading time

Sorry, I’m not using any webdriver tests right now so I wont have time to do it (at least not any time soon)

@mhdmaktabi I wouldn't expect Locust to work well for measuring UI performance. It's not what it was built for. There are good tools for that built into both Firefox and Chrome.

What I was thinking about was using Chrome's own measurements, and then logging them to locust.
Using something like this to start with https://www.lambdatest.com/blog/how-to-measure-page-load-times-with-selenium/

I don't really see the point of doing this in Locust. You won't be able to create much load if every single Locust user needs to create and control a whole Browser instance (each one using significant amount of memory and CPU).
It's two fundamentally different things to measure the client side performance of a website, and load test a server side app.

Headless chrome is quite efficient nowadays. I've been able to simulate 50 concurrent users doing maybe 20 page loads/s (triggering around 500 http requests/s + some websockets, etc) on my laptop.
Using a full browser is useful in a lot of cases, mainly because it is less prone to miss some types of issues (like a change in the front end/client side javascript causing a backend api being hit more than before), but also to complement a "normal" test to give "real" user-perceived load times.
But on the other hand, selenium is very unstable, particularly under high load, so you get some other problems instead :)

@heyman could you please recommend any tool for measuring UI performance built into both Chrome and Firefox?

Sorry you'll have to google that yourself. Good luck!

Hi @cyberw
I couldn't run more than 20 headless chrome. how did you run 50 headless chrome?
I need to simulate 500 users to test UI performance under load.

My laptop is relatively high performance, maybe 20 is all you'll be able to get. It probably depends a lot on the complexity of the pages you are loading.
500 will not be possible without running distributed with a bunch of really massive load generators.


Change elasticsearch mapping to use CompanyExportCountry

Description of change
Change elasticsearch mapping to use CompanyExportCountry for export countries data
Checklist

[ ] Has a new newsfragment been created? Check changelog/README.md for instructions
[ ] Do any added or updated endpoints appear in the API documentation? See docs/Maintaining the API documentation.md for more details
[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[ ] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

blocked until https://github.com/uktrade/data-hub-api/pull/2375 is merged

CSV feature currently blocked due to a Django bug: https://code.djangoproject.com/ticket/31097


Identify and update data author and contributor information

Hi, the current data package include you and our package developer as the authors.
Please provide all other data authors/contributors for this dataset if you are aware of. Reply with the format:
First Name:
Family Name:
Email:
ORCiD (if available):

Hello,
Betty is the other author of the data, and the data collection was supervised by Dr. Amankwaa. See below:
First Name: Betty Avanu
Family Name: Davidson
Email<EMAIL_ADDRESS>ORCiD (if available): 0009-0006-9594-4048
First Name: Ebenezer F.
Family Name: Amankwaa
Email<EMAIL_ADDRESS>ORCiD (if available): 0000-0002-8735-2521
Thanks,
Elizabeth

@efvicario Thanks I updated the author information accordingly.


uncomments and updates 3 commented-out tests

This solves the same problem as #192, but by welcoming the tests back into the fold rather than destroying them.

+1


do_delete_old_unclaimed_attachments: Cap deletions at batch size.

Since each loop may add more than one file to the storage_paths list, this may result in more than 1000 files being sent to delete_message_attachments.  Since the S3 backend only supports 1000 elements being deleted at once, we must partition the list into chunks which are no more than 1000 elements long.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged and marked as a backport candidate, since this is a correctness issue.

This was backported in #31476.


"Could not find a nameserver in the Windows Registry" out-of-the-box on Windows

I'm hitting this exception when trying to use this library:
Fatal error:  Uncaught exception 'Amp\Dns\ResolutionException' with message 'Could not find a nameserver in the Windows Registry.' in C:\src\dnstools.ws\vendor\amphp\dns\lib\DefaultResolver.php:383
Stack trace:
#0 [internal function]: Amp\Dns\DefaultResolver::loadResolvConf()
#1 C:\src\dnstools.ws\vendor\amphp\amp\lib\functions.php(874): Generator->throw(Object(Amp\WindowsRegistry\KeyNotFoundException))
#2 [internal function]: Amp\__coroutineSend(Object(Amp\WindowsRegistry\KeyNotFoundException), NULL, Object(Amp\CoroutineState))
#3 C:\src\dnstools.ws\vendor\amphp\amp\lib\Placeholder.php(91): call_user_func('Amp\\__coroutine...', Object(Amp\WindowsRegistry\KeyNotFoundException), NULL, Object(Amp\CoroutineState))
#4 C:\src\dnstools.ws\vendor\amphp\amp\lib\PrivatePromisor.php(20): Amp\PrivatePlaceholder->resolve(Object(Amp\WindowsRegistry\KeyNotFoundException), NULL)
#5 [internal function]: Amp\PrivatePlaceholder->Amp\{closure}(Object(Amp\WindowsRegistry\KeyNotFoundException), NULL)
#6 C:\src\dnstools.ws\vendor\amphp\amp\lib\ in C:\src\dnstools.ws\vendor\amphp\dns\lib\DefaultResolver.php on line 383

Looking at https://github.com/amphp/dns/blob/8659b56263e5d74131782b9cb872a1ff64d6af4c/lib/DefaultResolver.php#L353-L372, it looks like the code looks for these keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NameServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DhcpNameServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{guid}\NameServer

However, on my computer, the DNS server is at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{55de6892-f5b0-4632-aeb8-d34874155c77}\DhcpNameServer.
Instead of just looking at Interfaces\{guid}\NameServer, I think it should also look for Interfaces\{guid}\DchpNameServer.
I'm on Windows 10, using DHCP.

Thanks for the report, I added support for that.

It's included in https://github.com/amphp/dns/releases/tag/v0.8.14.


Unsplash button not working

Issue Summary
I updated to Ghost 1.6 and tried the Unsplash button. I created a new application which got all rights.
When I click on the button in the editor I see the following screen.
Testetd with latest versions of Chrome and Firefox
Steps to Reproduce

Create a application on Unsplash, added them to the options in the Apps.
Click on the Unsplash button

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:

Ghost Version: 1.6.0
Node Version: 6.11.2
Browser/OS:  Chrome / Firefox Latest Versions
Database:  MariaDB 10.2

Duplicate of #8905 - fix is already in master, will be in the next release.


[4.1][Bug] Field with autofocus error in create

Bug report
Facade\Ignition\Exceptions\ViewException
Undefined index: value (View: C:\laragon\www\crudContact\vendor\backpack\crud\src\resources\views\crud\form_content.blade.php)
$focusFieldName = !is_iterable($focusField['value']) ? $focusField['name'] : ($focusField['name'] . '[]');
What I did
        $this->crud->addField([
            'name'  => 'name_first',
            'label' => trans('contact.name.first'),
            'type'  => 'text',
            'tab'   => trans('contact.names'),
            'attributes' => ['id' => 'name_first'],
            'wrapperAttributes' => ['class' => 'form-group col-md-6'], //resizing
            'entity' => 'names',
            'auto_focus' => 'true',
            ]);

What I expected to happen
focus in field "name_first"
What I've already tried to fix it
add the value in the field and not fail. But editing this field loses its value saved in the registry.
        $this->crud->addField([
            'name'  => 'name_first',
            'label' => trans('contact.name.first'),
            'type'  => 'text',
            'tab'   => trans('contact.names'),
            'attributes' => ['id' => 'name_first'],
            'wrapperAttributes' => ['class' => 'form-group col-md-6'], //resizing
            'entity' => 'names',
            'auto_focus' => 'true',
            'value' => '',
            ]);

I have also tried adding the create / update option and it doesn't work for me.
        $this->crud->addField([
            'name'  => 'name_first',
            'label' => trans('contact.name.first'),
            'type'  => 'text',
            'tab'   => trans('contact.names'),
            'attributes' => ['id' => 'name_first'],
            'wrapperAttributes' => ['class' => 'form-group col-md-6'], //resizing
            'entity' => 'names',
            'auto_focus' => 'true',
            'value' => '',
            ], 'create');
        $this->crud->addField([
            'name'  => 'name_first',
            'label' => trans('contact.name.first'),
            'type'  => 'text',
            'tab'   => trans('contact.names'),
            'attributes' => ['id' => 'name_first'],
            'wrapperAttributes' => ['class' => 'form-group col-md-6'], //resizing
            'entity' => 'names',
            'auto_focus' => 'true',
            ], 'update');

Backpack, Laravel, PHP, DB version
PHP VERSION:
PHP 7.2.11 (cli) (built: Oct 10 2018 02:04:07) ( ZTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
LARAVEL VERSION:
v6.18.3@4e48acfaba87f08320a2764d36c3b6a4a4112ccf
BACKPACK VERSION:
4.1.x-dev@05bf67462133fce32b6239e8637ba6ed68383011

Wow @DanielKimmich - I'm impressed. How did you learn about the auto_focus feature? It's super-undocumented. Even I forgot all about it 😆
Anyway, thanks for the bug report. It's now fixed in 4.1 since https://github.com/Laravel-Backpack/CRUD/commit/80e375eb2b667fcfe36e4f907e3188e12069552c .
Cheers!

Also, I know you installed 4.1 two weeks ago or something. If you do a composer update to get the latest 4.1, please note that this past week we've pushed the last of the breaking changes - so your app might crash. A relatively easy way to see what we've pushed since you installed it is to take a look at the commits of our Docs repo, and see what we've changed since you last ran composer update.
Most notable breaking changes this week:

Step 9 - we've removed BackpackUser;
Step 12 - fields wrapperAttributes was renamed to wrapper;

Hope it helps.
PS. We're at feature-freeze so no more breaking changes on 4.1 starting today. Only bug fixes. So this won't happen again.

Thank you very much for always keeping updated and with new functionalities. Although I had some problems with 4.1, in case I can't solve it, I report the case to you, I hope this doesn't bother you.
Cheers,

Not at all @DanielKimmich . That's why we're keeping it in beta for now - to find & squash bugs before thousands of people install it. You're doing us a big service, keep at it!


[#noissue] add simple message sender.

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


From web.xml -> @WebServlet

remove web.xml
add @WebServlet
Fixup many pom.xml to add maven plugin
Rename a few index.html / index.jsp files.

Codecov Report

Merging #675 into master will increase coverage by 1.81%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #675      +/-   ##
============================================
+ Coverage     56.57%   58.39%   +1.81%
- Complexity      118      165      +47
============================================
  Files            78       78
  Lines          2236     2329      +93
  Branches        150      160      +10
============================================
+ Hits           1265     1360      +95
+ Misses          924      922       -2
  Partials         47       47

Impacted Files
Coverage Δ
Complexity Δ

...ava/com/example/appengine/search/IndexServlet.java
92.3% <ø> (+8.97%)
4 <0> (+4)
:arrow_up:

...va/com/example/appengine/search/SchemaServlet.java
100% <ø> (+4.16%)
6 <0> (+6)
:arrow_up:

...om/example/appengine/requests/RequestsServlet.java
100% <ø> (ø)
4 <0> (+4)
:arrow_up:

.../com/example/appengine/search/DocumentServlet.java
100% <ø> (ø)
6 <0> (+6)
:arrow_up:

...a/com/example/appengine/taskqueue/push/Worker.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

.../com/example/appengine/taskqueue/push/Enqueue.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...va/com/example/appengine/search/DeleteServlet.java
97.56% <ø> (+8.67%)
9 <0> (+9)
:arrow_up:

...va/com/example/appengine/search/SearchServlet.java
82.75% <ø> (+6.44%)
6 <0> (+6)
:arrow_up:

.../example/appengine/search/SearchOptionServlet.java
89.55% <ø> (+2.05%)
6 <0> (+6)
:arrow_up:

...com/example/appengine/requests/LoggingServlet.java
100% <100%> (ø)
6 <1> (+6)
:arrow_up:

... and 8 more

Continue to review full report at Codecov.

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


Bumped a new minor tree-siter-cli version

0.17.0 > 0.17.1

Looks like this was already updated in master https://github.com/tree-sitter/tree-sitter-python/blob/7c8930b6388b5590ebef248853f144185a9eda1d/package.json#L15-L17


Uuid is not supported in oapi::endpoint macro

Describe the bug
ToSchema seems not to be implemented completly for Uuid.
To Reproduce
My Cargo.toml configuration:
[dependencies]
salvo = { version = "0.55", features = ["rustls", "serve-static", "affix", "websocket", "compression", "anyhow", "session"] }
salvo-oapi = { version = "0.55", features = ["swagger-ui", "rapidoc", "uuid", "time"] }
uuid = { version = "1.2", features = ["v4", "serde"] }

How I use the #handle macro:
#[endpoint]
pub async fn get_record_rest(
    env_uuid: HeaderParam<Uuid, true>,
) -> Json<String> {
    Json("test".to_string())
}

Expected behavior
The Uuid typ should be supported.

Have you enable serde feature in Cargo.toml?
[dependencies]
uuid = {  workspace = true, features = ["serde"] }

Yes I have, sorry I have not put all dependencies into the example...

fixed in version: v0.55.3


Create service instance after connecting did not get orgs

Connect a CF.
Create an instance
Orgs are not shown in the Cf/Org/Space widget.

I'm unable to reproduce this

Fixed by https://github.com/cloudfoundry-incubator/stratos/pull/2513


I met some questions in demo.py

Thank you for your code,  it's helpful for me, you are very nice person. but here is a question needing your help! T^T~
No error when running 'demo.py', but the terminal just stopped at this step for 40minutes without ending:
[INFO] Loading pytorch trtpose model with "../weights/pose_estimation/trtpose/densenet121_baseline_att_256x256_B_epoch_160.pth"
[INFO] Loading TensorRT reid model: ../weights/tracker/deepsort/siamese_market1501.trt.
[INFO] Writing output to ../output/fun_theory_trtpose_deepsort_market1501_siamesenet.avi
[INFO] Writing output to ../output/fun_theory_trtpose_deepsort_market1501_siamesenet_debug.avi
Run | fun_theory.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   0% -:--:-- 76.87fps[INFO] Saving video to : ../output/fun_theory_trtpose_deepsort_market1501_siamesenet.avi
Hope your reply~~~~

谢谢你的代码，这对我很有帮助，你是非常好的人。但这里有一个问题需要你的帮助！T^T~ 运行“demo.py”时没有错误，但终端只是在这一步停止了 40 分钟而没有结束：
[信息]使用“../weights/pose_estimation/trtpose/densenet121_baseline_att_256x256_B_epoch_160.pth“ [INFO] 加载 TensorRT reid 模型：../weights/tracker/deepsort/siamese_market1501.trt。 [INFO] 将输出写入 ../output/fun_theory_trtpose_deepsort_market1501_siamesenet.avi [INFO] 将输出写入 ../output/fun_theory_trtpose_deepsort_market1501_siamesenet_debug.avi 运行 |fun_theory.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -：--：-- 76.87fps[INFO] 将视频保存到： ../输出/fun_theory_trtpose_deepsort_market1501_siamesenet.avi
希望您的回复~~~~

Hello，I have encountered this problem while studying this post, have you solved it already?

Hello，I have encountered this problem while studying this post, have you solved it already?

Hello, has anyone found any solution to above problem?
Please help, thanks!

In the show() function of src/lib/utils/utils.py , there is a key = cv2.waitKey(wait) in line 45, ane the value of wait is 0 which is a fixed parameter. This means that the window is waiting for a key value input from the user. Try to replace wait = 0 by wait = 1 so that the window will not wait for an operation.
Another way is to comment out utils.show(debug_img, window='debug_tracking') and utils.show(render_image, window='webcam' if isinstance(source, int) else osp.basename(source)) in demo.py if you don't need to show the window.


fix(deps): update testing-library (major)

This PR contains the following updates:

Package
Type
Update
Change
Pending

@testing-library/jest-dom
dependencies
major
^5.16.5 -> ^6.0.0
6.1.0 (+1)

@testing-library/react
dependencies
major
^13.4.0 -> ^14.0.0

@testing-library/user-event
dependencies
major
^13.5.0 -> ^14.0.0

Release Notes

testing-library/jest-dom (@testing-library/jest-dom)
v6.0.0
Compare Source
Features

local types, supporting jest, @jest/globals, vitest (#511) (4b764b9)

BREAKING CHANGES

Removes the extend-expect script. Users should use
the default import path or one of the new test platform-specific
paths to automatically extend the appropriate "expect" instance.

extend-expect was not documented in the Readme, so this change should
have minimal impact.
Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:

@testing-library/jest-dom - jest (@types/jest)
@testing-library/jest-dom/jest-globals - @jest/globals
@testing-library/jest-dom/vitest - vitest

For example:
import '@testing-library/jest-dom/jest-globals'
Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.
It's also (still) possible to import the matchers directly without
side effects:
import * as matchers from '@testing-library/jest-dom/matchers'

Update kcd-scripts
Drop node < 14

v5.17.0
Compare Source
Features

New toHaveAccessibleErrorMessage better implementing the spec, deprecate toHaveErrorMessage (#503) (d717c66)

testing-library/react-testing-library (@testing-library/react)
v14.0.0
Compare Source
Bug Fixes

Prevent "missing act" warning for queued microtasks (#1137) (f78839b)

Features

Bump @testing-library/dom to 9.0.0 (#1177) (6653c23)
Drop support for Node.js 12.x (#1169) (9b7a1e2)

BREAKING CHANGES

See https://github.com/testing-library/dom-testing-library/releases/tag/v9.0.0
Minimum supported Node.js version is now 14.x

testing-library/user-event (@testing-library/user-event)
v14.4.3
Compare Source
Bug Fixes

build: add types field in exports (#1029) (5bed8c6)
remove circular dependencies (#1027) (1aa2027)

v14.4.2
Compare Source
Bug Fixes

build: add exports field (#1022) (7839e29)

v14.4.1
Compare Source
Bug Fixes

build: transpile to es2019 syntax (#1016) (4291cb8)

v14.4.0
Compare Source
Features

pointer: dispatch auxclick events (#1003) (2852509)

Bug Fixes

event: be robust against incomplete event implementations (#1009) (289828b)
upload: be robust against missing FileList implementation (#1007) (a46b4d7)
keyboard: switch modifier state of lock keys on the correct event (#1003) (2852509)
keyboard: remove platform-specific additional key events for Control on AltGraph (#1003) (2852509)
pointer: dispatch contextmenu events with detail: 0 (#1003) (2852509)
pointer: always set PointerEvent.isPrimary (#1003) (2852509)
pointer: set button property on pointer events separately from legacy mouse events (#1003) (2852509)
pointer: click closest common ancestor if mousedown and mouseup happen on different elements (#1003) (2852509)
pointer: omit click event on release if another button is released first (#1003) (2852509)
pointer: dispatch mouseover, mouseenter and mousemove on disabled elements (#1003) (2852509)
pointer: prevent mouse* events per pointerdown event handler (#1003) (2852509)
pointer: dispatch *out and *over events when moving into / out of nested elements (#1003) (2852509)
pointer: dispatch *enter and *leave events on ancestors (#1003) (2852509)

v14.3.0
Compare Source
Features

keyboard: change radio group per arrow keys (#995) (e1c22af)

v14.2.6
Compare Source
Bug Fixes

document: reduce impact of React@17 workaround (#992) (9816d38)
pointer: do not throw for pointer-events: none on previous target (#991) (6e4058b)

v14.2.5
Compare Source
Bug Fixes

document: do not track value on HTMLSelectElement (#989) (77a7fa8)

v14.2.4
Compare Source
Bug Fixes

use window.FileList instead of implicit global (c88865d)

v14.2.3
Compare Source
Bug Fixes

document: use setters/methods on element as default (#987) (c40e614)

v14.2.2
Compare Source
Bug Fixes

document: track HTMLInputElement.setRangeText() (#984) (73443ec)

v14.2.1
Compare Source
Performance Improvements

tab: avert visibility check on irrelevant elements (#967) (d2d8a39)

v14.2.0
Compare Source
Features

report element with declaration in pointerEventsCheck (#950) (31b7091)

Bug Fixes

guard against selection without range (#953) (ab78f3f)
selectOptions: wait after each click (#951) (7ea7a77)
wait after each method before leaving asyncWrapper (#952) (6f55fee)

v14.1.1
Compare Source
14.1.1 (2022-04-17)
Bug Fixes

remove implicit global references (#932) (9913798)
use globalThis instead of global (#928) (497c14d)

v14.1.0
Compare Source
Features

add advanceTimers option (#907) (627a5cf)

Bug Fixes

delete chars from value at maxlength (#909) (f5049c4)
reset UI selection after programmatic value change (#915) (8bc3310)
set initial value when setting UI value (#918) (7b0643b)

v14.0.4
Compare Source
14.0.4 (2022-04-01)
Bug Fixes

track calls to HTMLInputElement.select() (#898) (6d36828)

v14.0.3
Compare Source
14.0.3 (2022-03-31)
Bug Fixes

pointer: change selection before dispatching focus (#895) (06f12a6)

v14.0.2
Compare Source
14.0.2 (2022-03-31)
Bug Fixes

work around shadowed globals (#892) (126d2e7)

v14.0.1
Compare Source
14.0.1 (2022-03-31)
Bug Fixes

maintain UI value on controlled number input (#889) (a7f9906)
pointer: support nested select (#888) (e23e559)

v14.0.0
Compare Source
⚠ BREAKING CHANGES

APIs always return a Promise.
pointer: skipPointerEvents has been removed.
Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.
upload: init parameter has been removed from userEvent.upload.
upload: applyAccept defaults to true.
The userEvent.paste API has new parameters.
{ctrl}, {del}, {esc} no longer describe a key. Use {Control}, {Delete}, {Escape} instead.
{alt}, {ctrl}, {meta}, {shift} no longer imply not releasing the key. Use {Alt>}, {Control>}, {Meta>}, {Shift>} instead.
init parameter has been removed from these APIs:

userEvent.click
userEvent.dblClick
userEvent.tripleClick
userEvent.hover
userEvent.unhover
userEvent.selectOptions
userEvent.deselectOptions

userEvent.upload no longer supports clickInit
as part of its init parameter.
Behavior for special key descriptor {selectall} has been removed.
Support for keyCode property on keyboard events has been removed.
An error is thrown when calling userEvent.clear on an element which is not editable.
An error is thrown when event handlers prevent userEvent.clear from focussing/selecting content.
tab: The focusTrap option has been removed from userEvent.tab().
type: userEvent.type does no longer move the cursor
if used with skipClick=false and without initialSelectionStart.
The implementation of pointer related APIs was replaced.
This might break tests relying on unintended side-effects of the previous implementation.
Support for node 10 was removed as it reached its end-of-life.

Features

async APIs (#790) (86860cc)
keep track of document state in UI (#747) (73e62d0)
rewrite selection handling (#776) (968c2c4)
event: support beforeinput (#851) (8890bd6)
add pointer API (#750) (c12ee44)
add setup API (#746) (719ba03)
add userEvent.copy and userEvent.cut (#787) (8727a2d)
add userEvent.tripleClick API (#773) (0badabd)
apply modifier keys in pointer events (#751) (e33eb86)
keyboard: add [Tab] support (#767) (87470ff)
keyboard: apply modifier state (#815) (e9635f6)
keyboard: move cursor and delete content in contenteditable (#822) (b83b259)
keyboard: select all per {Control}+[KeyA] (#774) (ea9b18a)
pointer: change selection per pointer (#763) (17fb8b1)
pointer: introduce pointerEventsCheck option (#823) (e2a5f43)
remove support for user provided MouseEventInit (#784) (56ebf7d)
paste: replace userEvent.paste (#785) (f8fe217)
clear: rewrite userEvent.clear API (#779) (1cda1b1)
upload: replace element properties (#794) (543eadb)

Bug Fixes

check for inherited :disabled (#872) (1a00fdf)
clipboard: prevent default behavior on copy/cut (#866) (5423094)
clipboard: prevent default behavior on paste (#862) (d3d71ac)
create MouseEvents per createEvent (#781) (da5b5b7)
export bundled ESM (#816) (1a5e2a7)
export types and commonjs bundle (#821) (4f56856)
keyboard: parse escaped bracket followed by descriptor (#814) (684451f)
keyboard: parse keyboard input without nesting (#793) (fafa677)
keyboard: set KeyboardEvent.charCode on keypress (#771) (55e194a)
keyboard: submit form with <button/> on [Enter] (#808) (eca157a)
log correct docs link for invalid key descriptors (#881) (28d6604)
maintain cursor position on controlled component (#765) (8f203cc)
pointer: blur activeElement on click outside of focusable (#834) (d64167c)
pointer: consider click context (#850) (ca4482a)
pointer: fire pointer events on disabled elements (#818) (ef2f4e5)
pointer: honor click handler on <label/> (#810) (2c5d9f1)
pointer: trigger contextmenu on mousedown (#811) (e1c4cad)
prepare document in setup (#753) (65be675)
remove deprecated keyboard features (#780) (45dc39a)
remove legacy modifier implementations (#783) (caea162)
replace pointer implementations (#754) (c04f79b)
reset UI selection on setter (#770) (2733d10)
tab: order tabIndex>0 before tabIndex=0 (#809) (1bc5945)
tab: remove focusTrap option (#772) (a0412c0)
tab: skip elements with visibility:hidden (#799) (a747b0a)
upload: fix order of events (#847) (214fd03)

Miscellaneous Chores

drop support for node 10 (#698) (ce01cde)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: frontend/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@types/jest
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   @types/jest@"*" from<EMAIL_ADDRESS>npm ERR!   node_modules/@types/testing-library__jest-dom
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @types/jest@">= 28" from<EMAIL_ADDRESS>npm ERR! node_modules/@testing-library/jest-dom
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@types/jest
npm ERR!   peerOptional @types/jest@">= 28" from<EMAIL_ADDRESS>npm ERR!   node_modules/@testing-library/jest-dom
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-08-22T03_19_54_567Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2023-08-22T03_19_54_567Z-debug-0.log

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Adjust line-height on nav items, prevent cutoff.

BEFORE:

AFTER:

 LOW URGENCY: Increase line height on department headers below hero spot.


Performance improvement: reintroduce branchless binary search

Remove the complicated blocksearch code to replace it with a handcrafted branchless binary search.

solved with #1124


On transactions page, network label should be below currency label

On transactions page, network label should be below currency label so that it'll be in sync with the hierarchy of displaying network labels that's in the proposed UI for multi-chain

Will be in next TestFlight


Merge in basics of AuxPoW support

This isn't completed (currently it won't sync past the first hard fork anyway), but getting the skeleton of this code in now. If you can see any obvious mistakes please let me know.
Also we need to pay the Namecoin devs when 1.14 ships, because honestly this is mostly their code.

Thanks! I guess after that we need to be looking at getting DigiShield and all the other crap in to get some syncing past all the forks going. There is also the issue of BIP9 and if we want to fork to support it but I'm not too keen on planning a fork right now. Maybe do that in the next version and shove segwit in too cause why the hell not ;)

I think all of the code is in, it just doesn't so much "work". Getting it to sync and fixing the tests are next tasks. I'll fix the merge stuff in a minute.

On forking/Segwit; I'm a fan of 1.15 being the BIP 9 & Segwit release. There's other stuff I'd like in a fork, but we can discuss that later on.


There is no way to cancel execution

Title/Description
There is no way to cancel execution
Expected result
A way to remove the transaction awaiting execution.
Obtained result
No way to remove it.
Screenshots

Hey @vporton, thanks for the feedback.
From what I can see in the screenshot. You're connected with the account that already created the cancellation transaction.

![image](https://user-images.githubusercontent.com/3315606/104609981-623ed200-5662-11eb-8644-c356cc259a15.png)

You need to switch to 0xb474...3e47 to be able to reach the Safe's threshold and actually cancel the transaction.
This article may clarify why it's needed to create a transaction to cancel another one: https://help.gnosis-safe.io/en/articles/4738501-why-do-i-need-to-pay-for-cancelling-a-transaction
--
Let us know if that helps or if the problem persists.

Hey @vporton, thanks for the feedback.
From what I can see in the screenshot. You're connected with the account that already created the cancellation transaction.

![image](https://user-images.githubusercontent.com/3315606/104609981-623ed200-5662-11eb-8644-c356cc259a15.png)

You need to switch to 0xb474...3e47 to be able to reach the Safe's threshold and actually cancel the transaction.
This article may clarify why it's needed to create a transaction to cancel another one: https://help.gnosis-safe.io/en/articles/4738501-why-do-i-need-to-pay-for-cancelling-a-transaction
--
Let us know if that helps or if the problem persists.

I was inexact in words: I didn't mean to cancel a blockchain transaction but just to remove this transaction from "Awaiting execution" state.

I was inexact in words: I didn't mean to cancel a blockchain transaction but just to remove this transaction from "Awaiting execution" state.

The reason why we do not offer this is also descriped in the linked article:
The reason for this is, that signatures cannot be "taken back". Once a signature is out there, you can ask others to delete it, but you can never be 100% sure.

This is comparable to a physical signature you have put on a sheet of paper and sent to someone else via mail. You can ask that other person to throw away the sheet. But you can never be 100% sure.

The reason why we do not offer this is also descriped in the linked article:
The reason for this is, that signatures cannot be "taken back". Once a signature is out there, you can ask others to delete it, but you can never be 100% sure.

This is comparable to a physical signature you have put on a sheet of paper and sent to someone else via mail. You can ask that other person to throw away the sheet. But you can never be 100% sure.

I'm closing this as it seems to be solved.
@vporton, if you still have issues, please feel free to re-open it.

I'm closing this as it seems to be solved.
@vporton, if you still have issues, please feel free to re-open it.