fix(region): 补充部分翻译

What this PR does / why we need it:

[ ] Smoke testing completed

依赖: https://github.com/yunionio/y18n/pull/2
If yes, write the release branches name in the below format and submit the related cherry-pick PR:

release/3.11

/lgtm

/lgtm


Undefined variables for compute_itm_hardneg

Please check this line: https://github.com/microsoft/FIBER/blob/92c62049913e1a8da1cb8270cd9b6138110e7aa6/coarse_grained/fiber/modules/fiber_module.py#L448
Where is image_neg, text_neg, text_mask_neg being defined (to be passed into compute_itm_hardneg)?
I suspect this a bug. As per my understanding these values are being returned by compute_itc in the previous if block and must be stored to be passed again in itm.
Please have a look and let me know!

Hi, thanks! it should be fixed now.

Thank you!


Usage of pg_stat_user_tables from queries.yaml

What is the suggested way of getting pg_stat_user_tables metrics for particular database?

Should I include database name somewhere in the query? Is it even possible to change database name there?
or maybe I should run additional postgres_exporter process with --disable-default-metrics and --disable-settings-metrics,  include YAML file with stat query and set my database name in DATA_SOURCE_NAME env variable?

I will answer myself. It seems you can specify additional database= in DATA_SOURCE_NAME variable. For example:
DATA_SOURCE_NAME="user=postgres host=/var/run/postgresql/ sslmode=disable database=postgres database=my_production_database"

I think it should be pointed out in README.

Also,  i think it can be used with --auto-discover-databases


PSRAM and SD-Card don't work simultaneously (IDFGH-13024)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.4-dev-826-g8760e6d2a7
Espressif SoC revision.
ESP32-S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
I expect that I can use PSRAM and also SD-Card on ESP32-S3, but SD-Card can't mounted if PSRAM is activated and initialized at startup.
What is the actual behavior?
If I activate "Initialize SPI RAM during startup" and want to mount SD-Card connected via 4-Line emmc interface. The SD-Card is not mounted correct and also format of SD-Card is destroying the file System.
Steps to reproduce.

Use emmc SD-Card demo and activate "Initialize SPI RAM during startup"
Try to mount SD-Card

Debug Logs.

The issue is available also with 1-line emmc interface.
The issue is available with Quad- and Octa-Channel PSRAM and Flash.
I'm using the following pinning:
#define BSP_SD_HOST_CMD       (GPIO_NUM_14)
#define BSP_SD_HOST_CLK       (GPIO_NUM_17)
#define BSP_SD_HOST_D0        (GPIO_NUM_2)
#define BSP_SD_HOST_D1        (GPIO_NUM_4)
#define BSP_SD_HOST_D2        (GPIO_NUM_12)
#define BSP_SD_HOST_D3        (GPIO_NUM_13)

There may be a conflict between the GPIO used by PSRAM /CE and PSRAM SCLK and the GPIO used by SD-MMC.
Please check the circuit diagram of your board.

We have indeed broken the SDMMC driver for ESP32-S3 in case PSRAM is enabled in this commit: https://github.com/espressif/esp-idf/commit/49b4bc175ec24b273d19f371450a60686bd7f83c. The fix has been already merged internally and should be available on GitHub soon.

Should be fixed with https://github.com/espressif/esp-idf/commit/6ed7e93676f6dfe5933865c9c9e45fe8512230ee.

@igrr The issue has been fixed. Thanks for your help!


Refactor HF Seq Classification plugin

Tokenizes data during training instead of a separate preprocess step using data interface multiprocessing.
Uses PluginModuleInterface to setup model, config, tokenizer.
Cleaned up docstrings

@gshruti95 would you like to create a jupyter notebook under examples (which could be opened in colab) and then also export the notebook to markdown so that we can put the doc in the website?

Codecov Report

Merging #31 (fdea544) into main (43dc838) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #31   +/-   ##
=======================================
  Coverage   73.10%   73.10%
=======================================
  Files          20       20
  Lines        1372     1372
=======================================
  Hits         1003     1003
  Misses        369      369

Flag
Coverage Δ

unittests
73.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Improvements to EditStream and Input

Use styles from utilityStyles instead of styles defined locally for margins in EditStream, and set underlineColorAndroid of input to BORDER_COLOR on focus and HALF_COLOR when not focused. Previously the color was black, which didn't look right in night mode. Does not affect search input, composeBox input etc as the bottom border is not visible in these.
After changes the screen looks like this:

Changed the margin from halfMarginBottom to marginBottom (8 to 16)
Also modified Input.js to have an onBlur and onFocus methods to properly control the input underline color. This does not interfere with the onBlur and onFocus functions passed as a prop by other components that use Input.

Thanks @agzuniverse ! Just pushed the first of these commits.
To finish reviewing the other I want to play a bit with things on my iPhone, which is out of battery; just started it charging, and I'll come back to this.

And merged the second commit too! I just expanded the commit message a bit (based partly on your PR message) to explain why this doesn't affect the compose and search boxes, because that puzzled me for a bit. Thanks again for the fix.


feat: K8s Manifest Operator

We need a k8s operator to simplify deployment.

define a CRD named manifest.yuan.ntnl.io.
deploy a controller in the k8s cluster, and watch manifest resources

Once a manifest resource is created:

download the npm package
load the extension bundle js
make k8s resources
add owner-reference property and refer to the manifest resource.
create the resources in the k8s cluster.

Others:

Support config NPM_REGISTRY for other npm registry.
For security reasons, only accept trusted packages. (avoid remote code execution)

I reopened this issue because #273 misses some features:

Support config NPM_REGISTRY for other npm registries.
For security reasons, only accept trusted packages. (avoid remote code execution)


Enhancement: Search package titles by identifier

From package view it is only possible to search contained e-resources by title as phrase search, not keyword search. Example:
Package: Edward Elgar:Edward Elgar E-Book Archive in Business & Management, Economics and Finance:Nationallizenz
The user wants to know if the following title is included in this package (from package view w/o additional search from title search screen):
The Handbook of Globalisation, Third Edition
A search on handbook globalisation results in 0 hits, because the search is phrase only. Search on identifier should be supported in order to find e-resources in packages by id. Most important identifier seems (e)ISBN and (e)ISSN.
User story: As a GOKb data manager I want to check if a certain title is included in the package I'm currently investigating. A search by resource title brings up 0 search results.

Shall I file an issue on the https://github.com/openlibraryenvironment/gokb-ui repo instead?

Shall I file an issue on the https://github.com/openlibraryenvironment/gokb-ui repo instead?

As of v8.14.0, entering an identifier value should work. Switching to tokenized search instead of phrase search would require some additional effort and testing (and should probably get its own ticket in gokb-ui).

As of v8.14.0, entering an identifier value should work. Switching to tokenized search instead of phrase search would require some additional effort and testing (and should probably get its own ticket in gokb-ui).


V3.1.0 Game Instances window does not always remove closed instances

