[ENH] CI is slow

CI is slow on some platforms with up to 132 minutes.
Among the slowest tests is sktime/forecasting/tests/test_all_forecasters.py::TestAllForecasters

Screenshot taken from: [test-unix (3.9, macOS-11)]
To start with: can we do something about these forecasting tests? They take >1000 seconds.

Another example:

Yup this is way too long to be practical. I would say 10 min is closer to a comfortable upper limit but we are far away from that.
I suspect that the way tests are run is partly responsible to the horrendous execution time since the test config has 1400+ LOC and it imports everything and dispatches estimator to test suites (or something like that). One performance penalty here is that all numba functions are compiled which in turn make the test collection step very long. It is also very hard to modify and maintain the testing monstrosity since it's partly centralized and party distributed into individual modules.
I don't know I am able to offer a strategy here to deal with that but I would probably distribute the test to subpackages or individual modules and move away from the centralized runner. The aim would be to enable running different granularity of tests e.g. test only the classification subpackage or a single module file. I don't think this is easy to do now.
Let me know if there are better alternatives.

the testing is a monster, and personally I would like to scrap it all and go back to something closer to what it was like, which was based on scikit-learn. There are also a lot of possibly unnecessary tests, and a confusion between interface testing and use case testing. It is not feasible to test edge cases in general CI imo, but having different testing parameters seems to be trying to half heartedly do just that. I would like levels of testing

Linux is worst now with 3 hours?

