Add minimum defaults to resource configuration

Description:
The followings are the current resource configurations to the tile.
    memory: 4096
    ephemeral_disk: 4096
    persistent_disk: 16384
    cpu: 2
    static_ip: 1

These are very high values and as they are given in the tile yaml, even though the user need to reduce them, it is not possible as they are set as minimum defaults.

Fixed in https://github.com/wso2/pivotal-cf-apim/pull/103.


Added Dutch (nl) and Frisian (fy) support

@Baukereg can you please add the corresponding tests? See https://github.com/dockyard/ember-cli-i18n/tree/master/tests/unit/rules

Ofcourse, thanks for pointing out.


declaring-functions C tutorial

Populate C file with a tutorial and challenge.

can i add ?

Can I add to this next?

@datsukai go ahead

hi , can i contribute?

Sure go ahead!

@hamzabohra sure go ahead!

open for hacktoberfest 2022


View logs inside of the app

Instead of downloading the logs (& then having to scroll to the bottom for latest logs) it would be nice to be able to view the logs inside of the app to view quickly

This would be cool, shouldn't be hard to do, get_logs currently just returns a vector of all the logs


Pools page: switch to All Pools list when searching

Problem

When searching, it can be misleading/annoying to not get results since you haven't switched to the All Pools page.
Proposed Solution
We should auto-switch to the All Pools table when users get "unsatisfactory" search results. this requires us to define what unsatisfactory results are, perhaps we can look at the score given by fuse.js for each result.
Also, we may want to indicate to the user that we've switched to the "All Pools" table, perhaps by flashing the control as it automatically switches as they are searching.

6/28 sprint planning-
Victor: see if users object to this on launch. May want to change the animation (or slow it down) to show that it is automatic/intentional. Perhaps a dissolve animation.


U iinterface

Description
Please describe your changes and the problem you are solving.
Changes Made

List the changes you made here
Be specific and clear
Include any relevant details

Checklist

[ ] Tests have been added or updated
[ ] Documentation has been updated
[x] The code follows the project's style guide
[x] Any relevant configuration files have been updated

Screenshots (if applicable)
Please attach any relevant screenshots that show the changes made.

When you make a pull request, check if you have conflicts
Resolve them when you do
Always make sure the branch ahead of the branch you are working on is up to date to avoid conflicts

When you make a pull request, check if you have conflicts
Resolve them when you do
Always make sure the branch ahead of the branch you are working on is up to date to avoid conflicts

Thanks for the remarks and feedbacks, I'll improve on all of them


Crosss Platform Inconsistency of Cursors and Pseudo-class State Styling Handling

Describe the bug
I've set up Cross Platform and have been testing between desktop and browser.  The attached project shows that the Cursor enumeration I've extracted from Cursors.cs works as expected using the Pseudo-Class pointerover as the test case. while In the browser variant, I do not get the Avalonia Cursors.  In addition, applying the styling properties to controls under normal styling conditions does not require specifying a link to control internals.  Pseudo Classes are unique to Avalonia and extend Avalonia's cascade styling functionality to make properties of a control state dependant which allows animation.  Internally controls expose those properties currently requires references to control internals
To Reproduce
Steps to reproduce the behavior:

L:oad the attached AvaloniaCrossPlatformTestApp application in VS2022 configured for cross platform and Avalonia V11.06
Set Desktop as start app, compile and run, moving cursor over the various controls.
Set Browser as start app, compile and run, moving cursor over the various controls.
Observe that the selected cursors are correct for Desktop and incorrect for Browser.
In Code, examine AvaloniaCrossPlatformTestApp/Views/MainView.axaml
Observe handling of :pointerover and linkages to control internals per expected behavior along with comment notes.

Expected behavior

I expected the cursors to be identical between the platforms and follow the enum specified in Cursors.cs.
I expected that setting the properties of the controls using Pseudo Class state styling extensions would not require /template/ specifications as you must have internal knowledge of where in which control to look them up.
I expected that the access exposure of the properties of the controls using Pseudo Class state styling extensions would be identical to styling controls when not using Pseudo Classes.

Screenshots
If applicable, add screenshots to help explain your problem.
See test app
Environment
Windows 10 Pro
Avalonia 11.06
VS2022 with Avalonia 11 and Cross Platform development installed.
Required installations for Android and IOS installed.
Additional context
Add any other context about the problem here.
None
AvaloniaCrossPlatformTestApp.zip

I expected the cursors to be identical between the platforms and follow the enum specified in Cursors.cs.

No, it's not possible at all.
Avalonia tries its best to match Avalonia cursor types (that are inherited from Windows cursor types for the most part) to the platform types. But it's not always possible.
Browser supports this list of cursors:
https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
And as far as I can see, Avalonia handles this conversion:
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Browser/Avalonia.Browser/Cursor.cs#L42
You can also find, that macOS doesn't have a "Wait" cursor at all. It's not programmatically available.
If you want the absolutely same cursors, you can use bitmap cursors instead.

I expected that the access exposure of the properties of the controls using Pseudo Class state styling extensions would be identical to styling controls when not using Pseudo Classes.

Pseudoclasses have a higher priority. It's not the same.


Fix: Make oauth2.client.secret optional when PKCE is enabled

What this PR does / why we need it
This PR makes oauth2.client.secret optional when oauth2.pkce is true.
The change is necessary because, to use the Authorization Code Flow with PKCE in the zitadel/oidc library, the client secret must be an empty string. If the client secret is provided, the library defaults to the Client Credentials Grant, making it impossible to use PKCE, even though it is enabled by default.
With the current implementation, PKCE cannot function as intended since oauth2.client.secret is mandatory and cannot be an empty string.
Special notes for your reviewer
I considered other approaches to address this issue:

Ignoring the client secret if PKCE is enabled:
This approach could introduce a breaking change since the default configuration and sample configuration have PKCE enabled by default. Users upgrading to this version might be surprised that PKCE is now working correctly and that their flows no longer work as expected.
The implemented approach (this PR):
Making the client secret optional when PKCE is enabled ensures backward compatibility and provides a safer user experience by not introducing unexpected behavior.

Particularly user-facing changes
Users can now leave oauth2.client.secret as an empty string in configurations when PKCE is enabled.
This allows for proper use of the Authorization Code Flow with PKCE without requiring additional configuration changes.
Checklist
Complete these before marking the PR as ready to review:

[x] DCO signed
[x] The PR title has a summary of the changes
[x] The PR body has a summary to reflect any significant (and particularly user-facing) changes introduced by this PR

I’m not really happy with this PR, to be honest. While I get that the zitadel/oidc library requires the client secret to be empty to enable PKCE, this feels like a step back in terms of security. If a client has a backend, it should use a client secret—no question about it. PKCE is great, but it was mainly designed for public clients like SPAs, where you can’t safely store a secret.
The OAuth 2.0 spec (RFC 6749) makes a clear distinction between public and confidential clients, and confidential clients are expected to authenticate with a secret. PKCE (RFC 7636) was never intended to replace this; it’s meant to complement it for extra security.
I get that there’s a technical limitation with the library, but I’d prefer a solution that doesn’t encourage skipping the client secret entirely.

I’m not really happy with this PR, to be honest. While I get that the zitadel/oidc library requires the client secret to be empty to enable PKCE, this feels like a step back in terms of security. If a client has a backend, it should use a client secret—no question about it. PKCE is great, but it was mainly designed for public clients like SPAs, where you can’t safely store a secret.
The OAuth 2.0 spec (RFC 6749) makes a clear distinction between public and confidential clients, and confidential clients are expected to authenticate with a secret. PKCE (RFC 7636) was never intended to replace this; it’s meant to complement it for extra security.
I get that there’s a technical limitation with the library, but I’d prefer a solution that doesn’t encourage skipping the client secret entirely.

Thank you for the feedback! I agree that using a client secret is ideal when secure storage is available, and PKCE should complement, not replace, client secrets. However, this PR focuses solely on fixing an existing feature that’s currently unusable due to a technical limitation.
Open-source tools often provide flexibility to suit diverse environments, leaving configuration choices to informed administrators. For example, GitLab allows both PKCE and client secrets without prioritizing one over the other: GitLab OIDC as auth provider Documentation. Similarly, this change enables PKCE as an option without dictating its use over client secrets.
To address your concerns, we could:

Update defaults to require explicit PKCE enabling without a client secret.
Emphasize in the documentation that PKCE is primarily for public clients and that confidential clients should use secrets.

This approach restores PKCE functionality while maintaining flexibility for users. I’m happy to explore ways to address these concerns further.

Please explain your valid scenario for a public client, if confidential clients are more secure overall and more secure than public client with PKCE?
Also keep in mind that PKCE is RECOMMEND for confidential clients as well.
In general, client secret and PKCE is not a mutal exclusive configuration.

@jkroepke To be honest, I cannot think of a valid use case where a public client would be the right solution. In all scenarios I can think of, the appropriate approach would involve better management of secret distribution. That said, I still believe it should ultimately be up to the person managing the plugin to decide how they want to use it.
I do understand your concern about not wanting to encourage less secure practices, and I respect that perspective. With this in mind, I will close this PR for now. If someone comes forward with a valid use case in the future, we can consider reopening it.
Thank you again for your feedback and for taking the time to review this.


Random crash while reading bytes

I got Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff in SerialCom.cpp line 371.
This crash happens occasionally, and randomly. I don't know what the cause is, at all.
I am not familier with Windows API, but my guess is something going wrong on reading file asynchronously. Maybe need to wait until asnc read is done, or use sync read instead?

Opening/Closing a port wasn't properly done. That was the cause of the issue.
It is possible that OpenComPortWithFlowControl returns an object but bOpened is false.
In this case, you have to close the port, and don't use the object anymore.