Describe the bug
When starting multiple instances, all are shown in the "Game Instances" window to allowing for easy switching between accounts while multiple instances are running.
The problem is that if you close an instance, there is a chance that the Game Instances window still displayed the already closed account.
When you click on a closed account the Gw2 Launch buddy applocation crashes with a System.InvalidOperationException
exception
\n   at System.Diagnostics.Process.EnsureState(State state)    at System.Diagnostics.Process.get_MainWindowHandle()    at Gw2_Launchbuddy.Helpers.WindowUtil.Focus(Process pro)    at Gw2_Launchbuddy.GUI_ApplicationManager.lv_gfx_SelectionChanged(Object sender, SelectionChangedEventArgs e)    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)    at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)    at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()    at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)    at System.Windows.Controls.ListBox.MakeSingleSelection(ListBoxItem listItem)    at System.Windows.Controls.ListBoxItem.HandleMouseButtonDown(MouseButton mouseButton)    at System.Windows.Controls.ListBoxItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)    at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)    at System.Windows.Input.InputManager.ProcessStagingArea()    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)    at System.Windows.Application.RunDispatcher(Object ignore)    at System.Windows.Application.RunInternal(Window window)    at Gw2_Launchbuddy.EntryPoint.RunParsed()    at Gw2_Launchbuddy.EntryPoint.Main(String[] args)
To Reproduce
Fire up a multitude of accounts, do you thing and close them (I always use ALT + F4).
When checking the Game Instances window, you should notice some are still beeing displayed
Expected behavior
1: I would expect a closed account to be removed from the Game Instances windows
2: When 1 is still an issue, an additional check to be performed if the instance is running, if not just remove the instance from the list.
First happend in LB Version
Issue first appeared in LB Version : 3.1.0
Screenshots

Reworked the active client method. Should work better now :)


Support nested drop containers?

I am trying to nest drop containers and am unable to receive the drop events in the nested container. All events are passed directly to the parent as if the nested control is ignoring them...
Any ideas?

@CobraFlow this is by design but maybe we should consider having an escape hatch.
Here is why this is happening: https://github.com/ggoodman/angular-drag-drop/blob/master/src/angular-drag-drop.less#L2-L18
As you can see, when .drag-active is set on any parent of the .drop-container, it will be given pointer-events: none and a transparent overlay will be prepended to the element. This is done because if you have any  elements within a .drop-container they seem to steal events and prevent the the selection of a .drop-target.
I think the current behaviour should remain the default, but it might be worthwhile to add a angular.config mechanism so that the behaviour can be disabled. Thoughts?

My situation is that I have drop container 'panels' which can be nested to any level.
GrandParent -> Parent -> Child
I think that the topmost (Child above) should receive the drop events by default.
If the child does not cover all of the parent, then the parent should receive the events when the cursor is over any exposed parent.
I would suggest that the  children should be the exception. Does this happen often?

@CobraFlow interesting that you find this a limitation in that specific context. I built angular-drag-drop specifically for that use-case. See the editor (when not broken / stopped) at: https://plunker.co/edit/
This is modelled as a two-tier system of Regions -> Spaces. Regions are the nestable objects that are either horizontal or vertical and have one or more children (except the root that can be empty). Spaces are only at leaf nodes and are what handle the drag events when the workspace is not empty. When the workspace is empty, I add an extra child to the root Region to handle drag events.

I am actually using the containers only currently. I am going to add targets to other controls at a later date. As an example, my 'GrandParent', 'Parent' and 'Child' are nested divs. I have reduced my problem down to propagation. Dropping on the Child propagates to Parent and GrandParent so each one is trying to handle the onDrop.
I've never used plunker. Was that link supposed to go to an example?
Cheers

No that link is the example. Try dragging files from the sidebar into the
work area.
On Tue, Mar 15, 2016, 10:25 AM CobraFlow<EMAIL_ADDRESS>wrote:

I am actually using the containers only currently. I am going to add
targets to other controls at a later date. As an example, my 'GrandParent',
'Parent' and 'Child' are nested divs. I have reduced my problem down to
propagation. Dropping on the Child propagates to Parent and GrandParent so
each one is trying to handle the onDrop.
I've never used plunker. Was that link supposed to go to an example?
Cheers
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/ggoodman/angular-drag-drop/issues/9#issuecomment-196844401

Ok, that is my issue. The GP is the only one with the events enabled due to the pointer-events: none on both the P and C drop containers.
I have disabled the pointer:events style in the stylesheet for now and also added event.stopPropagation() in my event functions so that only the top control under the cursor handles the event..
This works for my situation. I will come back to the stylesheet later to see if I can find a way to handle the  issue that you mentioned.
Thanks for your help!

LMK if this isn't enough and I'll re-open.

Is there a reason that the css could just not be loaded by the module and left up to the using application to add the css if desired? It seems to be very application/use-case specific and not in general required (I could be missing something though). The css could be noted in the readme with use case situations.
Removing it should at least:

eliminate CSP concerns
allow users of the library to selectively use the overlay method when needed, along the lines of adding the current css rules as .drag-active .use-overlay.drop-container
reduce css overhead when rules are not needed

@ngiebel I think that those are some reasonable ideas. What would you think about a provider-level configuration that determines if the css is injected or not. Alternatively, perhaps styles could be added directly to elements conditional on directive attributes.

@ggoodman
Having the provider level config option to not load the css should work. Would you want to provide a style sheet with the dist for those that need to conform to certain CSP policies to use or just have a mention of what would need to be added in those situations?
I am not sure that it is possible to achieve the :before rule by adding styles directly to a dom element, so you would have to do the dom manipulation manually. It might be easiest to leave it as css and classes.
An option that I can think of for a non-overlay version of a drop-container would be to add the class .drop-container or .drop-container-no-overlay based on an attribute. Possibly that attribute could just be the drop-container, defaulting to true if undefined so as to not make a breaking change. So the html would end up being something along the lines of

 if you did not need/want the overlay. I cannot think of when it would need to be dynamically configurable, so just using the string value of the attribute should be okay (at least to start with).

After digging around a bit it looks like the style loading could more easily be determined by using angular.$$csp().noInlineStyle instead of using a configuration value.
I was also thinking about what the classes for a dropContainer would make the most sense. It might be better to always leave the .drop-container class there always and append an additional class to signify overlay use, but that would mean a breaking change due to the css rules changing. Thoughts?

Hi Nathan,
Can we move this discussion to a github issue? I'm already a bit rusty with
the internals of this lib. It has been running without any major issue in
production for some time. For this reason, I would ask contributors (maybe
you?) to get the ball rolling on a refactor like this.
Geoff
On Fri, Jan 27, 2017 at 10:17 AM Nathan Giebel<EMAIL_ADDRESS>wrote:

After digging around a bit it looks like the style loading could more
easily be determined by using angular.$$csp().noInlineStyle instead of
using a configuration value.
I was also thinking about what the classes for a dropContainer would make
the most sense. It might be better to always leave the .drop-container
class there always and append an additional class to signify overlay use,
but that would mean a breaking change due to the css rules changing.
Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ggoodman/angular-drag-drop/issues/9#issuecomment-275689131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADDbvN5Yi2IRwRC1oGvLqNIq-sUmWskks5rWgqSgaJpZM4Hw4T9
.


Blade function does not accept parameters when default value is set

Laravel Version: 5.4.27
PHP Version: 7.0.18
Database Driver & Version: PostgreSQL 9.5.7

Description:
Seems like commit a05e9e2f4dff97adc2fa51aee9822b0562f8c98a broke the passing of multiple vars to blade functions.
Steps To Reproduce:
        Blade::directive('money', function ($expression, $symbol = true) {
            // Here $symbol is always true, regardless of what is passed
        });

