Support for vi-mode

[x] have a var that toggles the behavior, e.g. ENABLE_VI_MODE="true" in zshrc.
[x] consistent visual mode change indicator (cursor / prompt).
[x] make sure that fzf still works.

https://gist.github.com/LukeSmithxyz/e62f26e55ea8b0ed41a65912fbebbe52
https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/vi-mode

Looks good! If any problems occur, open separate issues.


Update to gnatsd/README.md fixing authorization section

Update to gnatsd/README.md fixing authorization section addressing issue #662 "_INBOX.>" permission

Resolves #662


Update Meta “tags”

Automatically generated by Netlify CMS

👷 Deploy Preview for nimble-biscuit-3337ce processing.

Name
Link

🔨 Latest commit
899dc715c4e38812c04803fa6510beeeda3bd62a

🔍 Latest deploy log
https://app.netlify.com/sites/nimble-biscuit-3337ce/deploys/64415529e16bf90008768365


Add gender field on registration

@miltontony @hodgestar @saeedmb8 ready for review

@rudigiesler @miltontony @hodgestar @saeedmb8 ready for re-review

@rudigiesler @miltontony @hodgestar @saeedmb8 ready for re-review

:+1: happy!


Supports for qt6, qt6ct

As the title says, now many QT apps moved to qt6 such as qBittorrent, this repo doesn't suit QT6.

Hmm, looks like I opened a issue in a wrong repo sry, I should open this in lightly-qt.


Draft: Fix sort order of VoDs within a given month