How to validate only data instead of passing a file reference

I want to validate swagger yaml/json that I am constructing programmatically and want to pass data to the 'validate' method instead of a file reference(don't want to write data in file and then pass its reference).
Is there any way to do that?

Yep!  You can pass an object to any of the Swagger Parser methods instead of a file path.   I mentioned it in the documentation for the parse method, but I guess I should do a better job of point that out.


prefill can cause infinite loop

If there are not enough items in pagination to fill viewable layout, prefill goes into infinite loop.  Seems like the problem is that append 0 items doesn't end the prefill.   The docs suggest that prefill stops when there are no more items but this codepen seems to suggest that is not true:
Test case: https://codepen.io/adam-lane/pen/WJBQaZ
[InfiniteScroll] request. URL: https://s.codepen.io/...
[InfiniteScroll] load. CodePen - Infinite Scroll - page ...
[InfiniteScroll] append. 0 items. URL: https://s.codepen.io/...?page=1
[InfiniteScroll] prefill
...
[InfiniteScroll] append. 0 items. URL: https://s.codepen.io/...?page=2
...
[InfiniteScroll] append. 0 items. URL: https://s.codepen.io/...?page=3
...

Thanks for reporting this issue. Yes, given this scenario, prefill option will continue loading subsequent pages. But I feel this scenario is an edge case. Wouldn't the pages eventually run out?
Currently, if 0 items are returned, Infinite Scroll will try loading the next page. I could add a check for 0 items and stop.
Add a 👍  reaction to this issue if you would like to see this feature added. Do not add +1 comments — They will be deleted.

I don't think this is a bug.
You stop the infinite scroll with checkLastPage option.

Looks like no one 👍 ed this issue. I am closing this issue.


Sourcekit/Indentation: avoid indenting dot member access appearing after trailing closure

@swift-ci please smoke test


Keep Run/Debug buttons shown when failed to parse document

Run/Debug buttons will disappear when failed to parse document. This behaviour causes visual layout change repeatedly on editing test file. In most cases, there' re no problems for keeping buttons shown in previous position even if document has parsing errors. Pushing buttons simply ends with execution error in that situation.
current

after

hey @keroxp good work, thx for your contribution !

hey @keroxp
its seems some issues came up, take a look here: https://github.com/firsttris/vscode-jest-runner/issues/189
i removed the prevResults solution for now.
if you have an idea how to fix this, dont hesitate to create a new pr from master.
thx for your help
best regards
tristan

there was another issue, probably also related to this approach:
https://github.com/firsttris/vscode-jest-runner/issues/180

the layout shift happens stilll...


Different edges of the form showing the number of chapters

Steps to reproduce
Some of the titles have rounded and straight corners in the shapes indicating the number of downloaded and unread chapters (I spent an hour trying to figure out how to cause or manifest this problem and still can't figure it out, so I apologize for that and would be glad if someone could help me find the cause)

Expected behavior
All shapes must have the same angles
Actual behavior
Some shapes have different angles than others
Crash logs
No response
Mihon version
0.16.5-6710
Android version
Android 14
Device
OnePlus 12
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Does this still happen for you on the latest Mihon Preview version? I just tried to trigger this issue again & wasn't able to anymore.

@Smol-Ame Yes, this problem has disappeared for me too


Deprecated React.createClass and React.PropTypes

React.createClass and React.PropTypes are deprecated from react 15.5., which causes errors in console.

@madox2 Thanks for reporting!

+1 to resolving the React.createClass warning.

ping

I'm going do it myself

I just started. Welcome to finish PR


Simplify alloca.h include condition

And make it way more portable. While alloca isn't standardized, glibc is the only place that uses alloca.h. This is the only thing keeping imgui from building on NetBSD.

Can you take this up with ImGui directly for their main branch, since we're only really following their development.  Not a lot of point changing such things on this fork.

I've also sent them a pull request. However, their master is over 300 commits ahead of yours. Perhaps it's time to do something about the long chain of forks between OpenBoardView/imgui and ocornut/imgui?

We're based on the<EMAIL_ADDRESS>tag, this fork exists only to help with the integration of inflex' commit OpenBoardView/imgui@da070285da2c64766e95757bbb7b883477f46cb9 which is currently an ImGui PR too, but it still hasn't been merged: ocornut/imgui#771.
Can this wait until ImGui v1.52 is released since it has been merged upstream already?

imo we shouldn't be back-porting minor changes from imgui master into this fork. It sets a bad precedent and will eventually lead to an unmaintainable fork. While this change is rather simple, without a good argument for needing it, it is probably best to wait for the next version.
The only purpose of this fork is to have a copy of imgui 1.50 with inflex's patch since we need it in openboardview. Hopefully the patch will be merged upstream and this fork can go away (or rather be deprecated, since deleting it will break building old obv versions)


Recognize Intent failed with Canceled (android)

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Press Recognize intent button (with a properly configured subscription key and app id) and try to start an intent recognition

Any log messages given by the failure

Final result received: Intent failed with Canceled. Did you enter your Language Understanding subscription? WebSocket Upgrade failed with an authentication error (403). Please check the subscription key or the authorization token, and the region name., intent:

Expected/desired behavior

I expect an utterance evaluation as it happens via REST

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). Other.
Android studio 3.1 debug on physical device (android 6)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

this is being run in our regular builds are a standard test, so I can say with reasonable confidence that this is working.
did you supply the luis endpoint key (see here: https://docs.microsoft.com/en-us/azure/cognitive-services/LUIS/luis-how-to-azure-subscription#create-luis-endpoint-key)?

Hi,
I'm supplying the app ID and subscription key available from https://www.luis.ai/ as follows:
private static final String LanguageUnderstandingSubscriptionKey = "0390fca89f20457e917e0ee91b2b8d6f";

private static final String LanguageUnderstandingServiceRegion = "westus";

 private static final String LanguageUnderstandingAppId = "84a778e4-9556-4ac0-ba10-14e66c246f32";

please don't post keys here, please update the keys in your subscription
you could try to access your endpoint for a http-get / rest call ?

yes, it works using Rest call

which subscription key did you pass when creating the SpeechFactory?
in case of language understanding, you need to pass your LanguageUnderstandingSubscriptionKey  to both, the SpeechFactory, as well as the LanguageUnderstandingModel.from*() functions
it might be that you passed your SpeechSubscriptionKey to the SpeechFactory?

Hi,
I passed the LUIS keys to the speechFactory:
 final SpeechFactory intentFactory = SpeechFactory.fromSubscription(LanguageUnderstandingSubscriptionKey, LanguageUnderstandingServiceRegion);
                final IntentRecognizer reco = intentFactory.createIntentRecognizerWithStream(createMicrophoneStream());

                LanguageUnderstandingModel intentModel = LanguageUnderstandingModel.fromAppId(LanguageUnderstandingAppId);
                for (Map.Entry<String, String> entry : intentIdMap.entrySet()) {
                    reco.addIntent(entry.getKey(), intentModel, entry.getValue());
                }

Hi Alex,
do you still have probllems?
in case you still get Cancel returns, could you please check the getErrorDetails() and Logcat to see any additional information? thanks!

Hi Fmegen,
I handled Intents recognition using REST as this issue was not resolved to me (version 0.6).
I've noticed a new major SpeechService version (1.0) that contains some breaking changes on the SpeechFactory , I will provide you an update , as soon as possible, on this major version.
Thanks

Hi,
I've performed again a test running the last available example for Speech SDK version 1.0.0, I can run continuous recognition but not the intent recognition...  I get again message "Intent failed with Canceled. Did you enter your Language Understanding WebSocket Upgrade failed with an authentication error (401). Please check the subscription key or the authorization token, and the region name., intent: " despite I use the same keys working for REST.
Below the log, thanks
Connected to the target VM, address: 'localhost:8600', transport: 'socket'
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1483)
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_6_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.microsoft.cognitiveservices.speech.samples.sdkdemo-2/split_lib_slice_9_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.microsoft.cognitiveservices.speech.samples.sdkdemo-2<EMAIL_ADDRESS>because non-0 exit status
I/InstantRun: starting instant run server: is main process
I/HwCust: Constructor found for class android.app.HwCustHwWallpaperManagerImpl
W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
I/HwSecImmHelper: mSecurityInputMethodService is null
E/HAL: load: id=gralloc != hmi->id=gralloc
I/OpenGLRenderer: Initialized EGL, version 1.4
W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
I/HwSecImmHelper: mSecurityInputMethodService is null
I/HwSecImmHelper: mSecurityInputMethodService is null
I/AudioRecordPermission: remindWithResult:false
I/HwAudioRecordImpl: HwAudioRecordImpl
                     checkRecordActive
I/HwAudioRecordImpl: sendStateChangedIntent, state=3
I/intent: Continuous recognition stopped.
I/intent: Final result received: Intent failed with Canceled. Did you enter your Language Understanding subscription?
          WebSocket Upgrade failed with an authentication error (401). Please check the subscription key or the authorization token, and the region name., intent:
Disconnected from the target VM, address: 'localhost:8600', transport: 'socket'

sorry for having this sitting dormant for so long ...
but ... what REST API are you calling to verify your key is correct?  The LUIS API (text to intent)? ... or the custom speech service REST API?

@Alex4684  - any feedback or input?

Hi, no news, I can only get LUIS work though API and not by SDK.

no comment, closing for now


Add custom step throws error and stuck in saving in Add Pipeline

Rancher versions: 2.0 master 2/27
Steps to Reproduce:

Add Pipeline
Add step and select Custom
Click on Add without entering Image or Command

Results:  Stuck in Saving and error thrown in Dev tools - component.js:75 Uncaught TypeError: Cannot read property 'trim' of undefined.  Should throw error saying image & command are required.

version - 2.0 master 2/28
Verified fixed


[Feature request] Allow MachineOf to support wildcards

Hi,
In #1297 I describe a problem I had with a presumption and an ochestration problem because the MachineOf directive doesn't support the syntax that Conflicts does, as documented here: https://coreos.com/docs/launching-containers/launching/fleet-unit-files/
I would like to see the following syntax supported:
<EMAIL_ADDRESS>The semantics are that I do not necessarily care about the specific unit instance, only the unit. And I want to schedule several, of the same, unit with that leading unit.

duplicate of https://github.com/coreos/fleet/issues/494


--warning (@noescape moved to parameter)

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test and merge

This succeeded, there was just an unrelated failure on Linux.


Add possibility to define templates

I added following functionality (currently only in the scenario usable).
We can define Templates which will be substituted in the scenario with the keyword GivenTemplate: someLabel. This is useful if we have many steps which are the same and therefore would be duplicated and we cannot use the parameterized values to fully cover all necessary steps.
The substitution will take place even before the story parsing is fully completed. This means after the story parsing we will have a scenario without knowing that there has been a template.
More concrete example:
Template: Do something in the beginning
Given a step
When we do something
Then something happens
Scenario:
GivenTemplate: Do something in the beginning
When we have done something
Then we can continue with this
Which would be resolved to:
Scenario:
Given a step
When we do something
Then something happens
When we have done something
Then we can continue with this
This would be a very useful functionality for us. Feel free to comment and provide ideas for improvement :)