Uhm. Are you sure? The linked commit does a change for the default value in @yield('optional-section', 'default-value'), it does not seem relevant at all for custom directives.
The invocation of custom directives only passes one parameter. See BladeCompiler::callCustomDirective. The $expression you get is a string containing everything within the parantheses, which in the case of @money(13.37, false) would be the string "13.37, false".
A common (I've seen two occurrences of this where one is mine...) is to have your directive just return a static invocation of actual implementation.
class MoneyDirective {
    public function boot() {
        Blade::directive('money', function ($expression) {
            $class = self::class;
            return "<?php echo $class::render(\$__env, $expression) ?>";
        });
    }

    public function render($env, $amount, $symbol = true) {
        return "Someone should implement MoneyDirective::render...";
    }
}

// Call MoneyDirective::boot() in your service provider's boot()

No I am not sure, I'll check this and report back. Thanks anyway.

That fixed it, thanks


Add support for database SSL verification and encryption

Changes
A configuration option for setting database SSL mode existed, but there was no support for using custom CA certificates. A new option was added to allow the user to set path for CA cert to be used for validation and encryption.
/kind feature
fixes #531
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:

[x] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[x] Tested your changes locally (if this is a code change)
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user-facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contain the string "action required" if the change requires additional action from users switching to the new release

Release Notes
A new configuration option DB_SSLROOTCERT was added with a default value of empty string. You do not need to set that value, unless you want to enforce TLS connection to your database and use custom CA certificate for it.

Got approval from all the reviewers. Moving forward
/lgtm


feat(select-another-booking): add translation keys

LiveURL: https://smartfaq-select-another-booking-translation-key.surge.sh

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Auto system identification using system identification toolbox in Matlab

Auto system identification using system identification toolbox in Matlab
Introduction
System identification is the science of constructing mathematical model from observed data from a dynamic system. A dynamic system is a system with memory. It is because how it behaves with the input depends on what you have done previously. Mathematical model are paying increasingly important roles today's science and and engineering and they are required to solve a number of tests like simulation, control design and proper signal processing.
A system is a real thing like an aircraft, with input signals such as rudder, aileron and thrust and the output such as velocity, pitch angle e.t.c. A model is an object where we replace a real system with mathematical expression. This expression creates a similar relationship between the input and the output. In system identification, the input is denoted by u and the output by y. The essence of the system technique is their subjective to actual system and the model to the same input and compare the real response with the models output. The model parameters are then adjusted to reduce the error. In this tutorial, we will see how to use the system identification toolbox to automatically identify system.
Key takeaways

How to use the system identification toolbox.
Using various data types in the toolbox e.g time driven data
Transfer functions.
Process models

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@WanjaMIKE the auto system toolbox is more of what is explained in the documentaries and in this topic we will dive more into the toolbox and showing more examples to the learners.


Good First Bugs

React does something cool to bring contributors up to speed in their repo. They use good first bugs as a stepping stone for getting into the code. We could look into doing something similar.

:+1:

Maybe go even further?
Personally, I'd love to have some kind of indication if the issue/feature-request will be handled internally by Microsoft people (in the near future) or if it is something that is encouraged to be handled by public contributors.
Especially for things that might not exactly be a "good first bug", one might want some indication if the time they invest is likely to be in vain as there is already someone working on it internally and that solution will take precedence.

@bgse that's what the help wanted label is supposed to be for, I don't see it getting used much though. Due to the way issues are assigned based on ownership and not who's working on it currently, I can see the issue you're bringing up.

We could use Assignee to show that the issue has been picked up by someone on the team. If it isn't assigned it hasn't been picked up. Would that be clear enough?
help-wanted could be changed to something more clear. Here are a few proposals.

"help wanted from community"
"community help here"
"good for community help"

For issues that are good for someone to start with we could label them one of the following:

"good first bug"
"good for first time contributor"
"start here"
"community start here"

We want to add something to the How to Contribute wiki and possibly to the README to help folks know how to get started.

@waderyan

We could use Assignee to show that the issue has been picked up by someone on the team. If it isn't assigned it hasn't been picked up. Would that be clear enough?

I see you have never been the inbox tracker :smile:
Pls see https://github.com/Microsoft/vscode/wiki/Issue-Tracking. We can always change how we do things, but we should preserve thins what work OK. The two-step inbox triage has worked OK, so we should preserve this one way or the other.
@bgse

Personally, I'd love to have some kind of indication if the issue/feature-request will be handled internally by Microsoft people (in the near future) or if it is something that is encouraged to be handled by public contributors.

We plan one milestone ahead and we have the roadmap, so you can use the milestone label as good indicator for this. If in doubt then asking a question in the issue seems appropriate to me.

Ha yeah maybe I could take on that role one week to feel the pain :smile:
@egamma feedback on changing "help-wanted" label change?

@waderyan I prefer shorter labels and to document how we use the labels in the CONTRIBUTING.md. So help-wanted works still better for me but we should document and agree on how we use it.
A new label for beginner bugs makes sense to me.

Makes sense.

Suggestion from standup was to use beginner task to be more generic.

Ok. @chrisdias and I decided to go with effort easy. It is concise, avoids bad connotation we feel with "beginner", and explains the difficulty of the issue clearly.
We can easily iterate on this, so please suggest a new name if you have improvements. I will update the wikis.


Real Time CCP log transfer from CCP to cloudwatch or datadog

we only support downloading logs from CCP panel, can we provide another way to transfer the CCP log to cloudwatch or datadog?

Hi, shenma6, thanks for the question. Unfortunately, we are not planning on implementing such feature in near future. You probably can use this Streams API in a script to download logs https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#connectgetlog


Feat/notification redesign

implement new notification design
add pagination support (pages of 10)

closes #743

Looking good and works well. Just a few cleanup items and design tweaks.

Added the requested changes, thanks!


Bbox crop implementation

Initial implementation for #275

thanks, does this work? do you still plan on using it ?

@vanga any thoughts?

Hi,
This did work and was needed, but I am no longer in need of this. If you think this is useful in general, I can rebase and test again and we can merge.


Update Dockerfile to not use sudo

In general, it's recommended not to run as a root user inside a Docker container. We've been having some trouble with this while integrating yarn.

No more trouble with yarn, but we should look at Wekan's Dockerfile for inspiration: https://github.com/wekan/wekan/blob/devel/Dockerfile.


Fixed stale filenames in the Kubernetes Quick Start

Replaced 'istio.yaml' with 'istio-demo.yaml' and 'istio-auth.yaml' with 'istio-demo-auth.yaml'.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: duderino
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
Assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

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

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

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

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

Needs approval from an approver in each of these files:

content/OWNERS [sdake]

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

/ok-to-test

@duderino: PR needs rebase.

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

New changes are detected. LGTM label has been removed.

@geeknoid I resolved the merge conflict - can you take a quick look and merge if it lgtu?
TIA
Cheers
-steve


⚠ Samsung has degraded performance

In 047522f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 10403 ms

Resolved: Samsung performance has improved in bdc9ab5.


ServiceBusTriggerAttribute link is broken

The link titled "ServiceBusTriggerAttribute" above is broken. It points to "https://github.com/Azure/azure-webjobs-sdk/blob/master/src/Microsoft.Azure.WebJobs.Extensions.ServiceBus/ServiceBusTriggerAttribute.cs" which goes to a github 404 page because tehre is no "Microsoft.Azure.WebJobs.Extensions.ServiceBus" folder available. Also I think the code example is wrong, it sounds like AccessRights are no longer a parameter of that attribute - https://github.com/Azure/azure-webjobs-sdk/issues/1509

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0440205f-adcc-0fc5-3adb-db4dbe1d1292
Version Independent ID: 14ad1300-590c-8102-6887-366078e1882a
Content: Azure Service Bus bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-service-bus.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Hi @Ansssss Thanks for your feedback. We will review and update as appropriate.

Hi @Ansssss I have assigned this to content author to further review and update as appropriate.

Link is still broken

The links are fixed and change the changes will go live with the next push of the site. #please-close


Add pullbot and ci config files

This PR was supposed to commit to my personal repo. Sorry for the disturbing


'ValuesClient' does not contain a definition for 'RetrieveAuthorizationToken'

Pulled the latest example from 25-10-2020 and it failed to build. It appears that nswag is not adding ClientBase to ValuesClient in Client.g.cs. Updated "codeGenerators:openApiToCSharpClient:clientBaseClass" to ClientBase in nswag.json to resolve.
Steps to reproduce:
Pull repo, build

Easy fix, in nswag.json, set "clientBaseClass" to "ClientBase" and your are good to go.


deal with reorg

add an additional arg for the entrypoints involving sign and resolve action to prevent re-org issue.
known issues

can't generate a michelson contract in the following case:
Execute of ('a transaction) of proposal content where 'a contains packable type

pending on: https://github.com/marigold-dev/multisig/pull/8

Thanks for comments @tj825 . Just curious, do you have reference about Bytes.pack P = Bytes.pack P' yet P <> P?

what's the reason for using bytes here?

using bytes will save computation on chain. In the case list of proposals, it's a lot of comparison there.
The pack/unpack looks like can be used in this case by reading tezos doc. but if there could be bugs or we tend to not trust it, I'll change it, go one by one comparison solution. I'll let you make the final call about solution. :)

@tj825

However... in this case here, I think maybe there is no problem, since the lambda being executed comes from storage and not from the parameter (unlike in a "standard" multisig.) So it should be the case that the lambda will always be in fully "optimized" form after it is loaded from storage...

I made a little experiment about this. while originating, it's not the "optimized" one in storage.
https://ghostnet.tzkt.io/KT1TzCLWgy8qNC4dotcSvPYxAxZQV2Eq6PV5/storage/
but after running one operation, it become "optimized" one.
https://ghostnet.tzkt.io/KT1GudSgbE83MgzbdQnzRTN1jsoVMCnWGDHf/storage/

it would seem better to me to accept the variant in the parameter, and then to use Bytes.pack on the variant.

on it.

push the change. @tj825 can you have a look?


[MWPW-119603] CKG API Integration Part 2

Please always provide the JIRA issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix MWPW-119603
Task description:
Enhancement to the Link List powered by Browse API

linklist-qa-mapping.json used for link pill text QA
Search page now renders linklist pills correctly

Test URLs:
Before: https://main--express-website--adobe.hlx.page/express/templates/business-card
After: https://mwpw-119603--express-website--webistry-development.hlx.page/express/templates/business-card?lighthouse=on

@qiyundai it looks like there are merge conflicts, but after that we should be good to merge I think

@vhargrave Might worth taking another look at this point... 😅

looks like people are blocked by this and it is already QAed, so I'm gonna go ahead and approve and merge. @vhargrave and @qiyundai you two feel free to continue any ongoing discussions and make changes later

@JingleH I think it's good and bad we just merged. So probably for the best you just did it :P

@JingleH no, but for the future I think we should be a little less trigger happy with the merge button


OOM when finetuning FLANT5-xxl

I use 4 A40 48G to finetune a FLANT5-XXL, following your blog "https://www.philschmid.de/fine-tune-flan-t5-deepspeed#2-fine-tune-flan-t5-xxl-using-deepspeed".  However, I met OOM with batch_size = 1 per GPU.
I use fp16 and with offload off. If I turn on the offload, I could run the code and each GPU uses 22G VM.
Do you have any suggestions?

What deepspeed config did you use? T5 is not working fp16 also.

Sorry, it is bf16.
I use ds_flan_t5_z3_config_bf16.json
{
"bf16": {
"enabled": "auto"
},
"optimizer": {
"type": "AdamW",
"params": {
"lr": "auto",
"betas": "auto",
"eps": "auto",
"weight_decay": "auto"
}
},
"scheduler": {
"type": "WarmupLR",
"params": {
"warmup_min_lr": "auto",
"warmup_max_lr": "auto",
"warmup_num_steps": "auto"
}
},
"zero_optimization": {
"stage": 3,
"overlap_comm": true,
"contiguous_gradients": true,
"sub_group_size": 1e9,
"reduce_bucket_size": "auto",
"stage3_prefetch_bucket_size": "auto",
"stage3_param_persistence_threshold": "auto",
"stage3_max_live_parameters": 1e9,
"stage3_max_reuse_distance": 1e9,
"stage3_gather_16bit_weights_on_model_save": false
},
"gradient_accumulation_steps": "auto",
"gradient_clipping": "auto",
"steps_per_print": 2000,
"train_batch_size": "auto",
"train_micro_batch_size_per_gpu": "auto",
"wall_clock_breakdown": false
}

Thanks! I will try to find another 4 gpus and try it.
It is really attractive that 8 * A100 40G could use batch_size = 8 per GPU, without offloading.


Fixed the full request #90 that was rolled back.

Description

Adding the Parameter misfire_grace_time with a value of 120 to the get_exporter_contents scheduler job

Hi. @ralfyang
I Modify the docker-compose.yml and committed it again.
Please check it again.

Thanks @kdh92417 let me check now :)