Currently, changing between the ascending and descending sort order on the VoD overview only changes the order of the months, which I think is not the expected behaviour (and I've heard from at least one other person who found it confusing). Instead, the lectures should all be sorted by date (either ascending or descending) within a month AND the months should be sorted. This PR fixes that.
Before (order of lectures is 2, 3, 1):

After (order 3, 2, 1):

Resolves #448

I've also just noticed that logged-out users have the opposite sort order (for example, when DESC is selected, the newest lectures are at the bottom, and the "next lectures" card has the wrong order), presumably the sorting during page rendering is non-deterministic.

I'm sorry, hope i didn't merged early, looked good already :D

Nope, all good! I was going to fix the issue from my comment in the same branch but I'll do it separately instead :)


fixed the sound and fonts

fixed the late/early sound and added more fonts

have fixed the sound and fonts


Custom Message not staying enabled in 2.4

Upgraded to 2.4 and noticed the Custom Message field was unchecked. Checked it and my previous custom message was still there. Saved the configuration, went back and it was unchecked again. Can't get it to stay checked. Was working fine with 2.3

#401 was in 2.4 but I was using thjs (it's my changes) n 2.3 and it worked fine

I'm running into this as well, while using a Jenkins Job DSL file as the source of truth. Below is a configuration from one of the jobs:
        slackNotifier {
            baseUrl('')
            // 'Notify Build Start'
            startNotification(true)
            notifyAborted(true)
            notifyFailure(true)
            notifyNotBuilt(true)
            notifySuccess(true)
            room('#qa, #staging-area')
            includeCustomMessage(true)
            customMessage('branch - $GIT_BRANCH\n$GIT_COMMIT')
        }

This is a semi-educated guess, but it might be related to https://github.com/jenkinsci/slack-plugin/pull/404/files#diff-735646ae561cbe90d1feb753e1bbbe2bR48 ? The old code had the checked attribute linked to a value, and now it doesn't appear to be linked to anything.

@jordandev @fishfacemcgee
Could you please test https://github.com/jenkinsci/slack-plugin/pull/430 and make sure it fixes everything you need?
Once tested by someone I can merge and release

@timja Sorry for the delay. The Jenkins box I'm working with is fully JCASC-managed, and it's a bit of A Thing™ to get custom plugins going with it. I ended up just having to move the hpi in JENKINS_HOME/plugins. Long story short, I've confirmed the checkboxes work correctly with the changes in #430.


Feature/enable toggle on params

Add enabled flag to individual params

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Updating beeline-tutorial.md

In this change:
- Updated directions and added new image to 'Configure Azure AD single sign-on' section 7
- Image still pending merge of Pull Request
- Copy of image:
- Changed all spelling of BeeLine to Beeline.
- Updated Beeline support URLs
- Updated URLs to 'Configure Azure AD single sign-on' section 4

Hi @De1gad0 - Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, we can begin to review your pull request. Thanks!

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

Good afternoon @ktoliver - thank you so much for the help and feedback! I have signed the CLA.
Thank you for reviewing @jeevansd

@jeevansd @v-nagta Would you review this pull request? It goes with https://github.com/MicrosoftDocs/azure-docs/pull/58234. Thanks.

Thank you for the followup and adding @v-nagta ! I appreciate it

@v-nagta and @v-hagamp Can you please review this change? As the image is going to get updated in the common folder we need to see the impact on other articles. So I suggest that we take this change in the Private repo and then update the article and add the image in the local folder and not in the common folder.

Good afternoon everyone. Just wanted to check in and see if there has been any update on this? We have clients asking how to set up their Azure app to access Beeline, and I'd love to send them this page but the information needs to be updated with my changes in order for them to configure Azure correctly. :)
Thank you!

#sign-off

@v-nagta and @v-hagamp Can you please review this change? As the image is going to get updated in the common folder we need to see the impact on other articles. So I suggest that we take this change in the Private repo and then update the article and add the image in the local folder and not in the common folder.

Per this guidance, the PR review team will move this update and the image in #https://github.com/MicrosoftDocs/azure-docs/pull/58234, to the private repo. We'll move the image to a local folder and update the image reference. We'll close this PR when the new PR is merged.

Update submitted in private repo PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/123163. The update is expected to be live late afternoon today. We'll close this PR.


Enable dart:ui APIs for text measurement in secondary isolates

if use TextPainter.layout in isolate will get a compiler error native function not found
I need layout many words and it takes a long time (100ms+), it will block UI thread
What should I do?

Can you provide the code that causes this error?

void test(String str){
TextPainter(textDirection: TextDirection.ltr, text: TextSpan(text: str)).layout();
}
compute(test, '1');

The Flutter engine native APIs for the UI package are only available in the primary isolate.
See https://github.com/flutter/engine/blob/master/lib/ui/dart_ui.cc#L102

I'm not sure we could even make sense of doing this async.
If layout isn't finished, we can't paint anyway.
If we block until layout is finished, we can't paint until layout is finished anyway, and we potentially introduce deadlocks.
That said, it seems like it would be nice to be able to pre-layout text - or, alternatively, let the user paint text without specifying layout, which I think should still be possible today.
@windrunner414 - what happens if you run your compute call to do your own line breaking logic, and then just instantiate single TextPainters for each line, and position/paint them yourself?

@dnfield how to get character's size to layout?we can't use TextPainter

I find it interesting that textpainter seems to cache the size of each character. Caching is ineffective if you use compute

I layout 5000 characters, including 2500 different characters.The first time took 1500ms!After that it only takes 15msafter layout we need to split it in many page, like this

same question，so if we need to perform an expensive computation use textPainter，how to do it？

right now you would have to write your own line-breaking logic - perhaps as a plugin. We don't currently have any API for doing text layout in a separate isolate. @GaryQian might have some other idea about this too.

same question.

I have same question! Measuring Arabic text takes long time.

does someone have a solution?

+1

I have same issue, I am developing an app, it requires a lot of drawing to get a ui.Image (take 10 seconds or more).
When I move the drawing_function to isolate, I got : [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Exception: error: native function 'PictureRecorder_constructor' (1 arguments) cannot be found.

I have same problem my google map marker takes few seconds to load

same question,layout too slow,

``

the same problem for me

I have hidden a bunch of comments in this thread that were mainly "any updates/me too" comments.
Please avoid commenting "same here", "+1", or "any updates" - it makes it harder to find relevant content in the issue, pings all subscribers, and does not help surface to the team the priority of the issue.
Instead, thumbs up the original comment. If you wish to subscribe to updates, click the subscribe button in the right hand column of the issue. Comments should be reserved for information pertinent to the issue such as what progress you're making on finishing the feature, request for design review, updates in platform API docs to consider, blockers that need to be resolved, etc.

Add this new feture has plan

When will this problem be solved? It is very important to me. Thanks

This is very useful for building map markers too, I mean, not only for building text but for map markers.
In my app we have a lot of markers and building them every time is causing some UI freezes, but we use PictureRecorder to build them and they result in:
Exception: UI actions are only available on root isolate.
	#0      PictureRecorder._constructor (dart:ui/painting.dart:4458:59)
	#1      new PictureRecorder (dart:ui/painting.dart:4457:23)
	#2      IconGenerator._drawCircle (package:client/src/common/utils/map/icon_generator.dart:87:32)
	#3      IconGenerator.buildCircle (package:client/src/common/utils/map/icon_generator.dart:51:26)
	#4      MarkerGenerator._buildDots.<anonymous closure> (package:client/src/common/utils/map/marker_generator.dart:62:37)
	#5      MappedListIterable.elementAt (dart:_internal/iterable.dart:417:31)
	#6      ListIterator.moveNext (dart:_internal/iterable.dart:343:26)
	#7      Future.wait (dart:async/future.dart:406:26)
	#8      MarkerGenerator._buildDots (package:client/src/common/utils/map/marker_generator.dart:68:19)
	#9      MarkerGenerator.build (package:client/src/common/utils/map/marker_generator.dart:30:22)
	#10     buildMarkers (package:client/src/widget

That's a different problem and would be a bit more complicated to manage due to how these operations can access graphics contexts that can only be safely used on specific threads. Text layout on the other hand shoul dbe possible to do on any thread.

😢 Got it, thanks for answering

Thumbs up, also can see performance when displaying not small (±20kb) strings as Rich text compised of a numebr of nested text spans. 70% of CPU time spent on layout

/cc @goderbauer fyi

Can anyone update about the status of this issue ? this issue is open before 3 years.

+1

Another option for this would be to expose a lower-level text drawing API and just let people do layout/shaping via whatever aPI they in some other isolate/plugin and then send the glyph IDs/positions back to the UI isolate for drawing.

Another option for this would be to expose a lower-level text drawing API and just let people do layout/shaping via whatever aPI they in some other isolate/plugin and then send the glyph IDs/positions back to the UI isolate for drawing.

Sounds like a great idea, like android StaticLayout.


Fix build after URL scheme change from DeprecatedString to String

Adapt to c25485700a7bbdbb2eae84e036396de067b2e9fb from the main Serenity repository.

Thanks!


Document 1.0.0 breaking changes

By the way: I hit this bizar bug yesterday: https://discuss.eventstore.com/t/event-position-18446744073709551615/3172
At one point, my event number (the commit position) was always<PHONE_NUMBER>3709551615 (2^64). I double checked with the node.js client and it was the same issue. Bumping the docker image from 21.10.9 to 22.10.1 fixed the issue. It seems that this was a bug in the server: https://github.com/EventStore/EventStore-Client-Dotnet/issues/211.


train paramter

https://github.com/huixiancheng/CENet/blob/1ca48f1e9a6547d4361b921b491930b53ed681dd/config/arch/senet-2048p.yml#L67-L78
I have a question about these paramter.  Your paramter is different from darknet which used.  Will these paramter increase the model accuracy after you change it.

Refer to issue #6. I didn't test its impact on performance. Perhaps it may slightly affect the performance of some classes.

Thank you for your reply. I have another quesetion about model train. Can you tell me how big do you usually set batchsize, H, W when you do experiment.

Limited by resources, I usually start experiments with a resolution of 64*512. Training is faster with this setting.
For batchsize, just make full use of the GPU under amp as much as possible.

Thank you. Your project and reply help me a lot.


Support Swift files with overridden @objc names

Previously, Realm would assert when creating a schema for this object
because it only considered files with modular class names to be Swift
files.
@objc(Foo) class Foo: Object {}

This is problematic for projects that do all manipulation of an
instance in Swift but still need to pass it between Objective-C classes.
Now we check for a dot in the name or inheriting from RealmSwiftObject.

Thanks for the PR, @bnickel! Always lovely to see contributions from the community.
Could you please add some Swift 2 and Swift 3 tests, as well as a changelog entry?

@jpsim Sure, I'll probably get that in on Monday.
As far as a test goes, we're moving from a state where schema generation went from asserting in doesNotRecognizeSelector: to running.  Is it sufficient to provide a test that would have crashed but now doesn't?

Is it sufficient to provide a test that would have crashed but now doesn't?

That's not only sufficient, but ideal!

I've added tests and signed the CLA.

That's not only sufficient, but ideal!

Sorry, thinking about this more, it'd be nice to also have tests confirming that an object of this type can be created and added to a Realm.

@bnickel do you still intend to continue this?

Yeah, I totally forgot about this.  I'll add the tests on Monday.

Rebased and tests added.

@bnickel thanks for adding the test. Does this also work if the ObjC name doesn't match the Swift one? If so, could you please add a test for that?
This will need an entry in the "Bugfixes" section of the changelog too. Something along the lines of:
* Support Realm model classes defined in Swift with overridden Objective-C
  names (e.g. `@objc(Foo) class SwiftFoo: Object {}`).

If ObjC names that differ from Swift ones don't work, that should be explicitly noted in the changelog entry too.

I've added the tests.  Arbitrary names work and the changelog entry above was perfect so I just used it.


[sec-list] MQQBrowser is recognized as Bad UA

Describe the bug
Same as #crowdsecurity/sec-lists/pull/48
MQQBrowser is the UA of the built-in browser of a social application called QQ. Like MicroMessenger, they are both owned by Tencent.
Please remove it from the sec-list.

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."


Update settings_screen.dart

Added Delete Account option from settings UI
Description
Added delete account option from Settings UI
Fixes #
Flutter Channel:

[x] I have used the Flutter Stable channel on my local machine

Type of Change:
Removed Delete Account option from Settings UI

Code

Code/Quality Assurance Only

Bug fix (non-breaking change which fixes an issue)
This change requires a documentation update (software upgrade on readme file)
New feature (non-breaking change which adds functionality pre-approved by mentors)

How Has This Been Tested?
Describe the tests you ran to verify your changes. Provide instructions or GIFs so we can reproduce. List any relevant details for your test.
I run it on my local machine and it works fine.
Checklist:
Delete irrelevant options.

[x] My PR follows the style guidelines of this project
[x] I have performed a self-review of my own code or materials
[ ] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] Any dependent changes have been merged

Code/Quality Assurance Only

[x] My changes generate no new warnings
[ ] My PR currently breaks something (fix or feature that would cause existing functionality to not work as expected)
[x] Any dependent changes have been published in downstream modules

Duplicate PR #135 .


trying to deploy this on heroku -> Does not work-> getting application error

trying to deploy this on heroku -> Does not work-> getting application error. PLease help.

I have added readme. Please take help from there and if you are unable to deploy to heroku then comment down here again.


feat(pivot table): Add feature flag to allow HTML rendering in pivot tables

SUMMARY
After analyzing the source code, a variable is set to true by default in the Table chart (superset/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx) but not in the Pivot Table (superset/superset-frontend/plugins/plugin-chart-pivot-table/src/PivotTableChart.tsx). The variable in question is allowRenderHtml in the function export default function TableChart<D extends DataRecord = DataRecord> or export default function PivotTableChart(props: PivotTableProps).
The goal is to make this value configurable via a feature flag. Therefore, a new feature flag needs to be declared in the file superset/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts as follows:
AllowPivotTableHtml = 'ALLOW_PIVOT_TABLE_HTML'.
Then, retrieve this feature flag in the source code of the Pivot Table like this:
allowRenderHtml = isFeatureEnabled(FeatureFlag.AllowPivotTableHtml)
Finally, declare the new feature flag in the superset_config.py file and set it to true as follows:
FEATURE_FLAGS = {
    "ALLOW_PIVOT_TABLE_HTML": True,
}

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Set the feature flag ALLOW_PIVOT_TABLE_HTML to "True" in your superset_config.py and look if your html is formated or not in the Pivot Table.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Required feature flags: ALLOW_PIVOT_TABLE_HTML
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

CC @kasiazjc @mistercrunch since they've been looking at this sort of thing.

I'm curious more about the use cases here...
Should this perhaps be user-controllable (there's a switch for it in SQL Lab results, for example), rather than a feature flag? I'm not sure if we want to always enable or disable this for everyone.
If we DO need a feature flag, perhaps we should have a more generic "RENDER_HTML_IN_DATA" flag, that can be used for any tables (pivot or otherwise) or results displays?

Hey, when I checked the code for the "Table" and "Pivot Table" charts, I noticed that the variable is set to true by default only on the "Table" side. If there is a good reason for this, I assume we wouldn't want just any regular user to make a change to allow it. Based on this assumption, I used feature flags so that someone with proper expertise can set this feature flag to True.

/testenv up

@ERGO1995 looks like for pivot tables I'm seeing a checkbox under the Customize tab to render html. I think there is probably a bug there where it isn't actually rendering the html so I don't know if this feature flag is actually needed. This will allow the chart creator to choose to render the data as html and I don't think the feature flag is needed if we actually fix the functionality.


Python coding style

Hi,
Is there a document describing the coding style that should be used? The link pointed by CONTRIBUTING.md doesn't describe the style :(

@illfelder

We don't currently have a doc describing the coding style. It's mostly the same as the code style of compute-image-packages except with 79 character limits... due to flake8 not supporting line length checks other than that.
Here's a command you can run to lint your code locally.
flake8 --ignore E111,E114,E121,E125,E128,E129 --import-order-style=google


[SSoC 2.0] Distance conversion project

Describe the project
A clear and concise description of the project you are going to add to this repository.

This project can convert one unit of length to other units.
Like, cm, mm, miles, foots, km, yards, etc.

Issue Type:

[x] New Project

Additional context
Add any other context or screenshots about the project here.

This project will be very helpful for the children to learn the conversion of units of length.

Screenshots

If applicable, add screenshots to help explain your problem.

@TusharKesarwani @harshit-paneri @zugzwang03 please assign this project to me

plz assign this issue to me

The project is already present in the repo


Enable re-use of HttpClient instances

When scanning a large number of pages, the fact that PageRequester creates a large number of HttpClients can lead to many unused, but not closed connections. Even when disposed, the HttpClient instances can linger until they time out. In particular on Azure functions instances the connection limit was often triggered when using Abot
For more information see:

https://docs.microsoft.com/en-us/azure/architecture/antipatterns/improper-instantiation/
https://www.aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/

To address this I added simple management of a static, cached instance of the HttpClient used by all PageRequester instances
so it will re-use this HttpClient instance within PageRequester methods. I'm under a deadline so this is minimalist update but I did want to push it back as a contrib.
Adds a crawl config item to enable this re-use
Adds simple unit tests to exercise the re-use.
Please note: If you enable this setting you will likely need to call a new method PageRequester.DisposeReusedObjects() at the end of a scan session - which clears out/disposes any cached instance and resets itself to the default non-cached behavior. I did not add this to WebCrawler() or other associated classes since users may have multiple crawl sessions in-flight or other behavior I do not expect. If you implement your own custom requester from IPageRequester - you might also need to respond to this change. Also added a quick thread-safety mechanism for setting the cached instance in case they are being initialized within different threads.

Fails when tests use different subclasses of PageRequester. Withdrawing PR until I can fix that.


Invoking Azure Function results in timeout even with callback

Release link: https://msdata.visualstudio.com/Vienna/_releaseProgress?_a=release-environment-logs&releaseId=350878&environmentId=1372251
I am using Call back pattern for azure function in Pre deployment gate.
The call back http request return following error:
Status Code: 500 Internal Server Error
Header:
X-TFS-ProcessId : b4a50dae-0ba7-4a92-b9cd-0b4343db9218
ActivityId : 3197bd8b-a388-4011-9160-d43ee6c4c2e3
X-TFS-Session: 3197bd8b-a388-4011-9160-d43ee6c4c2e3
X-VSS-SenderDeploymentId: f74dff37-2fb6-e5e9-ea77-6ea9785ace8f
X-VSS-UserData: a9ca44a6-9586-4bf3-bb99-a00766f68022:8b119ea1-2e2a-4839-8db7-8c9e8d50f6fa
Body:
{
"$id": "1",
"innerException": null,
"message": "The orchestration session 1143cd0456784d9397b70c0c87c02da7_ca8309bbacd74ebcb0ab444f0457b79f_ce9c9cdaade34f21b6f780874cc11f99 not found for hub Gates.",
"typeName": "Microsoft.VisualStudio.Services.Orchestration.Server.OrchestrationSessionNotFoundException, Microsoft.VisualStudio.Services.Orchestration.Server, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
"typeKey": "OrchestrationSessionNotFoundException",
"errorCode": 0,
"eventId": 3000
}
The Gate looks like still in pending status (Not failure soild red cross mark ) but log said:
2021-11-03T05:54:48.1981251Z POST https://releasepipelinefunctions.azurewebsites.net/api/Test?code=cgzCFV2TgCdRIsLbl5XSnvXU0d7Dbqv3CuzuUYvaZrbStaxe2PaHaw==&
Response Code: 0
Response: An error was encountered while processing request. Exception:
Exception Message: The request timed out after 60 seconds as no response was received. (type TimeoutException)
Is there any recent service issue on ADO side failing to keep track of pending task after timeout ?

Hi @superkevin813 this repo is mostly for pipeline tasks - please open a ticket on https://developercommunity.visualstudio.com/search?space=21 for DevOps related questions.

Let me close this one here since it's not related to the pipeline tasks.

@anatolybolshakov I have a similar issue. I am using YAML build pipeline that builds and the deploys my Python function app. After deployment I give the function a 2 minute delay and then do two calls, one that should give a 200 response but with a schema validation error message as response and a correct request that will invoke an machine learning pipeline.
Incl other overhead times, there are more then 3 minutes between slot swapping and my function app requests. But it still fails with following error:
Request body: ... dummy body to trigger a BUSINESS_ERROR but still get a 200 response ...
			Response Code: 0
			Response: An error was encountered while processing request. Exception:

Exception Message: The request timed out after 60 seconds as no response was received. (type TimeoutException)
What am I doing wrong?


How to use the Xfixes extension?

I'm trying to use XFixesSelectSelectionInput, but I always get undefined reference. I tried with most of the feature flags and also have Xfixes installed, but still no success. Other functions like XOpenDisplay work as expected.
Am I missing something or is there a bug in the bindings? I've noticed that compared to the functionality of other X-libraries, there is also no feature flag specific to Xfixes.

Thanks for the response. I had some time to give it a closer look and it seems the problem is indeed related to the bindings. I was able to fix it in a local clone of this repo.
In x11/build.rs there is no entry for xfixes, so pkgconfig isn't called for xfixes.
Since the x11_link macro ignores its $lib_name argument, the libXfixes.so-file also isn't being linked in here.
Adding a feature flag for xfixes in x11/Cargo.toml, x11/build.rs and x11-dl/build.rs fixed the issue for me. I think this would be a reasonable fix, since xfixes is a separate library library that is distributed with its own pkgconfig file.

I just realized that x11-dl isn't an internal dependency of x11, but something else.
The change, that I've described in the previous comment and referenced commit, fixes the issue for me with the x11 crate, but not with the x11-dl crate, which I haven't used before and couldn't find any documentation about.

Thanks for investigating, it seems you are correct. I merged in #118 but I overlooked the fact they forgot to add it to x11-dl. Do you want to create a pr for this? Or should I

x11 is statically linked, x11-dl was created later on to serve for dynamic linking. Allows for more portable executables. You shouldn't have to do much aside from add 1mod xfixes1inx11-dl. The rest is handled inside xfixes.rs` itself

Fixed in https://github.com/AltF02/x11-rs/commit/032d968411cc7686949765c10f9fc3afa27bab41


Implement OpenEyeToolkitWrapper

Testing turning project board cards into issues

Implemented first pass at Wiberg bond order calculation in 32865ca

Testing closing this issue to see how the project board reacts


Test streamflow with multiple forecasts

@jmunroe
(ping @karnesh)
I re-tooled this slightly to download the streamflow. Streamflow is a vector dataset, so it doesn't plot as nicely with the hvplot function.
With the example, I'm trying to download the multiple forecast traces for a single day. There should be 432 data values (24 forecast/reference times, 18 hours of forecast per forecast.)
Questions (we're working on these, would welcome insights or ideas -- @martindurant, if you feel like chiming in, please feel free.)

Notice that the plot doesn't show anything overlapping -- the times, I think, are stomping on each other. We probably need to define multiple reference times. How do we get the zarr indexing to recognize the additional dimension so that the dataset  recognizes the additional cardinality of the forecast time vs. the valid time?
(much lower priority... almost a philosophical question) How to plot geographically?

Would it be reasonable to have ["time", "reference_time"] as the axes to concat on? These are both apparently coordinates in the inputs, so it should work without any further config. I understand these should both populate to have a 2d time coordinate for all the variables. On making nice geo visual output, others know much better how to do this nicely!

Would it be reasonable to have ["time", "reference_time"] as the axes to concat on? These are both apparently coordinates in the inputs, so it should work without any further config. I understand these should both populate to have a 2d time coordinate for all the variables. On making nice geo visual output, others know much better how to do this nicely!

I don't think so... this is forecast model so my understanding is the reference_time is when each forecast "starts" and time refers to the time each forecast is relevant to.  There is a another aspect of timing which might also be important for some use cases: lead time (number of hours between the reference_time and the time of the particular forecast). This not included in this example since we have explicitly selected the 'f001'  -- the first hour of each of these 18 hour forecasts.

Probably I don't understand the data structure :|
Are you saying that we need to derive the real value of the data, or is there a 2d "time" and "lead time" coordinates? Basically, what do you want the output dataset's coordinates to look like.

For this particular example, just the one time coordinate. (My comment refers to the more generalized case)

In that case I'm not sure how your example multiple things are "stomping" without another coordinate variable.

The following code produces an example list, shown below, that helps to explain the data structure, at least conceptually. I'm working on digging into the actual netcdf headers -- the file names are a far more reliable index than what is encoded into the file, I have found. You both probably understand what I'm explaining here and I beg pardon if it seems pedantic. Hopefully, it will help me ask a more useful question at the tail end.
flist = []
for day in range(22, 23):  # TODO: replace this with a formatted date output range
    for i in range(4):
        for fc in range(1,4):
            flist.append(f'gcs://national-water-model/nwm.202208{day:02d}/short_range/nwm.t{i:02d}z.short_range.{var}.f{fc:03d}.conus.nc')

produces

"flist": ["gcs://national-water-model/nwm.20220822/short_range/nwm.t00z.short_range.channel_rt.f001.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t00z.short_range.channel_rt.f002.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t00z.short_range.channel_rt.f003.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t01z.short_range.channel_rt.f001.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t01z.short_range.channel_rt.f002.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t01z.short_range.channel_rt.f003.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t02z.short_range.channel_rt.f001.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t02z.short_range.channel_rt.f002.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t02z.short_range.channel_rt.f003.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t03z.short_range.channel_rt.f001.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t03z.short_range.channel_rt.f002.conus.nc",
  "gcs://national-water-model/nwm.20220822/short_range/nwm.t03z.short_range.channel_rt.f003.conus.nc"
]

Visually, these should overlap something like the following:
t00z |f001--f002--f003--
      t01z |f001--f002--f003--
            t02z |f001--f002--f003--
                  t03z |f001--f002--f003--

The output from xarray shows the same thing. First, the full output from a single dataset:
>>> xr.open_dataset("nwm.t02z.short_range.channel_rt.f002.conus.nc")
<xarray.Dataset>
Dimensions:         (time: 1, reference_time: 1, feature_id: 2776738)
Coordinates:
  * time            (time) datetime64[ns] 2022-08-25T04:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T02:00:00
  * feature_id      (feature_id) int32 101 179<PHONE_NUMBER>803<PHONE_NUMBER>
Data variables:
    crs             |S1 ...
    streamflow      (feature_id) float64 ...
    nudge           (feature_id) float64 ...
    velocity        (feature_id) float64 ...
    qSfcLatRunoff   (feature_id) float64 ...
    qBucket         (feature_id) float64 ...
    qBtmVertRunoff  (feature_id) float64 ...
Attributes: (12/19)
    TITLE:                      OUTPUT FROM NWM v2.2
    featureType:                timeSeries
    proj4:                      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 ...
    model_initialization_time:  2022-08-25_02:00:00
    station_dimension:          feature_id
    model_output_valid_time:    2022-08-25_04:00:00
    ...                         ...
    model_configuration:        short_range
    dev_OVRTSWCRT:              1
    dev_NOAH_TIMESTEP:          3600
    dev_channel_only:           0
    dev_channelBucket_only:     0
    dev:                        dev_ prefix indicates development/internal me...
>>>

Then the manually truncated output showing just the headers of a few more files (I probably should have scripted the output so I don't have to wear out my keyboard with a hammered-out finger macro...):
>>> xr.open_dataset("nwm.t01z.short_range.channel_rt.f001.conus.nc")
  * time            (time) datetime64[ns] 2022-08-25T02:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T01:00:00
>>> xr.open_dataset("nwm.t02z.short_range.channel_rt.f001.conus.nc")
  * time            (time) datetime64[ns] 2022-08-25T03:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T02:00:00
>>> xr.open_dataset("nwm.t03z.short_range.channel_rt.f001.conus.nc")
  * time            (time) datetime64[ns] 2022-08-25T04:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T03:00:00
>>> xr.open_dataset("nwm.t04z.short_range.channel_rt.f001.conus.nc")
  * time            (time) datetime64[ns] 2022-08-25T05:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T04:00:00
>>> xr.open_dataset("nwm.t01z.short_range.channel_rt.f002.conus.nc")
  * time            (time) datetime64[ns] 2022-08-25T03:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T01:00:00
>>> xr.open_dataset("nwm.t02z.short_range.channel_rt.f002.conus.nc")
  * time            (time) datetime64[ns] 2022-08-25T04:00:00
  * reference_time  (reference_time) datetime64[ns] 2022-08-25T02:00:00

@jmunroe created the first example by concatenating the f001 output from a series of forecasts on a particular day (i.e., t00z-t23z). The idea, I think, was to take the "best" forecast of each output -- we assume that the nearest hour will be the most accurate. (The model actually emits a separate "analysis_assim" dataset that is supposed to represent the best-available estimate of the system state for each given forecast time, and that might be a better single-trace value to plot, but that's easy enough to extract.)
More complex queries (and sort-of the direction I'm going with this exploration) involve questions about the progress of the forecast accuracy through time. This is connected to what you mean by "lead time", I think, @martindurant . I tried a couple of different variations on throwing reference_time into the input for the MultiZarrToZarr command e.g.,
`` py
mzz = MultiZarrToZarr(json_list,
remote_protocol='gcs',
remote_options={'anon':True},
concat_dims=['reference_time', 'time'],
identical_dims = ['COMID',],
)

But the result was always a dataset output with multiple `time` coordinates and only one `reference_time`, like this:
<img src="https://user-images.githubusercontent.com/53343824/186951378-71909478-435e-4129-9ddc-c9484f136e9d.png" width=400 alt="Frustratingly, only one reference time">

So, the questions we need to answer seem to be:
1. Mechanistically (as in, "please teach me"), how to get the reference time to be properly represented as a dimension so that multiple forecasts can be held in one file (if that's not an antipattern in itself)?
2. How do we build an interface then for querying/slicing across those indices _(e.g., I can imagine wanting to know, for a given moment in time, how the forecast improved as we got closer and closer - that would be a vertical slice through the diagram above. We might also look at a particular lead time -- say, 6 hours out -- and across a range of forecasts, consider the average performance relative to the actual value observed 6 hours later - that would be more like the original example notebook in this PR and would be a diagonal line on the diagram. Finally, we might look at at single forecast or even the envelope of all forecasts to get a sense for the aggregate behavior of the model relative to observed - that would be more horizontal slices, perhaps. _

For this particular example, just the one time coordinate. (My comment refers to the more generalized case)

In the notebook attached to the PR, I've changed the logic so that we are grabbing multiple values from each forecast; i.e., I'm not using the best_hour variable. When concatenating in the way that your first built it, there should be multiple reference times also, there would just be a 1:1 match between times and reference times, since only one value from each forecast was used.

With current main kerchunk, this seems to work for me
out = []
for of in ofs:
    with of as f:
        out.append(kerchunk.hdf.SingleHdf5ToZarr(f, of.path).translate())
mzz = kerchunk.combine.MultiZarrToZarr(out, remote_protocol="gcs", concat_dims=["time", "reference_time"])
tot = mzz.translate()
ds = xr.open_zarr("reference://", storage_options={"fo": tot, "remote_protocol": "gcs"})
ds

Dimensions:         (time: 6, reference_time: 4, feature_id: 2776738)
Coordinates:
  * feature_id      (feature_id) float64 101.0 179.0 181.0 ... 1.18e+09 1.18e+09
  * reference_time  (reference_time) datetime64[ns] 2022-08-22 ... 2022-08-22...
  * time            (time) datetime64[ns] 2022-08-22T01:00:00 ... 2022-08-22T...
Data variables:
    crs             (time, reference_time) object dask.array<chunksize=(1, 1), meta=np.ndarray>
    nudge           (time, reference_time, feature_id) float64 dask.array<chunksize=(1, 1, 2776738), meta=np.ndarray>
    qBtmVertRunoff  (time, reference_time, feature_id) float64 dask.array<chunksize=(1, 1, 2776738), meta=np.ndarray>
    qBucket         (time, reference_time, feature_id) float64 dask.array<chunksize=(1, 1, 2776738), meta=np.ndarray>
    qSfcLatRunoff   (time, reference_time, feature_id) float64 dask.array<chunksize=(1, 1, 2776738), meta=np.ndarray>
    streamflow      (time, reference_time, feature_id) float64 dask.array<chunksize=(1, 1, 2776738), meta=np.ndarray>
    velocity        (time, reference_time, feature_id) float64 dask.array<chunksize=(1, 1, 2776738), meta=np.ndarray>
Attributes: (12/19)
    Conventions:                CF-1.6
    NWM_version_number:         v2.2
    TITLE:                      OUTPUT FROM NWM v2.2
    cdm_datatype:               Station
    code_version:               v5.2.0-beta2
    dev:                        dev_ prefix indicates development/internal me...
    ...                         ...
    model_output_type:          channel_rt
    model_output_valid_time:    2022-08-22_01:00:00
    model_total_valid_times:    18
    proj4:                      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 ...
    station_dimension:          feature_id
    stream_order_output:        1

noting the multiple values for time and reference_time.
By the way, the correct kwarg for gcs is token="anon", but I don't think that's in your way. Also, CRS is certainly independent of either version of time, and there are probably other small details.

(edit: added ofs = fsspec.open_files(flist) to start of snippet)


identical code blocks, extract to method

identical code blocks, extract to method

this is difficult, moved to low priority


MRG: Try envs

The CIs seem bored today so let's see if the 3.6 env works yet.
Closes #4419.

Codecov Report

Merging #4641 into master will decrease coverage by 0.02%.
The diff coverage is 62.5%.

@@            Coverage Diff             @@
##           master    #4641      +/-   ##
==========================================
- Coverage   87.69%   87.66%   -0.03%
==========================================
  Files         351      351
  Lines       66583    66591       +8
  Branches    10348    11551    +1203
==========================================
- Hits        58387    58377      -10
- Misses       5237     5258      +21
+ Partials     2959     2956       -3

So the Python3.6 + clinicalgraphics VTK-7.1 environment seems to work on Linux and Windows (!), but breaks OSX on Travis. I can't even get it to import vtk on my OSX system, but I must be doing something wrong there.
@agramfort if you have time, can you try this latest environment and see if:

conda env remove -n mne (if necessary)
conda env create -f environment.yml
source activate mne
pip uninstall -y mne
python setup.py develop for latest master version of MNE
pytest mne/gui

Passes on your OSX system? If step (6) fails, can you try pytest mne/viz to see if that at least passes?

working !!!
good to go then?

I want to update docs here, too. Otherwise YES!

info['bads'] is fine

Crap, wrong GitHub tab

Updated doc
https://6073-1301584-gh.circle-artifacts.com/0/tmp/circle-artifacts.2fIiuDA/html/install_mne_python.html

Setting back to WIP because I want to tweak the Travis runs a bit

Okay ready for review/merge from my end (just the second OSX CI run finishing up currently, so should come back happy)

can you add a line that to download the env file from terminal one can do:
curl -O https://raw.githubusercontent.com/mne-tools/mne-python/master/environment.yml

so to install once anaconda is setup it's just
curl -O https://raw.githubusercontent.com/mne-tools/mne-python/master/environment.yml
conda env create -f environment.yml

@agramfort done

This one is still good to go

thx heaps @larsoner


touchStart event closes dropdown menu without triggering action

Hi guys,
There seems to be an issue that was introduced in 0.97.2 where the touchStart event interferes with dropdown menus.
Observed behaviour:
Dropdown menus are dismissed without triggering an action when the user taps a menu item.
Expected behaviour:
Dropdown menus are dismissed along with an action being triggered.
I appreciate this is likely a duplicate of #2212, however that issue hadn't received any comments from development. This is turning out to be something of a show-stopper in my project.

:+1: This appears to be most noticeable on iOS Safari and doesn't seem to be much of an issue on Android/Chrome.

Currently I'm working on hybrid apps using cordova and materializecss on iOS. I'm having similar problem for dropdown input, on touchStart. Is there any way to prevent dropdown closed? I already try attach touchStart and prevent default, but it failed, dropdown still closed. Any hints would be helpful. Thank you.

Hi everyone,
I ran into this recently on devices and after a little investigation the problem seems to be the event bindings on the dropdown. The closing of dropdowns were previously bound to the 'click' event as you would expect, but in 0.97.2 it appears the 'touchstart' event was added to this binding and I'm not sure of the reasoning behind that, because devices and their browsers do actually fire the 'click' event for taps in all the cases I have tried (so the dropdown would still close, albeit a litte later in the event heirarchy).
So to give an example, let's say we click a given node which opens the dropdown (the opening ONLY has the 'click' event bound by the way). Then the dropdown is shown and the close events are bound (both 'click' and 'touchstart' this time). Now if I'm on a touch device, as soon as I try to tap any type of our buttons inside the dropdown, the 'touchstart' fires first, the dropdown closes and (assuming you have your own actions bound to clicks) the button never gets the click event because technically you're no longer on the button for the 'click' event (the dropdown has already closed as of the 'touchstart').
The best fix for this is probably a revert of commit 2456c2e9047b9c3b724913af93603c8238d58c3e, although there may be reasons behind that addition that I'm not seeing here, but that's the commit where the issues started.
Hope this helps, thanks.

I'm seeing some trouble with it in Android on iOS as well, version 48.0.2564.104.

I have created a pr to fix this problem. I hope somebody can help me test it.

Hi!
I use touchstart event to trigger the action. I also need to use event.stopPropagation() and event.preventDefault() and then close manually the dropdown.
This is my code (I use Materialize with Meteor)
Template.myTemplate.events
  'touchstart a.blue-text': (event,tpl) ->
     event.stopPropagation()
     event.preventDefault()
     # action code
     $('.dropdown-button').dropdown('close')

Hope this helps. Thank you!

I was actually having a problem until i implemented this commit: 1d94110
and then removed my own ` 'touchstart .selector': function() {...} map in meteor.

Closed due inactivity. Feel free to reopen it, if it's still necessary.

Had the same issue. My fix is to replace the touchstart eventbindings with touchend.
    else if (origin.hasClass('active')) {
        hideDropdown();
        $(document).unbind('click.'+ activates.attr('id') + ' touchend.' + activates.attr('id'));
    }

if (activates.hasClass('active')) {
	$(document).bind('click.' + activates.attr('id') + ' touchend.' + activates.attr('id'), function (e) {
		if (!activates.is(e.target) && !origin.is(e.target) && (!origin.find(e.target).length)) {
			hideDropdown();
			$(document).unbind('click.' + activates.attr('id') + ' touchend.' + activates.attr('id'));
		}
	});
}


Visual Studio 2017 compatibility fix

Some minor changes to make ninja compilable with MS Visual Studio 2017

@paulsapps thanks. Does this also apply to VS 2017? They will provides only switches for C++14 and later.
Someone else if the ninja team hast to chip in to make it compatible with VS 2017. I'll quit now since my time is limited and ninja not my focus.
Thanks so far and good luck.

@TDannhauer it applies to 2015+

AppVeyor uses VS2017 and it seems to work fine without this. Closing.


Adjusting RMarkdown

I added our motivation for dropping NAs + the code for counting NAs. I removed the code of title_ratings_no_NA's since title ratings had no NAs in the first place. I have also added the function for removing outliers.

no conflicts in the merge


add support for namespaced svg attrs

might have perf implications

relevant: https://github.com/hyperapp/hyperapp/issues/209

rather than supporting any namespace, just explicitly test for xlink:href, which is cheap

AFAIK, this will do just fine for SVG sprites in an external spritesheet. If there's really some use case where defining other namespaces is useful, it will come up eventually.

forgot this issue was still open. xlink:href support got added in 3.x-dev.


Qsiprep infant only option with custom infant atlas?

Hello experts, I want to run qsiprep on infant data. It seems that I should use --infant with --dwi-only so that the infant template is used. However, what should the custom atlas’s images be registered to? The documentation states that the custom atlas should be registered to MNI152NLin2009cAsym. However, Since --infant will swap the template adult MNI template to the infant one, I was wondering if the same should be done to the atlas, or is it OK to use the adult atlas with infant template?

We hope to support more flexible output spaces in the future but it's not currently possible.


DL with mxnet

Trying to see if DL can match RF/GBM in accuracy on the airline dataset (where train is sampled from years 2005-2006, while validation and test sets sampled disjunctly from 2007). Also, some variables are kept categorical artificially and are intentionally not encoded as ordinal variables (to better match the structure of business datasets).
Recap: with 10M records training (largest in the benchmark) RF AUC 0.80 GBM 0.81 (on test set).
So far I get 0.72 with DL with mxnet on 1M train:
https://github.com/szilard/benchm-ml/blob/master/4-DL/2-mxnet.R
Comparably on the 1M train xgboost has achieved 0.77 and with some tuning I think it can get 0.79.
I tried a few architectures (#hidden layers etc), but it won't beat the settings I took from an mxnet example. Runs about 1 minute to train on a EC2 g2.8xlarge box using 1 GPU (if using all 4 GPUs it was slower). nvidia-smi shows GPU utilization ~20% and memory usage ~2GB (out of 4GB). On CPU (32 cores) it training takes about 5 mins.
The "problem" is DL learns very fast, the best AUC (on a validation set) is reached after 2 epochs. On the other hand xgboost runs ~1hr to get good accuracy. That is the DL model seems underfitted to me.
Surely, DL might not beat GBM on this kind of data (proxy for general business data such as credit risk or fraud detection), but it should do better than 0.72.
Datasets:
https://s3.amazonaws.com/benchm-ml--main/train-1m.csv
https://s3.amazonaws.com/benchm-ml--main/train-10m.csv
https://s3.amazonaws.com/benchm-ml--main/valid.csv
https://s3.amazonaws.com/benchm-ml--main/test.csv

@tqchen @hetong007: Any comments/suggestions on the above? (continuing my machine learning benchmark with deep learning and mxnet) https://github.com/szilard/benchm-ml/issues/29

Deep nets are definitely harder to tune, if things converge too fast, try smaller learning rate,  shuffle the data. Seems much of gains in the airline dataset comes from combination of categories, which deepnet may not be very good at

I've been playing around with params, see also discussion here https://github.com/szilard/benchm-ml/issues/29
The data was already shuffled. I was actually asking Arno (H2O) a few minutes ago precisely about a smaller manual learning rate (instead of adaptive - see other thread). Maybe I should just try...


Parameters : clairifications and strategy

This is probably mostly for @DaluS
Clarifications needed regarding parameters:
In the current Parameters.BasicParameters() function I find the following possible conflicts that may require clarification:

Two variable with the same comment: are they redundant ? Is it the same variable?

    'dPBS'   : - 0.005,               # Growth rate of back-stop technology price
    'dPc'    : 0, #[CORRECT]          # Growth rate of back-stop technology price

In a previous version there was a variable called pK (# Price consumption of capital), I don't see it anymore, has it been replaced ?

Same question for variables phiType and phislope?

Same question for time_safety

Other question:

Shall we produce a single dictionary with all parameters of a dict of sub-dict of parameters, grouped by theme ?
Another way to ask that question could be: how similar (or different) will models from various articles be ? Will they have a lot of variables in common or are they very different ?

Maybe answering this second questions first requires dealing with issue  #7 ?

I removed these variables because there were depreciated ( phitype and phislope, now the philips curve is inside the model, time_safety is because some typical time were not effectively defined and dPc was not finished)
I think we shall produce one dictionnary that's fine !  (see #10  i think for the subject ! )
The convention for variable name is well established in the field, so if two authors use the same variable name it should be the same thing ( for a few greek letters one can add another letter to be sure, for example I used gammaP for gamma related to price). Using same name as a basis seems fine I guess

I removed these variables because there were depreciated ( phitype and phislope, now the philips curve is inside the model, time_safety is because some typical time were not effectively defined and dPc was not finished)

ok

I think we shall produce one dictionnary that's fine !  (see Issue006 choice of system of equations #10  i think for the subject ! )

Yes, I've started doing it with a single large dict in #10 , but if you prefer sub-dictionnaries I can still change strategy, just asking for confirmation (and we can always change later if we realize the alternative is better).

The convention for variable name is well established in the field, so if two authors use the same variable name it should be the same thing ( for a few greek letters one can add another letter to be sure, for example I used gammaP for gamma related to price). Using same name as a basis seems fine I guess

ok good to know, wasn't sure about that, thanks


For Each control not incrementing

Describe the Bug with repro steps

Create workflow step to get all blobs in a container
Initiate a variable
Implement For Each control to increment through item names
Set variable to the current item name

The variable gets set with the previous item name rather than getting reset to the current item name. Doesn't look like it's incrementing correctly.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "actions": {
      "Initialize_variable": {
        "type": "InitializeVariable",
        "inputs": {
          "variables": [
            {
              "name": "blob_path_json",
              "type": "object"
            }
          ]
        },
        "runAfter": {
          "List_all_blobs_using_path": [
            "SUCCEEDED"
          ]
        }
      },
      "Initialize_variable_1": {
        "type": "InitializeVariable",
        "inputs": {
          "variables": [
            {
              "name": "file_path",
              "type": "string"
            }
          ]
        },
        "runAfter": {
          "Initialize_variable": [
            "SUCCEEDED"
          ]
        }
      },
      "List_all_blobs_using_path": {
        "type": "ServiceProvider",
        "inputs": {
          "parameters": {
            "containerName": "hedgeserv",
            "blobNamePrefix": "Interface/"
          },
          "serviceProviderConfiguration": {
            "connectionName": "AzureBlob-3",
            "operationId": "listBlobs",
            "serviceProviderId": "/serviceProviders/AzureBlob"
          }
        },
        "runAfter": {}
      },
      "Initialize_variable_2": {
        "type": "InitializeVariable",
        "inputs": {
          "variables": [
            {
              "name": "req_body",
              "type": "object"
            }
          ]
        },
        "runAfter": {
          "Initialize_variable_1": [
            "SUCCEEDED"
          ]
        }
      },
      "For_each": {
        "type": "Foreach",
        "foreach": "@body('List_all_blobs_using_path')?['blobs']",
        "actions": {
          "Set_variable": {
            "type": "SetVariable",
            "inputs": {
              "name": "file_path",
              "value": "@{item()?['name']}"
            }
          },
          "Set_variable_1": {
            "type": "SetVariable",
            "inputs": {
              "name": "blob_path_json",
              "value": "@json(concat('{\"blob_path\": \"', variables('file_path'), '\"}'))"
            },
            "runAfter": {
              "Set_variable": [
                "SUCCEEDED"
              ]
            }
          },
          "Set_variable_2": {
            "type": "SetVariable",
            "inputs": {
              "name": "req_body",
              "value": "@setProperty(variables('blob_path_json'), 'container_name', 'hedgeserv')"
            },
            "runAfter": {
              "Set_variable_1": [
                "SUCCEEDED"
              ]
            }
          },
          "Call_an_Azure_function": {
            "type": "Function",
            "inputs": {
              "method": "POST",
              "body": "@variables('req_body')",
              "function": {
                "connectionName": "azureFunctionOperation-2"
              }
            },
            "runAfter": {
              "Set_variable_2": [
                "SUCCEEDED"
              ]
            }
          }
        },
        "runAfter": {
          "Initialize_variable_2": [
            "SUCCEEDED"
          ]
        }
      }
    },
    "contentVersion": "<IP_ADDRESS>",
    "outputs": {},
    "triggers": {
      "Recurrence": {
        "type": "Recurrence",
        "recurrence": {
          "interval": 3,
          "frequency": "Month",
          "timeZone": "Eastern Standard Time",
          "startTime": "2023-09-11 17:30:00.000"
        }
      }
    }
  },
  "connectionReferences": {
    "AzureBlob-3": {
      "connection": {
        "id": "/serviceProviders/AzureBlob/connections/AzureBlob-3"
      },
      "connectionName": "klimblobstorage",
      "api": {
        "id": "/serviceProviders/AzureBlob"
      }
    },
    "azureFunctionOperation-2": {
      "connection": {
        "id": "/connectionProviders/azureFunctionOperation/connections/azureFunctionOperation-2"
      },
      "connectionName": "azureFunctionOperation-2",
      "api": {
        "id": "/connectionProviders/azureFunctionOperation"
      }
    }
  },
  "parameters": {}
}

Screenshots or Videos
https://github.com/Azure/LogicAppsUX/assets/111084572/9258a7af-9738-4e7d-89d7-8995bf3146be
In the attached video you can see that the for loop doesn't increment and that the file name doesn't get updated in each loop.
Browser
Chrome
Additional context
No response
AB#25134612

It's actually Set Variable 1 that is causing the issue. It is not being updated with the new file_path variable.

@ccastrotrejo

Hi @apasha14 , thank you so much for raising this issue.
1.- Could you please upload a video in which it shows the error in the Set Variable 1. As in the video it looks like it works fine for Set Variable.
2.- Is there any chance we can get the HAR file while you do this action? You can send it to my email at<EMAIL_ADDRESS>Here is a guide on how to get HAR files

https://github.com/Azure/LogicAppsUX/assets/111084572/6fb9d302-8317-44dd-b4c4-f1106
logic_app_error_code.txt
0de614b
This video shows that blob_path_json isn't updating to the correct value when I use the setProperty method in Set_variable_2.  I simplified the workflow to remove the file_path variable so see attched for the updated code as well.  This is causing the Azure function to fail because it can't find that file that was already processed.
I ran the workflow and am sending the HAR file to your email.

Alright, thanks for trying it. I received your HAR file. I will take a look and try to repro the issue. Thanks!

Hey @apasha14, I repro the issue and I looked at the HAR files and it seems that what we are showing is what we are getting from BE. Now that I say that the issue that you are facing here might be related more with the for each loop runs running in parallel.
There is a way that you can disable this, the settings tab for the for each loop, you can activate the concurrency control and set the degree of parallelism to 1.
I tried it with my repro and it worked. Could you please make try this and see if it fixes the issue?

I tried this but when I am testing, the Logic App is showing a Not Specified error. It’s been running for ~30 minutes but the Azure function call only takes 2-15 seconds to execute depending on the file.
@.***
From: Carlos Emiliano Castro Trejo @.>
Sent: Tuesday, September 12, 2023 7:28 PM
To: Azure/LogicAppsUX @.>
Cc: Adil Pasha @.>; Mention @.>
Subject: Re: [Azure/LogicAppsUX] For Each control not incrementing (Issue #3295)
[EXTERNAL EMAIL]
Hey @apasha14https://github.com/apasha14, I repro the issue and I looked at the HAR files and it seems that what we are showing is what we are getting from BE. Now that I say that the issue that you are facing here might be related more with the for each loop runs running in parallel.
There is a way that you can disable this, the settings tab for the for each loop, you can activate the concurrency control and set the degree of parallelism to 1.
I tried it with my repro and it worked. Could you please make try this and see if it fixes the issue?
[image]https://user-images.githubusercontent.com/102700317/267490011-b7ff75eb-113a-4eb9-a288-a80ceec3b4d7.png
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/LogicAppsUX/issues/3295#issuecomment-1716665509, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PQIHDHBBBZHYXNV36SZDLX2DVWXANCNFSM6AAAAAA4UAYYLQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>tried this but when I am testing, the Logic App is showing a Not Specified error. It’s been running for ~30 minutes but the Azure function call only takes 2-15 seconds to execute depending on the file.
@.***
Adil Pasha
Kennedy Lewis Investment Management
112 W 34th St Ste 1910
New York, NY 10120
From: Carlos Emiliano Castro Trejo @.>
Sent: Tuesday, September 12, 2023 7:28 PM
To: Azure/LogicAppsUX @.>
Cc: Adil Pasha @.>; Mention @.>
Subject: Re: [Azure/LogicAppsUX] For Each control not incrementing (Issue #3295)
[EXTERNAL EMAIL]
Hey @apasha14https://github.com/apasha14, I repro the issue and I looked at the HAR files and it seems that what we are showing is what we are getting from BE. Now that I say that the issue that you are facing here might be related more with the for each loop runs running in parallel.
There is a way that you can disable this, the settings tab for the for each loop, you can activate the concurrency control and set the degree of parallelism to 1.
I tried it with my repro and it worked. Could you please make try this and see if it fixes the issue?
[image]https://user-images.githubusercontent.com/102700317/267490011-b7ff75eb-113a-4eb9-a288-a80ceec3b4d7.png
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/LogicAppsUX/issues/3295#issuecomment-1716665509, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PQIHDHBBBZHYXNV36SZDLX2DVWXANCNFSM6AAAAAA4UAYYLQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi @apasha14. I was able to repro the exact same workflow definition, I turned the concurrency control on, set the degree of parallelism to 1 and the workflow runs well. Here is a video to show how it works.
https://github.com/Azure/LogicAppsUX/assets/102700317/a586961a-a7da-4d86-b977-5a3f189a0704
Could you please share with me the new Not Specified error that the workflow is showing? If you could send me the HAR file and a screenshot from the console that would be great. Thanks!

I rewrote the logic to directly apply the Azure function on each file and turned off the concurrency control. It’s working now so you can close the ticket. Thanks!
From: Carlos Emiliano Castro Trejo @.>
Sent: Wednesday, September 13, 2023 12:31 PM
To: Azure/LogicAppsUX @.>
Cc: Adil Pasha @.>; Mention @.>
Subject: Re: [Azure/LogicAppsUX] For Each control not incrementing (Issue #3295)
[EXTERNAL EMAIL]
Hi @apasha14https://github.com/apasha14. I was able to repro the exact same workflow definition, I turned the concurrency control on, set the degree of parallelism to 1 and the workflow runs well. Here is a video to show how it works.
https://github.com/Azure/LogicAppsUX/assets/102700317/a586961a-a7da-4d86-b977-5a3f189a0704https://github.com/Azure/LogicAppsUX/assets/102700317/a586961a-a7da-4d86-b977-5a3f189a0704
Could you please share with me the new Not Specified error that the workflow is showing? If you could send me the HAR file and a screenshot from the console that would be great. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/LogicAppsUX/issues/3295#issuecomment-1717957518, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PQIHB5EEUZIT3TXILWMETX2HNVRANCNFSM6AAAAAA4UAYYLQ.
You are receiving this because you were mentioned.Message ID: @.***>I rewrote the logic to directly apply the Azure function on each file and turned off the concurrency control. It’s working now so you can close the ticket. Thanks!
Adil Pasha
Kennedy Lewis Investment Management
112 W 34th St Ste 1910
New York, NY 10120
From: Carlos Emiliano Castro Trejo @.>
Sent: Wednesday, September 13, 2023 12:31 PM
To: Azure/LogicAppsUX @.>
Cc: Adil Pasha @.>; Mention @.>
Subject: Re: [Azure/LogicAppsUX] For Each control not incrementing (Issue #3295)
[EXTERNAL EMAIL]
Hi @apasha14https://github.com/apasha14. I was able to repro the exact same workflow definition, I turned the concurrency control on, set the degree of parallelism to 1 and the workflow runs well. Here is a video to show how it works.
https://github.com/Azure/LogicAppsUX/assets/102700317/a586961a-a7da-4d86-b977-5a3f189a0704https://github.com/Azure/LogicAppsUX/assets/102700317/a586961a-a7da-4d86-b977-5a3f189a0704
Could you please share with me the new Not Specified error that the workflow is showing? If you could send me the HAR file and a screenshot from the console that would be great. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/LogicAppsUX/issues/3295#issuecomment-1717957518, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PQIHB5EEUZIT3TXILWMETX2HNVRANCNFSM6AAAAAA4UAYYLQ.
You are receiving this because you were mentioned.Message ID: @.***>


Train on slowfast model ...

Current tutorial only support train on slow_r50 model, but not slowfast_r50 model.
I want pytorch-video to support train on slowfast_r50 model by modifying the data-loader in tutorial-classification-example.

done


Is failureThreshold: 0.03 equals 3% or 0.0%

Hello iam bit confused about failureThreshold value
addMatchImageSnapshotCommand({
  failureThreshold: 0.03, // threshold for entire image
  failureThresholdType: 'percent', // percent of image or number of pixels
  customDiffConfig: { threshold: 0.1 }, // threshold for each pixel
  capture: 'viewport', // capture viewport in screenshot
});

Above code is written in official documentation and i found that if failureThreshold: 0.03 then it equals to 3% and not 0.03%
Is it 3% or 0.03% ?
versions:
cypress: ^3.8.3,
cypress-image-snapshot: ^3.1.1

In your case 0.03 is 3%, try setting it to 1 and images should always match even though they are completely different.


Color Presets Page Not working and Need to Gray Out Ones with Opacity

Bug Description

Color preset should appear when you select a shape, text and page and it should be able to update the element's color  (right now, they don't work for the page. ie it doesn't update the page color when you select a color preset)
Any color swatches with opacity less than 100% has to be grayed out for the page

Additional Context

Plugin Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Verified in QA

Verified in UAT for this issue
But note: @miina I commented on 2308 that when you select a text element, the same color options should show up. Currently that is not the case.


Enable syntax highlighting in README.md

This enables GitHub's syntax highlighting in Markdown files by specifying the languages used. It makes the code easier to read.

@microsoft-github-policy-service agree


支持pb2.5以上编译太费尽了，很多问题

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
Describe the solution you'd like (描述你期望的解决方法)
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)

In file included from src/mcpack2pb/generator.cpp:30:0:
./src/idl_options.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^
./src/idl_options.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers.  Please
^
./src/idl_options.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^
make: *** [src/mcpack2pb/generator.o] Error 1

这是因为环境的protoc和protobuf runtime的版本对应不上导致的，一般是由于装了多个版本的protobuf

手动处理了一下config.sh，己安装成功


Remove taxon name requirement popup

A new popup appears whenever the taxon name is left empty when leaving that field.

It has never been a requirement that the taxon name cannot be left empty, so this should be removed.

Pop-up removed.


Add OpenCommand Documentation

Closes #121.

Codecov Report

Merging #136 into master will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #136      +/-   ##
============================================
- Coverage     67.50%   67.47%   -0.04%
- Complexity      584      585       +1
============================================
  Files            96       96
  Lines          2025     2026       +1
  Branches        234      235       +1
============================================
  Hits           1367     1367
  Misses          547      547
- Partials        111      112       +1

Impacted Files
Coverage Δ
Complexity Δ

...ava/quickcache/logic/parser/FindCommandParser.java
75.00% <0.00%> (-3.95%)
9.00 <0.00> (+1.00)
:arrow_down:

Continue to review full report at Codecov.

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


api: member management prototype

Members listing

[x] Model

[x] Storage
[x] Metadata model (roles, ???)

[x] API class
[x] REST API - /api/communities/<comid>/members

Member invitation/request

[x] Model
[x] API class
[x] REST API  - /api/communities/<comid>/invitations

Closed via #136


hf tests sync

until the fix is merged on our side, let's first test that it works and we can merge it and undo once our side has been merged.
or can wait till tomorrow when it'll get merged on our side.
@jeffra

Thank you @stas00!

all seems good now, thanks again @stas00


Add Management API > Authentication page

Towards https://github.com/giantswarm/giantswarm/issues/16473
This PR adds the page UIs and APIs > Management API > Authentication.
Since the page is important in the section, it's being sorted to the second position, right after Overview.
TODO

[ ] Link from wherever it makes sense, remove redundancy

Asking Wordmaster J a. k. a. @JosephSalisbury for a first language clean-up.

fyi marian i'm never gonna respond to anything apart from wordmaster j now

@corest Can you please bullshit-check the section titled "Single sign-on requirements"? Any requirements missing which should be mentioned here?


Not working on 16.0.3

Idk what's happening but when i put the skin name it simply dont show up nothing, like the mod dont update the skin not in game and not in the menu

I SECOND THIS :(((


added set_text_rise

Added ability to set text rise in pdf.
See WeasyPrint issue for more reference

Thank you!

@liZe , how do I create a new release - so that I can use latest version in WeasyPrint's pyproject.toml?

We’ll release a new version tomorrow. You can already open a PR on WeasyPrint if it’s ready!


how to compare height between 3d modle with mapbox building

I have make a 3d model file by 3d max ,output .obj and .mtl  format. The 3d model has  its height and width.
The mapbox basemap  has its 3d building  layer,and also with  height and width.
And how can I see the effect between the obj model and mapbox building .
I wanna it like this

but  now It is look like this

Can it  “penetrate”  when the building is heigher than the  3d model(obj)?
@peterqliu   Thanks

My code
` // Initialize threebox and add obj model
window.threebox = new Threebox(map);
threebox.setupDefaultLights();
function AddAirportModel(modelName, id, sourceUrl, scale) {
        threebox.addSymbolLayer({
                id:             id,
                source:         sourceUrl,
                modelName:      modelName,    // will look for an .obj and .mtl file with this name
                modelDirectory: "../models/",          // in this directory
                rotation:       { generator: feature => (new THREE.Euler(Math.PI / 2, 1.4908, feature.properties['heading'] * Math.PI / 180 + Math.PI / 2, "ZXY")) },
            scaleToLatitude: true,
            scale: scale,
            scaleWithMapProjection: true,
            key:{ property: "id" }
    });
    `

`
//add 3d building layer
map.addLayer({
'id': 'buildings',
'source': 'airport_buildings',
'source-layer': 'buildings_merge6_3857',
// 'filter': ['==', 'extrude', 'true'],
'type': 'fill-extrusion',
'minzoom': 14,
'paint': {
'fill-extrusion-color': '#B0C4DE',
        // use an 'interpolate' expression to add a smooth transition effect to the
        // buildings as the user zooms in
        'fill-extrusion-height': [
            "interpolate", ["linear"], ["zoom"],
            13, 0,
            13.05, ["get", "gaodu"]
        ],
        'fill-extrusion-base': [
            "interpolate", ["linear"], ["zoom"],
            13, 0,
            13.05, 0
        ],
        'fill-extrusion-opacity': 0.6
    }
}, "weitu-place-town");

`

adding renderingMode: '3d' to the custom layer should be helpful here


firmware: implement noise generator

noise knob will need to dynamically adjust oscillator volume. Noise at 100% will reduce all oscillator volume. 50% will be a balance of noise and oscillators

Fixed this issue, in branch feature/noise-knob


calendar not updating

This module is awesome!  I have 2 issues.
#1:  Calendar wont update.  The only way I can get it to update is to restart magicmirror.  It's refreshing per the set interval, but it doesnt pull in any new events.
#2: In the view "current", it's only listing 1 event.  I have maxEvents set to 5.
config
			module: 'MMM-CalendarExt2',
			config: {
			  updateInterval: 1000*10,
			  defaultSet: {
				view: {
				  hideOverflow:true,
				}
			  },
			  calendars : [
				{
				  name: "US holiday",
				  icon: "noto-beach-with-umbrella",
				  className: "holiday",
				  url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
				},

				{
				  name : "Household",
				  icon: "noto-soccer-ball",
				  url: "privateics",
				},

			  ],
			  views: [
				views: [
				{
				  name: "TODAY",
				  mode: "current",
				  slotTitle: "TODAY",
				  calendars: ["Household", "US holiday"],
				  position: "top_right",
				  maxItems: 5,
				  useEventTimeRelative: "true",
				},
				{
				  name: "VIEW1",
				  mode: "daily",
				  title: "upcoming",
				  calendars: ["Household", "US holiday"],
				  position: "bottom_bar",
				  fromNow: +1,
				  type: "row",
				  slotCount: 3,
				},
				{
				  name: "VIEW2",
				  mode: "month",
				  title: "All ",
				  calendars: [],
				  position: "fullscreen_below",
				},

			  ],
			  scenes: [
				{
				  name: "DEFAULT",
				  views:["VIEW1", "TODAY"],
				},
				{
				  name: "ONLY_VIEW2",
				  views:["VIEW2"]
				},
				{
				  name: "ONLY_VIEW1",
				  views:["VIEW1"]
				}
			  ],
			},
		  },

Thank you for this module!

1 each calendar.scanInterval, new updated events will be fetched.
2. Current will show events which is going on NOW, so if your current event is just one, then only one event will show.

Have you still this issue? I'll close this if there is no more question.
I wish you good luck. Have a nice day.