Please create a JIRA issue for any request.
Github is only used for cloning but not for discussions.


Separate configuration for private accounts

Issue To Be Solved
We believe the CLI configuration file flow.json should be included in the versioning control (github...) similar to how for example package.json is.
Since configuration can include sensitive private keys we should allow developers to separate the configuration for their testnet and mainnet accounts from the main flow.json configuration so they are not mistakenly committed to a versioning control systems.
Currently, the configuration looks like this (where secret gets constantly replaced before committing - a ticking bomb):
...
	"accounts": {
		"testnet-account": {
			"address": "f8d6e0586b0a20c7",
			"keys": "SECRET"
		}
	},
...

Suggest A Solution
After a brief discussion with @psiemens we believe there are at least the following solutions to this problems:
Seperate Private Config File
We can create a separate configuration file - let's call it flow.private.json for the sake of the example and this file could include any number of accounts that would on the runtime of CLI command be added to the original flow.json configuration (but not saved to the file). Use of this would happen "in-memory".
Example for flow.private.json:
...
	"accounts": {
		"testnet-account": {
			"address": "f8d6e0586b0a20c7",
			"keys": "ACTUAL_SECRET_WOULD_BE_HERE"
		}
	},
...

And then flow.json could look like:
...
	"accounts": {
                "emulator-account": {
			"address": "f8d6e0586b0a20c7",
			"keys": "11c5dfdeb0ff03a7a73ef39788563b62c89adea67bbb21ab95e5f710bd1d40b7",
			"chain": "flow-emulator"
		},
		"testnet-account": {
                       "private": true
                }
	},
...

Or another option:
...
	"accounts": {
                "emulator-account": {
			"address": "f8d6e0586b0a20c7",
			"keys": "11c5dfdeb0ff03a7a73ef39788563b62c89adea67bbb21ab95e5f710bd1d40b7",
			"chain": "flow-emulator"
		},
		"testnet-account": "flow.private.json"
	},
...

There is also a possibility to not change anything in flow.json and just for the CLI to figure out if the file flow.private.json exists and overwrite it on the fly.
Environment variable support
We could also allow passing account secret as an environment variable. This can be a standalone solution or it can work nicely with the above solution.
Example:
flow project deploy --acount=testnet --secret=123
Example flow.json:
...
	"accounts": {
		"testnet-account": {
			"address": "f8d6e0586b0a20c7",
			"keys": "$ENV.secret"
		}
	},
...

I like the idea of beeing able to specify a "private" json file as an cli argument and just merge it in. Or using env vars, but work really well.

@sideninja I've thought about this a bit more. I think we should implement the flow.private.json solution in an upcoming sprint because it's better UX IMO, and also will allow for more flexibility when defining account keys.
However, I think the highest priority is to give users a way to securely specify a few pieces of private data, and that can be solved easily and quickly with environment variable support. Do you think we could implement support for environment variables in this sprint, and then do flow.private.json as a follow-up feature?
I was looking at other examples and it looks like this syntax is quite common:
...
	"accounts": {
		"testnet-account": {
			"address": "f8d6e0586b0a20c7",
			"keys": "${env:MY_PRIVATE_KEY}"
		}
	},
...

A few examples:

https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables
https://www.serverless.com/framework/docs/providers/aws/guide/variables#referencing-environment-variables
https://www.elastic.co/guide/en/beats/winlogbeat/current/using-environ-vars.html

Another option is to just use a convenience here FLOW_TESTNET__KEY aso

Another option is to just use a convenience here FLOW_PK_TESTNET-ACCOUNT aso

What do you mean by that?

I. The given example you have sn account test-account that need a PK. If it is not present look up an env var based on convention and use that instead.
One convention could be FLOW_ACCOUNT_PK as a prefix and the the mame of the account after that.
However the env lookup works as well.

I see. The way I actually implemented currently is to have an option to specify any environment variable and include in the config.
Example:
EMULATOR_PK=123 flow project deploy
Config:
...
"service-account": {
  "address": "f8d6e0586b0a20c7",
  "keys": "${env:EMULATOR_PK}"
}
...

This way we can actually define and use any env variable in config. Even in other places like so:
Example:
EMULATOR_ADDRESS=0x123 flow project deploy
Config:
...
"service-account": {
  "address": "${env:EMULATOR_ADDRESS}",
  "keys": "123123"
}
...

I think this might be better than having any special meaning env variables since it will allow general use and no further instructions.
I also used standard syntax for passing env variables and not --secret=123 because I think it is better we make a clear difference between flags and env variables. Flags should be imho used as a predefined set of values that are included in help and have predefined values. Whereas env variables are normally used the way I've implemented them and thus allowing better support for different environments where you set env variables through an interface (gcloud etc). I think it is safer and better to have them separate.

Looks like a nice solution :)


gh-actions/js: Add built js check

cool, that works and yep dep updates will break it

generate the index on release and not persist it

that would be the safer option, but the big downside is that it makes dev much harder - with current setup you can build, push, test pretty easily

i think lets land it (with current required fixes)
for now we can just push to the dependency prs when needed - we could automate if it becomes too cumbersome


[75756] Update bootstrap scripts

OpenVINO Deep Learning Workbench Pull Request
All Submissions:

[x] Create a meaningful name of the PR with reference to JIRA. Example: [43714] [NIGHTLY] Take correct tag for snyk scans
[x] JIRA tickets:

75756 - Bootstrap stage fails in CI due to changed installation path for wheels

[x] Set assignee to the PR.
[x] Add corresponding labels to the PR.
[x] Set appropriate milestone to the PR.
[x] Followed code style guidelines:

Code covered with typings
No debug printing in production code
No commented blocks of code in production code

Outdated


Ammunition Manager Recover Buttons

Feel free to make a better button here, but this is the asset I'm using from CoreRPG

Thank pal. I don't know how I can instead merge this with the dev version instead of main. Could you recreate this for hearth dev or tell me how to switch it over to the branch?

Added to dev


Add MPP Solar inverter

Should we manage somehow rules applying logic in blueprint?
Here is a blueprint for inverter in single mode. For me looks like it's better to create separate blueprints for other modes

pending status test comment (please ignore)


Single Record Select Option

Hey Victor love the pcf control! Is there an option to select a single record instead of multiple? A great use for this is email templates. One cannot create a custom lookup to the email templates table but I can use this pcf control, however, I only want the user to select one email template and not multiple. Thanks!

Hi. A new solution has been created including the isMultiple tag.
Try to check it out.
Thank you!


Dataset Tor/Non-Tor

Dear authors,
Thank you for the great work!
Following the instructions here, after I downloaded the dataset Tor/NonTor.zip, I could not unzip it and it showed that "An error occurs." Have you encountered the same issue before? If so, how did you solve it?
Best,
Yu Wang

Unfortunately, I haven't encountered this issue

Unfortunately, I haven't encountered this issue

Thank you for your swift response. I want to check if my previous downloading procedure is right. So I followed the link and clicked the .zip files of both below to download them. Am I missing something? I can successfully download VPN and non-VPN and run the codes. But for this one, I kept getting the same error when unzipping the files.

Best,
Yu Wang

There's nothing wrong with your operation, and I also don't know why this error happens(•_•)


Feature: Face Restoration in SD-WebUI

Scope
Stable Diffusion WebUI (AUTOMATIC1111)
Describe the problem related to the feature request
Implement "Face Restoration" feature in txt2img mode.
Describe the solution you'd like

Add a new configuration says face restoration, values are Off, CodeFormer and GFPGAN that respect the backend.
Add a new configuration says face restoration strength that controls the strength of face restoration mentioned above. (values: 0.0 - 1.0)
Before sending a request, add restore_face property as values above.

Describe alternatives you've considered
None.
Additional context
Only SD-WebUI support face restoration.

Note that Stable Horde supports GFPGAN as well (and according their client code, they seems support CodeFormer, but not exposed in the API)


Snowfakery 1.1.1

Update to Snowfakery 1.1.1

@Br4nd0R is going to do this as part of the combined dependency update.


[iOS][RCTNetworking] Fix mojibake issue