It was worked! :) but we have diffrent issue as below.

The subpage detail is not working. Please check this issue out :)  @kdh92417
Thanks.

Now, we have a lot of updates. due to the code conflict issue, this PR will be close without Merge.  @kdh92417
Please open a new PR after the source code update. Thanks :)


[KYUUBI #3242] First stop server and then interrupt thread when stopping the frontend service

Why are the changes needed?

close #3242
First stop server and then interrupt service thread When stopping Frontend Service, in order to avoid kyuubi server exit hang.
How was this patch tested?

[X] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[X] Run test locally before make a pull request

Codecov Report

Merging #3830 (3d8a219) into master (a54f214) will decrease coverage by 0.03%.
The diff coverage is 92.30%.

@@             Coverage Diff              @@
##             master    #3830      +/-   ##
============================================
- Coverage     52.96%   52.93%   -0.04%
  Complexity       13       13
============================================
  Files           497      497
  Lines         28015    28069      +54
  Branches       3862     3866       +4
============================================
+ Hits          14838    14858      +20
- Misses        11783    11808      +25
- Partials       1394     1403       +9

Impacted Files
Coverage Δ

...apache/kyuubi/service/TBinaryFrontendService.scala
50.00% <85.71%> (+2.22%)
:arrow_up:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.49% <100.00%> (-0.06%)
:arrow_down:

...a/org/apache/kyuubi/service/TFrontendService.scala
90.98% <100.00%> (-0.30%)
:arrow_down:

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
13.84% <0.00%> (-6.16%)
:arrow_down:

...rg/apache/kyuubi/engine/spark/SparkSQLEngine.scala
70.65% <0.00%> (-4.95%)
:arrow_down:

...apache/kyuubi/session/FileSessionConfAdvisor.scala
89.47% <0.00%> (-4.65%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
76.84% <0.00%> (-4.22%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
76.59% <0.00%> (-2.13%)
:arrow_down:

...pache/kyuubi/engine/YarnApplicationOperation.scala
62.96% <0.00%> (-1.86%)
:arrow_down:

...apache/kyuubi/session/KyuubiBatchSessionImpl.scala
90.66% <0.00%> (-1.23%)
:arrow_down:

... and 9 more

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


Feature/bohb ordinal parameters

@sfalkner, this is an attempt to map ordinal parameters to integer parameters for all BOHB internal operations (sampling and iterations) despite that it would only be needed in the BOHBSampler, but I found the implementation proposed here to be the least invasive and easiest to read. Also, I wouldn't expect a negative effect on the iterations' racing performance since a numerical representation is used there anyhow. Let me know what you think :relaxed:
FYI: @aeivazi, @dynobo

@sfalkner will propose implementing support for ordinals via the ordered kernel in statsmodels, if this is successful, this PR will be deleted.

Superseeded by #41


partition_msg is unable to process attachments

To reproduce
from unstructured.partition.auto import partition
from unstructured.partition.msg import partition_msg
import traceback

filename = "example-docs/fake-email-multiple-attachments.msg"
try:
  elements = partition_msg(
    filename=filename, process_attachments=True, attachment_partitioner=partition
  )
except RuntimeError as e:
  print(e)
except:
    print("ERROR about attachments")
    traceback.print_exc()

output_filename = "msg_mul_attach.json"
elements_to_json(elements, filename=output_filename)

The error tha arise is:
ValueError: Invalid file /tmp/tmpo99fe8l4/Engineering Onboarding.pptx. The FileType.ZIP file type is not supported in partition.

@MthwRobinson This appears to be either a corrupted message or a defect or limitation in msg_parser in how it extracts attachments. I'd say next step is either to chalk this up to a fluke and wait for recurrence or to try another .msg file that is "known good" (shown to work with Outlook). In any case, this probably shouldn't be a file in example-docs/ unless it's to demonstrate how we handle this sort of failure and named accordingly.

Diagnostics
I'm able to reproduce this error.
I was able to detach the attachment using msg_parser, as partition_msg() does. However the attachment is not a valid PPTX file and cannot be opened with PowerPoint.
On attempt to open it with PowerPoint it signals a "repair error":

PowerPoint found a problem with content in Engineering Onboarding.pptx.
PowerPoint can attempt to repair the presentation.
If you trust the source of this presentation, click Repair.

When clicking "Repair" it states:

Sorry, PowerPoint can't read Engineering Onboarding.pptx.

On inspection, the attachment binary appears to be a zip archive (first two bytes of file are "PK"). However it cannot be unzipped and fails with this message:
$ unzip Engineering\ Onboarding.pptx
Archive:  Engineering Onboarding.pptx
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of Engineering Onboarding.pptx or
        Engineering Onboarding.pptx.zip, and cannot find Engineering Onboarding.pptx.ZIP, period.

Sounds good, I'll update this issue to reflect removing that document from example-docs, and we can keep an eye out for other examples of corrupted files.

More info from the user:

Any of the emails are processed as ok  if the attachments aren´t processed (process_attachments=False).
The email with one attachment in the official documentation is processed without error (this email). The attachment is a txt. The email has NO images.
The attached email "Sample_one_Attachments.msg" with a txt attached file retrieves me an error about an image (PIL.UnidentifiedImageError: cannot identify image file '/tmp/tmptfxudk4_/image004.png').  The attachment is a txt. The email has images. Be aware that if  process_attachments=False the email is processed without error, including the images  in the body of the email  .
The attached email "Sample_two_Attachments.msg" is the same email that in the previous bullet  but with two txt attached files, it retrieves me the same error about an image (PIL.UnidentifiedImageError: cannot identify image file '/tmp/tmptfxudk4_/image004.png').  The attachments are txt files. The email has images. Be aware that if  process_attachments=False the email is processed without error, including the images  in the body of the email  .
The attached email "Sample_Multiple_Attachments.msg" is the same email that in the previous bullet  but with 4 attachments, one txt, one image .png, one docx and one pptx. The processing of this email retrieves me the same error about an image (PIL.UnidentifiedImageError: cannot identify image file '/tmp/tmptfxudk4_/image004.png').  Be aware that if  process_attachments=False the email is processed without error, including the images in the body of the email.

This turned out to be a defect in msg_parser. When replaced with python-oxmsg for parsing MSG files this and other attachments are extracted fine.


libtensorflow_jni.so: libcudnn.so.7: cannot open shared object file: No such file or directory

tensorflow version=1.8.0
java=1.8.0
cuda=9.1
cudnn=7
I used java to call the GPU when I reported the following error:
java.lang.UnsatisfiedLinkError: /tomcat/temp/tensorflow_native_libraries-1561013286760-0/libtensorflow_jni.so: libcudnn.so.7: cannot open shared object file: No such file or directory
        <dependency>
            <groupId>org.tensorflow</groupId>
            <artifactId>tensorflow</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.tensorflow</groupId>
                    <artifactId>libtensorflow_jni</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.tensorflow</groupId>
            <artifactId>libtensorflow_jni_gpu</artifactId>
        </dependency>

when delete as follows. This program prompts that the GPU cannot be found, forcing the CPU
            <exclusions>
                <exclusion>
                    <groupId>org.tensorflow</groupId>
                    <artifactId>libtensorflow_jni</artifactId>
                </exclusion>
            </exclusions>

Can you help me? Thanks a lot.

Just to verify are you trying to build TensorFlow from source from steps mentioned in TensorFlow website. Also let us know on which platform you are seeing the issue. Thanks!

Thank you for you reply. I use tf in java 1.8 centos7.

or, Can ask？How to configure pom TensorFlow under GPU? The above methods have no effect.

Hi,
it seems like the cudnn library is not on your library path. You can start your application with the environment variable LD_LIBRARY_PATH=/path/to/cuda/lib64/:/path/to/cudnn/lib64 or you could add the path to your global library path like described here.

Thank you, In fact, this path is configured.
Finally, I did a lot of experiments and proved that this is ok.
 <dependency>
            <groupId>org.tensorflow</groupId>
            <artifactId>tensorflow</artifactId>
        </dependency>
        <dependency>
            <groupId>org.tensorflow</groupId>
            <artifactId>libtensorflow_jni_gpu</artifactId>
        </dependency>

install cudnn
Can solve the problem

thank you, I had solved this problem. and cudnn had installed originally.

and, only use gpu version tensorflow jar.

Thank you, In fact, this path is configured.
Finally, I did a lot of experiments and proved that this is ok.
 <dependency>
            <groupId>org.tensorflow</groupId>
            <artifactId>tensorflow</artifactId>
        </dependency>
        <dependency>
            <groupId>org.tensorflow</groupId>
            <artifactId>libtensorflow_jni_gpu</artifactId>
        </dependency>

Can the gpu be used in this way?

yes.


brew doctor warns about newer Command Line Tools being available, while they got updated today

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Run brew doctor
What happened (include command output)
Warning that newer Command Line Tools are available:

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or
https://developer.apple.com/download/more/.

What you expected to happen
No warning, since I have the latest Command Line Tools (they got updated today, after installing the macOS Catalina 10.15.4 Supplemental Update):

❯ xcodebuild -version
Xcode 11.4
Build version 11E146

On the suggested Apple web site the latest version is 11.4, from Mar 24, 2020
Software Update reports "Your Mac is up to date - macOS Catalina 10.15.4" (Last checked today)

Step-by-step reproduction instructions (by running brew commands)
brew doctor
Output of brew config and brew doctor commands

HOMEBREW_VERSION: 2.2.12
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2ae26808a6793c78f749835aed2ab84cd2fa6544
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 35893bb4a37f94127cd4727cdd664a0d97af91a2
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_EDITOR: subl -w
HOMEBREW_MAKE_JOBS: 8
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1103
Git: 2.24.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_242
macOS: 10.15.4-x86_64
CLT: <IP_ADDRESS>
Xcode: 11.4

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or
https://developer.apple.com/download/more/.

CLT: <IP_ADDRESS>
Xcode: 11.4

xcodebuild is not testing the CLT version.

https://developer.apple.com/download/more/.

There is a newer version available here. For some reason Apple seem to not be reliably pushing these versions out through software update.

include command output

You omitted:

Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks!

We're exploring changing this in https://github.com/Homebrew/brew/pull/7313.


extract required files into vendors

I have a vendor js file that I have to require explicitly in my module js file:
window.$ = require('jquery');
require('../semantic/semantic');
window._ = require('lodash');
window.ax = require('axios');

I want to know if it is possible to extract it with other vendors?
I tried to define it like this in extract function:
mix.js('resources/assets/js/admin.js', 'public/js')
    .extract(['jquery', 'resources/assets/semantic/semantic.js', 'lodash', 'axios']);

but got This dependency was not found error.
I also tried other options like ../semantic/semantic or semantic and some other options that I think may work but nothing worked.
I want to know if it is possible to extract a file with other vendor npm packages or not?

When you specify
resources/assets/semantic/semantic.js

Webpack thinks that is a package that is installed in node_modules folder.
Did you tried this -
.extract(["./resources/assets/semantic/semantic.js"])

It worked fine. Thanks a lot @ankurk91


New Publisher Added - Bohemian Visual Recognition Alliance

Hi @picekl , since this is your first time contributing to the TFhub.dev repository, we just need you to read & agree to the TensorFlow Hub terms of service at https://tfhub.dev/terms. If you feel comfortable moving forward, please add a comment "I have read and agree to the TensorFlow Hub Terms of Service" to this thread.

Hi @j-grimstad.
"I have read and agree to the TensorFlow Hub Terms of Service"

Thank you! Publishing is in process now -- I'll circle back once the model is live on the site.

Hi @picekl , thanks again for your contributions - the assets are now live:
Model - see here
Publisher page - see here
If you'd like to make edits to your assets (either now or over time), please feel free to open another PR -- please let me know if you have any questions!

Hi Jordan,
Thank you for helping me. I’m already working on update.
Waiting for DOI from Christine. You can expect new pull request later today.
Best,
Lukas

2020 v 9:39, Jordan Grimstad<EMAIL_ADDRESS>

Hi @picekl https://github.com/picekl , thanks again for your contributions - the assets are now live:
Model - see here https://tfhub.dev/bohemian-visual-recognition-alliance/models/mushroom-identification_v1/1
Publisher page - see here https://tfhub.dev/bohemian-visual-recognition-alliance
If you'd like to make edits to your assets (either now or over time), please feel free to open another PR -- please let me know if you have any questions!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/tensorflow/hub/pull/582#issuecomment-629082860, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLEJ43C2YDLMZCNOUQIAOLRRTWSJANCNFSM4M7ZHCAA.


insertMultiple unsupport oracle batch insert

org.mybatis.dynamic.sql.insert.render.FieldAndValueCollector#multiRowInsertValuesPhrase
org.mybatis.dynamic.sql.insert.render.MultiRowInsertRenderer#calculateInsertStatement
org.mybatis.dynamic.sql.insert.render.MultiRowInsertRenderer#render
use insertMultiple the insertStatement is like insert into table_name (xx,xx) values (?,?),(?,?) ,oracle doesn't support it.
any plan?

dynamic sql is not fully dynamic implementation

Oh Oracle...
I don't plan on adding something specific for Oracle. As far as I know, Oracle does support JDBC batch operations so you should be able to use the batch support in this library. For Oracle's odd multi-row insert syntax, you can write those those statements directly in MyBatis or Spring.

Oh Oracle...
I don't plan on adding something specific for Oracle. As far as I know, Oracle does support JDBC batch operations so you should be able to use the batch support in this library. For Oracle's odd multi-row insert syntax, you can write those those statements directly in MyBatis or Spring.

Yeah，At present, I write those statements in mybatis.


Add support for @property for once_per_instance.

That is correct, we couldn't find a way around it.


Missing transactions after synchronization

I am currently using electrum wallet v. <IP_ADDRESS> .Today I had numerous confirmed transactions and I had around 2.5 VTC .In a few seconds synchronization started and after it finished I was left with around 0.5 VTC and the records for all transactions in the last 11 hours were missing.Before synchronization there was message "laggy server" or something like that in the bottom left corner of the wallet.This seems to be a serious problem.I guess it is a server side related.Is there a chance to receive my coins after another synchronization?

If you leave the wallet open for a little while it should sync and show you your coins. What block height does it show under Tools -> Network?

it so much prolem with electrum vertcoin wallet . not verifily , not connected . Fix it pls !!!!!! i cant sned any my VTC from electrum wallet !!!!

There are at least 4 electrum servers up right now. Can you still not connect to any?


dialog.was_closed unexpectedly only works if it is set before dialog.opened set to True

The ordering of setting dialog to opened and defining a handler for dialog.was_closed unexpectedly matters. Perhaps it is unexpected because I'm coming from javascript where an element can be created and added to the DOM, and then have events hooked up afterwards.
I presume this applies to any Togglable component. And it might be more of a documentation issue.
Demonstration:
import hyperdiv as hd

router = hd.router()

@router.route("/")
def home():
    with hd.dialog() as dialog:
        hd.text("yoyo")

    dialog.opened = True  # if you open the dialog before setting was closed

    if dialog.was_closed:
        # ...this will not print when you click the dialog close button
        print("WAS CLOSED!")

    # dialog.opened = True # ...but if you open the dialog after setting was_closed, it works

def main():
    router.run()

hd.run(main)

In this code:
    dialog.opened = True

    if dialog.was_closed:
        print("WAS CLOSED!")

was_closed means "the close event fired and the dialog is currently in closed state". But this dialog can never be observed in closed state, since you always put it in opened state right before that check.
There appears to be a bug, probably in Shoelace, that lets you visibly close this dialog, even though it is instantly put back in opened state. I assume it's a timing bug where if the dialog is reopened while it is closing, it doesn't reopen properly.
If you share more about your use case I can think about this more.

Sure, I figured it out by looking at the code. It was just unexpected (and might therefore be a good candidate for a documentation example).
The use case is pretty basic. Here's an expanded example of the use case:
import hyperdiv as hd

router = hd.router()

@router.route("/")
def home():
    state = hd.state(dialog_is_open=False, dialog_canceled=False, dialog_affirmed=False)

    def close_dialog(take_action=False):
        state.dialog_is_open = False
        if take_action:
            state.dialog_affirmed = True
        else:
            state.dialog_canceled = True

    if state.dialog_is_open:
        # define the dialog
        with hd.dialog() as dialog:
            hd.text("yoyo")
            take_action = hd.button(
                "take action", variant="primary", slot=dialog.footer
            )
            cancel_button = hd.button("cancel", slot=dialog.footer)

        # open it up
        dialog.opened = True

        # set event handlers
        if take_action.clicked:
            close_dialog(take_action=True)
        if cancel_button.clicked or dialog.was_closed:
            close_dialog()

        hd.text("dialog is for sure open right now")

    else:
        open_dialog = hd.button("launch dialog")
        if open_dialog.clicked:
            state.dialog_is_open = True
            state.dialog_canceled = False
            state.dialog_affirmed = False

        if state.dialog_affirmed:
            hd.text("Take action!")
        if state.dialog_canceled:
            hd.text("Dialog canceled")

def main():
    router.run()

hd.run(main)

I think part of it is that "was_closed" is ambiguous. I think you mean that the dialog is in the state of being closed. But was_closed also sounds like an event, just like clicked. But if you named it 'closed' instead of 'was_closed' it would still have this ambiguity. Perhaps naming it 'is_closed' rather than 'was_closed' would help communicate that it is state and not an event.
Personally, I think that was_closed (or better, 'closed') should be an event prop that can be treated in the same way as clicked, because I think (admittedly, purely on intuition, so I could be wrong) that lines up with the most common use cases of dialogs. Namely, you create them, a user interacts with them, and when they're done with them, signaled by some closing event, we discard them. You don't like keep dialogs around or something to be opened and closed repeatedly. Treating dialogs as Togglable seems to me to not really capture the usual use case even though I understand you can conceive of them that way.

There seem to be a couple of concerns. First, dialogs are indeed persistent togglable objects that you can open and close repeatedly. That's how Hyperdiv/Shoelace works.
Second, was_closed indeed works like an event. visibility_changed is an event and was_closed means visibility_changed and not opened. But yes maybe was_closed should be a pure event and not take opened into account at all.
Your code behaves strangely because you mutate opened in mainline code. In general this code will likely be behaving strangely:
t = togglable_component()
t.opened = True

When the UI closes this component, the code re-runs, causing it to be immediately re-opened.
I suggest these changes to your code.
     if state.interacting_with_dialog:
         # define the dialog
-        with hd.dialog() as dialog:
+        with hd.dialog(opened=True) as dialog:
             hd.text("Lets get you started")
             take_action = hd.button(
                 "take action", variant="primary", slot=dialog.footer
             )
             cancel_button = hd.button("cancel", slot=dialog.footer)

-        # open it up
-        dialog.opened = True
-
         # set event handlers
         if take_action.clicked:
             dialog_done(take_action=True)
         if cancel_button.clicked or dialog.was_closed:
             dialog_done()
+            dialog.reset_prop("opened")

         hd.text("dialog is for sure open right now")

I also wonder what the top level motivation is for this code. Is it to avoid having a dialog in the dom when not in use? To me it seems like a lot of trouble to go through.

I'm closing this issue, with a note to self that perhaps was_closed should be a pure event, but made this related issue about the problem I noticed in Shoelace: https://github.com/hyperdiv/hyperdiv/issues/54

Thanks for the reset_prop reference, I didn't know about that. And setting opened=True in the constructor is better.

I also wonder what the top level motivation is for this code. Is it to avoid having a dialog in the dom when not in use? To me it seems like a lot of trouble to go through.

I have a fairly complex UI interaction I was previously facilitating in a dialog (specifying where in a video something else is anchored to). That "something else" is defined by the user in the main form. The complex UI interaction is not embedded in the form itself because it is entirely optional (and the system provides a default value that is probably correct ~80% of the time). The user can begin the optional dialog by clicking a button. The complex UI interaction includes an embedded YouTube video that does not need to be loaded unless the user actually decides to engage in the dialogue.
It sounds like the Hyperdiv way is to create all the dialogs you might want and turn them on and off as needed. I don't think that really fits the underlying metaphor of a "conversation with the user", but I can work with it. Still, it isn't the only reasonable approach, and it may be a stumbling block for those trying to learn Hyperdiv.
Thanks for your hard work!

One related thought here is that the contents of a dialog don't have to be loaded in the dialog's body when the dialog is closed.
with hd.dialog() as d:
  if d.opened:
    hd.text("Hello") # this isn't executed/loaded in the dom if the dialog is closed

if hd.button("Open").clicked:
  d.opened = True

You can also reuse a dialog:
As far as dialog being "conversational", I think HTML itself departed from that: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
With <sl-dialog> (which follows <dialog> I think), you put dialogs in the dom and then open/close them.


vCenter Session Age MinvCenterSessionAge Variable

I would like to be able to define a MinvCenterSessionAge variable, and have that define the minimum number of idle minutes that a session must have to be included in the report.  Defining variable is easy enough, but finding a way to do the comparison in the Where clause is beating me.
Can you help modify the Where clause in the script to include where:
IdleMinutes -ge $MinvCenterSessionAge

So you essentially want to filter out sessions that aren't idle for x number of hours, right?
You can basically do a similar comparison, you just need to Get-Date and AddHours with a negative value. I'll hopefully have a bit of time next week to look at this unless someone else does :) Few other fixes needed in that plugin

As written, the plugin shows every session that was initiated greater than 48 hours ago.  Well some of those sessions are active, and the IdleMinutes is 0 or 1 minutes.  So what I'm looking for is this: if the LoginTime is more than 48 hours ago and IdleMinutes is greater than or equal to 10 minutes, then display the session.  If the IdleMinutes is less than 10 minutes, then don't include it.
Having said that, the problem that I'm running into is that the IdleMinutes value is created AFTER the Where clause, and when I move it before the Where clause I keep blowing up the plug-in.

I noticed that logic problem today too.  If I have it right (and I think
I'm restating what Jon said), every session created longer than the 48
hours or whatever you set it to ( we do 4 hours) is listed, and THEN idle
minutes is calculated.  So for me it's showing sessions that have been idle
for 7 minutes.
If I can tomorrow (15 hours to my start of day) I want to rewrite the
plugin to calculate just the idle minutes and return sessions longer than
"x" minutes instead of hours.  I'll reread Jon's request too and try to
work it in.
-Chris
On Thu, Feb 19, 2015 at 5:27 PM, MasterChiefJon<EMAIL_ADDRESS>wrote:

As written, the plugin shows every session that was initiated greater than
48 hours ago. Well some of those sessions are active, and the IdleMinutes
is 0 or 1 minutes. So what I'm looking for is this: if the LoginTime is
more than 48 hours ago and IdleMinutes is greater than or equal to 10
minutes, then display the session. If the IdleMinutes is less than 10
minutes, then don't include it.
Having said that, the problem that I'm running into is that the
IdleMinutes value is created AFTER the Where clause, and when I move it
before the Where clause I keep blowing up the plug-in.
—
Reply to this email directly or view it on GitHub
https://github.com/alanrenouf/vCheck-vSphere/issues/332#issuecomment-75152092
.

I got it working.  In short, I added an additional Where clause after the select statement.  How would you like for me to post the resulting script (directly into this thread)?

I thought I was on to something, but I think I ran into a timezone issue.  The vCenter session info has some last active times a few hours into the future.
Start of Settings
Enter maximum vCenter session length in hours
$MaxvCenterSessionAge = 48
Enter minimum vCenter session length in minutes (IdleMinutes)
$MinvCenterSessionAge = 10
Do not report on usernames that are defined here (regex)
$vCenterSessionsDoNotInclude = "DOMAIN\user1|DOMAIN\user2"
End of Settings
Changelog
1.0 : Initial Release
1.1 : Modified the plug-in to not report active sessions, only report sessions that have been inactive for more than $MinvCenterSessionAge minutes
Retrieve vCenter sessions and report any sessions that exceed the maximum session age AND have been idle longer than the specified minutes.
if ($VIConnection.IsConnected) {
$Result = @(
$ServiceInstance = Get-View ServiceInstance
$SessionManager = Get-View $ServiceInstance.Content.SessionManager
$SessionManager.SessionList | 			Where {$_.LoginTime -lt (Get-Date).AddHours(-$MaxvCenterSessionAge) -AND
$.UserName -notmatch $vCenterSessionsDoNotInclude} | 			select LoginTime, UserName, FullName, @{N="IdleMinutes";e={([Math]::Round(((Get-Date)-($_.lastActiveTime).ToLocalTime()).TotalMinutes))}} |
Where {$.IdleMinutes -ge $MinvCenterSessionAge}
)
$Return = $Result | Sort LoginTime
$Return
}
else {
Write-Error $pLang.connError
}
$Title = "vCenter Sessions Age"
$Header = "vCenter Sessions Age Report"
$Comments = "The following vCenter sessions have been open longer than the maximum session age ($MaxvCenterSessionAge Hour(s)), plus the session has been inactive (idle) longer than the minimum session age ($MinvCenterSessionAge minute(s))."
$Display = "Table"
$Author = "Rudolf Kleijwegt"
$PluginVersion = 1.0
$PluginCategory = "vSphere"

OK, I've added this and cleaned up some of the redundant code at the same time. Can you guys test and let me know if there are any issues?

That worked for me.  Thank you.


Accurancy in dataset ic13_1015?

Hi, what the training strategy(curriculum training or one-stage) was used for training the model you provided (demo.pth) ?
The accurancy of demo.pth in ic13_1015(LMDB file download from the link you provided)  is 92.0%.
Meanwhile, I used the One-Stage training strategy and training with learning rate=1 for 3 epochs，then training with learning rate=0.1 for 1 epoch, all the synth data are used(NIPS2014 and CVPR2016), no other parameter was modified in train_MORAN.sh.  The accurancy in ic13_1015 is also 92.0%.
How to imporve the performance of the model?(the accurancy can reach 93.2% as you mentioned) Any suggestion?  Thanks a lot for your code.

您试试再跑两个epoch？我发现不同的机子上测试似乎有点出入。
谢谢您的关注，不客气。

我稍微调研了一下其他开源的识别代码，也做了测试，例如CRNN和ASTER，似乎MORAN的开源代码和模型是最接近汇报的结果的:joy:

再跑两个epoch会涨一点点，到92.3%。确实也非常接近您公布的结果了，算下来也就是差了10个样本。不过我用您提供的那个模型(demo.pth)在ic13_1015上测的结果怎么和您公布的不一致啊:joy:

啊数据集的准确率是代码自动保存起来的。我随便挑了一个模型上传了，怕过拟合到这几个测试集上，遇到其他的样本泛化性能不好，被做实际应用的人嫌弃:joy:

Soga， 可敬可敬:thumbsup:，学习了


Menu always opens on active display on OSX

On OSX (10.10.3) with two displays, the menu always opens on whichever display has the focused window at the time the icon is clicked, regardless of which display the click happens on.

I don't have another monitor to test on, but if someone can figure out how to fix this then patch welcome :)

Turns out this is an issue in Electron: https://github.com/atom/electron/issues/1847
I submitted a PR with a workaround, although I don't especially love it.

Resolved with the release of 2.0.17


Audio module CPU utilization

With blank main.lua the lovr process consumes 12% of my CPU.
Turning off the t.modules.audio = false brings it under the 1%.
Here's the callgrind output showing how the ALSA miniaudio backend spends it's time:

Switching miniaudio backend to PulseAudio has a similar effect on CPU utilization to disabling the audio module.

I've tested the PulseAudio audio to work correctly in lovr, but this was with PipeWire which has interface for PulseAudio. I can re-test on actual PulseAudio in few days. @bjorn you mentioned some issues with PA you had before, let me know what so I can test that specifically.
Edit: above profiling is done with valgrind --tool=callgrind ./lovr . on the debug build, and visualized through kcachegrind.

I'm getting roughly:

6-7% CPU usage with pulseaudio
8-9% CPU usage with ALSA
5% CPU usage with t.modules.audio = false

This was on an optimized build.  If I change BUFFER_SIZE to 1024 in audio.h I get a little bit less overhead (presumably a the cost of latency).
If I disable the window, ALSA sits at 12% CPU and the other configurations are at 10%.
These are imprecise metrics, but it does seem like ALSA has a bit more overhead than pulseaudio.  Maybe not as much as you're seeing though...

Wonder if t.audio.start should be false by default, or if that's too weird/annoying.
Or maybe audio could lazily start the audio device once the first source is played.

Strange that I'm the only one seeing this as it really heats up the laptop. I'm happy with using the PulseAudio backend, feel free to close the ticket.


MAISTRA-1457 Cherrypick CVE fixes from 1.1.2

Only cherry-picking this onto maistra-1.1, as maistra-1.2 should already contain these fixes per update to latest upstream code

Verified that maistra-1.2 contains these changes.

Verified that maistra-1.2 contains these changes.

Thanks @dmitri-d!

Closing in favor of https://github.com/Maistra/envoy/pull/20


So I have essentially the exact same code as the example. It works perfect unless your thumb goes off the screen at the left or right edge of the phone while swiping. I'm not sure if anyone else has experienced something similar and if so how did you fix it.
Video example

yes unfortunately I have the same exact issue and it ruins this cool swiper :(

On iOS the App freezes and on Android the app crashed with following error:

this fixes it https://github.com/meteor-factory/react-native-tinder-swipe-cards/pull/59/files

It needs to be released to NPM right?

Thanks so much man. Worked like a charm.

@vitorebatista Is the fix for this being released to NPM soon?


Specify -Wdeprecated-declarations for proto targets

The deprecated proto fields are generating a whole lot of warnings:
bazel-out/k8-fastbuild/bin/external/envoy_api/envoy/config/core/v3/config_source.pb.h:102:3: note: declared here
  102 |   ApiConfigSource_ApiType_hidden_envoy_deprecated_UNSUPPORTED_REST_LEGACY PROTOBUF_DEPRECATED_ENUM = 0,

We should set the -Wdeprecated-declarations for proto targets to suppress this warning.

I noticed this also. I took a very quick look and I thought we already do disable it when compiling cc libraries:
https://github.com/envoyproxy/envoy/blob/e7323c3a5ff9f00d2a97af7788bb654952ced7d1/bazel/envoy_internal.bzl#L17
But maybe this is not used when compiling proto generated code? I find that strange though.
cc @lizan @htuch?

I don't think we pass envoy_copts to the API targets, just the regular envoy_cc_library targets. I'm guessing there's just some target that needs to be updated to include envoy_copts (or a different set of flags, not sure).

It seems like a bug that we don't use envoy_copts to compile the proto targets?

The copts used by the APIs come from api/bazel, which, for reasons of data-plane-api mirroring, was part of the standalone api/ tree. We should probably push these options there. It's possible also, with some Bazel magic, to append envoy_copts during WORKSPACE inclusion.

It's possible also, with some Bazel magic, to append envoy_copts to the API opts (I think..) during WORKSPACE inclusion.

This might be a better option but I will leave it to you build gurus to sort out. :)

Actually, I think PGV creates this rule, https://github.com/envoyproxy/envoy/blob/master/api/bazel/api_build_system.bzl#L125.

Yeah I saw that. Would it be best to just plumb through being able to pass in copts into those rules and then we can pass the main Envoy ones in? We really should be compiling the protos with the same compile options as the rest of the code.

I think the easiest way to do this might be to factor out compile options to its own .bzl, and then copy it in with the repository rule in https://github.com/envoyproxy/envoy/blob/61d80ba86c1d9e01072a1d9b14e8b84c4229b919/bazel/api_binding.bzl#L15.


Feature/notebook proxy https#339 v2

notebook proxy now uses ssl
certificates are stored on host and shared between www- and proxy-containers

fixes #339


add support for request.query

Suggested fix for https://github.com/byu-oit/openapi-enforcer/issues/76

Thanks for the PR. I've published this PR to NPM (after some additional commits) as version 1.10.4.


Localized file upload and ?locale=all query parameter

Bug Report
Localized file upload with
?locale=all

Current Behavior
Localized file upload returns
"[object Object]"

while using query parameter ?locale=all
Expected Behavior
Returning object with localized file details like other properties e.g.:
"title": { "pl": "Instrukcja", "en": "User guide" },
Detailed Description
Payload v1.1.19

This was quite a difficult one to fix, but I got it all working!
PR is ready for review.


Link to become sponsor seems 'dead'?

I had a report that when you click on the buttons on 'become a sponsor' they seem to go nowhere. They are set as mailto but that might not work well on all browsers?

mailto should "just work" - it's super old-timey internet stuff. We could maybe do a form for this also? Going to close for now as a corner case.


fix(safari): handle scrollingElement=body correctly

Fixes desktop safari, mobile safari still needs to be fixed

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tv-casting-app: KVS storage management improvements

Problem
The tv-casting-app requires clearing of the KVS based storage if it was commissioned on a previous run. This is required on Linux, Android and iPhone
Proposed Solution
Research and implement a way so that the app cache does not need to be cleared from settings to redo the commissioning process

As part of this issue, add support to purge fabrics stored locally.