As discussed in the last meeting pytest-testmon (https://github.com/sktime/sktime/issues/2530) may be a good inclusion. It seems like there are some items which are possibly causing issues, however.

code coverage
pytest-xdist
matrixdesign used to split off tests.

I'm not exactly sure which of these or all of them in combination are causing this trouble, however. There may be some fundamental issues with the test set in play that would need to be fixed (see #271).
The original author @tarpas commented in a recent sktime discussion on the same topic with some interesting ideas (https://github.com/sktime/sktime/discussions/4453#discussioncomment-5584302)

How often will a test which passes on Python 3.7 and 3.11 fail for python 3.10? I think there might be an opportunity to free up some capacity here and not test 3.8-3.10 for each commit, but only for important ones (or periodically)

This would lower the number of jobs required by quite a lot, allowing for more concurrent PRs. But not sure how it would interact with the matrix design. It may just make individual runs take longer on their own.

To improve latency (time to failure) you could then use pytest-split

This may be a good alternative to pytest-xdist, though I don't know if it will interact any better with pytest-testmon.
An option could be to have two set of tests, and minimal set a full set:

Minimal set: Used for PRs Uses pytest-testmon, no code coverage, min and max Python version only (for now 3.8 and 3.10, maybe even just one). May need extra changes for compatibility with pytest-testmon i.e. no matrixdesign.
Full set: Ran periodically rather than on PRs. All Python versions, No matrixdesign, Additional run which disables numba to capture code coverage on all tests (currently numba does not play well with it).

This of course is just one approach, and either way we would have to tackle the extreme test time currently seen in the test suite (i.e. #154).


[PageWizard] If I change the steps after the initial render of a pagewizard, I get an exception

Describe the bug
To reproduce, send a series of steps to the PageWizard, then in an async render, remove one of the steps from the Wizard so that there's only one page showing.  You will get a console error and the Wizard will fail to render when cloning the existing step element.
To Reproduce
Steps to reproduce the behavior:
The page wizard should allow you to change the Step content (and the number of steps) after render to support wizards that need to make determinations before they load.
This can be worked around by regenerating the Wizard by passing a key to it if the number of steps change.

@rawa-resul you just did a fairly large refactor of PageWizard to support the sub steps and new design reqs. Do you have any thoughts on this one?


Can you provide the swagger generated for this script, please?

What does the swagger for this script look like?

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

ID: 38e267fb-efa2-dab5-aa83-4a4addc39ee8
Version Independent ID: e1d506d0-c6bf-47ed-a12c-7bb50416c865
Content: How and where to deploy models - Azure Machine Learning service
Content Source: articles/machine-learning/service/how-to-deploy-and-where.md
Service: machine-learning
Sub-service: core
GitHub Login: @jpe316
Microsoft Alias: jordane

@viskri-msft Thanks for the feedback. We are investigating into the issue and will update you shortly.

is this a duplicate of this: https://github.com/MicrosoftDocs/azure-docs/issues/35253

Not really, that ticket is asking for how to discover the swagger and an example to use the swagger_uri, I am asking for the whole swagger.json file for the discussed example to be posted in the tutorial.

@viskri-msft The document link can be retrieved using the swagger_uri property from the service that is deployed.

Retrieve the schema JSON document after deploying the service using  the swagger_uri property.

@blackmist - can you evaluate if it would help to include a sample json or if that isn't recommended please? you can also chat with viskri directly.

@viskri-msft Thanks for the suggestion to improve the doc. I've added the JSON OpenAPI specification (the schema) returned from the example deployment. This should show up late tonight/early tomorrow once the nightly publish completes. I also added a link to https://github.com/swagger-api/swagger-codegen, which is a utility that can consume a specification and create a client library.
#please-close


Latex formula is not displaying correctly

Hi! Looks like a bug, this formula
$${a_i} = \sum\limits_{j = 0}^3 {{{\left( {{b_i}} \right)}_j}} {P^j}$$
causes warning
 A block '{{b_i}} ...}}' was found but the name 'b_i}}' does
│ not correspond to a built-in block or hfun nor does it match anything
│ defined in 'utils.jl'. It might have been misspelled.
│
│ Relevant pointers:
│ - page variables and {{...}} blocks: https://franklinjl.org/syntax/page-variables/
│ - h-functions (hfun) and lx-functions: https://franklinjl.org/syntax/utils/

and  it is not displaying correctly.

Hello!
In Franklin double braces mean something specific and so you hit the case where this is ambiguous, if you add white spaces between the braces so that you don't have {{...}} but { { and } } the warning and issue should go away

Ok, thanks, solved my problem.


Clicking disablePointerEvents inputAdornment blurs and then focusses an active input again

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Clicking the inputAdornment of an input with disablePointerEvents fires both blur and focus on the input when input is already focussed
Expected Behavior 🤔
The input focusses only if it is not yet focussed
Steps to Reproduce 🕹
https://codesandbox.io/s/material-ui-issue-forked-gnxun?file=/src/Demo.js
Steps:

Click on the collapsed input
Click on the inputAdornment (mousedown triggers blur, mouseup triggers focus)

Context 🔦
I was not sure if this is a bug, since I realize that I'm getting away from the default usecase of this component.
My usecase requires a smaller input which can be collapsed. I have thought about making the collapsed state a button instead of a textfield but that would stop me from enabling the transition.
Your Environment 🌎

`npx @material-ui/envinfo`
  System:
    OS: Windows 10 10.0.18363
  Binaries:
    Node: 12.16.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 88.0.4324.182 (Used browser)
    Edge: Spartan (44.18362.449.0)
  npmPackages:
    @emotion/styled:  10.0.27
    @material-ui/core: 4.9.1 => 4.9.1
    @material-ui/icons: 4.9.1 => 4.9.1
    @material-ui/lab: ^4.0.0-alpha.45 => 4.0.0-alpha.45
    @material-ui/pickers: 3.2.10 => 3.2.10
    @material-ui/styles:  4.9.0
    @material-ui/system:  4.9.3
    @material-ui/types:  5.0.0
    @material-ui/utils:  4.7.1
    @types/react:  16.9.19
    react: 16.12.0 => 16.12.0
    react-dom: 16.12.0 => 16.12.0

call prevent default if you don't want the focus to leave the textbox.


Implement support for do..while

I had heard about pnut from Marc. Too much fun not to participate. Here's a little contribution; I did not take too much time investigating the ins and outs of the codebase so I might be doing something wrong; feel free to correct me.
There's one limitation I am still trying to fix; The global set -e does not apply to the code output within the while.
As an aside, I noticed that void main(void) is not a valid signature for pnut, but it is one of the two valid signatures for main (ref https://en.cppreference.com/w/c/language/main_function)

As an aside, I noticed that void main(void) is not a valid signature for pnut, but it is one of the two valid signatures for main (ref https://en.cppreference.com/w/c/language/main_function)

I have a branch somewhere that supports these declarations, mainly to be able to compile TCC. There are a lot of small things that are wrong with the grammar pnut is accepting, this being a good example :)

@laurenthuberdeau I

Added a simple test with a do...while
Created an example (can remove if you don't care for a do while example)
Changed the generated code of the do..while to match your preferred form, which also solves the issues with the set -e (win win)

LMK if there's anything else!

If you're looking for more, the exe backend could also get do...while(); support.
It would also make it possible to remove the temporary variable used in get_tok to simulate a do while loop which would certainly improve performance because get_tok would become a function with no local vars (and so it would avoid the overhead of simulating it).

You can expect the PR for the exe backend over the weekend ;) If I forget shoot me an email :)

Also, do you want me to add the changes for the exe on top of this or you'd rather another PR (and I can't merge btw, so that's on your schedule ;) )

Ok! Ping me when you've added the check; I'll check that when I get a second :)

@laurenthuberdeau Added the exe backend. Did not change the main loop because the while has a second variable (macro something) and I didnt have time to check how to deal with it.
LMK your toughts!


[Feature] When the input box type is a data field, I don’t want the user to be able to input by pressing the keyboard

Initial checklist

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Problem
[Feature] 当我点击一个输入框的时候 我给这个输入框设置了不同的类型 假设有两个类型普通文本 数据字段 当是数据字段的时候我不想用户可以通过选中框 按下键盘之后输入。我看了源码没找到我能处理拦截的地方
Solution
期望可以通过某种方式去屏蔽

https://univer.ai/guides/sheet/facade/general-api#listening-commands-before-execution


Learn about forms and try to implement one in our signup.html

http://www.w3schools.com/html/html_forms.asp

Login.html ***


Is there a way to keep consistency of property mangling?

Hi I am curious about if we could keep consistency of name mangling - like always following the same rule to do name mangle.
I have different slices got very coupled , and I used to CC then all together to make sure they get the right name mangled, but here comes the problem - sometimes we just have one of slice changed but I don't want to redownload all slices(just use cache for all the other slices), but every time after compiling, mangling names get changed, that means the new compiled slice does not work with old 2 other slices(even un-compiled code is the same)
Is there a way to keep name mangling the same each time?

By "name mangle" do you mean variable renaming? And what do you mean by slices? It would be great if you could provide more context on the issue, including how you are invoking the compiler.


Feat/open dosm dashboards

added iip dashboard page in pages/dashboard
added iip dashboard component in dashboard/national-accounts
added national-accounts key in datagovmy/ui/types
added i18n for iip dashboard

@irfancoder , not sure if the recession part of the dashboard was done correctly or not... hope you could verify this.

@irfancoder , also from the figma, the agency is National Accounts Division, now just using DoSM. do i have to add the agency ?

@irfancoder , not sure if the recession part of the dashboard was done correctly or not... hope you could verify this.

Looks off. There should be a recession shading in the chart.

@irfancoder , also from the figma, the agency is National Accounts Division, now just using DoSM. do i have to add the agency ?

Keep to DOSM. National Accounts Division is under DOSM.
Some things to note:

Add the i18n namespace inside next-i18next.config.js

Amended changes from feedbacks:

[x] remove useWatch in iip dashboard - Irfan
[x] add recession shader in the charts
[x] Add the i18n namespace inside next-i18next.config.js - Irfan
[x] moved iip from datagovmy to opendosm
[x] change chart axis to 1dp - Thevesh
[x] rearrange charts to correct order according to Figma - Thevesh

One last change;

Update the dashboard/index page. Add the new dashboard in

One last change;

Update the dashboard/index page. Add the new dashboard in

Done!


fix: Resolve crashing issue for OpenGL UIPage (#2189)

PR Details
This PR fixes incorrect buffer clearing for OpenGL when mapping a resource. It turns out that IntPtr.Zero was treated as some kind of value while this was not the author's intention. I also did a small refactoring
Related Issue

https://github.com/stride3d/stride/issues/2189
https://github.com/stride3d/stride/issues/2079

Types of changes

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

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run the editor to try this change out.

I ping @MeharDT, because I think you'll be interested in a fix

Thanks !


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/764 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit a1fe745:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-02-02-06-11-32 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Help ReadMe and Useful RegEx fail to find file

Both the help options fail.  Build <IP_ADDRESS>

Fire is not able to find those HTML files anywhere but in one of:

a folder "Fire" which is a sibling of the user command script. That folder will exist, and it contains the workspace Fire.dws, otherwise Fire cannot work. Make sure the HTML file accompany the WS and you will be fine
In a folder "Fire" that lives in the installation folder of your version of Dyalog (not recommended).

Your screenshot shows a git project "Fire", but of course Fire cannot have any knowledge about that.

I extract the downloaded Fire application into a folder called dist in the project folder.  I am not using the actual git project to run fire.

But that cannot work. The fire script as well as the folder with the WS and
the HTML files must live in one of the folders scanned by the interpreter
for user commands.
There are just two defaults:

The folder SALT\spice in the Dyalog installation folder
The folder Documents\MyUCMDs in your home folder which normally is
C:\Users{YourUserName}\

Any other folder would need to be added to the Source folders on the "User
Commands" tab in the configuration dialog box.
On Thu, 6 Dec 2018 at 15:08, Norbert Jurkiewicz<EMAIL_ADDRESS>wrote:

I extract the downloaded Fire application into a folder called dist in the
project folder. I am not using the actual git project to run fire.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/aplteam/Fire/issues/9#issuecomment-444902911, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APt0nc3Iy7TLPKHf8kXA4oO8o8NmHvL9ks5u2TLugaJpZM4Y4UjX
.

Do I not have fire installed correctly?


Remove state related classes and style based on pseudo classes?

Except for maybe the button component which can be used renderless?

Done.


How to set a custom ID when adding a new item into Firebase3

I could not find any doc about how to use angularfire2 for adding a new item with a custom ID to Firebase3.
Does anyone know how to do it ? Please share it with me, thank you!
I have tried the code below but get error: 'child' does not exist on type 'FirebaseListObservable'.
const cachedCart = this.af.database.list('/cachedCart');
cachedCart.child(uid).child(restaurantName).setValue(items)

for AutoId keys you can use push()

Hi @FredvanRijswijk ,
Thank you for the reply. However, in my case, I will setup the keys myself

Does anyone know how to do it with angularfire2 or it is currently NOT possible with angularfire2 ?

@johnqiuwan I will answer this question here, but please use the issue template in the future. The template makes it much easier for us to answer. Also, these type of questions are best suited for stackoverflow as it is not an issue with the library itself.
In your case you would use FirebaseObjectObservable so you only load the one item.
const cachedCart = this.af.database.object(`/cachedCart/${uid}/${restaurantName}`);
cachedCart.set(items);

You should consider creating a shallow structure. Deeply nested structures are anti-pattern in the Firebase Database as all child data is loaded at the parent path.

@davideast Can you say this in Angular js 1 David? using angularFire, Thanks.


Enable deployment of NAC Scheduler in a private subnet with private IPs

User secret variable is use_private_ip. This prevents the public ip from being used to ssh into the NAC Scheduler


Something went wrong after using the automated installer for ubuntu 16.04

BookStack Version: current stable
PHP Version: 7.0.22
MySQL Version: 14.14

Expected Behavior
The default webpage to load after installation.
Actual Behavior
Error: Whoops, looks like something went wrong.
I've checked the logs, can't tell if anything is wrong. The only thing I have done was change the nginx server name to what I wanted to use on my network.

Set APP_DEBUG to true in your .env file and retry afterwards.
Everything in bookstacks logfile (in storage/logs/ might help.

OK, a mysql database was never created. So I created it and the associated user, migrated the db tables, and now I have a login screen. woot
side note: I installed LAMP from the OS installer before realizing there was a automated install script. my bad.


Bug: Highlight and selection gets cancel if upper arrow key pressed afterwards

Description
Selection of the part of the file name gets canceled after reaching the start position and again keep pressing (once or more than once) the up arrow key.
This screenshot shows that I selected (shift+left arrow) the full file name from the last and reached the starting letter.
After this, if I press even for once the left arrow key, the whole selection cancels out and the arrow returns to the starting letter only.

Steps To Reproduce

Select the file to rename.
Choose "rename' to either add or delete the texts as per your choice.
Keep the cursor anywhere except for the starting first letter.
Use shift+left arrow key to start the selection and select all the letters till you cover the starting letter as well.
Now press the shift+left key once more and the whole selection will cancel out. And your cursor will be at the beginning.

Requirements
It should not cancel out the selection even after reaching and covering till first starting letter.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.2506
Log File
debug.log

Thank you for the report

I am having trouble reproducing this. Am I understanding correctly that this is happening when the arrow is pressed while holding shift?

After using shift + left arrow to select all the text, pressing shift + left arrow another time clears the selection.

After using shift + left arrow to select all the text, pressing shift + left arrow another time clears the selection.

Little correction. Shift+Up arrow.

After using shift + left arrow to select all the text, pressing shift + left arrow another time clears the selection.

Little correction. Shift+Up arrow.

So In the issue name you say about up arrow key, in steps to reproduce you say about shift + left arrow key, and now you say about shift+ up arrow key.
Just want to clarify. If you actually meant the shift + up arrow key, I would like to give some additional information.
It turns out that if you place your cursor anywhere but start of name and select up to the start either with shift+left arrow, or by pressing shift+up arrow, pressing the shift+up arrow again does nothing, but pressing it once more clears the selection.
Basically, If you place cursor anywhere but start and press shift+up arrow, it selects up to start of name. Pressing shift+up arrow again does nothing. Pressing shift+up arrow once more (3rd time, or 2nd time if the selection already was from the start), the selection gets canceled.
I also noticed that pressing shift+down arrow has similar effects but with some changes. If you have your cursor anywhere but end of name, it selects till the end. Pressing shift+down arrow again clears the selection. It is interesting that there's no room for another press that does nothing, as opposed to pressing shift+arrow key several times.
I think the behavior with shift+arrow down key also shouldn't clear the selection, so I think those are related and maybe should be fixed together.

I think I found the fix to the bug. Just need a few more checkups to make sure it actually works

Well the fix is working for the main issue but there are some other semi-issuee, semi-bugs related to it that might also be fixed. I'll try fixing it all.

Working fine now. Thanks and closing this.


iOS 8 crash

我在一个stackView中嵌套加了一个stackView, 嵌套的stackView动态添加imageView 在iOS8 crash, iOS9 正常。
The view hierarchy is not prepared for the constraint: <NSLayoutConstraint:0x7f838fe60440 UIStackView:0x7f838fd331d0.leading == UIImageView:0x7f838fc30c10.leading>
    When added to a view, the constraint's items must be descendants of that view (or the view itself). This will crash if the constraint needs to be resolved before the view hierarchy is assembled. Break on -[UIView _viewHierarchyUnpreparedForConstraint:] to debug.

exception break point 定位在
- (void)resetCanvasConnectionsEffect

中的
[self.canvas addConstraints:canvasConnectionConstraints];

同样碰到了这个问题，是FDStackView无法嵌套吗？

遇到了同样的问题

+1

请问有解决的办法吗


great firewall china still working?

I have a friend in china that I have helped install this onto a private VPS to access facebook and twitter and a random test site. We ping facebook.com on china computer and it resolves to facebook address (not the vps IP) and ping fails. We then ping the random test site we added into zones override and it resolves perfectly to VPS ip.
Do you think china have upgraded their efforts and are intercepting, or could we be doing something wrong? We followed the link provided in readme and added all domains but no luck.

There is a packet inspection firewall between you and the rest of the Internet, which is operated by your government. The firewall is probably re-writing your DNS requests to their internal DNS servers, which means the DNS request will never make it out to your VPS. You could try OpenVPN over stunnel instead of DNS/proxy.

You could also try: http://black-box.belodedenko.me/ is cloak-mode (Stunnel).


fix typo in colors section of README.md

BEFORE:

If 256 or 88 colors is not supported. Blessed with reduce the color to whatever is available.

NOW:

If 256 or 88 colors are not supported, Blessed will reduce the color to whatever is available.

@kvirani I will apply this fix there: https://github.com/ulcuber/blessed


epi::App::save() is not called on shutdown

Upgrading my app to egui 0.13.1, I found out my app state is not reloaded when restarted.
I checked the template repo (https://github.com/emilk/egui_template/blob/master/src/app.rs#L44-L47) to see if the save() function is called there (needs the --features persistence flag) and it's not called either.
Could it be a bug in egui?
Thanks!

It should be called at https://github.com/emilk/egui/blob/master/egui_glium/src/backend.rs#L352
What OS are you on? Can you attach a debugger and see what happens? Maybe glutin::event::Event::LoopDestroyed isn't sent?

I can reproduce this on Mac, but only if I press cmd-Q. It seems winit does not send a LoopDestroyed event when I do that 😭.

Thanks for looking into this and sorry for my late reply.
I see the same behaviour you are describing with egui 0.14.1.
It's unfortunate that the problem might be in winit...

Same on Windows 7 x64 / egui 0.14.2.

System interruption events are likely not being monitored by Winit. One way you might want to tackle this is by implementing a signal handler yourself and call save if it triggers. https://rust-cli.github.io/book/in-depth/signals.html.

Maybe a workaround: implement a signal handler yourself and call epi::App::save()  if it triggers. https://rust-cli.github.io/book/in-depth/signals.html.

To clarify: it used to be the case that when, on Mac, I had an eframe window in focus and pressed Cmd-Q it would get the Event::LoopDestroyed and save the state. Now it no longer receives that message.
Adding a signal handler to egui_glium seems like a very good idea. Any takers? I guess we we would need to wrap the app state in a Arc<Mutex<Box<App>>> so it can be shared with the signal handler.

There are a couple of ways to do it.

Using a separate thread for that system and events. And then communicate those events via a channel to the app state. [1]
Let the user handle the signals, and save the file.
There might be an option to just poll for those signals using the signal-hook create. I have done this before using mio, however, this is likely not a dependency you want to include. This would allow you to poll for events in the ui-loop. [2]
Passing the entire app wrapped into an arc mutex to the signal thread.

I think the channels are most clean, we could just use the standard library channels, since its just one way (event thread -> app). It would have the overhead of an extra thread. Tho the thread will not heave much overhead, and will just block waiting for the next system event. There doesn't seem to be a way around the thread other than using a library like mio.

I tried debugging a bit. For me Persistence.from_app_name.create_storage comes back with None apparently, which leads .save to not being able to save. It's weird that I dont see the FileStorage::from_app_name's eprintln! tho. I have to investigate further...

I'll close this and defer to the winit bug:

https://github.com/rust-windowing/winit/issues/1998


future_create_order()  ------  how to run faster?

In my test environment, I ran the following code :
order = client.futures_create_order(symbol='ETHUSDT',side='SELL',type='MARKET',quantity=20)
I found that the runtime was over 0.5 seconds! How to make the runtime faster? Preferably within a few milliseconds.

Probably the issue is with the latency. BTW are you one telegram ?

Probably the issue is with the latency. BTW are you on telegram ?

In my server. I ping 'api.binance.com' , the response time is only 5ms.

Ping cant be use used here.
Ping: roundtrip of a tiny packet between your host and the CDN edge node that is closest to you; that packet never sees the Binance server.
I already made what you expecting and we can talk on telegram/discord if that’s okay.

Ping cant be use used here.
Ping: roundtrip of a tiny packet between your host and the CDN edge node that is closest to you; that packet never sees the Binance server.
I already made what you expecting and we can talk on telegram/discord if that’s okay.

thanks! I am on telegram now. my telegram account is: uprisefuture


setup-rack.sh loads core ontology only

This PR does the following:

cli/setup-rack.sh loads only the core ontology
cli/setup-arcos.sh loads the ARCOS ontology overlays
Turnstile ontology + data is now done with Turnstile-Ontology/99-Utils/Load-TurnstileData.sh

Other things that had to be reorg'ed to make this work:

nodegroups directory now has subdirectories to hold auto generated nodegroups from the overlays, separate from the auto generated nodegroups from the core <-- @cuddihyge, please confirm that this structure will work for you for future auto CDR generation
OwlModels files in each of the ARCOS overlays are cleaned up. (Only 2 files: import.yaml and corresponding overlay .owl)
import.yaml in each of the overlay directories had to be updated because this file will now reside in OwlModels in each of the overlay directories

Hope each of the reviewers can take a good look and try out the changes to make sure that nothing is misplaced/missing.

@kityansiu Regarding the CDR and nodegroup sub-directories, we'll have to figure out a maintainable way to map the base URI's of the ontology classes into the right sub-directory.   It would be simple to one-off a hardcoded solution, but it would be less work in the long run to do some straight-forward transformation of the class URI into a sub-directory name.
For example, we could use the "USE_THIS" portion of http://USE_THIS/CLASSNAME
and we'd end up with sub-directories:

arcos.rack
arcos.AH-64D
arcos.arbiter
arcos.descert
Turnstile

or something simple-to-automate  along these lines.


[GENERAL] Update the issue templates

It looks really ugly, and it shouldn't

Forgot to say, but I will be using github's form schema

Finished the async repository side, working on the sync repository

bug_report.md, feature_request.md, and bug_report.md, we're all deleted after re-formatting to a .yml file.


Loss goes to NaN at 150K Iterations

Through this issue, I've fixed the problem with the prior/reg loss weights as per the author's response (add 1e-6 to avoid divide by zero).
However, I noticed that my loc_loss and reg_loss became NaN.
I retried with clipping the gradients by setting the --clip_grad option as True.
My loc_loss and reg_losses still became NaN at 150k iteration and the training failed.
The exact command I ran was the following:
python ssd/train_bidet_ssd.py --dataset VOC --data_root ./data/VOCdevkit/ --basenet ./ssd/pretrain/vgg16.pth --clip_grad true
Any help would be appreciated.

Hummm, that's quite strange, I will look into it. BTW, you can try evaling the model weight before loss goes to NaN and report the mAP here, it can help me determine what's the problem.

Thank you again for your quick replies! I ran the eval code using the model weights from iteration 145K (just before the loss goes to NaN) and the mAP I got was 56.06. The AP for the categories are as follows:
AP for aeroplane = 0.6938
AP for bicycle = 0.6756
AP for bird = 0.4631
AP for boat = 0.4548
AP for bottle = 0.3000
AP for bus = 0.6628
AP for car = 0.7311
AP for cat = 0.6751
AP for chair = 0.3491
AP for cow = 0.4354
AP for diningtable = 0.5509
AP for dog = 0.5649
AP for horse = 0.7091
AP for motorbike = 0.6937
AP for person = 0.5767
AP for pottedplant = 0.2871
AP for sheep = 0.4872
AP for sofa = 0.6301
AP for train = 0.7178
AP for tvmonitor = 0.5533
Hope this information will be useful!

According to my learning rate decay schedule, the lr at iteration 150k should be 1e-5. It's a small value and I don't think training will break at this point. Also according to my experience of training BiDet, the network should have converged at 150k iteration so I guess the mAP would be around 66.0 before loss goes to NaN.
BTW, I have to say that the training of binary neural networks especially binary detectors is very unstable. In my experiments, I have to watch its loss curve and sometimes manually adjust the learning rate if its training "breaks". The training of binary-SSD often breaks, while binary-Faster R-CNN is much more stable. One of the indicators that the training of binary-SSD breaks is that, if the cls loss (termed as 'conf' in the saved weight files) suddenly decreased largely in a few iterations (e.g. 3.55-->3.54-->3.52**-->**3.40), then we should kill the program and manually decay lr by 0.1 then continue training.
Besides, the lr decay schedule in config.py is just an empirical one, I tried running the code multiple times and sometimes you need to decay earlier to prevent training from breaking. Also, if I use different PyTorch version, you may get different results. For example, I set up several conda virtual environments on one Ubuntu server and tried running the code. For BiDet-SSD on Pascal VOC, I got mAP 66.6% using PyTorch 1.5 (2020.5), mAP 65.4% using PyTorch 1.2 (2020.3), and the mAP 66.0% reported in the paper was obtained via PyTorch 1.0 (2019.11). I really don't know why, maybe just because the training of binary neural networks is too unstable and full of uncertainty. Different lr schedules even different weight initialization would cause different results.

Ah, I'm sorry I didn't see the response you post before my last comment. 56 is much lower than 66 and there should be something wrong in the training procedure. Perhaps the training "breaks" earlier before 145k iteration? Does the conf loss decrease abnormally as I described in my last comment (decrease largely in 5k iterations)? If so, then the performance of weight at 145k iteration is surely to be affected to perform badly.

I checked and the conf_loss is relatively stable but jumps from 0.6536 to 2.2935 from 145K iteration to 150K iteration. I'll try different learning rate schedulings as suggested.

Indeed, in order to get good performance, I'd recommend you to monitor the loss and decay lr only when training breaks in current lr (conf loss decrease rapidly). The best way is to kill the program if training breaks and re-start with a decayed lr from the weight before breaking. I guess this is because binary neural networks are easily stuck to local minimal, so the more iterations you use large lr to train, the less likely you will be stuck to local minimal and the better performance you will get (at least in the case of binary detectors).

I checked and the conf_loss is relatively stable but jumps from 0.6536 to 2.2935 from 145K iteration to 150K iteration. I'll try different learning rate schedulings as suggested.

@killawhale2 were you able to get to ~65% accuracy in the end? It would be great to hear from folks who have managed to replicate it (so we can try to make a robust recipe).


Flutter 1.22 - dependency resolution fails due to nullsafety

Steps to Reproduce
Use test version 1.15.x (any before 1.16.0-nullsafety.x) and you'll get a dependency resolution error if you have also flutter_driver in your dependencies.
environment:
  sdk: ">=2.10.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

dev_dependencies:
  test: 1.15.7
  flutter_driver:
    sdk: flutter

error:
Because every version of flutter_driver from sdk depends on test_api 0.2.19-nullsafety.2 and test 1.15.7 depends on test_api 0.2.18+1, flutter_driver from sdk is incompatible with test 1.15.7.
So, because null_flutter_app depends on both test 1.15.7 and flutter_driver any from sdk, version solving failed.

flutter doctor -v:
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B50 darwin-x64, locale en-GB)
    • Flutter version 1.22.4 at /Users/franky/CODE/flutter-sdk
    • Framework revision 1aafb3a8b9 (4 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/franky/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/franky/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.8.4

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 7.0 (API 24) (emulator)

! Doctor found issues in 1 category.

It was written here that I should use dart 2.12 if I want to try the null-safety feature which I don't. So I use dart 2.10.4 and I'm getting this error.
The only solution would be to remove the test dependency but I need it as well as flutter_driver.

@FrantisekGazo
If we use test: ^1.15.7 along with flutter driver, compiles properly. Any reason you need to use test: 1.15.7 and not test: ^1.15.7 ?

Thanks @darshankawar , that works.
I'll change it to test: ^1.15.7 for now and hopefully later I'll be able to switch back to a specific version without ^.
I want the builds to have predictable dependency versions but it's not that important in dev_dependencies.

Closing this based on your comment. If you face any other issue on similar lines, feel free to open a new issue with all required details.
Thanks.


ADAL recommended but shortly no longer supported

The security mitigation states: "Use ADAL libraries to manage token requests from OAuth2 clients to AAD (or on-premises AD)" but every ADAL reference seems to indicate that support for this is ending and I should use MSAL instead. If this is indeed the case, please update this mitigation to reflect the current best practice.
[Enter feedback here]

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

ID: 004c9f09-ba18-c5ff-43bc-b44d9e0ee809
Version Independent ID: b3c686a6-8ab3-8480-293b-a6f0100e06d0
Content: Authentication - Microsoft Threat Modeling Tool - Azure
Content Source: articles/security/develop/threat-modeling-tool-authentication.md
Service: security
Sub-service: security-develop
GitHub Login: @jegeib
Microsoft Alias: jegeib

@StephenBethke Thank you for your feedback . We will investigate and update the thread.

Thanks for bringing this to our attention.
Yes, All Microsoft support and development for ADAL, including security fixes, ends in December, 2022 and here detailed guidance on how to migrate to MSAL. However, I will work with content author to get this updated in this article. Thanks.


Work around identityHashCode throwing for non-extensible objects

Motivation
Currently, when jsifyAndAllowInterop encounters a non-JsObject frozen object, such as the frozen children array of a JSX Element, it throws as a result of identityHashCode trying to write a property on it (Dart SDK issue: https://github.com/dart-lang/sdk/issues/36354).
This can occur when wrapping JS components in Dart and forwarding props that contain frozen arrays them to another component.
Uncaught TypeError: Cannot add property Symbol(_identityHashCode), object is not extensible
    at Object.identityHashCode (core_patch.dart:41:42)
    at CustomHashMap.new._jsObjectFriendlyIdentityHashCode (js_interop_helpers.dart:16:51)
    at CustomHashMap.new.containsKey (custom_hash_map.dart:72:70)
    at _convert (js_interop_helpers.dart:84:26)
    at _convert (js_interop_helpers.dart:91:40)
    at Object._convertDataTree (js_interop_helpers.dart:108:10)
    at Object.jsifyAndAllowInterop (js_interop_helpers.dart:75:10)
    at Object.generateJsProps (factory_util.dart:123:26)
    at component_factory.ReactDomComponentFactoryProxy.new.build (component_factory.dart:304:26)
    at dom_components.DomProps.new.call (component_base.dart:639:29)

Note that this error only happens in DDC, since dart2js does not run in strict mode
Solution

Wrap call to identityHashCode in a try-catch, and fall back to a safe implementation
Update code comments
Add regression tests.

Testing

Verify regression tests pass in DDC (i.e., CI passes)

Release notes

Fix identityHashCode error when forwarding props containing JSX children

Security Insights

(3) Vulnerable direct dependencies were detected
1 vulns in ansi-regex < 4.1.1 via yarn.lock
1 vulns in glob-parent < 5.1.2 via yarn.lock
1 vulns in terser < 4.8.1 via yarn.lock

Action Items

Review dependencies for available updates
See this Splunk dashboard for more CVE details
Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

QA +1

@Workiva/release-management-p


Fix scalability issue of ByteToMessageDecoder sub-classes that also i…

…mplement ChannelOutboundHandler
Motivation:
There is some scalability issue with ChannelHandler implementations that implement ChannelInboundHandler and ChannelOutboundHandler at the same time. This can be fixed by usually extending ChannelDuplexHandler. Unfortunally this is not possible when the ChannelHandler in question already extend ByteToMessageDecoder, which is the case for SslHandler which is a very popular handler. To fix this let's just have ByteToMessageDecoder extend ChannelDuplexHandler. This will not hurt in general as we will still skip execution of the outbound methods if te sub-class is not overriding these while also ensure that we not get into trouble of scalability issues.
Modifications:
Let ByteToMessageDecoder extend ChannelDuplexHandler
Result:
Workaround scalability issue of SslHandler.

This really makes me cry ... But I think there is nothing else we can do atm :/
/cc @franz1981 @chrisvest

This really makes me cry

I know @normanmaurer what you mean :(
My suggestion is to compile with JDK 11 and run one of the examples attaching https://github.com/franz1981/type-pollution-agent and see what it reports.
Maybe the outbound methods used aren't hot/frequently taken (as IdleStateHandler or HeadContext that requires to capture everything ) and we don't need to address it like this (although I admit is the nearly one liner change that fix everything)
eg
    void read(ChannelHandlerContext ctx) throws Exception;
    void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception;
    void flush(ChannelHandlerContext ctx) throws Exception;

the methods above are supposed to be hot-paths ones, but if who implements ChannelOutboundHandler is skipping them, it shouldn't be a problem (thinking about some that just need to capture close....)

@chrisvest I left the implements just in case someone has some mix up with netty versions between codec and handler . I also think it shouldn't be a problem in real-world. But I think we might want to do some benchmarking first to ensure we really need this.

It's now getting test failures and leaks, e.g.
2022-10-14T13:45:56.1992875Z [ERROR] testHttpResponseAndFrameInSameBufferCodec  Time elapsed: 0.01 s  <<< ERROR!
2022-10-14T13:45:56.1993543Z java.lang.IllegalArgumentException: inboundHandler must not implement ChannelOutboundHandler to get combined.
2022-10-14T13:45:56.1994276Z 	at io.netty.channel.CombinedChannelDuplexHandler.validate(CombinedChannelDuplexHandler.java:88)
2022-10-14T13:45:56.1995107Z 	at io.netty.channel.CombinedChannelDuplexHandler.init(CombinedChannelDuplexHandler.java:70)
2022-10-14T13:45:56.1995797Z 	at io.netty.handler.codec.http.HttpClientCodec.<init>(HttpClientCodec.java:108)
2022-10-14T13:45:56.1996434Z 	at io.netty.handler.codec.http.HttpClientCodec.<init>(HttpClientCodec.java:98)
2022-10-14T13:45:56.1997069Z 	at io.netty.handler.codec.http.HttpClientCodec.<init>(HttpClientCodec.java:89)
2022-10-14T13:45:56.1997692Z 	at io.netty.handler.codec.http.HttpClientCodec.<init>(HttpClientCodec.java:73)
2022-10-14T13:45:56.1998655Z 	at io.netty.handler.codec.http.websocketx.WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBuffer(WebSocketClientHandshakerTest.java:348)
2022-10-14T13:45:56.1999939Z 	at io.netty.handler.codec.http.websocketx.WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBufferCodec(WebSocketClientHandshakerTest.java:283)

2022-10-14T13:46:01.9979069Z [INFO] Results:
2022-10-14T13:46:01.9985430Z [INFO]
2022-10-14T13:46:01.9991780Z [ERROR] Failures:
2022-10-14T13:46:01.9998308Z [ERROR]   HttpClientCodecTest.testServerCloseSocketInputProvidesData:199 expected: <true> but was: <false>
2022-10-14T13:46:02.0010707Z [ERROR] Errors:
2022-10-14T13:46:02.0035702Z [ERROR]   HttpClientCodecTest.testConnectWithResponseContent:69 » IllegalArgument inboun...
2022-10-14T13:46:02.0036585Z [ERROR]   HttpClientCodecTest.testContinueParsingAfterConnect:213->testAfterConnect:222 » IllegalArgument
2022-10-14T13:46:02.0037497Z [ERROR]   HttpClientCodecTest.testDecodesFinalResponseAfterSwitchingProtocols:294 » IllegalArgument
2022-10-14T13:46:02.0038369Z [ERROR]   HttpClientCodecTest.testFailsNotOnRequestResponseChunked:78 » IllegalArgument ...
2022-10-14T13:46:02.0039182Z [ERROR]   HttpClientCodecTest.testFailsOnIncompleteChunkedResponse:105 » IllegalArgument
2022-10-14T13:46:02.0039977Z [ERROR]   HttpClientCodecTest.testFailsOnMissingResponse:87 » IllegalArgument inboundHan...
2022-10-14T13:46:02.0040792Z [ERROR]   HttpClientCodecTest.testInformationalResponseKeepsPairsInSync:371 » IllegalArgument
2022-10-14T13:46:02.0041814Z [ERROR]   HttpClientCodecTest.testMultipleResponses:409 » IllegalArgument inboundHandler...
2022-10-14T13:46:02.0042619Z [ERROR]   HttpClientCodecTest.testPassThroughAfterConnect:218->testAfterConnect:222 » IllegalArgument
2022-10-14T13:46:02.0043394Z [ERROR]   HttpClientCodecTest.testWebDavResponse:348 » IllegalArgument inboundHandler mu...
2022-10-14T13:46:02.0044147Z [ERROR]   HttpClientCodecTest.testWebSocket00Response:327 » IllegalArgument inboundHandl...
2022-10-14T13:46:02.0044921Z [ERROR]   HttpClientCodecTest.testWriteThroughAfterUpgrade:429 » IllegalArgument inbound...
2022-10-14T13:46:02.0045743Z [ERROR]   HttpContentCompressorTest.testExecutorPreserveOrdering » StacklessClosedChannel
2022-10-14T13:46:02.0046523Z [ERROR]   HttpServerCodecTest.test100Continue:74 » IllegalArgument inboundHandler must n...
2022-10-14T13:46:02.0047290Z [ERROR]   HttpServerCodecTest.testChunkedHeadFullHttpResponse:154 » IllegalArgument inbo...
2022-10-14T13:46:02.0048086Z [ERROR]   HttpServerCodecTest.testChunkedHeadResponse:123 » IllegalArgument inboundHandl...
2022-10-14T13:46:02.0048901Z [ERROR]   HttpServerCodecTest.testUnfinishedChunkedHttpRequestIsLastFlag:40 » IllegalArgument
2022-10-14T13:46:02.0049722Z [ERROR]   HttpServerUpgradeHandlerTest.skippedUpgrade:152 » IllegalArgument inboundHandl...
2022-10-14T13:46:02.0050504Z [ERROR]   HttpServerUpgradeHandlerTest.upgradeFail:196 » IllegalArgument inboundHandler ...
2022-10-14T13:46:02.0051368Z [ERROR]   HttpServerUpgradeHandlerTest.upgradesPipelineInSameMethodInvocation:71 » IllegalArgument
2022-10-14T13:46:02.0052689Z [ERROR]   WebSocketClientHandshaker00Test>WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBufferCodec:283->WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBuffer:348 » IllegalArgument
2022-10-14T13:46:02.0054261Z [ERROR]   WebSocketClientHandshaker07Test>WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBufferCodec:283->WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBuffer:348 » IllegalArgument
2022-10-14T13:46:02.0055824Z [ERROR]   WebSocketClientHandshaker08Test>WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBufferCodec:283->WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBuffer:348 » IllegalArgument
2022-10-14T13:46:02.0061593Z [ERROR]   WebSocketClientHandshaker13Test>WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBufferCodec:283->WebSocketClientHandshakerTest.testHttpResponseAndFrameInSameBuffer:348 » IllegalArgument
2022-10-14T13:46:02.0063037Z [ERROR]   WebSocketHandshakeHandOverTest.testClientHandshakeTimeout:136->createServerChannel:358->createServerChannel:365 » IllegalArgument
2022-10-14T13:46:02.0064036Z [ERROR]   WebSocketHandshakeHandOverTest.testClientHandshakerForceClose:240->createServerChannel:365 » IllegalArgument
2022-10-14T13:46:02.0064984Z [ERROR]   WebSocketHandshakeHandOverTest.testHandover:89->createServerChannel:358->createServerChannel:365 » IllegalArgument
2022-10-14T13:46:02.0066069Z [ERROR]   WebSocketHandshakeHandOverTest.testHandshakeFutureIsNotifiedOnChannelClose:205->createClientChannel:325->createClientChannel:340 » IllegalArgument
2022-10-14T13:46:02.0067047Z [ERROR]   WebSocketServerHandshaker13Test.testCloseReasonWithCodec:95 » IllegalArgument ...
2022-10-14T13:46:02.0068077Z [ERROR]   WebSocketServerProtocolHandlerTest.testCloseFrameSentWhenClientChannelClosedSilently:381->createClient:409 » IllegalArgument
2022-10-14T13:46:02.0069769Z [ERROR]   WebSocketServerProtocolHandlerTest.testCloseFrameSentWhenServerChannelClosedSilently:330->createClient:409 » IllegalArgument
2022-10-14T13:46:02.0071002Z [ERROR]   WebSocketServerProtocolHandlerTest.testExplicitCloseFrameSentWhenClientChannelClosed:356->createClient:409 » IllegalArgument
2022-10-14T13:46:02.0072174Z [ERROR]   WebSocketServerProtocolHandlerTest.testExplicitCloseFrameSentWhenServerChannelClosed:304->createClient:409 » IllegalArgument
2022-10-14T13:46:02.0072866Z [INFO]
2022-10-14T13:46:02.0073389Z [ERROR] Tests run: 2311, Failures: 1, Errors: 33, Skipped: 2

Oh well... I didn't think about this. So its not possible


Deleting unnessecary files

Files we create in the beginning can be deleted at the end, to make a better overview


Optimize some repo metastuff and prepare v1.9.0

Nothing too fancy. See commit messages.
btw, just noting that codecov doesn't work and that there are some discussions about this: https://github.com/codecov/codecov-action/issues/844
Also fixes #357

@HorlogeSkynet, I added a .readthedocs.yaml config file so that we can start building docs again.

Awewome, this will fix #357 I assume.

Awewome, this will fix #357 I assume.

Indeed. I mentioned that in the PR comment.

Also wik, we need additional maintainers in RTD.

LGTM, modulo my previous picky suggestions 👍

WDYM? I fixed all.

LGTM, modulo my previous picky suggestions 👍

WDYM? I fixed all.

Sorry my bad, there is just one little dangling suggestion for an empty newline in CHANGELOG :pray:


Adding alt-text tags to Create Compliance Charts - Numbers page (#70)

Related Issue
Add alt-text tags to Create Compliance Charts - Numbers page #70
Checklist:

[x] I have read the contributor's guide.
[x] I linked an issue in the previous section
[x] I have commented on the linked issue
[x] I was assigned the linked issue (not required)
[x] I have tested the change to the best of my ability against the sandbox or a local build.
[x] All my images have appropriate alt tags

Optional items:

[ ] My change adds new text and requires a change to translations.
[ ] I was not able to test... (explain below, e.g. you did not have permissions to test a specific feature)
[ ] This change depends O-FISH Realm repository changes (explain below)
[ ] This change depends O-FISH Web repository changes (explain below)

Optional: Add any explanations here

Optional: Add any relevant screenshots here

Congratulations! 🎉 🙌 🎆 ㊗
This PR is great and has been merged into the code. Thanks so much for contributing - we really appreciate your effort!


Asynchronous and parallel processing of tasks that analyze AST and output code

Currently, we are not able to process multiple threads without using tools like tokio.
https://github.com/MasatoDev/boostest/blob/main/crates/boostest/src/lib.rs#L244
    for (path_buf, file) in contents {
        let path = path_buf.as_path();

        println!(
            "target file: {}",
            format!("{}", path.to_string_lossy()).green()
        );

        let mut mock_loader = MockLoader::new(setting.name.clone());
        let allocator = oxc::allocator::Allocator::default();
        let parser = Parser::new(&allocator, &file, source_type);
        let mut program = parser.parse().program;

        // The following function is the task of ast analysis and code generation
        boostest_utils::load_mock(&mut mock_loader, &mut program, path, &setting.tsconfig);

        handle_main_task(&mut mock_loader, path, &out_file_name).expect("error main task");

        pb.inc(1);
    }

https://github.com/MasatoDev/boostest/tree/chore/benchmark
hyperfine --warmup 3 'pnpm --filter test boostest'

Benchmark 1: pnpm --filter test boostest
  Time (mean ± σ):     780.1 ms ±  85.9 ms    [User: 667.3 ms, System: 137.7 ms]
  Range (min … max):   700.6 ms … 966.8 ms    10 runs

I used rayon crates at least


Install fails

The install command fails. Probably because single code fences are used and killercoda is trying to concatenate both lines into a single command.
Try the three code-fence version:
# is just so it shows on GitHub markdown. Remove the hash.
#```
#command one
#command two
#```{{exec}}

Hey @agardnerIT!!
The command are correctly being copied to the terminal on the single click but the issue I am facing after that is:

Not able to run kubectl wait --for=condition=Available deployment/klc-controller-manager -n keptn-lifecycle-toolkit-system --timeout=120s. I think the command is taking more time to execute than the alloted time.

Due to some weird reason this git clone https://github.com/keptn-sandbox/lifecycle-toolkit-examples.git command is running on the terminal but unable to make the desired repo directory i.e lifecycle-toolkit-examples

what other errors do you see? Is cert manager installed first? Are the CRDs installed?

what other errors do you see? Is cert manager installed first? Are the CRDs installed?

I get this output from kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml:

Can you have a look at the bottom of the screenshot:
resource mapping not found for name: "klc-serving-cert" namespace: "keptn-lifecycle-toolkit-system" from "https://github.com/keptn/lifecycle-toolkit/releases/download/v0.5.0/manifest.yaml": no matches for kind "Certificate" in version "cert-manager.io/v1" ensure CRDs are installed first resource mapping not found for name: "klc-selfsigned-issuer" namespace: "keptn-lifecycle-toolkit-system" from "https://github.com/keptn/lifecycle-toolkit/releases/download/v0.5.0/manifest.yaml": no matches for kind "Issuer" in version "cert-manager.io/v1" ensure CRDs are installed first
Not sure if they are installed completely.

I was experiencing this behavior in the local system setup as well.

        The helm chart isn’t installing the crds. Raise an issue on klt GitHub and ask in slack for max visibility. I’ll investigate tomorrow.  ---- On Sun, 26 Mar 2023 22:59:50 +1000  Aayush<EMAIL_ADDRESS>wrote ----

I was experiencing this behavior in the local system setup as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I suggest using the newer helm-based install.
Initialising Kubernetes... done

controlplane $ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.26.1
Kustomize Version: v4.5.7
Server Version: v1.26.1
controlplane $ helm repo add klt https://charts.lifecycle.keptn.sh
"klt" has been added to your repositories
controlplane $ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "klt" chart repository
Update Complete. ⎈Happy Helming!⎈
controlplane $ helm upgrade --install keptn klt/klt -n keptn-lifecycle-toolkit-system --create-namespace --wait
Release "keptn" does not exist. Installing it now.
NAME: keptn
LAST DEPLOYED: Sun Mar 26 23:58:02 2023
NAMESPACE: keptn-lifecycle-toolkit-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
controlplane $ kubectl get ns
NAME                             STATUS   AGE
default                          Active   31d
keptn-lifecycle-toolkit-system   Active   64s
kube-node-lease                  Active   31d
kube-public                      Active   31d
kube-system                      Active   31d
local-path-storage               Active   31d
controlplane $ kubectl get pods -n keptn-lifecycle-toolkit-system
NAME                                              READY   STATUS    RESTARTS   AGE
keptn-klt-certificate-operator-7df8b6c495-zmbnk   1/1     Running   0          69s
keptn-klt-lifecycle-operator-54c75c6dcb-l6cqm     1/1     Running   0          69s
keptn-klt-metrics-operator-75db78b69f-c65mh       1/1     Running   0          69s
keptn-klt-scheduler-869f44f478-t7nx5              1/1     Running   0          69s
controlplane $

@agardnerIT closing this issue as resloved.


Readme update: add upstream instructions; move cloud9 down in the pecking order

I rule and have completed some work on Case Manager that's ready for review!
This pull request makes the following changes:

Adds remote upstream instructions (thanks @rekhers )
Demotes cloud9 in the readme order because of whoever screwed up the alias for the mongod command a few weeks ago

It relates to the following issue #s:

Fixes #338

@rekhers I'm going to merge in advance of the meeting tomorrow, but please let me know if you think this doesn't fix our concerns in #338. Thanks much for flagging this!


Edit Roundness

Hey,
I am a big fan of diagrams.net/draw.io.
When I edit a rectangle, I can edit the roundness manually, but not on the right side by reading and writing the SVG rx and ry values. Can you please allow editing the rx and ry values directly on the right in the Style tab?
Thanks 😊

Please describe in more detail what kind of rectangle are you thinking of. Is it a standard rectangle from the sidebar, a SVG rectangle or an imported one?


As a user I can update my privacy preferences

Is your feature request related to a problem? Please describe.
Related to https://github.com/camunda/camunda-modeler/issues/1543 I can update my privacy preferences via an entry in the menu.
Describe the solution you'd like

[x] A menu entry exists that opens the privacy consent screen with prior input
[x] Updating the screen changes my privacy preferences

Child of https://github.com/camunda/camunda-modeler/issues/1541

Closed via #1597 1597


Oak crashes sometimes

run-server.sh[208373]: error: Uncaught (in promise) Http: connection closed before message completed
run-server.sh[208373]:           for await (const requestEvent of httpConn) {
run-server.sh[208373]:                            ^
run-server.sh[208373]:     at unwrapOpResult (deno:core/core.js:99:13)
run-server.sh[208373]:     at async HttpConn.nextRequest (deno:runtime/js/40_http.js:33:23)
run-server.sh[208373]:     at async Object.next (deno:runtime/js/40_http.js:83:26)
run-server.sh[208373]:     at async serve (https://deno.land/x/oak@v7.3.0/http_server_native.ts:161:28)

Seems related to https://github.com/denoland/deno/pull/10384

The issue is addressed by temporarily compiling deno v1.9.2 cherry-picked with https://github.com/denoland/deno/pull/10384 on the production server for https://taproot.watch.

Issue fixed upstream in deno v1.13.3.


map rotates continuously

Hello again.
I try to use hokuyo laser.
In 2D all OK but in 3D the map rotates continuously clockwise, in steps of 10 degrees, without moving the laser.
Is it common problem? The IMU gives stable data.
Thank you

Are you trying to use a 2D LIDAR for 3D? That won't work unless it's a spinning LIDAR (e.g. Multisense SL). See the taurob_tracker.lua example for that sort of configuration.

Yes. I try to use 2D LIDAR for 3D.
I used the taurob_tracker.lua by removing the odom as long as i have no odometry.
Here is the bag

https://github.com/athtest800/cartographer/blob/master/cartographer_ros/launch/record.bag?raw=true.

Can you please check it? The map still rotates.

Is your 2D LIDAR axially rotating? Also, I'm skeptical about getting it to work without odometry.

Yes, it rotates axially like the .
I can not have odometry as it is handheld. Do you recommend to use visual odometry?
Have you checked the bag?

I'll have to give it a try next week. Maybe it will work? Will be interesting to find out :)

I had a look at the bag and determined that your IMU gyros are either significantly biased or otherwise not very good. You can improve the results by turning down the reliance on the gyros for scan matching:
TRAJECTORY_BUILDER_3D.ceres_scan_matcher.rotation_weight = 1

You may have to do the same thing for the global problem (see SPARSE_POSE_GRAPH.optimization_problem.rotation_weight) but the bag was too short to test this.


ISPN-2575 Key Transformer registration via config

https://issues.jboss.org/browse/ISPN-2575
Previously, this was done via SearchManagerImplementor.registerKeyTransformer. A very very bad idea, since the SearchManager needs to be up and running to be able to call this method,  but at the same time since it is running somebody (on a different cluster node maybe) might have already added/might be adding right now data to cache that uses a key type that I have not yet been able to register a transformer for it -> Kabooom!
SearchManagerImplementor.registerKeyTransformer is not going away, it will continue to be supported besides registration via indexing config, but with a big WARNING in javadocs.

This needs a new test in server to really make sure it works. I'm adding it right now, so for now it's marked 'preview', please do not integrate it yet.

This PR has been replaced by another, ignore it for now


Color picker in theme manager overlapping issue

The color picker in the theme manager has an overlapping issue, as seen in the screenshot. I would suggest an additional Percy snapshot, especially while this page's color picker is opened, to reduce the time for finding this kind of issue, which happened previously once more.
!Screen Shot 2023-06-05 at 12.45.44 PM.png|width=1023,height=824!

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-28108
[created from NEXT-28108, comment 497486]


Activate software opengl by default on maxwell nodes.

Since this cause a few support request already, this activates software openGL by default on maxwell when starting the gui on a non-display node.

I'll merge and deploy later today if there's no objection.

LGTM


Mouse clicking doesn't work after trying to close a tab using wheel click

Clicking mouse wheel on a not saved file blocks subsequent mouse clicks. You are shown a pop-up with warning that file was changed, but you can't click on the  buttons - Save, Cancel or Don't save. You also can not click on workspace, launcher buttons, etc. Only a keyboard is available, so you can close modal window via Esc press or Alt + F4.
Steps to Reproduce

Change any file - new or existing, but don't save it
Click on the file tab using a mouse wheel to close it
Modal window with warning about unsaved files appears
Try to click any button or another program window

Expected behavior: Mouse clicking should work - you can close the modal window or switch to another program
Actual behavior: Mouse clicking doesn't work
Reproduces how often: Always
Versions
Atom    : 1.19.0
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
Ubuntu 16.04 LTS 64-bit
**Additional information
If you close a tab by clicking on tab's cross, all is ok. The same is true for Ctrl + w combination.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/15197. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


[fix] Fixed #276

I'm a bit concerned about performance problems...
These should/could kick in only when the returned offsetParent is a TD or a TABLE, but still..

It fixed the positioning issue for me 👍
However the tooltip gets inserted into the parent <tr> element what causes some rendering issues with the table.

what do you mean "gets inserted"? Popper doesn't touches the position of the nodes in the DOM three

I'm sorry, I forgot that tooltip.js is a separate project. When using <td> as trigger the tooltip is appended to the parent <tr>. I don't know if I should file a bug report in tooltip. This being a special case concerning tables and requiring probably a dirty workaround maybe it's better to just force the container.

Tooltip.js should append the tooltip to the parentNode of the reference element. Please file an issue if you see a different behavior

That's what I was saying :) - there is no bug, it's appended correctly, although block element inside tr is a no go. This being a special case I will just force body as container.
Keep up the good work!


MRG: Enable interpolation for all fNIRS types

What does this implement/fix?
Enables interpolation on all fNIRS types using the new and more generic _validate_nirs_info function.

@agramfort @larsoner could you please review

thx @rob-luke


feat: save task responses that could not be sent because checkRespondToTaskFeeLimit did not pass to respond later

In the aggregator, when sending the aggregated response, it might occur that the gasPrice increases and the checkRespondToTaskFeeLimit does not pass. We should store those tasks and send the response after some time if the gas price has decreased.

This issue is more complicated, it should not only save the response for later, but either cancel the sent one with a new txs ore replace it with a future one, which can have the same problem.
This one should be made first
https://github.com/yetanotherco/aligned_layer/issues/1402


I have a problem when calendar view height = 0 at first.

I have implement calendar in to tableview cell. this cell will disappear at first (height = 0) but after I reload cell height to anything (e.g. 100) calendar view is expand like cell but cellView didn't expand.
How can I fixed?

wow.. i never imagined anyone would put this into a tableview cell.
Can you just provide a zipped sample code of what you did?  You can place it in this chat box

I have heard no response for 2 days. I will assume your issue was resolved. If this is still a problem for you, it can be re-opened.

@patchthecode Sorry for late reply. I already fixed with add ratio in cellView. I don't know why. but It's work.
:D Thanks.

I am always looking to improve this library.
Is there any change you can paste the ratio code here so that i can get an idea of what yo accomplished and what was trying to be solved?

I've got the same issue,
the calendar is inside UIView, under tableViewCell, when i pressed the fourth row from the static cell, the calendar cell which is row number three supposedly to display that will cover up the whole cell, but apparently it only displaying like the calendar uiview's is shrinking, even I've already constraint the ui view to 0 from top, leading, trailing, and bottom of the cell's container
this is the image when the calendar cell is displaying:

Solve already, thanks anyway, apparently its the constraint, quite confusing,

hmm. So in the end was it something wrong with the calendar? or.. ?


Spot Check: Gravity Force Lab Basics 1.0.0-rc.3

Previous RC: https://github.com/phetsims/QA/issues/438
@terracoda, @emily-phet, @jessegreenberg, gravity-force-lab-basics:1.0.0-rc.3 is ready for RC testing.
This is the third RC test. Nothing was found during last RC testing save potential issues with some MR patches that our release here has been interfering with. @KatieWoe please make sure that the appropriate patches for the MR being done and tested over in https://github.com/phetsims/QA/issues/432#issuecomment-542567431.
You already mentioned that in https://github.com/phetsims/QA/issues/438#issuecomment-542755889
I have been pretty far out of the loop in terms of the MRs, and only getting a list of patches to make sure to include in releases. Please forward questions about that behavior to @jonathanolson.
For the sim specific stuff, there really isn't any. Please just make sure that it isn't broken, especially when using a screen reader, and with mobile + VO.
@jessegreenberg feel free to recommend further testing if you feel like it is needed.
Folder:
https://phet-dev.colorado.edu/html/gravity-force-lab-basics/1.0.0-rc.3/phet/
Sim:
https://phet-dev.colorado.edu/html/gravity-force-lab-basics/1.0.0-rc.3/phet/gravity-force-lab-basics_all_phet.html
@ariel-phet please assign and prioritize.

[ ] Win 10 chrome (with and without Jaws)
[ ] Win 10 firefox (with and without NVDA)
[ ] Win 10 edge

[ ] Mac 10.15 chrome
[ ] Mac 10.15 firefox
[ ] Mac 10.15 safari (with and without VO)

[ ] Win 7 IE
[ ] Mac 10.11 safari

[ ] ChromeOS
[ ] iPadOS 13 (with and without VO)

@zepumph to approve test devices

Looks good to me, thanks!

QA is done

Thanks! We will work out https://github.com/phetsims/gravity-force-lab-basics/issues/185 and report back.


Differences in working of .text-break in browsers

Problem
When I added in a .row two .col and placed a long string of text without breaks in one (then added .text-break), I noticed the following features in browsers:

In Chrome it works normally;
In Firefox it breaks column on new line;
In Edge it doesn't work at all.

Link to the test case
Solution
None of the browsers interpret this feature properly: word-break: break-word !important; because Firefox and Edge considers the parameter like break-word incorrect.
But if change it to word-break: break-all !important; it works correctly.

The relevant code is scss/utilities/_text.scss#L65-L68. overflow-wrap only applies to inline elements, which .col isn't. If we want to properly support block elements, we'll need to use this:
.text-break {
  // for inline elements
  word-break: break-word !important; // IE & < Edge 18
  word-break: break-all !important;
  // for block elements
  overflow-wrap: break-word !important;
}

Since the initial message from OP, .text-break now also use overflow-wrap: break-word which fix some issues.
FYI, we have recently encountered problems with .text-break and words breaks, see #29325. .text-break may need to use word-wrap: break-word instead (WIP).
Here is a new reduced test case with Bootstrap 4.3.1:
https://codepen.io/florianlacreuse/pen/RwbgqpJ
For your issue, adding min-width: 0on the .col fix the overflow in Edge:
https://codepen.io/florianlacreuse/pen/YzKQRrv
Also, I don't think it's a good idea to use word-break: break-all but maybe I'm wrong.


Development and build dependencies are listed as install requirements of this project

For example, when running pip install docusign-esign==3.19.0, nose gets installed, too. As far as I can tell, nose is a development dependency used for testing, and is an unnecessary dependency for usage of this package. It seems like this is adding packages to user's environments that don't need to be installed.

Hi @spenserblack ,
Please check 5.0.0rc1 release.
The REQUIRES array has been updated along with this release.
Hopefully that addresses your issue.
Thank You.

Looks good! I gave nose as an example, but I don't know if setuptools should be listed as a dependency for end users, either.

@spenserblack can this issue be closed?


How to enable nested Hypervisor using pyvmoni?

I want to select the last one, which is pointed by a red arrow.
Of course I can set it by clicking the checkbox, but I must use code to finish this job , because I have 1000+ vm to be set.

Does anybody know how to do this?

I can't read what that option implies, so I am just taking a guess.
There are some CPU related flag in vim.vm.FlagInfo#virtualExecUsage/virtualMmuUsage.
from pyVmomi import vim
from pyVim.task import WaitForTask
...
config = vim.vm.ConfigSpec()
config.flags = vim.vm.FlagInfo()
config.flags.virtualExecUsage = vim.vm.FlagInfo.VirtualExecUsage.hvOn
config.flags.virtualMmuUsage = vim.vm.FlagInfo.VirtualMmuUsage.on
WaitForTask(vm.Reconfigure(config)) # vm is the virtual machine object you want to reconfigure.

@prziborowski  thanks, I will try later.
The option is "to use inter VT-x/AMD-V  to do order sets virtualization and use Intel EPT/AMD RVI to do MMU virtualization"

settings are set successfully，thanks

Reading the subject of this issue makes me think what you want is:
from pyVmomi import vim
from pyVim.task import WaitForTask
...
config = vim.vm.ConfigSpec()
config.nestedHVEnabled = True
WaitForTask(vm.Reconfigure(config)) # vm is the virtual machine object you want to reconfigure.

But I guess you should try it on one VM and make sure it is doing what you expect for the guest OS. Then try on the rest.

Thanks,
That help me too.


Mismatch between sample rate in preprocess and what librosa says

I am trying to use ParallelWaveGan with the v3 weights. https://drive.google.com/drive/folders/1a5Q2KiJfUQkVFo5Bd1IoYPVicJGnm7EL and in prepocessing the assert function fails because it says the sample rate is 16k but when opening with librosa it says it is 22.05k why is this happening?? If I comment the line and execute everything works but the output audio is like sped up (I guess that is normal).
This is the sample file:
https://drive.google.com/open?id=1M-Bv84EpEMTibMS-HumekhIcgE3TJ99k

Maybe your wav.scp file contains resample command with sox. Could you check it?

I can't find any wav.scp file anywhere

Could you share the code to reproduce your errors?

I didn't change anything in the code, I just followed cloned the repository and did the same thing is said in the how-to-use pretrain models section of the readme, using the weights and sample files I linked in the first comment.

Now I understand your problem.
Your wav file is not 22.05k.
$ soxi Ses01F_impro01_F000.wav

Input File     : 'Ses01F_impro01_F000.wav'
Channels       : 1
Sample Rate    : 16000
Precision      : 16-bit
Duration       : 00:00:01.95 = 31129 samples ~ 145.917 CDDA sectors
File Size      : 62.3k
Bit Rate       : 256k
Sample Encoding: 16-bit Signed Integer PCM

librosa.load loads wav file as 22.05k by default even if your wav file is 16k.


Implement statistics

Statistics definition: https://github.com/ironSource/parquetjs/blob/master/parquet.thrift#L204-L212
DataPageHeader: https://github.com/ironSource/parquetjs/blob/master/parquet.thrift#L342-L356
DataPageHeaderV2: https://github.com/ironSource/parquetjs/blob/master/parquet.thrift#L379-L405
ColumnMetaData: https://github.com/ironSource/parquetjs/blob/master/parquet.thrift#L472-L508
This allows min/max to been seen immediately for given pages/row, avoiding scanning data outside of the area of interest for the column.

Ideally his might require pushing the shredding operation further down the stack, ideally when we are writing pages for each column chunk.    Instead of pushing the fully shredded record on rowBuffer we could push a flattened record (i.e. de-nested) in the same order as the shredder would put them.
The encodeColumnChunk would receive the raw values and perform shredding of all records within each each page ( max/min can be easily accessed at this point and added to metadata for each row and each columnChunk).   This would also make splitting into pages way easier as we wouldn't have to reverse-engineer the rLevel and dLevel.
Thoughts?

Here is a quick WIP of pages - passes integration tests  https://github.com/ZJONSSON/parquetjs/commit/e643f7220a9f31cd97a0757b0dfdff8aa47c5138

Did a version of this library with support for statistics ever get out there?  Maybe a fork somewhere?  I'd like to have these available.

@dobesv ZJONSSON's fork has statistics implemented. parquetjs-lite https://github.com/ZJONSSON/parquetjs
I realize this post is quite old, but might be useful for others that stumble on it.


Update GCC dependency

It looks like you will need to update your tests that are not included in the repo.

thanks!

no problem. do you think you could bump the version and publish updated package to npm?

published as v2.1.5


Unknown __typename: "Event"

Searching for all threads searchForThreads returns events(?) as well, which is not modeled.
It should probably filter out those threads that are not mapped to a Python class (anything other than User, Group or Page)?
Unknown __typename: 'Event' in {'__typename': 'Event', 'url': '---', 'thread_key': None, 'is_viewer_friend': None, 'gender': None, 'all_participants': None, 'customization_info': None, 'is_group_thread': None, 'city': None, 'profile_picture': {'uri': '---'}, 'viewer_affinity': None, 'image': None, 'id': '---', 'first_name': None, 'last_name': None, 'category_type': None, 'name': '---'}

The message is just a warning, it already filters out anything that's not a User, Group or Page, so you can safely ignore it. It's nice that you informed us, though, because it may come in handy in the future, if we need to do something with it.


istio ambient layered authz design

Old doc: https://docs.google.com/document/d/1EDnk9cyji8GtpK7tF6czqiStd7UTujoIhhBUi1XYAQM/edit#heading=h.stll71jzvhaf
New doc: https://docs.google.com/document/d/1e7BFvBZL622YzgjDoaXC7MFOObu81vc44FO9VKx2AIo/edit#heading=h.4wl7fsia5onn
@louiscryan pls keep us updated in github as well.

Yup, first up is #49032 then Ill get this completed.


Feature request: add mistral and openrouter backends

OpenRouter seems really interesting! i havent' had a chance to play with it. but it should not be too hard to get it added as an other provider. I'm a little busy at the moment with work/life. Does anyone here want to take a stab at this?

added here - https://github.com/huynle/ogpt.nvim/pull/41/


[1.9.4][RFTDimensions] Client crash: java.lang.ArrayIndexOutOfBoundsException: -129718

client crashed when first entering a new dimension, server did not.
Crash Report: http://pastebin.com/cTafTSSa

Hmm that doesn't say much. What happens if you try to enter again? What about other dimensions?

Nothing happens, as for other dimensions I don't know yet my server crashed before I got around to make my void world dimension.

Same crash when creating a void dimension (digit dimlet 1 + void dimlet):
Crash Report: http://pastebin.com/wLErdUpS
Client Log: https://drive.google.com/open?id=0BxQWn9jKBIAJR3JiTEo5eUplSzQ
Server Log: https://drive.google.com/open?id=0BxQWn9jKBIAJanVTUUo4ZWtMQVE

I just made a couple of Dimension and the last one did not crash my client, looks like it's doesn't happen every time like I though:

Any news on this?

That's a really weird crash. Not sure what is going on. I'll try to investigate this

Just got it when entering a Dimension I had previously visited:
Crash Report: http://pastebin.com/GWmn88i3
Log: https://drive.google.com/open?id=0BxQWn9jKBIAJQ1dxS1l5RmVVcmM

Probably fixed in 1.10.2


does shell work on Xamarin.mac & UWP- this example doesn't have Xamarin.mac or UWP example

does shell work on Xamarin.mac & UWP- this example doesn't have Xamarin.mac or UWP example

As it's currently stated in the official documentation
https://docs.microsoft.com/es-es/xamarin/xamarin-forms/app-fundamentals/shell
Android & iOS seem to be the ones supported.


Authorize user after authentication

I have system that does not connect user directly to roles. User can have multiple employments and in each employment unit he has different roles.
Now it is easy in UserDetailsService to specify user authorities if they were connected directly to user.
What I have tried is to manipulate reference of authentication.getPrincipal() in TokenEnhancer by loading roles from database according to selected employment and using setter of my principal object to set them. But this does not work.
Any other ideas that would work?

Hi @criticalbh  It's not recommended to change the state of the Authentication after it's been authenticated by the AuthenticationProvider. Ideally you would set the user authorities  for the Authentication in your UserDetailsService.
I'm not sure I understand your scenario completely. Can you provide more details or even a github sample?
Can you clarify the following for me...

loading roles from database according to selected employment

What do you mean selected employment and what scenario does this occur in?

Hi @jgrandja, thanks for Your reply.
My domain model looks like this:
User implements UserDetails
-id
-name
-list of [employments]
Employment
-id
-name
-institutionId
-set of [roles]
Now as you have said in UserDetailsService is simple to set user authorities under assumption that User has set of roles. But in my case User has list of employments, where each employment can have own set of roles.
Scenario is following:
User enters username, password and gets prompted with list of employments. Once he click on one of employments I would like to give him authorisation only for selected employment. In that case I am enhancing token with selected employment, so that token is valid only for that selection (and with this I can handle business logic). Also during this enhancement I am trying to load authorities for selected employment and set it in principal, so on next request spring will know that this user has certain roles.
Code:
UserDetailsService

    @Override
    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
        return userRepository
                .findByName(username)
                .map(user -> user)
        .orElseThrow(() -> new UsernameNotFoundException(String.format("Users %s does not exist!", username)));
    }

TokenEnhancer
 @Override
    public OAuth2AccessToken enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication) {
        User user = (User) authentication.getPrincipal();
        final Map<String, Object> additionalInfo = new HashMap<>();

        List<Long> employmentIds = employmentDao.findEmploymentIdsByUser(user.getUsername());
        additionalInfo.put(EMPLOYMENTID, employmentIds.size() > 1 ? null : employmentIds.get(0));

        for (String key : this.additionalInfo.keySet()) {
            Object obj = this.additionalInfo.get(key);
            if (key.equalsIgnoreCase(EMPLOYMENTID) && obj != null && !employmentIds.contains(obj)) {
                throw new RuntimeException("Invalid employment");
            }
            additionalInfo.put(key, obj);
        }

        if (additionalInfo.get(EMPLOYMENTID) != null) {
            Employment employment = user.getEmployment((long)additionalInfo.get(EMPLOYMENTID));
            user.setAuthorities(employment.getRoles()); **this here is issue**
                        List<String> roles = employment.getRoles().stream().map(Role::getName).collect(Collectors.toList());
            additionalInfo.put(ROLES, roles);
        }

        ((DefaultOAuth2AccessToken) accessToken).setAdditionalInformation(additionalInfo);
        return accessToken;
    }

During debug I saw that authorithies is RandomAccessUnmodifiableList, so is there any way to hack this or even better, to make it work "legally".
I have idea to just store roles in token, but in that case I will have to create own custom authorisation mechanism, but I would like to use annotations provided by spring security.
Thanks in advance.

Dynamically changing the authorities in the Authentication for the current  SecurityContext (dependent on the selected/current employment) may have adverse affects even if you can make this work. I personally wouldn't recommend this approach. I'm wondering if there is an easier way for you to implement your overall solution?
Either way, at first thought I'm thinking you can implement your authorization scenario using a custom AccessDecisionManager and/or  AccessDecisionVoter. However, this gets you deep into the Spring Security internals and can be complicated as well. But it is the main extension point for authorization decisions.
If your UserDetailsService populates your User with a Map<Employment, List<Roles>>, as per your model, then your Authentication will have all the authorities per employment loaded for that user for the session. Then  you can use this information when making an access decision based on your custom AccessDecisionManager and/or  AccessDecisionVoter.
NOTE: Both AccessDecisionManager and/or  AccessDecisionVoter expose the current request and response.

Thank you very much, that way it is possible to create "real time" authorisations.
Two detailed helpful links:
https://spring.io/blog/2009/01/03/spring-security-customization-part-2-adjusting-secured-session-in-real-time
and
http://docs.spring.io/spring-security/site/docs/current/reference/html/authz-arch.html

You're welcome.
The 1st link is definitely a good one and should help you set this up.
I'd recommend you to read the Authorization Architecture (2nd link) first to gain a deeper understanding on how Spring Security enforces authorization decisions.
Good luck!


Realm stops processing my code without crashes the app

Realm stops processing my code without crashes the appFor some reason when I call let realm = Realm() it stops processing (doesn't crash)  my code. My app is still running, but the screen keep frozen.
When I try to open default.realm using realm browser app, it shows me:

Again, it doesn't crash my app. It is a kind of pause.

No braekepoints
I've already tried: cocoapods and xcode install
I've already tried run on simulator and device (iPad)
App already deleted
Project cleaned up
Derived data cleaned up

It appears that realm initialization is failing. Could you share a project that reproduces the issue so we can investigate? Thanks!

@segiddins how can I share to you this project? Its a restricted project. Can I give you read permission in the repo?

@klevison emailing a zip to<EMAIL_ADDRESS>would be awesome, thanks!

The code in question was deadlocking because when Realm attempts to build up the model schema, it creates an instance of your Swift objects, but one of them had a Realm property, and therefore the Realm is attempted to be again reinitialized, causing this deadlock.
This could be avoided by making the following change:
class MyModel: Object {
   ... // properties
   let realmProperty = Realm()
}

// change this to a computed property:

class MyModel: Object {
   ... // properties
   var realmProperty: Realm { return Realm() }
}

@jpsim @segiddins thank you guys. Amazing job and support.


Should we support converting to Replica Sets?

Since we discourage people from using Replica Sets directly (instead they should use Deployments), how about removing the support for converting to RS? On the other hand, converting to Replication Controllers makes sense for people haven't adopted Deployments.

I was also thinking about this and I agree completely, we should discourage people from using Replica Sets directly.

Or can we have it on k8s's version ? Like for k8s 1.2 we support Deployments by default and for before we use replication controllers. Or introduce some kinda flag?

@surajssd That will add unnecessary complications to the code base. Since kompose is new upcoming tool, I wonder if it makes sense to support features that are being actively discouraged/deprecated.
:+1:  @janetkuo with this suggestion.

+1 @janetkuo


Develop

Coverage decreased (-0.02%) to 81.6% when pulling 1bb47980fc719a2fba4ee04b879100ac6b93fc04 on develop into 1ec38d157e1f3f8c6e3fe0619e8d1f200c68a40d on qa.


DX: bump PHPUnit to v9, PHPUnit bridge to v6 and Prophecy-PHPUnit to v2

Coverage remained the same at 93.042% when pulling 3400d057a775986d6e5ad32741fe4f8b259806a5 on keradus:depsssss into e67580b5cf1664b0e80cc313e556b9a2cb26491b on FriendsOfPHP:master.


Search result tabbling in mobile view - tab focus gets lost after the final search result

Steps to re-create

Make sure you have mobile view.

Click the grey banner Table of contents

Enter a search term.

Tab through the results.

When you reach the final result and press tab, it should go to the browsers URL window.

However, the tab focus goes to the close TOC button - which is hidden behind then current DIV.
So to the user it looks like the tab focus is lost.

If you press tab again - then it does go to the browser URL.

Sorry wrong - repo!


misc:vfr not working in v0.24

precondition

hyprland v > 0.23
hyprctl getoption misc:vfr reports 1

str

hyprctl keyword debug:overlay 1
or check Hyprland process load in i.e htop
do nothing

exp

fps < 10
load < 1%

act

fps ~60
load > 1%

This happened just after package upgrade to v0.24.0 on arch. First i thought it might be related to mesa and wayland upgrades, cause all updated at once, but just downgrading hyprland to v0.23.0beta confirmed this behavior.
Let me know what hard/software info do you need, cause since this issue hasn't been reported i assume it's related to my machine

https://user-images.githubusercontent.com/43317083/230786196-9f291af0-92bf-4094-bcb7-f19404e791a2.mp4
3ade6c4a9635a035ea243eab780e53d60e6897c3

https://github.com/hyprwm/Hyprland/commit/3ade6c4a9635a035ea243eab780e53d60e6897c3

actually, cpu usage per core bumped up to 30%. downgrading back to v0.23 with both xdpw upgraded/or not. (not sure this is related)
again, maybe u need some additional dumps? casue i'm not in clue what exactly could cause it

disable overlay, it will now schedule repaints

confirmed: fixed

Life lesson: never say I am wrong, because I am never wrong.

never said that KEKW


[Elasticc] upload v2.1

The most recent elasticc training set (v2.1) is available, and should be exposed in the data transfer service.

Done in #520


Load mock-interactions.js and mock-touch-interactions.js before webcomponents.js

Fixes #37

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[Bug]: Jenkins build error for OSD distribution [No messages found for build-and-test-linux-arm64-tar]

Describe the bug
Build error:
https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch-dashboards/detail/distribution-build-opensearch-dashboards/5082/pipeline
To reproduce
N/A
Expected behavior
No response
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response

[Triage] Fix the OSD Jenkinsfile, but adding proper post method lib.jenkins.Messages to each stage.

Dashboard build is stable now https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/5188/consoleFull for 2.5.0.


Update supported framework runtime to include .NET 4.6

When Visual Studio 2015 CTP is installed .NET 4.5.1 is upgraded to .NET 4.5.3 (4.6) this causes the package not to install even on Visual Studio 2013.

Sorry for late response, - I am on vacation this week, and can't repro until back.  However, I've checked this one, and it is a known bug in CTP5, and will be resolved in CTP6.  The .net framework is still 4.5.3, which is within range of the 4.5 specification.  The 4.6 preview is still just a name.  The workaround you suggest, setting it to Max 4.6 will work around the issue, but I see the maxversion attribute is optional, does it work if you just remove that attribute ?

No problem. It does work if you remove the maxversion attribute altogether.

Is the SupportedFrameworkRuntimeEdition a required element? If not, then
the presence of the correct VS editions may be sufficient check.
On Thu, Feb 19, 2015 at 5:51 AM, Mike Cooper<EMAIL_ADDRESS>wrote:

No problem. It does work if you remove the maxversion attribute altogether.
—
Reply to this email directly or view it on GitHub
https://github.com/nunit/nunit-vs-adapter/pull/60#issuecomment-75054552.

As far as I can see it is required.  So, since Mike confirms it works without the maxversion attribute  it would be nice if  you (Mike) could do that change in a new commit here, and then we merge it in.
That said:  We use the VSIX Version 1.0, and not the latest Version 2.0.  I never saw any real good reason to update that, but perhaps we should consider that.  All New VS Versions will read the 1.0 format, but Things like this better specified in 2.0.
The statement then would be like:

This is the new Version specifier for 2.0, which says 4.5 and upwards.

That should take care of it!

I'll be back from vacation on monday, will build and upload a new preview binary version then.

CTP 6 is out now, http://www.visualstudio.com/downloads/visual-studio-2015-ctp-vs


Warning Critical dependency: the request of a dependency is an expression

The utility is throwing these warnings:
WARNING in<EMAIL_ADDRESS>5560:15-36 Critical dependency: the request of a dependency is an expression
WARNING in<EMAIL_ADDRESS>5572:15-102 Critical dependency: the request of a dependency is an expression

This should be now fixed!


Services Containers nixed

Summary

Categories: cicd

Containers for all services using a combination of Nix and Docker.
ENG-480, ENG-482 & ENG-483

Changelog

Docker files for each service grouped in folders
Updates to flake.nix creating build shells to workaround issue with vendor dependencies building

Testing
Manual test of generating each image would be required, some do take long enough for a short nap.

Outstanding issues
As mentioned, there is a workaround here, which works and actually produces some small images which will need to be fixed at some point.

Just comment out or if: false the container workflow. It is being worked on here: https://github.com/movementlabsxyz/movement/pull/93.


pysolr Tests

Overview

Import pysolr tests from internal repo.
Upgrade tests with namespacing for concurrency issues.
Add solr workflow to GHA

Interesting notes to be aware of:

All our solr tests require a core (collection) to already exist.
Github Actions does not support the command functionality of docker run, preventing our original usage of the official solr container on docker hub as it does not have any means to initialize a core at startup without a command.
bitnami/solr provides this through an environment variable but is a much larger image size. It's apache licensed and available here https://github.com/bitnami/bitnami-docker-solr


Create Apps Tutorial

-Create Tutorial with Spotlight
-Use @AppStorage so the user only see the tutorial Once
-Need more research

Done
-Creating spotlight tutorial as custom modifier
-The spotlight tutorial only called inside Home Page
-Store the cache with @AppStorage