When network response data contains multi-byte charactor, incremental data may contain a part of the charactor.
eg. The UTF-8-encoded of 𝟘 is \xF0\x9D\x9F\x98, the incremental data may end with \xF0\x9D,
and the next incremental data will begin with \x9F\x98, so the data cannot be decoded properly, and the response text will contain some �
I made this patch to fix the issue.
related issues:
https://github.com/facebook/react-native/issues/7646
https://github.com/facebook/react-native/issues/8914
https://github.com/facebook/react-native/issues/9104
I didn't see this issue on Android, and I'm not a Android developer, so I'm not sure wether Android has this issue.

By analyzing the blame information on this pull request, we identified @philikon and @nicklockwood to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

@ultragtx updated the pull request.

@ultragtx updated the pull request.

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@ultragtx updated the pull request.

@ultragtx updated the pull request.

@ultragtx updated the pull request.

To recreate the mojibake issue
https://gist.github.com/ultragtx/ba2b08ac4f618f3443b7545f08123092

@ultragtx updated the pull request - view changes

@ultragtx updated the pull request - view changes

When this PR will fix and merge into RN?
Thanks in advance!

any update about this issue ? Thanks

YES!
See this:
https://github.com/LeoNatan/RN-Unicode-Decode-Woes
And this PR:
https://github.com/facebook/react-native/pull/10110

Is this the same issue as https://github.com/facebook/react-native/pull/10110 ? If so, do you think the fix in that pull request is reasonable?
Sorry for letting things sit for so long - I feel bad that two people might have re-fixed the same problem here :/

@lacker Yes, it is the same issue.

@lacker no need to feel bad, I'm happy to see this issue is going to be fixed.

Closing now that #10110 landed, sorry for the less than ideal experience here.


proof blank node and subject blank node collide

So I have been debugging why I can't get this document to derive a credential that verifies.
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://w3id.org/security/suites/bls12381-2020/v1",
    "https://w3id.org/vaccination/v1"
  ],
  "type": [
    "VerifiableCredential",
    "VaccinationCertificate"
  ],
  "id": "urn:uvci:af5vshde843jf831j128fj",
  "name": "COVID-19 Vaccination Certificate",
  "description": "COVID-19 Vaccination Certificate",
  "issuanceDate": "2019-12-03T12:19:52Z",
  "expirationDate": "2029-12-03T12:19:52Z",
  "issuer": {
    "id": "did:key:z5TcDJgBp1A6iGQkpyDP4LZmsgpWVBqBVs3KoqNDMLKH7nK8UETzM6V1Js28Awuzzd4pJQSsLofZvNNwLmpFDfbzZmMXJNEFT4EriZ1NXjGK7q96781MsG1S3J9f2AiPez6Ne7eCFVtgfR4GPAarS4RWuzPmbi1egGwWrykaft98UcKQucirFv9s2x5D32K54sjwSC2yM"
  },
  "credentialSubject": {
    "type": "VaccinationEvent",
    "batchNumber": "1183738569",
    "administeringCentre": "MoH",
    "healthProfessional": "MoH",
    "countryOfVaccination": "NZ",
    "recipient": {
      "type": "VaccineRecipient",
      "givenName": "JOHN",
      "familyName": "SMITH",
      "gender": "Male",
      "birthDate": "1958-07-17"
    },
    "vaccine": {
      "type": "Vaccine",
      "disease": "COVID-19",
      "atcCode": "J07BX03",
      "medicinalProductName": "COVID-19 Vaccine Moderna",
      "marketingAuthorizationHolder": "Moderna Biotech"
    }
  },
  "proof": {
    "type": "BbsBlsSignature2020",
    "created": "2021-09-23T22:19:48Z",
    "proofPurpose": "assertionMethod",
    "proofValue": "p3qddAKNqC71FvxBPsAX3gHFYomkmqlzFvgPf8XvadxtLdLrPdlFmKsY/sFHcFnTTl+KSkouXACij1fiq/iHt+QOOmjJ+Bvm6XrMm7A7k7IJiOOhuvC+QP9OLjKg0tq4w8MIZnvoFRvGl40sUXwo9Q==",
    "verificationMethod": "did:key:z5TcDJgBp1A6iGQkpyDP4LZmsgpWVBqBVs3KoqNDMLKH7nK8UETzM6V1Js28Awuzzd4pJQSsLofZvNNwLmpFDfbzZmMXJNEFT4EriZ1NXjGK7q96781MsG1S3J9f2AiPez6Ne7eCFVtgfR4GPAarS4RWuzPmbi1egGwWrykaft98UcKQucirFv9s2x5D32K54sjwSC2yM#zUC7KbUZckosdKwDffzDeYDQSb8sbYyfhZ96gA3tCSYqgv4G1pq6A8pvY1kJGV6dr8w8ScuqKGXL16KxsRDL7FGgoEJ2Z4udTMVMcfGrSgUH3chPAmJNk6TBQ5hgimjBGY68icw"
  }
},

and the following frame
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://w3id.org/security/suites/bls12381-2020/v1",
    "https://w3id.org/vaccination/v1"
  ],
  "type": ["VerifiableCredential", "VaccinationCertificate"],
  "credentialSubject": {
    "countryOfVaccination": {},
    "type": ["VaccinationEvent"],
    "@explicit": true
  }
}

I have finally found what I think is the problem. When I step through the code at this line
https://github.com/mattrglobal/jsonld-signatures-bbs/blob/a1271750ed5211f1210323534402575967e4fae2/src/BbsBlsSignatureProof2020.ts#L192
I notice that the concatenation of the proof statements and the document statements results in this list

I believe my issue is that the _:c14n0 blank node identifier has a collision between the proof and the vaccine..
Is there something I am missing?

I've seen similar issues before.... I happen to think this is a better normalization approach:
https://github.com/transmute-industries/merkle-disclosure-proof-2021/blob/main/src/merkle/normalization/json-pointer.ts

me too... but since we have urdna to work with for now what's happening here?
this comment concerns me
https://github.com/mattrglobal/jsonld-signatures-bbs/blob/a1271750ed5211f1210323534402575967e4fae2/src/BbsBlsSignatureProof2020.ts#L160
proof statements are always first?

doesn't look like that's the case here

https://github.com/decentralized-identity/waci-presentation-exchange/issues/115
If test vectors can't be generated for the example here, we may need to consider not using the suite.

For LD integrity proofs, the proof field is removed from the document prior to canonicalization and its contents are canonicalized separately. For suites other than BBS+, the canonized proof and the canonized document are separately hashed and those hashes are concatenated together to form the value that is passed to a crypto algorithm to generate the signature. This can be seen in an implementation here:
https://github.com/digitalbazaar/jsonld-signatures/blob/main/lib/suites/LinkedDataSignature.js#L229-L256
And is described in the spec here:
https://w3c-ccg.github.io/ld-proofs/#create-verify-hash-algorithm
This is done to allow multiple proofs to be independently created and attached to a document without coordination amongst the various signers / proof creators (the proofs altogether forming a "proof set").
It looks like the BBS+ suite implementation that is referenced here combines all of the statements (from the proof and the document) together:
https://github.com/mattrglobal/jsonld-signatures-bbs/blob/a1271750ed5211f1210323534402575967e4fae2/src/BbsBlsSignatureProof2020.ts#L244-L265
Which seems, to me, to be a mistake that will produce conflicts (likely the root cause of the above). I would think that keeping these two sections separate and using two different index transformation maps would resolve the issue.
cc: @tplooker, @kdenhartog

@brianorwhatever,

doesn't look like that's the case here

Simply pasting a signed document into the JSON-LD playground's canonize tool will canonize the entire document vs. separating the proof value out and canonizing it separately to allow for "proof sets" (as described in my comment above). So what's missing here is that it's important to separate out the document's statements from the proof's statements. Both sets of statements are indeed signed, but they need to be canonized separately to allow for multiple signers to sign the document independently, if desired.

+1 @dlongley ... IMO it was a mistake to "seperate the proof" before normalization... the complexity of this that the container semantics for proof are brutal....
"proof": {
"@id": "sec:proof",
"@type": "@id",
"@container": "@graph"
},

One more note:

me too... but since we have urdna to work with for now what's happening here?

You'd run into the same issue of needing to separate document statements from proof statements with any other canonize function (e.g., json pointer, base64url, etc.) if multiple independent signatures are to be supported, so the problem is really orthogonal.

Here is the code we used for the merkle proof suite... https://github.com/transmute-industries/merkle-disclosure-proof-2021/blob/main/src/merkle/normalization/urdna2015.ts
IMO, proof should be handled along with the document... not separately from it... only the attributes of the proof that come from the signature should be omitted by createVerifyData....
This allows for us to replace URNDA with JSON Pointer, or any other objectToMessages compatible operation with an inverse messagesToObject.

@OR13,
Those @graph semantics wouldn't change even if you didn't separate out the proof before canonizing. Separating the proof before canonizing just allows independent signatures to occur. If you skipped that step, all signers would have to coordinate, but the proof semantics you quoted would still need to remain. They ensure that someone reading the document as a graph will interpret the data the same way that someone reading it like a simple JSON tree will. It's like separating meta data from data -- there are number of ways to get burned when you don't do that.

It's fine if you want to canonize everything together -- just know that the trade off is that you can't have multiple independent signers and / or proofs.

@dlongley yes, I have been weighing the trade offs wrt that... IMO, this not the appropriate place to address multi-signature formats... that work should be handled in a work item targeted at extending JOSE such as  https://github.com/json-web-proofs/json-web-proofs/pull/10
We're shooting ourselves in the foot by making suite implementers care about all these concerns at once... instead of layering standards approaches on top of each other.
I believe there was originally language related to ProofSets or ProofChains that addressed this, but it is not implemented or tested or portable to VC-JWT, so IMO it should be avoided, until it is standardized better.

I have created a PR #159 demonstrating a failing test. I suspect what @dlongley pointed out here https://github.com/mattrglobal/jsonld-signatures-bbs/issues/158#issuecomment-929375910 is the root cause of the issue here

Thanks @brianorwhatever apologies it has taken me a few days to get to this issue, I see the cause now will start working on a fix tonight.

To update this issue, upon investigation of the root cause, it is not due to subject blank nodes colliding it is because in some JSON-LD framing operations (that feature more than 1 blank node) the order of the statements in the derived proof can be different to the order in which they were signed. The syntax for the deriveProof API accommodates this (via the revealedMessages array), however the expression that gets appended to the proof value (the revealed messages bit array) does not account for this re-ordering, hence the signature layer is returning false when validating a derived proof because they are failing the integrity check. As this issue captures when it comes to what we support at the cryptographic layer we have a choice to make. We are currently doing 2 however some are arguing to do 1, in either of these cases the LD-Proof suite would need at a minimum a mapping array to accomodate the potential for the statements to be re-ordered.
In the interest of progressing this here is one potential proposal define a new term like revealedMessagesIndicies whose value will be an integer array that maps the revealed messages in the derived proof back into the order in which they were originally signed. So for example the proof block may look something like this
{
      "@context": [
        "https://www.w3.org/2018/credentials/v1",
        "https://w3id.org/security/suites/bls12381-2020/v1",
        "https://w3id.org/vaccination/v1"
      ],
      "id": "urn:uvci:af5vshde843jf831j128fj",
      "type": [
        "VaccinationCertificate",
        "VerifiableCredential"
      ],
      "description": "COVID-19 Vaccination Certificate",
      "name": "COVID-19 Vaccination Certificate",
      "credentialSubject": {
        "id": "urn:bnid:_:c14n2",
        "type": "VaccinationEvent",
        "batchNumber": "1183738569"
      },
      "expirationDate": "2029-12-03T12:19:52Z",
      "issuanceDate": "2019-12-03T12:19:52Z",
      "issuer": "did:key:z5TcDVRemCWTd6qwxxhFeYDpQhK4pUYtuutodKP2MSDjzcqokf6cNCARsaF8JNZQ8FzWAYfFZbUqUCUDMWeWp8xVkRSr9z5Tf5k2tJgpjsqNM23E4VjHsCzN6WcSvLGKSA9VEMTc1d2F81mCCauerPY1VC8vPTkvtmEQZfmaZ54x15PJwbhkBxaEbydWjd7D2CWHbkFg9",
      "proof": {
        "type": "BbsBlsSignatureProof2020",
        "created": "2021-10-13T03:33:54Z",
        "nonce": "KhUkvFvwx0O/s2pDSruIDg1AWrobAOWKqKLAy2n5UPFdY0dbCFpbnELCQnfFQBk+GXU=",
        "proofPurpose": "assertionMethod",
        "proofValue": "<proof-val>",
        "revealedMessageIndicies": [ <integer array> ],
        "verificationMethod": "did:example:489398593#test"
      }
    }


🐛 Bug Report: Search bar on techdocs is not working

📜 Description
When searching on techdocs, no results are found
👍 Expected behavior
Find something when typing on the search bar
👎 Actual Behavior with Screenshots

👟 Reproduction steps

go to https://demo.backstage.io/docs/default/component/backstage
search something
No results

📃 Provide the context for the Bug.
No response
🖥 Your Environment
https://demo.backstage.io
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi @fedy97, do you have this issue with your own Backstage instance? If so can you please include details?
The demo site though handy isn't always the best to use as the source for dealing with bugs. In this case TechDocs search indexing has been disabled due to an odd OOM error we have as we are using the Lunr in memory search engine which we don't generally recommend for production deployments.
If I uncomment this line and add the related package: https://github.com/backstage/demo/blob/b4d9b44c8cfb8ee5b517a23b91d0de7db12a1b3f/packages/backend/src/index.ts#L31. The search works:

Hi @awanlin you are right, we did not add that line. So we will need to change to another search engine nonetheless in prod. Do you have any suggestions? thanks

Hi @awanlin you are right, we commented out that line. We can close this


Pub/Sub test_create_subscription_w_ack_deadline is UNAVAILABLE

https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/154885180

I'm going to put on my Pollyanna/Candide hat and claim that #2195 has resolved this issue.


feat(trie-router): regexp support path including slashes

"TrieRouter" did not support regexp routing with slash /. This means that it will match paths in the same depth but cannot match paths in a dynamic depth.
// GET `/js/chunk/abc.js` is not matched
app.get('/:filename{.+.js$}', async (c, next) => {
  console.log(`You access ${c.req.param('filename')}`)
  await next()
})

In this PR, make it supports slash.
Will match /js/chunk/abc.js not only /abc.js.
P.S.
Currently, "RegExpRouter" also does not support regexp routing with slashes. It would be good to support it.

Hi @usualoma ! Happy new year!
I think this PR is good, will merge it. And, I hope RegExpRouter supports this too. Could you do it?
The tests below fail now. What we have to do is make it pass.
describe.only('RegExp including slashes', () => {
  const router = new RegExpRouter<string>()
  router.add('GET', '/js/:filename{[a-z0-9]+.js}', 'js file')

  it('/js/main.js', () => {
    const res = router.match('GET', '/js/main.js')
    expect(res).not.toBeNull()
    expect(res?.handlers).toEqual(['js file'])
  })

  it('/js/chunk/123.js', () => {
    const res = router.match('get', '/js/chunk/123.js')
    expect(res).not.toBeNull()
    expect(res?.handlers).toEqual(['js file'])
  })
})

@yusukebe
Sorry for the delay!
With the current changes, I think it will not pass if the REST API routing is defined as follows.
Also, I think that params should have a value with a slash in it.
diff --git a/src/router/trie-router/node.test.ts b/src/router/trie-router/node.test.ts
index 2d50d04..f5054ac 100644
--- a/src/router/trie-router/node.test.ts
+++ b/src/router/trie-router/node.test.ts
@@ -362,25 +362,46 @@ describe('Multi match', () => {

   describe('Including slashes', () => {
     const node = new Node()
-    node.insert('get', '/js/:filename{[a-z0-9]+.js}', 'any file')
+    node.insert('get', '/js/:filename{[a-z0-9/]+.js}', 'any file')
     node.insert('get', '/js/main.js', 'main.js')

     it('get /js/main.js', () => {
       const res = node.search('get', '/js/main.js')
       expect(res).not.toBeNull()
       expect(res?.handlers).toEqual(['any file', 'main.js'])
+      expect(res?.params).toEqual({ filename: 'main.js' })
     })

     it('get /js/chunk/123.js', () => {
       const res = node.search('get', '/js/chunk/123.js')
       expect(res).not.toBeNull()
       expect(res?.handlers).toEqual(['any file'])
+      expect(res?.params).toEqual({ filename: 'chunk/main.js' })
     })

     it('get /js/chunk/nest/123.js', () => {
       const res = node.search('get', '/js/chunk/nest/123.js')
       expect(res).not.toBeNull()
       expect(res?.handlers).toEqual(['any file'])
+      expect(res?.params).toEqual({ filename: 'chunk/nest/123.js' })
+    })
+  })
+
+  describe('REST API', () => {
+    const node = new Node()
+    node.insert('get', '/users/:username{[a-z]+}', 'profile')
+    node.insert('get', '/users/:username{[a-z]+}/posts', 'posts')
+
+    it('get /users/hono', () => {
+      const res = node.search('get', '/users/hono')
+      expect(res).not.toBeNull()
+      expect(res?.handlers).toEqual(['profile'])
+    })
+
+    it('get /users/hono/posts', () => {
+      const res = node.search('get', '/users/hono/posts')
+      expect(res).not.toBeNull()
+      expect(res?.handlers).toEqual(['posts'])
     })
   })
 })

@usualoma
You are right! My implementation is not enough.
I think we have to rewrite splitPath(). This causes a huge performance loss. There are some requests for this feature. But we may not have to support this feature, as slowing it down anymore is not a good idea.
What do you think about it?
If we do not so, for example, we can write like this:
app.get('*', async (c, next) => {
  if (!/.+\.js$/.test(c.req.url)) {
    return await next()
  }
  const mw = cache({ cacheName: 'foo', cacheControl: 'max-age=3600' })
  await mw(c, next)
})

Or another idea, we can add another router that supports all patterns, although it may be slow. Then, users can chose this router if they want to use "regexp with slashes". For instance, it may be interesting to use URLPattern.
However, it may not be necessary to go that far.

@yusukebe
Thanks for the reply!
I think RegExpRouter can handle it without any performance degradation, and TrieRouter can also handle it without that much degradation by adjusting the splitPath() on insert.
I don't have time to work on it today, but I'll try to come up with a plan after tomorrow.

As one idea, how about something like this?
https://github.com/honojs/hono/pull/781

@usualoma

As one idea, how about something like this?

Using @! I was also thinking if we can do it with "special character". Looks good! I want to go with it.

I think RegExpRouter can handle it without any performance degradation

This is good news. I'll be waiting for whenever you will be ready.

@usualoma
I want to include this feature into "next branch" for the next major version, "v3". If you create the PR implementing it with RegExpRouter, please point to next as the base branch.

@yusukebe
I have created "support path including slashes" feature for RegExpRouter. #789


Need support for passing Pubkeys and Arrays as seeds

Currently, passing pubkeys and/or byte arrays as seeds is not supported by Seahorse compiler as it throws an error like seen in the screenshot, the same happens with an array of u8s or any other integer type

I think pubkey should be quite easy, we support Signer by storing its .key(), ie the public key
Array of u8 is a minor regression, was quite simple to add previously: https://github.com/ameliatastic/seahorse-lang/pull/6/files
For others integers we'd want to do something like seeds = [data.to_le_bytes().as_ref()]. I think we could do big or little endian, just need to be consistent so people know what to do on the client side.

Yeah, integers are currently converted to little endian (.to_le_bytes()). Thanks for bringing this up @harsh4786! Always feel like there's more things that worked in v1 that were broken in v2 due to oversight.

@harsh4786 Can you share an example file using integer types and u8s where you're seeing an error?
I can't repro them, eg this works: https://beta.solpg.io/635c3a7177ea7f12846aef05

I wanted to pass a fixed size array like a [u8, 32] ( [u8 ; 32] in rust) that wasn't working for me

Hmm got it, I can repro that one: https://beta.solpg.io/635d6c6977ea7f12846aef07
Building...
Error: could not cast Array[u8, 2] as <Seed>.
17 |   fizzbuzz.init(payer = owner, seeds = [num, [x, y], xs])

I think that should be possible to support!

Unfortunately it looks like the Array[u8, n] issue is another instance of #33
Basically you end up with something like this in Anchor: # [instruction (xs : Mutable < [u8 ; 2] >)] and that doesn't work.


Please allow httpx >= 0.25.0

In poetry, add both python-telegram-bot and supabase

This should be fixed in the latest 2.3.1 release.

Closing this issue as it has been inactive after a fix was released.


Rotate map with keyboard keys?

Apologies, me again.
Would it be possible to add map rotation with keyboard keys?
My personal suggestion would be to use Q (left) and E (right).
Best.
Elliot

Yes, sounds good!

This is supported now.


Implement InterruptHandler on Windows

Whew, should be the last of those indents.

@swift-ci smoke test


image overlap when text size is adjusted to 0.5.

Describe the bug
image overlap when text size is adjusted to 0.5.
To reproduce
Steps to reproduce the behavior:

click on preference
adjust the text size to 0.5
See error

Expected behavior
Image should not overlap with text
Screenshots

Browser [e.g. chrome]

Can i work on this issue @Chaitanyassr ?

I am working on this issue, @jhung can you help me with this?

@Chaitanyassr thank you for finding this bug and providing the needed details for us to understand the problem. 👍
Before starting on a pull request, can someone help investigate the cause of the issue and explain a possible solution?

A probable cause can be that the text is responding to the change in size but the images are not responding to that.
I think putting the text and the image in different divs and defining the image in terms of percentage can solve this issue.

Interesting Info: The bug is system dependent. On reducing the text size to 0.5, instead of going over the images on the home page, the right column ext and images move on top of the left column images and text. Sample screenshots are attached below.
1)

2)

@jhung the issue is being caused by the fact that the div containing the figure and the parent div container has different width values which are defined in pixels. the div containing the figure as background had dimensions bigger than the parent container. Fixing the div container classes and using percentage values for width and setting the max-width property will solve all the issues.
Screenshots:

I'm closing this as we are currently beginning a redesign process which will address this among other improvements. Thanks for reporting it!


luci-app-shadowsocks-libev How can I set the ipt_args option, thank you

How can I set the ipt_args option
I want to use this function to set the port of the proxy. I tried a lot of writing methods and it is not successful. Please tell me how to set it in luci, thank you.

Duplicate of #3129


feat: Compute Contract Address on the fly in deploy tx 🏗

Feature Request
Describe the Feature Request

Contract Address should be computed on the fly when submitting a deploy transaction based.
Related Code

https://docs.starknet.io/documentation/architecture_and_concepts/Contracts/contract-address/
Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[ ] Yes
[ ] No

I'll take this one !

deploy tx flow

add_deploy_account_transaction
transaction.execute

Starknet.js example
https://github.com/0xs34n/starknet.js/blob/bfa4a0bdfddf3f1b17aa08539baa1cde924de2af/src/account/default.ts#L390..LL395

hey @JunichiSugiura what's the status here ?

hey, can I try this one?


Inaccurate rule for PureCrypter

https://github.com/bartblaze/Yara-rules/blob/master/rules/crimeware/PureCrypter.yar
This rule is inaccurate the strings used for detection, are generic artifacts of the commercial .NET Reactor obfuscator.
The image below shows a quick search with 2 of the strings from your rule, which results in a number of random malware and legitimate apps obfuscated with .NET Reactor. The rule does not detect the targeted malware but binaries obfuscated with .NET Reactor.

For more info about .NET Reactor detection check  https://unprotect.it/technique/net-reactor/

Hi @cod3nym! Thanks for the report, can you share one of the hashes that have the FP?

Heres a few false positives
9049b8ebbffcef5967628141b5cb5939560b8e6124e1364c304086e870f41fb9
8d8f8266e5cd6561059dade4dbe7d658109286ed6f0222e2c5e8737ed05d6c08
4efac3e1145cf849d7bbf5d8e362ac7a5d008b9b746684178a304f025375d97a
e85a16b6bdae66ad119bc161d3df8a0b7d4a9d6935eecbffab1847a76e7d93f7
matching on these strings
$s1 = "{11111-22222-20001-00001}" ascii wide fullword
$s2 = "{11111-22222-20001-00002}" ascii wide fullword

As previously explained the strings are artifacts from .NET Reactor you can also verify this by obfuscating an executable yourself.

Solved now with a few commits, last one being 2df9502. Thanks again for your report / support!


Timing attack possibility on DBAuthenticator validate method

The validate method of DBAuthenticator could lead to a timing attack, as the provided credentials are only encoded if a user with the given username is found. Thus, an attacker could determine whether a user with a given username exists based on request latency.
Probably not too readily exploitable over inconsistent latency connections, but it's fairly easy to mitigate by encoding given credential regardless of whether matching user is found or not.

OK. I think I get the idea: what's your proposal? Add some random delay when the user is not found?

No, just move the credential provided encoding to before the db query for existing user.

Would you mind submitting a pull request for that? Thanks


Updated QuantEcon menubar

Implementing the new menubar across QE sites.

[ ] once merged conduct a clean run on ec2

@DrDrij we will need to review these tpl files once we get to installable themes and use the private version of the theme for publising.


Add Appveyor config

Adds Appveyor config so we can test in Windows.
No specific related issue, but we need to have CI for windows
DCO 1.1 Signed-off-by: Sam Richard<EMAIL_ADDRESS>I totally messed up #616, let's try it again

Coverage remained the same at 96.919% when pulling 0ad847e321887bb88ef7342e093c2aaf651ccbe9 on Snugug:apv into 9656e0aedeff9f64e719bf2204cbb92b64d82c7f on sasstools:develop.

Either way, this should be GTG now, feel free to merge. All the Node versions are testing as expected

😄  Been trying to get all the idle PR's updated or merged so I'd just merged in a new rule that has been added.. I'm confused by these appveyor results, as i mentioned on Slack, both @bgriffith and I are seeing 40+ windows issues when we run it locally on windows but only 2 or 3 in appveyors reporting?

Would it be worth specifying an OS?
in linter-sass-lint for example i use
os: Windows Server 2012 R2
can't find any info on appveyor about what their default OS is

@Snugug do you wanna update this then, I can't update it to merge it 😭

Coverage remained the same at 96.949% when pulling 9e47c59d5f13beb17b9f8e77b54d3764a41b5aca on Snugug:apv into f4b441cb5374e5decf0e68d6c7e7ea35df84ab61 on sasstools:develop.

Ignoring Appveyor for now as we can move to fix the issues separately


[ISSUE #5670]Add a note to the example of TimerMessage example

Make sure set the target branch to develop
What is the purpose of the change
close #5670
Brief changelog

Add a note to the example of TimerMessage example

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #5671 (bab7866) into develop (cc6614c) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #5671      +/-   ##
=============================================
- Coverage      42.53%   42.51%   -0.02%
+ Complexity      8043     8041       -2
=============================================
  Files           1024     1024
  Lines          71723    71723
  Branches        9478     9478
=============================================
- Hits           30505    30492      -13
- Misses         37353    37362       +9
- Partials        3865     3869       +4

Impacted Files
Coverage Δ

...apache/rocketmq/broker/longpolling/PopRequest.java
31.03% <0.00%> (-13.80%)
:arrow_down:

...tmq/remoting/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
:arrow_down:

...tmq/broker/longpolling/PullRequestHoldService.java
63.72% <0.00%> (-2.95%)
:arrow_down:

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
71.35% <0.00%> (-1.36%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
70.31% <0.00%> (-0.63%)
:arrow_down:

...a/org/apache/rocketmq/store/StoreStatsService.java
33.97% <0.00%> (-0.56%)
:arrow_down:

.../org/apache/rocketmq/store/ha/DefaultHAClient.java
61.53% <0.00%> (-0.52%)
:arrow_down:

...che/rocketmq/test/lmq/benchmark/BenchLmqStore.java
50.24% <0.00%> (-0.50%)
:arrow_down:

...apache/rocketmq/store/timer/TimerMessageStore.java
54.29% <0.00%> (-0.10%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
60.17% <0.00%> (+0.44%)
:arrow_up:

... and 4 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Webpack bootstrap is pretty intense for small libs

Webpack is by far the best build tool for very large webapps, but for small utilities, it's a bit...overkill. The webpack bootstrap code can be as large as the library itself! This is just one of many issues that I'm thinking about when it comes to this boilerplate's future...

:+1:  completely agree with this thought.  I have high hopes for roll-up improving as it seems to solve this problem well with very minimal added overhead.

@paulfalgout, that makes a lot of sense. It's almost as if there are three general categories...

rollup for small libs in ES2015
rollup or browserify for simple ES2015 webapps
webpack for monster-sized webapps

1 and 2 may actually just be the same thing. What do you think?

Yeah.. for the most part it seems silly if you're going to redistribute a library for consumption elsewhere that it would include the webpack loader interop stuff.  I like that rollup is essentially just a fancy ES6 module concat.  Correct me if I'm wrong, but I think you can get around the acorn issues by using some sort of rollup-babel plugin that does the transpilation on each module during the concat.  I think there's just some issues with needing the commonjs part of babel for gulpfile.babel.js and then making sure the commonjs is not loaded for rollup.. which might be impossible in babel 6 right now..
But yeah.. I think if you're doing anything other than packaging some ES6 modules together to distribute elsewhere, it makes sense to go browserify / webpack because you're going to need some other thing as some point, that rollup doesn't do.

I agree with all of that. I intended for this boilerplate to be used in all contexts, but I'm slowly coming around to the fact that there's not a single good tool that's useful always.
I'm not too sure what to do about the situation atm. What are your thoughts?

I think it is super super useful to have a boilerplate specifically for writing modules for distribution or libraries or whatever they should be called..  And I think it really helps the open source community if there's a defacto tool that makes sure when someone is open sourcing something it meets a particular standard.  In fact I don't know that I would have been very successful open sourcing some of my own libraries had this not been available at the time.  But that's likely a much smaller audience than a more generic tool.  Perhaps two tools would be better?  I don't really know.
Part of me really likes this fulfilling the narrative of helping people bring quality stuff to open source.  And while there are various other boilerplates for setting up your project.. I don't know any that are specifically built, or good at open library work.  At the same time.. it does seem like if it was really good at doing that.. it's potentially 2 or 3 customizations away from being good at the whole thing..

Ohh.. one thing that I feel is different for libraries than for projects is you're more likely to want to test a library on various environments.. possibly with multiple dependencies.. so it makes keeping the npm i faster more key than when the testing time is a single run.

soooo while the non-uglified version of the webpack output doesn't look great, turns out it appears to compress really well https://github.com/samccone/the-cost-of-transpiling-es2015
I applied this same treatment to Marionette v3 with similar results, however rollup came out on top:

Tools
File Size (bytes)
gzip size (bytes)

webpack + babel + uglify
47444
11173

babel + rollup + uglify
47402
11161

rollup-babel-plugin + uglify
47256
10850

I suspect this is because now the loader code cannot be removed from uglify, where as in the transpiling test there weren't any external dependencies.
So while I still lean towards rollup for libraries.. it's much less of an issue than I would have thought.

Closing in favor of #319


config file location?

Could you please add more instructions on how to create a config file?
I want to change the default editor to nano.

okay, got it. I will add this to my .zshrc file. thank you.

That did not work. In my .zshrc file, i added LLAMA_EDITOR=nano
and the files are still opening in vim

Didn't you said in #5 that you were now using $EDITOR instead of $LLAMA_EDITOR ?

Both are used.


working sliders

I saw that the src/screen/settings.rs file contained a few TODOs for sliders in the menu system. So i created a slider ui element. I also created a setting for the mouse sensitivity and implemented a slider for it in the Controls tab of the menu. It is working but can probably be improved alot, like updating the slider position every tick to make it slide smoothly. Most of the boilerplate code for the Menu itself or the button is just copied over from the existing buttons and menus.

oh yea, the build seems to fail because of a trailing whitespace on a line that cargo fmt --check is not happy about. ill fix it

i think github automatically squashes all commits into one if it is merged, but if it doesnt this should probably be squashed into a single commit

Thanks for your amazing work!


Update Installation.rst

Some protobuf libraries were missing.

@mfehr @michaelpantic please give me back admin rights. ;)

Woohoo admin rights are back, self-LGTM!!!


type_list_diff: ability to remove types from type lists

To complement type_list_cat it might be useful to generate type lists by removing types. This was discussed on discord https://discord.com/channels/707607951396962417/707624203456872480/799280425380872223.
Suggested snipped by @skypjack
template<typename, typename>
struct type_list_diff;

template<typename... Type, typename... Other>
struct type_list_diff<type_list<Type...>, type_list<Other...>> {
    using type = type_list_cat_t<std::conditional_t<type_list_contains_v<type_list<Other...>, Type>, type_list<>, type_list<Type>>...>;
};

template<typename... List>
using type_list_diff_t = typename type_list_diff<List...>::type;

Available on experimental. 👍

Available on experimental. 👍

Upstream on master.

Upstream on master.


Cleaning up old xrefs to terms using http://fly.ebi.ac.u

hi @hattrill
I am cleaning up old xrefs to terms, and we have those dead links:
http://fly.ebi.ac.uk (this one is a bit too general, isn’t it ?)
http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004526
http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004540
http://fly.ebi.ac.uk/allied-data/lk/interactive-fly/aimain/1aahome.htm
Are they replaced by something else ?
Impacts those terms:

GO:0007351  tripartite regional subdivision
GO:0007354 zygotic determination of anterior/posterior axis, embryo
GO:0007355 anterior region determination
GO:0007356  thorax and anterior abdomen determination
GO:0007358  establishment of central gap gene boundaries
GO:0007361  establishment of posterior gap gene boundaries
GO:0007364  establishment of terminal gap gene boundary
GO:0007359  posterior abdomen determination
GO:0007362  terminal region determination
GO:0007366  periodic partitioning by pair rule gene
GO:0007367  segment polarity determination
GO:0007379  segment specification
GO:0007386  compartment pattern specification
GO:0007387  anterior compartment pattern formation
GO:0007388 posterior compartment specification
GO:0007469  antennal development
GO:0008056 ocellus development
GO:0008058  ocellus pigment granule organization
GO:0008358  maternal determination of anterior/posterior axis, embryo
GO:0008595  anterior/posterior axis specification, embryo
GO:0045498  sex comb development
GO:0048816  ocellus morphogenesis

Most terms also link to https://www.abebooks.com/book-search/isbn/0879694238
The Development of Drosophila Melanogaster 2 Volume Set by Bate, Michael; Martinez Arias, Alfonso
Maybe this is enough? Is it appropriate for all ?
Generally I prefer a PMID since this is more easily accessible but those terms are general enough to cite a book.
Thanks, Pascale

@hattrill ping

Sorry @pgaudet - somehow missed this gem in my inbox. I will have a look at this next week, if that's ok. Should be able to find PMIDs for them.

That's great ! Thanks.

@hattrill I dont know if this is a good time to ping you about this... I thought I'd try anyway :)
Thanks, Pascale

@hattrill I dont know if this is a good time to ping you about this... I thought I'd try anyway :)
Thanks, Pascale

@pgaudet as good as time as any - I will look at them now

@pgaudet as good as time as any - I will look at them now

For all the terms with the xrefs to https://www.abebooks.com/book-search/isbn/0879694238
The Development of Drosophila Melanogaster 2 Volume Set by Bate, Michael; Martinez Arias, Alfonso
And you can remove the http://fly.ebi.ac.uk/allied-data/lk/interactive-fly/aimain/1aahome.htm link and leave the ISBN
For:
GO:0008058	ocellus pigment granule organization - obsolete this term (never used)
And for these:
GO:0007469	antennal development	Remove http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004526	Replace with http://purl.obolibrary.org/obo/FBbt_00004511
GO:0008056	ocellus development	Remove http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004540	Replace with http://purl.obolibrary.org/obo/FBbt_00004505
GO:0045498	sex comb development	Remove http://fly.ebi.ac.uk	Replace with http://purl.obolibrary.org/obo/FBbt_00004296
GO:0048816	ocellus morphogenesis Remove http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004540	Replace with http://purl.obolibrary.org/obo/FBbt_00004505

For all the terms with the xrefs to https://www.abebooks.com/book-search/isbn/0879694238
The Development of Drosophila Melanogaster 2 Volume Set by Bate, Michael; Martinez Arias, Alfonso
And you can remove the http://fly.ebi.ac.uk/allied-data/lk/interactive-fly/aimain/1aahome.htm link and leave the ISBN
For:
GO:0008058	ocellus pigment granule organization - obsolete this term (never used)
And for these:
GO:0007469	antennal development	Remove http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004526	Replace with http://purl.obolibrary.org/obo/FBbt_00004511
GO:0008056	ocellus development	Remove http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004540	Replace with http://purl.obolibrary.org/obo/FBbt_00004505
GO:0045498	sex comb development	Remove http://fly.ebi.ac.uk	Replace with http://purl.obolibrary.org/obo/FBbt_00004296
GO:0048816	ocellus morphogenesis Remove http://fly.ebi.ac.uk/.bin/cvreport2?id=FBcv0004540	Replace with http://purl.obolibrary.org/obo/FBbt_00004505


Crash when using fatfs and gcov (IDFGH-7445)

Environment

Development Kit: ublox NINA-W106 as well as custom board
Module or chip used:  ESP32
IDF version: v4.4.1
Build System:         idf.py
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:     Windows
(Windows only) environment type: Plain Command Prompt
Using an IDE?: No
Power Supply:        USB / external 3.3V

Problem Description
Hello everyone,
I am running into a problem when using wear-leveling and gcov profiling together.
Whenever wear leveling (and possibly other flash access?) is used together with gcov profiling, the ESP hangs while initalizing flash.
The place and time of running esp_gcov_dump(); in the program does not matter, as long as it is present somewhere in the code
esp_vfs_fat_spiflash_mount will crash. This leads me to assume that it has something to do with the gcov stub?
Expected Behavior
Accessing flash with the wear-leveling API should work normal, even when profiling with gcov.
Actual Behavior
When using gcov together with fatfs wear leveling, the ESP hangs on "init flash sections"(see log) and subsequently is reset by the WDT (TG1WDT_SYS_RESET) .
Steps to reproduce
The wear-leveling example from esp-idf is modified for minimal crashing example as below.
The program is build and flash with idf build erase_flash flash monitor, and the output is attached.
It crashes while mounting the filesystem with esp_vfs_fat_spiflash_mount
If esp_gcov_dump(); is commented out, accessing the memory works as expected.
Code to reproduce this issue
./main/CMakeLists.txt
idf_component_register(SRCS "wear_levelling_example_main.c"
                    INCLUDE_DIRS "."
                    REQUIRES app_trace fatfs)

set_source_files_properties(wear_levelling_example_main.c
        PROPERTIES COMPILE_FLAGS
        --coverage)

./main/wear_levelling_example_main.c:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "esp_vfs.h"
#include "esp_vfs_fat.h"
#include "esp_system.h"
#include "esp_app_trace.h"

// Handle of the wear levelling library instance
static wl_handle_t s_wl_handle = WL_INVALID_HANDLE;

// Mount path for the partition
const char *base_path = "/spiflash";

void app_main(void)
{
    const esp_vfs_fat_mount_config_t mount_config = {
            .max_files = 4,
            .format_if_mount_failed = true,
            .allocation_unit_size = CONFIG_WL_SECTOR_SIZE
    };
    printf("Mounting\n");
    esp_err_t err = esp_vfs_fat_spiflash_mount(base_path, "storage", &mount_config, &s_wl_handle); //<--- MCU hangs here
    printf("Done\n");
    esp_gcov_dump();
}

Debug Logs
Complete logs see attached file.
Mounting
D (1306) partition: Loading the partition table
V (1306) calculated md5: 0x3ffb7bd8   59 a0 79 ea 86 38 c8 dc  2a fe 89 93 d5 a8 fa fd  |Y.y..8..*.......|
V (1316) stored md5: 0x3f418090   59 a0 79 ea 86 38 c8 dc  2a fe 89 93 d5 a8 fa fd  |Y.y..8..*.......|
D (1326) partition: Partition table MD5 verified
V (1326) wl_flash: config start_addr=0x00000000, full_mem_size=0x00100000, page_size=0x00001000, sector_size=0x00001000, updaterate=0x00000010, wr_size=0x00000010, version=0x00000002, temp_buff_size=0x00000020
D (1346) wl_flash: config - config result: state_size=0x00002000, cfg_size=0x00001000, addr_cfg=0x000ff000, addr_state1=0x000fb000, addr_state2=0x000fd000, flash_size=0x000fa000
D (1366) wl_flash: init - config ID=2, stored ID=-1, access_count=-1, block_size=-1, max_count=-1, pos=-1, move_count=0xFFFFFFFF
D (1376) wl_flash: init starts: crc1= 0x0f6187ba, crc2 = 0x0f6187ba, this->state.crc= 0xffffffff, state_copy->crc= 0xffffffff, version=2, read_version=-1
D (1386) wl_flash: init: try to update version - crc1= 0x0f6187ba, crc2 = 0x0f6187ba, result= 0x00000000
V (1396) wl_flash: updateV1_V2 start
D (1406) wl_flash: updateV1_V2 - process crc1=0xff6cab0b, crc2=0xff6cab0b, v1_crc1=0xffffffff, v1_crc2=0xffffffff, version=-1
D (1416) wl_flash: init: init flash sections
ets Jul 29 2019 12:21:46

rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6608
load:0x40078000,len:14788
ho 0 tail 12 room 4
load:0x40080400,len:3792
0x40080400: _init at ??:?

entry 0x40080694
I (58) boot: ESP-IDF v4.4.1 2nd stage bootloader
...

Other items if possible

[x] sdkconfig file (attach the sdkconfig file from your project folder)
[x] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)
wear_levelling.zip
log.txt

Any update about this issue?


Post Batch Repeat Action

Would it be possible, for there to be an "end action" to a batch?  Currently it's a choice between batch and repeat.
With my suggestion, repeat should be an option after all the batch too, but maybe it could also be going to a different URL?

Or even a "playlist" of config, so it can go from one to the next.

Can you give some examples

I hope my example make sense, it's not real.
Say there is a 50 times click limit to the website I'm using this on and refreshing the browser would reset the count.  With the program right now, I can just asking it to refresh at the end of sequence or after the 50 times run, it'd just stay at the screen and wait for me to refresh manually.
So I was hoping it could, say after doing the batch 50 times, it'd know to refresh.  So it'd start the 50 times again.
The playlist idea is sort of simlar, but so it'd run from 1 set of "settings" to the next, so I could have the initial batch of 50 for Setting 1, then it'd know to run Setting 2, which is refresh.

@tango125 ,
Sorry for replying late but I'm back with solution for you
Step 1:
Set the batchRepeat value to your html tag

it can be done with

elementFinder - //html
value - Attr::set::session::<batchRepeat>

Step 2 : Refresh
add another action

elementFinder - //html

value - LocationCommand::reload
Add Addon on it

elementFinder - //html

Condition - =

Value - 50

Value Extractor - @session

Rechec-options - Skip
btach refresh.json


What is the right way to close connection to server

I am seeing too many connections on the server. Most of the times when meteor is rebuilding the app, the old connections are staying there increasing the thread-count on the server and wasting resources. What is the right way to close these connections after client disconnect (either within code or through some configuration setting)?
I would like to have no more than 10 threads/connections idle and any other new threads created should wait for a max of 5 minutes and close the connection. How to achieve it? Right now, I have 133 threads below created and aborted by client

Never mind, found this online tool to generate my.cnf file automatically based on input https://tools.percona.com/wizard Sharing it here just so others can also benefit. Thank you.

Actually the configurations does not deal with closing the idle connections - perhaps we should figure a way of closing the connections once the publishing is done or on some time out.

Hmm this is an interesting issue that I had not thought about. When Meteor does a hot code push, refreshing the server, the application is not notified.
In order to not send duplicate result sets on server restarts, I had to add a DDP message to reset the client side results before sending the initial results. But this requires no knowledge of whether the server was restarting, it runs on all initializations.
I'm not sure of any way to tell from inside the application when Meteor decides to restart. It must be possibile somehow. I definitely agree that this is a major issue.

I have determined that this is not a bug but in fact, simply a matter of adding the necessary code to close connections on exit to your application.
On the server-side of your Meteor app add the following event handler:
var liveDb = new LiveMysql(Meteor.settings.mysql);

process.on('SIGTERM', function() {
  liveDb.end();
  process.exit();
});

I cannot add this code to the library directly because you can only effectively have one listener on the SIGTERM event per application. I will be adding this code the readme though.
Thanks for the issue, please let me know of any more you come across. :smile:

Wait a second...that doesn't quite work. Seems to be a bug with Zongji.

@KrishnaPG I've just made the pull request for this bug on Zongji. I will release a new version as soon as the updated zongji module is released.

Cool - thanks for addressing this @numtel . This certainly will improve overall usability of the package and certainly will save resources on shared hosting infrastructures.

BTW, I hope this fix in zongji, takes the scenario of multiple clients into consideration. I am not an expert on binlog or mysql - but just in case there are multiple meteor clients for the same server and one client goes away - hope this killing the binlog does not affect the other connected clients (who may still need that binlog for updates).
In other words, if mysql's binlog is in one-one relation with clients, the fix of killing it may be fine. Otherwise, if binlog is 1-to-many, then we may have to let it run till all other clients are done.

@KrishnaPG Don't worry, your clients will be safe :sunglasses:

@KrishnaPG Ok this is now fixed and I have updated the leaderboard example application to illustrate how to close connections on code push and exit (ctrl+c).
You will need to be updated to the latest version of this package, 0.1.3, for this to work.
https://github.com/numtel/meteor-mysql-leaderboard/blob/master/leaderboard.js#L73-80
  var closeAndExit = function() {
    liveDb.end();
    process.exit();
  };
  // Close connections on hot code push
  process.on('SIGTERM', closeAndExit);
  // Close connections on exit (ctrl + c)
  process.on('SIGINT', closeAndExit);

Cool - thanks. This looks good.


15938: Outline (Audit Logs)

Outline for the new Audit Logs feature. Any additional sections that should be added?
There is a note on Ln.11 about the names of the events; a table of these names can be found here on notion.
Original first engineering draft can be found here (Correct first draft can be found in this appsmith-docs repo on branch v1.4 at ~/.github/drafts/15938/auditLog-first-draft.md)

@spark-c you're probably already aware but din't notice this on the outline so adding it - Audit Logs in it's entirety is available only in the self-hosted Business edition. So we'll have to add this info box at the top where it fits.


Restructuring the app

Value Proposition
As a user I want an app with a logical and clear structure in order to have a good user experience.
Description
//
Acceptance Criteria

[ ] the user should start with creating a new flow, so the create page should be the homepage
[ ] there should be no pages that have no benefit for the user
[ ] there should be a header for better UX

Tasks

[ ] move the content from create/index.js to index.js
[ ] delete flow/index.js
[ ] add header component and implement it into a layout component

Housekeeping 🧹😄 👍

Housekeeping 🧹😄 👍

Haha yes, exactly!


Improve default scheduler logic

define rankers to rank NodeMaintenance
rank NodeMaintenance according to in progress maintenances
rank NodeMaintenance according to pending maintenances
modify compare logic to take into account rank and creation timestamp

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

84 of 92 (91.3%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.2%) to 69.777%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/scheduler/ranker.go
76
84
90.48%

Totals

Change from base Build<PHONE_NUMBER>1:
1.2%

Covered Lines:
1062

Relevant Lines:
1522

💛  - Coveralls

minor updates after last review. will merge once CI is green.


0.15.2 doubleword

I have rebased all commits relative to the doubleword library ...

related to #3470

Could you also add an entry in the changelog for 0.15.2?
It's been filled as we go for 0.15.2, so that would make it complete: https://github.com/silx-kit/silx/blob/0.15/CHANGELOG.rst