WslRegisterDistribution failed with error: 0x80370114 & Hyper-V Host Compute Service (vmcompute) cannot be started

Version
19044.1706
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
ubuntu20.04
Other Software
No response
Repro Steps
install wsl on windows
Expected Behavior
work well
Actual Behavior
After I execute
wsl --install -d ubuntu
and it shows ubuntu window, then shows
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 ??????????????????
And then:
I follow these link's steps:
https://answers.microsoft.com/en-us/insider/forum/all/wsl-2-installing-linux-failed-error-code/bae391d1-4215-4d93-b0c4-3d96404a7c74
and run "net start vmcompute", but the shell  then shows:
"The service name is invalid. Type NET HELPMSG 2185 for more help。" How should I solve it? thank you very much!
Diagnostic Logs
No response

I am facing almost exactly the same issue.
Microsoft Windows 11 [Version 10.0.22000.675]
wsl --status
Default Version: 2
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.33
MSRDC version: 1.2.2924
Direct3D version: 1.601.0

I have been running normally Debian and Ubuntu in WSL for a few months now.
Both working just fine for a long time.
But since a few days ago, I could not start any distro.
The service vmcompute can not be started, with the following 2 errors in the event viewer log:
The Host Compute Service failed to start:  The request is not supported.  (0x80070032)
The Hyper-V Host Compute Service service terminated with the following error:  The request is not supported.

I have tried everything I came across as a solution, but I could not figure out the problem.
So I have uninstalled everything WSL related, deleted all the distros, disabled Hyper-V, Virtual Machine Platform, Windows Subsystem for Linux from Windows Features, and reenabled them, uninstalled and reinstalled WSL, rebooted several times and tried to reinstall WSL and Debian.
Configured CFG for vmcompute in Exploit Protection.
And done everything I had done the last time.
But vmcompute does not start, and installation fails with 0x80370114.
Any ideas?
Thanks in advance

/logs

Hello! Could you please provide more logs to help us better diagnose your issue?
To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
[Click here](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recomme
Thank you!

my log files are here:
WslLogs-2022-05-25_23-24-36.zip

Thank you @nacayu .
Did you start wsl.exe while the log collection was running ? I'm not seeing anything in the logs

Thanks @nacayu.
Based on the output it looks like you don't have any distribution, so this error is expected.
Can you run the log collection while you're trying to install a distribution and share the result ?

@OneBlue Hello, I have already installed a distribution Ubuntu18.04, but when I start ubuntu shell, It shows:
`Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 ??????????????????
Press any key to continue...
`
I have tried to follow many solutions, but finally when I tried to run "net start vmcompute", I met above questions.

Thanks @nacayu. I'm wondering if the issue is that virtualization isn't enabled for your machine.
Can you share the output of: Get-ComputerInfo -property "HyperV*" in an elevated powershell ?

sb get help ,i m  same question

I have the same issue. I have tried every solution suggested for this issue both here and elsewhere...nothing works. I spent a full day trying to fix this and still continue to hit the exact same issue.

Oh wow... finally figured it out. All the solutions were saying unchecking override system for Control Flow Guard for the specific app in Exploit Protection worked for them... but for me this box was not checked. For me, the issue was that Control Flow Guard was set to Off in Exploit Protection>System Settings (not Program Settings override as seemed to be the issue for others). Changing CFG in System Settings to Use default (On) FINALLY fixed it.

I have no idea how to fix this error I tried everything and I still got WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 The operation could not be started because a required feature is not installed. Please Help!

I had this error.  The solution was that in 'Turn Windows features on or off' I had Hyper-V as the top level button ticked, but I also needed to tick Hyper-V -> Hyper-V Platform -> Hyper-V Hypervisor and also Hyper-V Services.  That asked me to reboot and then WSL worked.
(I'm running Windows inside a KVM virtual machine and that makes things a little janky, especially at reboot time where I often get dumped into the recovery menu, but when successfully rebooted WSL does work)

Hello there, so I've done your steps by enabling Hyper-V (all functions) and also enabled the virtual machine option. Thank you so much man!! Your a lifesaver.

I fix it enabling hyper-v, VM Plataform and wsl in window features

Enabling hyper-v fixed it for me too - the instructions listed in the comment above. This took me hours to find, I hope someone else has better luck than me.

Version
19044.1706
WSL Version

[x]  WSL 2
[ ]  WSL 1

Kernel Version
No response
Distro Version
ubuntu20.04
Other Software
No response
Repro Steps
install wsl on windows
Expected Behavior
work well
Actual Behavior
After I execute wsl --install -d ubuntu and it shows ubuntu window, then shows WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 ?????????????????? And then: I follow these link's steps: https://answers.microsoft.com/en-us/insider/forum/all/wsl-2-installing-linux-failed-error-code/bae391d1-4215-4d93-b0c4-3d96404a7c74 and run "net start vmcompute", but the shell then shows: "The service name is invalid. Type NET HELPMSG 2185 for more help。" How should I solve it? thank you very much!
Diagnostic Logs
No response

Hei,
Had the same problem.
went on "Turn Windows Features on or off" -> checked: "Virtual Machine Platform", "Windows Hypervisor" and "windows subsystem for Linux". Also i went in my Bios and turned on VT-d if this is possible for you.
Then i went in powershell wrote code:
wsl.exe --install Ubuntu
Works for me now, hope it helps.
Kind regards,
Martin

I had the same error code :  0x80370114
My problem was not due to Hyper-V or a virtual machine installation issue.
The error was due to WSL version mismatch !
My default wsl version was set to '2'. After changing it to wsl-1, the problem was resolved.
To check the current version of wsl :
wsl --status
To set the default version to '1' :
wsl --set-default-version 1

It turned out to be the VT-d bios issue . Thanks @Martinvik and others for the help.

I had the same error code : 0x80370114 My problem was not due to Hyper-V or a virtual machine installation issue.
The error was due to WSL version mismatch ! My default wsl version was set to '2'. After changing it to wsl-1, the problem was resolved.
To check the current version of wsl : wsl --status
To set the default version to '1' : wsl --set-default-version 1

The only thing that worked for me. Thanks, a lot.

I had the same error code : 0x80370114 My problem was not due to Hyper-V or a virtual machine installation issue.
The error was due to WSL version mismatch ! My default wsl version was set to '2'. After changing it to wsl-1, the problem was resolved.
To check the current version of wsl : wsl --status
To set the default version to '1' : wsl --set-default-version 1

Thank you so much, you're a life saver!

same issue. the following does help however i need to use WSL2 to be able to mount a VHD drive
please, assist

I had the same error code : 0x80370114 My problem was not due to Hyper-V or a virtual machine installation issue.
The error was due to WSL version mismatch ! My default wsl version was set to '2'. After changing it to wsl-1, the problem was resolved.
To check the current version of wsl : wsl --status
To set the default version to '1' : wsl --set-default-version 1

I had the same error code : 0x80370114 My problem was not due to Hyper-V or a virtual machine installation issue.
The error was due to WSL version mismatch ! My default wsl version was set to '2'. After changing it to wsl-1, the problem was resolved.
To check the current version of wsl : wsl --status
To set the default version to '1' : wsl --set-default-version 1

thank you,i get help

https://stackoverflow.com/questions/77142368/wslregisterdistribution-failed-with-error-0x80370114-mojolang

win10, wsl2, when installing ubuntu22.04, the error message as below:
"WslRegisterDistribution failed with error: 0x80370114"

when run net start vmcompute, show system error 1058
My solution:
open cmd

sc qc vmcompute //  START_TYPE is DISABLED
sc config vmcompute start= auto // change to auto
net start vmcompute // Done!


Tentative fix for issue #53

This passed all tests.

Seems to work! I can't guarantee that this functionality will stick around in future versions though.


New Spanish Translation

Hello, I've completed the spanish translation.
BCU Localization +es.zip

Looks good, thank you for the update!


trollius 1.0.4 -> 2.1

Also restricts the set of supported Python versions to the list as supplied on trollius' homepage.
See #29208
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I tried doing a nox review with the patch from this PR applied, and other stuff broke (aiodns was the first package that failed to build). Since this is a band-aid, maybe just fixing the old version would be better in the interim and getting rid of it as soon as packages dependent on trollius are updated. Here's my PR: https://github.com/NixOS/nixpkgs/pull/29444 that fixes the old version.

@disassembler I'm fine either way; I'm not particularly attached to my work, it was just something I started during the NixOS sprint in Amsterdam last week that I wanted to finish rather than throw away.

Since @disassembler 's PR request has long been accepted I'm closing this.


type-o?

In svd.h, this line:
float rho2 = dist2(b12,b22,b23);
looks like it should be
float rho2 = dist2(b12,b22,b32);

Oops! I think you are right. I just pushed a fix. Thanks for your sharp eyes!


Added drop statement and improved create statement

Thanks for the contribution @nibrag. Would you mind adding some documentation for create/drop table as there is currently no documentation?
Aside from that the code looks good.

Coverage decreased (-0.03%) to 98.173% when pulling 3e85691506ccf69bfed949bc1eb17540ed213b90 on nibrag:drop-statement into 8a398afb7d1e29e5191f2d7f801fc4fa59fb7d8a on kayak:master.

@mikeengland Added


I think chunk_size is missed in src/elevenlabs/text_to_speech/client.py line 731

I think chunk_size is missed in src/elevenlabs/text_to_speech/client.py line 731.
Because of this missing, the noise is occured.

@pilkyu95 we'll be releasing a fix for this next week


Refactor citation link in README.rst

Description
Fix #503 to the link of the citations file.
Please remove options that are irrelevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have read the contributing guidelines
[ ] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

Also fixing #496.


Implement Deref<Target = archetype::IdentifierRef> for archetype::Identifier.

Similar to how Vec<T> implements Deref<Target = [T]>, an implementation on Deref may be beneficial. archetype::Identifier and archetype::IdentifierRef have the same relationship as Vec<T> and [T], or String and str, and the same benefits would result. Rather than having a bunch of duplicate methods, the methods could just be implemented on archetype::IdentifierRef.
See also the Collections are smart pointers article in Rust Design Patterns. In this case, archetype::Identifier is a collection of set components.

I'm not sure if this is actually possible given the way IdentifierRefs are currently implemented. Other collection pointers are implemented as unsized types, which is not the case for IdentifierRef. Furthermore, defining it as an unsized type isn't ideal either, since we would just have to start storing raw pointers to it, because storing the reference to an archetype is central to the internal entity index.
For now, I'm going to leave this one alone. It doesn't affect any external APIs, and the only downside of the current system is that some methods are currently repeated on Identifier and IdentifierRef.


Unable to read data in read characteristics

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[x] iOS
[ ] Android
[ ] UWP
[ ] .NET Standard

Version of Library
6.2.6
Version of OS(s) listed above with issue
iOS 11.0
Steps to Reproduce

In the attached sample Write the data to the Bluetooth device
After writing data to write characteristic, I can't able to read data
Read data not updated

Expected Behavior
Should able to read data in read characteristic
Actual Behavior
data not found in read characteristic
testsample.zip

Ok - that's enough!  I've answered this question on your forum post.    You aren't even reading data - you are requesting notifications.  Do it before your write!!


Feature/phantom UI

I merged and resolved conflicts from master and made small changes to the readme. I think it's probably overkill to have two full code samples for React UI and Material UI with the code being so similar, so I just kept your React UI sample. Perhaps we could just move the Material UI and Ant Design versions of the setup code to the readme files for those packages, and at the top of the root readme, just show a single image with 3 columns with each of the wallet modals side by side.
At a glance, the new components look really good. I'm a little concerned about how much padding is on them though. Try scrolling over the expanded list of wallets, for example -- they feel far enough apart that there's a lot of mouse travel just to get to one of them. The length of the list also seems like it might have a tough time fitting on a phone.
You might have some ideas about this, and I don't think it's anything we should hold up the PR over, but that's just my initial sense of it. I'll do the actual review of the react-ui and react-ui-starter packages tomorrow. I did notice this z-index issue when building the example:

Anyway, great work. I'm excited to review and merge this.

I can take a look at the mobile styles tomorrow. I forgot to include any mocks in Figma. My bad!

we could just move the Material UI and Ant Design versions of the setup code to the readme files for those packages, and at the top of the root readme, just show a single image with 3 columns with each of the wallet modals side by side.

I think we could also provide clearly visible links to the other repos - so that if people use those packages they will be easily accessible.
If we make the new components the default package I will take a harder look today / tomorrow at a11y and maybe styling the notifications in the example a bit.
Also, I will fix the ui issues after a check with @chriskalani

As an add-on, I will propose a PR to replace notistack with react-hot-toast as notistack has material-ui as a dep :)

As an add-on, I will propose a PR to replace notistack with react-hot-toast as notistack has material-ui as a dep :)

In the react-ui-starter package? I'm thinking for the Demo we should probably start to think about splitting it up by UI framework and add a select list or some navigation to view them, rather than put them all together on one page. Then each can use whatever notification system that fits.

I agree, that would be a cleaner solution.
Would you then get rid of starter packages and display all of them in one demo or keep the starters too?

I'm wondering if the starter packages will become a trap to maintain here. They don't really have anything in them, and realistically if you are already going to use React/Material-UI/Angular/whatever, you probably have a project going before adding this lib.
We don't necessarily have to get rid of them, but maybe we should work on better defining what they are for?

Hey @jordansexton
Made some changes:

Modified readme to include the different component next to each other, added props passable to modal provider, links to material-ui and antd repos
Fixed ui issues
Added mobile styles
Improved a11y by adding focus trap to modal an focusable buttons (users can navigate with tab)

Please take a look and let me know what you think.
I am all for moving the other examples (installation, usage, etc.) to material-ui and antd repos.
One thing I'd like to add tomorrow is that notification library replacement, so that there are no peer dependencies (for example, on material-ui).

Forgot to comment here:

I'm wondering if the starter packages will become a trap to maintain here

I would probably consolidate the example in one place (e.g. only leave example) and allow to change between components with some sort of navigation :)
I think it will become a maintenance drag otherwise.
One thing that I think could be an improvement is sharing the business logic (for example in send transaction or connect) and only importing pure ui components to display for different ui (no) frameworks - that's for another PR though ;)

Nice work!

Looks great!!


Display the post publication date after 7 days

In the program source, if the post made by the user exceeds the interval of one month, the program only displays the number of months that have passed, but in my opinion, displaying the date after 7 days like 19/05/2023 from the publication of the post is more acceptable, because the number of days or months is not important. The publication date is important

I'd be fine with that


ObjectDiffPatch.PatchObject: Create non generic overload option to provide destination type.

I needed a non generic way to provide the destination type.
The problem I encounter was when I loaded something from NHibernate like this:
object persitenceEntity = session.Get(persitenceType, id);
persitenceEntity = ObjectDiffPatch.PatchObject(persitenceEntity, diff.NewValues);

The issue is that now the generic type is object and it will return a JObject instead of the desired target type which would be the real type of the persitenceEntity(you can easily reproduce this yourself).
Btw. you could also consider changing the original overload to if you accept the pull request, maybe thats cleaner.
public static T PatchObject<T> (T source, JObject diffJson) where T : class
{
    return (T)PatchObject(source, diffJson, typeof(T));
}

Sounds good! thanks


Train.py loss incorrectly calculated

train.py has  # Compute loss
loss = criterion(predictions[:, :, 1:, :, :], gt[:, :, 1:, :, :])
this was originally used in the burgers demo to skip the reynolds number. However when you are making the prediction for EM you will not include Temperature.

Feel free to make any necessary changes since you added the file Jack. There should be no breaking changes on my end.
I have not used any functionalities provided by this module.

It depends if we want to create separate training logic for the application at hand or just require to users to create their own training function?

This is fixed and documented in train_model.py


Custom mapping field for Packed Order CSV

As per the client requirement:
There is a need for a new field that will the concatenation of these previous fields.
New_Field: State + City.
This sample csv and exel sheet is provided by the client for mapping.
sample_data_for_sagawa.csv
https://docs.google.com/spreadsheets/d/1fgakt8NOyGbAd4YRkpFQqistwu-EESFgP7f5Xzj19xI/edit?usp=sharing

Verified and working fine in release v2.5.0. Hence, closing it.


Per-project file/folder associations

Is it possible to get per-project associations? VS Code makes it easy with its settings structure but in Android Studio and other related IDEs? Even if it would require manual editing of XML settings files... I often have specific needs in different projects that I don't want to pollute a global settings table with, or can even contradict each other in different projects.

I have it in mind, it will come in a future release, but I don't know when.

Yep, that's why I said that something as simple as an .atom_icons source file, if present, with a somewhat documented XML format (could be as simple as a single example file) could be just as good. All your users are programmers, by definition, after all.. :-)

Yes but you'd still need to create the PersistentStateComponent either way.
Anyway if you want to tackle this, be my guest, I am already in the middle of another feature and I don't have a lot of time for side-projects...


Can I only setup Z-Wave (and not MQTT and Gateway)?

Hi,
I'm using Node-RED with node-red-contrib-homekit-bridged palette to control my non-officials HomeKit devices.
I'm planning to communicate with my Z-Wave devices using the node-red-contrib-openzwave-am palette.
Now, I'm searching for a nice way to configure my Z-Wave devices and network  (and only that).
I found Zwave2Mqtt and after successful installation, I'm trying to apply my Z-Wave settings.
But it won't allow me to proceed because "my configuration contains errors".
I guess that's because it wants me to configure both the MQTT and Gateway (I see required fields).
Can I only setup Z-Wave (and not MQTT and Gateway)?
Thanks for your input.

Just fill all mqtt options with dummy values. If the broker doesn't exists it will never publish any value but all zwave stuff will still work


oo much request weight used; current limit is 1200 request weight per 1 MINUTE

Would be a good idea, to add a request limiter to avoid errors.
The most simple is just to add a parameter request_delay
binance.exceptions.BinanceAPIException: APIError(code=-1003): Too much request weight used; current limit is 1200 request weight per 1 MINUTE. Please use the websocket for live updates to avoid polling the API.

As a workaround, I limit the number of pairs I request in parallel. Just don't pass a list of more than 2 or 3 pairs at a time.


Change context.workspace to context.projectsConfigurations

Current Behavior
@nxkit/style-dictionary no longer runs with NX v20, throwing this error:
TypeError: Cannot read properties of undefined (reading 'projects')
    at normalizeOptions (/opt/atlassian/pipelines/agent/build/node_modules/@nxkit/style-dictionary/src/executors/build/lib/normalize-options.js:7:45)
    at /opt/atlassian/pipelines/agent/build/node_modules/@nxkit/style-dictionary/src/executors/build/executor.js:13:76
    at Generator.next (<anonymous>)
    at /opt/atlassian/pipelines/agent/build/node_modules/tslib/tslib.js:170:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/opt/atlassian/pipelines/agent/build/node_modules/tslib/tslib.js:166:16)
    at buildExecutor (/opt/atlassian/pipelines/agent/build/node_modules/@nxkit/style-dictionary/src/executors/build/executor.js:12:20)
    at runExecutorInternal (/opt/atlassian/pipelines/agent/build/node_modules/nx/src/command-line/run/run.js:98:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /opt/atlassian/pipelines/agent/build/node_modules/nx/src/command-line/run/run.js:176:44

Expected Behavior
No error is thrown and the plugin works.
Related Issue(s)

Caused by https://github.com/nrwl/nx/issues/28461, workspace no longer exists in ExecutorContext.
The alternative, projectsConfigurations has been available since NX v16, so we can use that.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

@sebastiandg7 I am not sure why the CI failed, any ideas?

Hey @Ionaru, thanks for reporting. I'll take a look today.

@sebastiandg7 - any chance of getting this merged/versioned a.s.a.p? It's preventing our migration to nx 20.0.8 - it's the only plugin causing us issues. Thanks :)

@allcontributors add @Ionaru for bugs


deep link support with Dendron: open link

Currently vscode does not support opening deep links like: x-devonthink-item://7D425B20-EB31-4589-ACBA-A71D4F22A99B
Spotlight will open the link.
It would be nice if Dendron: Open Link could handle it.  Better would be the ability to click on the link and have it open.

Thanks for the feature request. How do you normally open the link from another app? Does chrome support it?

I am told that links like this are accessible from other apps in a spotty way - for example brackets.io will open the x-devonthink-item links.  As I mentioned spotlight opens it.  So I either use spotlight or “native” support in the app, if available.
Sincerely,
Dr. Ronald D. Haynes
Professor, Department of Mathematics and Statistics
Chair, MSc and PhD Scientific Computing Programs
Memorial University of Newfoundland
We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province.
On Oct 29, 2020, 12:31 PM -0230, Kevin Lin<EMAIL_ADDRESS>wrote:

Thanks for the feature request. How do you normally open the link from another app? Does chrome support it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Okay, that gives me something to start on. Thanks for the tip and will update this issue when we start working on this (probably going to be another week as there are a few other items to get to this week).

I would also like this, for file system. Say, on Windows, I have
[foo](file:\\C:\Users\)
I would like for ctrl+clicking to open this in Windows Explorer. OneNote gets it. But if I'll do it in VS Code, I get:
[foo](file://C:/Users/user/OneDrive/somedir/)

@konrad-jamrozik the reason you get that is because vscode is unable to follow folder links. Dendron has a command: Open Link to open urls using your system default when vscode/dendron doesn't support it: https://dendron.so/notes/3472226a-ff3c-432d-bf5d-10926f39f6c2.html#other-links

@kevinslin when I do > Dendron: Open Link on file:\\C:\Users I get:

when I do > Open Link nothing happens.
That's weird, I got it to work somehow, but perhaps I am misremembering things.

I have the same request both for Zotero and Devonthink. Spotlight, Alfred, Chrome and Obsidian can open the deep links. Dendron seems to think the links are for files even when using Open Link.


Inverted behavior of GraphQLSchemaAssertions.mustNotContainField

Describe the bug
Looking a the code of GraphQLSchemaAssertions class, the following two methods have the same implementation:

mustContainField(typeDef: String, field: String)

mustNotContainField(typeDef: String, field: String)

And it's mustNotContainField that has the wrong implemtation.
Versions:

1.28.1

Additional context
We, developer of SonarScala, use your source code to validate our work :)

Looks like you found some dead code that is not called anymore. We'll clean it up. Thanks for letting us now ;-)


feature(1355): Add trigger to task, triggered + clear to Event

Added utility methods to NRF Task + Event structs.

Looks good! I wouldn't mark the functions as unsafe though, since there is no safety requirement the user has to fulfill to call them.


layout breaks site building

This works with default theme (theme: minima) but not with theme: jekyll-theme-cayman
---
layout: home
---

With layout site not builds. Only pages rendered. Without theme, menus and other

Also _posts/YYYY-MM-DD-some-files.md ignored.


Fix typo in first FAQ

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

Looks good. Thanks @ilsteiner.


CI default_controller setting

$route['default_controller'] = 'index/home'; this index is a folder and the home is a controller in it, but  when I ran the code, the page showed "The page you requested was not found." why doesn't default_controller work?

该设置项是不支持传入文件夹名字的，比如你设置的是$route['default_controller'] = 'index/home'；含义就是执行index控制器中的home方法
参考代码/system/core/Router.php 中的_set_default_controller 方法


Continued 400 errors

Payton...I did try with what u said..obviously it took this long for the CF to deploy ... its saying the same error again..400 Bad request and Identity Provider: Unknown
Error Code: invalid_client
Invalid value for 'client_id' parameter.
I gave
https://d1jhdvienk4tn4.cloudfront.net/_callback in my OKTA at the Login Redirect URIs. Should i also be giving sth in the 'Initiate login uri" also?
Also, i did redo the build.sh and modify the redirect uri in there...so i see it on the config file also reflected..

Can you double check that you are using OpenID? I don't recall specifying an 'Identity Provider' anywhere, although I could be mistaken. According to okta, there is an 'idp' parameter that specifies the identity provider, but this is not used in cloudfront-auth, so it should default to okta.

Now its acting weird... if i log off the oktapreview, it nicely redirects me to the oktapreview(or okta) login page...but after i give my credentials and login, it says nounce verification failed. or if i still reload it again, it says internal server error

My apologies for the delay, I've been out of town. I created a more in-depth set of instructions for configuring OKTA that may help: https://github.com/Widen/cloudfront-auth/wiki/OKTA-Configuration#configure-lambda-and-cloudfront
Take a look at those steps and assert that everything matches on your end.

Hi Payton...thanks for your reply and the detailed steps you put up on the link...But here's the differences from your steps and my configuration:

I don't know which version of OKTA you have been using but I do not see any "Base URI" in the process. There is just "Login Redirect URI" and that one I gave as specified by you. When I selected the create app option, i got this following screen:

here i selected "web" and "Open -Id connect".
2.In the assignments tab,I did not assign any groups to this project, but assigned people or individual, which is me alone for the time being.

The grant type is by default set to authorization code.

"Base Url--
This is named the 'Org URL' and can be found in the top right of the Dashboard tab." I did not find anything like "Org URL" in the dashboard, but from what you said the other day, i figured out that this is https://{company-name}.okta.com. Please correct me if I am wrong.

I assume when I am seeing this "Nonce Verification Failed" that there is probably a mismatch between the parameters being generated by OKTA ( Like i seen that only token is generated) and the code in teh Lambda which is checking for Nonce...
                 && nonce.validateNonce(decoded.nonce, cookie.parse(headers["cookie"][0].value).NONCE))```
I removed the middle part of the && which checked for "NONCE in the value of the cookie in the header." ( Or sth like that which I don't remember exactly)

Is it possible to modify that Lambda code inside the If condition where it is validating nonce?

It seems it did work after I removed the if condition for the nonce checking , but it looks like it is only working for one url.....https://d1jhdvienk4tn4.cloudfront.net/_callback...if i give https://d1jhdvienk4tn4.cloudfront.net, it is not taking me to OKTA. It is opening the website page directly...also same for any other pages/urls..like https://d1jhdvienk4tn4.cloudfront.net/index.html etc

Please try in your browser again, but in incognito mode. The first time you go to .../index.html, for example, it will require you to login. After that, you will not need to login for however long you put under session duration. This is because your signed token is being stored as a cookie for future logins.

But do u think its an okay thing to remove that nonce i condition in the Lambda?

I would not suggest removing that bit as it adds another layer of security. It works fine with my OKTA configuration.

I have tried keeping it and it is giving me the same error..."Nonce Verification Failed" (which is coming from the else part of that "if")...Can u think of any other ways to keep it ? Or as you say its another layer of security, do u think it is okay to remove that if part? Sorry I am asking you again coz its working or me only without that.

I will leave it up to you to decide if it is necessary (https://en.wikipedia.org/wiki/Cryptographic_nonce). There are security measures in place without it and this library didn't always have the nonce verification.

For me it was making sure the "Session Duration (hours)" is not 0. With 0 - the TOKEN cookie was immediately deleted and it went into redirect loop.


AWS::RDS::OptionGroup OptionSettings spec vs docs

cfn-lint version: 1.5.1
Lint failing due to spec discrepancy. CloudFormation successfully deploys.
E3002 Expecting an object at Resources/SqlServerOptionGroup/Properties/OptionConfigurations/0/OptionSettings
Spec - link
"AWS::RDS::OptionGroup.OptionConfiguration": {
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html",
  "Properties": {
    "DBSecurityGroupMemberships": {REDACTED},
    "OptionName": {REDACTED},
    "OptionSettings": {
    "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-optionsettings",
    "Required": false,
    "Type": "OptionSetting", <-- SHOULD BE LIST
    "UpdateType": "Mutable"
  },
  "OptionVersion": {REDACTED},
  "Port": {REDACTED},
  "VpcSecurityGroupMemberships": {REDACTED}
  }
},

Doc - link

Sample
SqlServerOptionGroup:
  Type: AWS::RDS::OptionGroup
  Properties:
    EngineName: !Ref EngineName
    MajorEngineVersion: !Ref MajorEngineVersion
    OptionGroupDescription: rds-sql-optiongroup
    OptionConfigurations:
      - OptionName: SQLSERVER_BACKUP_RESTORE
        OptionSettings:
          - Name: IAM_ROLE_ARN
            Value: !GetAtt SqlServerBackupRestoreRole.Arn

Hi @mattcanty,
There is a bug in the Spec files, this is address at the AWS teams already by @cmmeyer. See Issue: https://github.com/awslabs/cfn-python-lint/issues/14
If this is blocking, you can work around it using the override-spec feature. That's some manually work but does the trick if really needed.

I went with
cfn-lint:
    config:
      ignore_checks:
        - E3002

until the issue is resolved, this is OK with us for now.

I have a ticket in with the Cfn team on this.  I'm working to get access to fix spec errors myself, but the process has been slow.  Are you ok with closing this one and tracking in #14 ?

Tracking #14 / #193

Spec for OptionConfigurations is still not fixed and cfn-lint still produces an error
E3003 Property OptionConfigurations missing at Resources/DatabaseOptionGroup/Properties

despite cloud formation accepts template without any errors. Any chance it is finally fixed?

Ooops, that's another attribute 🙂 I'll create new issue then


fix config-center configured in dubbo.properties does not work.

fixes #5777

Codecov Report

Merging #5811 into master will decrease coverage by <.01%.
The diff coverage is 47.82%.

@@             Coverage Diff              @@
##             master    #5811      +/-   ##
============================================
- Coverage     61.22%   61.21%   -0.01%
  Complexity      496      496
============================================
  Files           982      981       -1
  Lines         39117    39143      +26
  Branches       5637     5644       +7
============================================
+ Hits          23948    23961      +13
- Misses        12540    12552      +12
- Partials       2629     2630       +1

Impacted Files
Coverage Δ
Complexity Δ

.../apache/dubbo/config/bootstrap/DubboBootstrap.java
53.91% <47.82%> (-0.67%)
0 <0> (ø)

...ache/dubbo/rpc/protocol/ProtocolFilterWrapper.java
63.79% <0%> (-5.85%)
0% <0%> (ø)

...pache/dubbo/remoting/transport/AbstractServer.java
53.75% <0%> (-3.75%)
0% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
70.17% <0%> (-3.51%)
8% <0%> (-1%)

.../dubbo/registry/integration/RegistryDirectory.java
75.14% <0%> (-0.87%)
0% <0%> (ø)

.../java/org/apache/dubbo/config/ReferenceConfig.java
69% <0%> (-0.55%)
0% <0%> (ø)

...in/java/org/apache/dubbo/config/ServiceConfig.java
62.46% <0%> (-0.28%)
0% <0%> (ø)

...rg/apache/dubbo/rpc/filter/ExecuteLimitFilter.java
65.21% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...in/java/org/apache/dubbo/rpc/ListenableFilter.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...api/src/main/java/org/apache/dubbo/rpc/Filter.java

... and 7 more

Continue to review full report at Codecov.

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


feat(environments-modal): Improve environments modal UX

Update the environments modal:

[x] Update the list to be similar to other lists in the app.
[x] Improve drag and drop.
[x] Improve clicking to rename.

Closes INS-3403
changelog(Improvements): Improve the UX of editing and managing environments

Sorry to chime in here but I would be interested in understanding the decision to change the UX for "manage environment".
I'm not complaining, just noting that at least for my usecase (long URLs in the environment JSON that break lines) it is now very hard to edit the environment.
In 8.4.5 it was still full page and easy to use.

Chiming in to agree with @thenoseman . The modal feels way too small now and I find myself scrolling left and right a lot. Would love a configurable option or have it default to 90% of the size of my window.


DMP-4119: Trim Defendant, Prosecutor and Defender names

Links

Jira

Change description
Added trim logic to Citizen Name mapper
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Do we also need to touch the code called by CaseServiceImpl.addCaseOrUpdate(AddCaseRequest addCaseRequest) to satisfy the ticket's AC2 (triming names for "add case")?

Good spot :)
I have added some extra logic around this are to ensure names are trimmed

Do we also need to touch the code called by CaseServiceImpl.addCaseOrUpdate(AddCaseRequest addCaseRequest) to satisfy the ticket's AC2 (triming names for "add case")?

Good spot :)
I have added some extra logic around this are to ensure names are trimmed

Thanks, just to make sure could you possibly add/adjust a test in CaseControllerTest to demonstrate trimming works as expected for POST /cases?

Do we also need to touch the code called by CaseServiceImpl.addCaseOrUpdate(AddCaseRequest addCaseRequest) to satisfy the ticket's AC2 (triming names for "add case")?

Good spot :)
I have added some extra logic around this are to ensure names are trimmed

Thanks, just to make sure could you possibly add/adjust a test in CaseControllerTest to demonstrate trimming works as expected for POST /cases?

Actioned :)


[FEATURE REQUEST] autocompletion for enum variants in enumerated array initializer

Example:
Asset :: enum { Layer0 }

asset_paths := [Asset]cstring {
    .Layer0 = "assets/layer0.png",
}

.Layer0 has no tabcompletion here

Fixed.


[EL]  add Media player

Because there hasn't been any activity on this PR for quite some time now, I've decided to close it for being stale.
Feel free to re-open this PR when you are ready to pick up work on it again 👍
../Frenck


Fix/composite in

Closes #626 for me and doesn't fail any other tests.

I've left some minor comments, but overall this looks very good :+1:

Sorry for taking so long to resolve your comments which all made good sense.

Thanks you :+1:


Render page bursted when wakeup from background

Steps to Reproduce
step1. put the app in background
step2. wakeup the app
And the screen not fully rendered, it shows like below

Hi @ipconfiger
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample.
Thank you

Closing as duplicate of https://github.com/flutter/flutter/issues/59754


Show icon as a header for TabItem with styling

Hi,
I would like to ask you, if it's possible to set an icon as a header for TabItem in MetroAnimatedTabControl but to keep all the styling that standard header has? (GrayNormalBrush, GrayHoverBrush etc.)
Previously, there was an MetroImage, now I use rectangle to set an icon.
Thank you for any advice.

@RiderOfTheli you can use the HeaderTemplate for such usage, see also #2107


Android Fused Location Provider api

Chris, is there any reason why, AFAIK, you don't use Android's Fused Location Provider?  Thanks

Good question.  I recall reading about it while I was in the Android depths
last year.  Let me know if you have any suggestions.  Android certainly
needs help in the battery-consumption dept.
On Mon, Jan 26, 2015 at 5:37 PM, Mark Simon<EMAIL_ADDRESS>wrote:

Chrisk, is there any reason why you, AFAIK, don't use Android's Fused
Location Provider? Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/136
.

--
Chris Scott
Transistor Software http://www.transistorsoft.com

Crazy talk:  have you ever considered doing that coding in a paid version of the plugin?

Good idea.  Bad news for the Phonegap build folks, which I don't use :)
On Tuesday, January 27, 2015, Mark Simon<EMAIL_ADDRESS>wrote:

Crazy talk: have you ever considered doing that coding in a paid version
of the plugin?
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/136#issuecomment-71744701
.

--
Snet from Gmail Mobile

Ok, I've got FusedLocationProviderApi working, as well as ActivityRecognitionApi.  Works really well!  This will be a significant improvement in battery performance since ActivityRecognitionApi uses accelerometer / gyroscope to detect significant movement (ON_FOOT, ON_BICYCLE, IN_VEHICLE, STILL) rather than the current method which runs a timer and samples the GPS ever 2 min, all day and all night.
I'm thinking of putting it into a private repo and charging $500.

That's excellent.  It's going to be a hit with projects where background location is a long lived activity that triggers, for example, notifications that when opened will bring the app to the foreground.


Search also for ETH

It would be nice to have an option to search also for ETH (stead BTC)
Looking forward to it!
Cheers Satoshi

dear brichard19, it would be great to add ETH address support in your program, or it will be easyer to do another version of your program for ethereum. Thanks!


wrong url in 5-Fine Tuning - Fine-Tuning with LoRA using PEFT from Hugging Face

"Prompt tuning using PEFT Library from Hugging Face." and "Fine-Tuning with LoRA using PEFT from Hugging Face." point to same article link
"Fine-Tuning with LoRA using PEFT from Hugging Face" should have correct article link

Solved! Thanks a lot!


Trusted Microsoft service cross Azure subscriptions scenario (under the same tenant)

Reg the description "Resources of some services, when registered in your subscription, can access your storage account in the same subscription for select operations, such as writing logs or backup."
It looks like for monitoring logs, they can be sent to a storage account with firewall and trusted Microsoft service enabled in a different Azure subscriptions (under the same tenant)
The following test succeed in my environment and also an end customer's environment:
a. Enable Storage Account firewall and tick "allow Trusted Microsoft services..."
b. Select a key vault in a different Azure subscription (under the same tenant).
c. Go to Key Vault Diagnostic Setting - Add Diagnostic Setting - Archive to a storage account - Select the storage account you just worked.
d. It works and the log could be sent to that SA with firewall enabled.
e. SQL Database diagnostic log works in the same way as I tested.
So how to explain this? Should we sharp the description in the web page? Thanks,

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

ID: 2632af75-7664-b79b-ac5b-c7c17e6a609a
Version Independent ID: 6ecf71b6-77c4-3ab6-8ec9-353ea407d70f
Content: Configure Azure Storage firewalls and virtual networks
Content Source: articles/storage/common/storage-network-security.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@evanzhang89 Thanks for the question! We are investigating and will update you shortly.

@evanzhang89 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@tamram @SumanthMarigowda-MSFT Any updates on this?

#reassign: @santoshc1

Hi @evanzhang89  - yes this is something others have mentioned as well. Sorry for the confusion. Service instances can be in any subscription as long as the service is registered in your subscription. A service instance can be created in another subscription. That's no problem. As long as you've registered the service itself in your subscription. Thank you for sharing the confusion. We'll continue monitoring feedback on this. If we see alot of confusion there, we'll make plans to revise the section. Thank you!
#please-close


[WIP] Added -swift-version support for 4.2

@jrose-apple This is incomplete.  I just wanted to make sure this looks on the right track as far as specifying the version mode to "4.1" with --swift-version 4.

@jrose-apple I added the necessary logic to teach the ClangImporter about 4.2 and to handle minor versions.  It's not very pretty.  Most of it is OK, except:

It feels like a form of DRY violations to special case "4.2" in a couple places.
The logic in ImportName.cpp feels especially brittle.  The entire implementation of ImportNameVersion assumed major versions were the only thing the importer needed to care about.  I came up with a solution that fits in the existing implementation fine, but feels brittle from a maintainability perspective.

@swift-ci smoke test

I do agree about the 4.2 being repeated. I'll see if I can think of a better way as well.

@swift-ci smoke test

@jrose-apple what do you think about landing this as is, and further refinements to ImportNameVersion (if any) in follow up?


Add sorting by server group

Added two new sorting elements: SERVER_GROUP and SERVER_GROUP_NAME

SERVER_GROUP sorts by the order of groups in server_groups.
For example with the following configuration:
server_groups:
  lobbies:
  - lobby1
  - lobby2
  survival:
  - survival
  creative:
  - creative
  minigames:
  - bedwars
  - skyblock

Order of the groups would be: lobbies, survival, creative, minigames, <other servers>...

Really nice work! A few little points

Id like to move away from the sorting key system in favour of the key being generated based on a placeholder-replaced string
Instead of “server group order”, how about just using the existing map keys? Annotaml supports the use of a LinkedHashMap to preserve order so should work fine if you change the group maps over to use this; rather than adding another config option

Great idea! That would be a much cleaner solution. Didn't know that it supports LinkedHashMap.

Ready for review

Updated. But I'm not sure about the description. English is not my first language.

Perfect -- no worries. Thank you!


[Bug] fix table struct (#926)

[Bug] fix table struct (#926)

Problem Summary:
What is changed and how it works?
Proposal: xxx
Feel free to ping committers for the review!
Contribution Checklist

Make sure that the pull request corresponds to a GITHUB issue.

Name the pull request in the form "[Feature] [component] Title of the pull request", where Feature can be replaced by Hotfix, Bug, etc.

Minor fixes should be named following this pattern: [hotfix] [docs] Fix typo in README.md doc.

-->
Purpose of this pull request

LGTM. we are looking forward to your next contribution.


Cut throws error when array entries are queried with index

`$ zq -z -i zng 'over arr | where id==2 | cut friends' min_5level.zng
{friends:[{id:0,name:"Bradford Shaffer"},{id:1,name:"Monroe Kent"},{id:2,name:"John Carey"}]}
$ zq -z -i zng 'over arr | where id==2 | cut friends[0]' min_5level.zng
illegal left-hand side of assignment'`
Is this issue related to https://github.com/brimdata/zed/issues/3071?
min_5level.zng.zip

@muthu-rk: Thanks for the bug report! In case it hasn't occurred to you, as a workaround you can say cut friends:=friends[0].

@nwt : Tried the workaround. It works. Thanks!

@nwt: Can you suggest a workaround for put query when fields have special characters? It throws "illegal left-hand side of assignment" error
Ex: I wanted to edit level0.level1**.level-2**.value="2-changed". This is the query I tried.
update.zed:
over arr | switch id (
case 2 =>  put level0.level1["level-2"].value:="2-changed"
default => pass
)
| merge id
| arr:=collect(this)
$ zq -I update.zed min_5level.zng | zq -Z -pretty=2 'over arr | id==2' -
illegal left-hand side of assignment'
However the field-derefence works for yield operation. Like this.
$ zq -i zng -Z 'arr[0].level0.level1["level-2"]["level-3"]["level-4"]' min_5level.zng
{
tags: [
1,
2,
3
],
value: "4",
"level-5": {
tags: [
1,
2,
3
],
value: "5"
}
}


fix(cli): fixes handling of flags

Adds permament flags
Moves handling of flags to cmd

Fixes #155
DISCLAIMER: I'm not a golang developer and I learn as I go. This is my first golang contribution  ever, so, well, keep that in mind. Feel free to point any problems related to my proposal here.

/ok-to-test

/kind bug


maven-jaxb2-plugin not generaing all classes - requests and responses for WSDL

We have an example WSDL that has been provided by an API provider and we want to integrate with it.
I tried the provided example at https://spring.io/guides/gs/consuming-web-service/  and some other .wsdl files and it all looks good.
In my case with my wsdl - when running the command to generate the classes - only some of them are generated, but not all of them.
This is not the case in SoapUI - all is good there.
Any info why this is happening?
My pom.xml is the following
<build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <version>0.13.2</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <generatePackage>com.test.xxx.soapclient.generated</generatePackage>
                    <generateDirectory>${project.basedir}/src/main/java</generateDirectory>
                    <schemaDirectory>${project.basedir}/src/main/resources/wsdl</schemaDirectory>
                    <schemaIncludes>
                        <include>*.wsdl</include>
                    </schemaIncludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

What i have come to see is that only the complex types are being created as classes - while the others are not.
In my example the input message is the one below and no classes are being generated for it.
How can i do that?
Also what is interesting here is - soapAction has empty string as parameter - and Java's API requires SoapAction
Java Code
 public Object callWebService(String action, Object request){
        return getWebServiceTemplate().marshalSendAndReceive(request,new SoapActionCallback(action));
    }

Actual WSDL File
<operation name="login" parameterOrder="user password">
  <input message="tns:CardManagementEP_login"> </input>
  <output message="tns:CardManagementEP_loginResponse"> </output>
</operation>

<message name="CardManagementEP_loginResponse">
<part name="result" type="xsd:string"> </part>
</message>

<message name="CardManagementEP_login">
<part name="user" type="xsd:string"> </part>
<part name="password" type="xsd:string"> </part>
</message>

<operation name="login">
  <soap:operation soapAction=""/>
  <input>
  <soap:body use="literal" namespace="http://com.tch.cards.service"/>
  </input>
  <output>
  <soap:body use="literal" namespace="http://com.tch.cards.service"/>
  </output>
</operation>

I managed to resolve the issue with the help of DaShaun Carter from the show Spring Office Hours.
The issue was that the above mentioned WSDL file was really old, so the classes for requests/responses which are not complex were not generated.
What we did is modify the existing WSDL and create these things as complex types - so Jaxb will generate classes for them
<complexType name="login">
          <sequence>
              <element name="user" type="string"/>
              <element name="password" type="string"/>
          </sequence>
      </complexType>

      <complexType name="loginResponse">
          <sequence>
              <element name="result" type="string"/>
          </sequence>
      </complexType>

After that, the classes are getting generated, but they did not work for me, and i had to some manual changes in order to get them working
LoginResponse.java
import javax.xml.bind.annotation.*;

@XmlRootElement(name = "loginResponse", namespace = "http://com.tch.cards.service")
@XmlAccessorType(XmlAccessType.FIELD)
public class LoginResponse {

    @XmlElement(required = true)
    protected String result;
    public String getResult() {
        return result;
    }
    public void setResult(String value) {
        this.result = value;
    }
}

Login
import javax.xml.bind.annotation.*;
@XmlRootElement(name = "login", namespace = "http://com.tch.cards.service")
@XmlAccessorType(XmlAccessType.FIELD)
public class Login {

    @XmlElement(required = true)
    protected String user;
    @XmlElement(required = true)
    protected String password;
    public String getUser() {
        return user;
    }
    public void setUser(String value) {
        this.user = value;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String value) {
        this.password = value;
    }
}

Also, in my case, the Soap Action did not matter, and i am passing empty strings.
The code where the actual calls were happening is as follows:
Login login = new Login();
login.setUser("user");
login.setPassword("password");
LoginResponse response = (LoginResponse) soapConnector.callWebService("", login);
System.out.println(response);


[Bug]: Quake Gloves shrink comically on death.

Describe the bug.
When you die in a way that can dismember the Mercenary, the Quake Gloves can appear inside out or 'dehydrated' if you have them equipped when doing so.
Version
rev20
What server did this occur on?
Local Server (Applies everywhere)
Reproduction steps
1. Load on any server with the Quake Gloves equipped in your loadout slot.
2. Die in anyway that causes dismemberment of the Merc. (Initial testing was done with blast damage.)
3. Presto, the mercs hands are inverted wearing the gloves.
...

Which operating systems have you used?
Windows
Expected behavior
Presumably, the hands would become stubs , or appear fine, like this.
Instead, they appear to be contorted in someway.
Relevant log output
No response
Additional context
With Quake Gloves:
With other gloves (no gloves in this example):

Our gore system currently mostly only supports the default mercenary.
This happens with every cosmetic that replaces a body part.
We have plans to iron these out later but not for now.
TLDR: We're aware, and we'll fix it later.


Add support to create cursors.

This pull request add support to create cursors through XAML extensions. You can change: width, height, fill brush, strike brush and thickness, hot spot point, rotation angle, and flip mode. Default values can be found and changed in the static class MahApps.Metro.IconPacks.PackIconCursorHelper.
Usage:

        <Button xmlns:icons="http://metro.mahapps.com/winfx/xaml/iconpacks"
                Content="{icons:MaterialDesign Kind=AccountBox}"
                Cursor="{icons:MaterialDesignCursor Kind=HourglassEmpty}" />

@eiadxp Sorry for the delay. I already started to review your last changes. But I still need some time for finishing it. I will try to do this in the next 2 weeks. ❤🙏🏻

@eiadxp Sorry for the delay. I already started to review your last changes. But I still need some time for finishing it. I will try to do this in the next 2 weeks. ❤🙏🏻

Thanks for all your efforts 🙂

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


convertMultiframeImageIds

Hi there, i looked at the multiframe implementation and try to do mine in my project.
I think there is an error, is convertMultiframeImageIds:
function convertMultiframeImageIds(imageIds) {
  const newImageIds = [];
  imageIds.forEach((imageId) => {
    const { imageIdFrameless } = getFrameInformation(imageId);
    const instanceMetaData = metaData.get('multiframeModule', imageId);
    if (
      instanceMetaData &&
      instanceMetaData.NumberOfFrames &&
      instanceMetaData.NumberOfFrames > 1
    ) {
      const NumberOfFrames = instanceMetaData.NumberOfFrames;
      for (let i = 0; i < NumberOfFrames; i++) {
        const newImageId = imageIdFrameless + (i + 1);
        newImageIds.push(newImageId);
      }
    } else newImageIds.push(imageId);
  });
  return newImageIds;
}

In my projects it seems the frame number of a multiframe image and numbered starting 0 and not 1 (so the i+1 seems to be wrong)
Best regards,
Salim

Thanks Salim, we will create a patch

@salimkanoun You think this is fixed?

No there still something strange,
I took a multiframe image, the dicom header says Number Of Frames = 65
But images IDs with &frame= are available from frame 0 to 66 so there one frame in cornersone more than the actual dicom file.
The &frame=0 and &frame=1 output the same first image (duplicated first image at index 0 and 1)
The &frame= in the file id should either

start by 0 and end at 64
start by 1 and end at 65

I guess starting by 1 is more in accordance with the dicom standard (i don't remembre any 0 based count in the dicom standard)

hum i'm not sure the 1st frame is duplicated but there is 1 frame index more than the actual frame number


[RFC] Allow passing of JSON object directly to Database.connection

As it stands Database.connection only accepts a string mapping to a JSON object in config/database.js i.e.:
Database.connection('pg').<your_query>

If it were possible to allow Database.connection to accept a JSON object directly i.e.
Database.connection(connection).<your_query>

You could dynamically construct the connection JSON object allowing fast connection changes.
This would allow swapping database users under certain contexts without tedious overhead requiring you define every possible connection for every possible user inside of config/database.js.
For a complicated database like ours (with many users, many roles, and separate development and production databases) you end up with a large number of combinations.
Presently attempting to pass in a JSON object directly results in the following message:

E_MISSING_DB_CONNECTION: Missing database connection {[object Object]}. Make sure you define it inside config/database.js file

This would cut code size down significantly and make life a lot easier.
We've tested a hotfix of this ourselves with a small change.
  connection (name) {
    ...
    let connectionSettings = name;
    if(typeof connectionSettings === 'string')
    {
        connectionSettings = this.Config.get(`database.${name}`)
        if (!connectionSettings) {
          throw CE.RuntimeException.missingDatabaseConnection(name)
        }
    }
    ....
}

It should be easy enough to implement this fully (and with better variable names given 'name' also potentially represents a JSON object fully defining the connection in this code block) without breaking applications that just expect the connection to be a string.

I like this idea.
👍 for me.

Yes, happy accepting a PR for same

I'll handle it after work today.

Closing in favor of the related PR.


Add monitoring to make sure celery is connected to Sentry

The upgrade to celery in https://github.com/mozilla/olympia/pull/678 broke the connection between celery and Sentry; it would be great to add monitoring so that this doesn't happen again. I'm not sure of the best way to monitor this but for reference, I added a management test command and fixed the celery->Sentry hook up in  https://github.com/mozilla/olympia/pull/1119 .

I don't think we have monitoring for any other part of this flow. You'd need to trigger an error and then ensure its in sentry at some X seconds later and do that in nagios through tunnels.
I'd like to keep the management command around because that's a quick sanity check that celery error logging is working and that's valuable. But I don't see an easy way to do this or think it will happen.


Update documentation

Fix clippy warnings
Make CI fail if there are clippy warnings (too_many_arguments lint is allowed)
Update docstrings

Sorry, still haven't gotten around to going through all these changes.
Curious though, in the Cargo.toml files there are some formatting changes, and in various source files super imports are converted to crate imports; what was the reason for these changes? They just kind of seem like changing things for the sake of changing them, but I'm not sure if there was some other motivation for this or not.

Also looks like I've made some changes which have caused conflicts here, so this will need a rebase. Sorry about that, I'll hold off on my other PR fiddling with the Cargo.toml files until this gets merged.

Curious though, in the Cargo.toml files there are some formatting changes, and in various source files super imports are converted to crate imports; what was the reason for these changes?

The Cargo.toml changes were the result of the formatting applied by VsCode, (I have "format on save" setting). As per the super vs crate, I basically change it in places where we already had an import of crate to unify all the "local" imports.  None of those changes add any value, tbh, so I am happy to revert them if you want.


Behavior of zeros

This might be a quite general problem but I'd like to hear your thoughts.
using SparseConnectivityTracer:
    TracerLocalSparsityDetector, jacobian_sparsity

N = 5

function f!(du, u)
    du .= sign.(u) .* u
end

u = rand(N)
du = zero(u)
jacobian_sparsity(f!, du, u, TracerLocalSparsityDetector())

In this example, the resulting Jacobian has no non-zeros purely because of the choice of u. Here it is quite easy to solve, but in applications it is non-trivial to construct a u that avoids this problem. How would you get around this problem?

I now did this:
function Base.sign(x::D) where {P <: Real, T <: GradientTracer, D <: Dual{P, T}}
    p = primal(x)
    p = one(p) > 0 ? p : -one(p)
    Dual(p, tracer(x))
end

With 3 simple custom overloads I made SparseConnectivityTracer work for my application 😃

In this example, the resulting Jacobian has no non-zeros purely because of the choice of u.

This is the intended behavior of TracerLocalSparsityDetector. Quoting the README:

TracerSparsityDetector returns conservative sparsity patterns over the entire input domain of x. It is not compatible with functions that require information about the primal values of a computation (e.g. iszero, >, ==).
To compute a less conservative sparsity pattern at an input point x, use TracerLocalSparsityDetector instead.
Note that patterns computed with TracerLocalSparsityDetector depend on the input x.

Multiplication by zero "removes" all derivative information, that's why your local Jacobian pattern ends up being zero.
Using TracerSparsityDetector will give you the right pattern:

julia> jacobian_sparsity(f!, du, u, TracerSparsityDetector())
5×5 SparseArrays.SparseMatrixCSC{Bool, Int64} with 5 stored entries:
 1  ⋅  ⋅  ⋅  ⋅
 ⋅  1  ⋅  ⋅  ⋅
 ⋅  ⋅  1  ⋅  ⋅
 ⋅  ⋅  ⋅  1  ⋅
 ⋅  ⋅  ⋅  ⋅  1

Why are things this way?
I can image that some users might be wondering "Why can't we have a non-local Dual tracer that supports comparisons?". This question is something I intend on document in depth (#143) as it is an intentional design choice.
Let me motivate this decision by a simple example function:
x = [1, 2]

function foo(x)
    if x[1] > x[2]
        return x[1]
    else
        return x[2]
    end
end

The desired global Jacobian sparsity pattern over the entire input domain $x \in \mathbb{R}^2$ is [1 1]. Two local sparsity patterns are possible: [1 0] for $\{x | x_1 > x_2\}$, [0 1] for $\{x | x_1 \le x_2\}$.
The local sparsity patterns are easy to compute using operator overloading by using dual numbers which contain primal values on which we can evaluate the comparison >.
The global sparsity pattern is impossible to compute when code branches with an if-else condition. We can only ever hit one branch! If we made > on comparisons return true or false, we'd get the local patterns [1 0]and[0 1]` respectively. But SCT's goal is to guarantee conservative sparsity patterns, which means that "false positives" (ones) are acceptable, but "false negatives" (zeros) are not.
In my our opinion, the right thing to do here is to throw an error.
Since Dual tracers could hit branches, we can only ever guarantee that they return local sparsity patterns! This is the crux of the problem.
But since they only return local patterns, we can at least be smart about and return the most sparse local patterns possible, which is what we do in the case of multiplication. Multiplication with a Dual will evaluate whether the function has zero-derivatives at the given input points:
https://github.com/adrhill/SparseConnectivityTracer.jl/blob/8251cb3f9558671fddea913b415f6becbf2bd9e0/src/operators.jl#L264-L266
And that's how you end up with a local Jacobian sparsity pattern of zeros.

I now did this:
function Base.sign(x::D) where {P <: Real, T <: GradientTracer, D <: Dual{P, T}}
    p = primal(x)
    p = one(p) > 0 ? p : -one(p)
    Dual(p, tracer(x))
end

Unfortunately, this code is incorrect: the derivatives of the sign function are globally zero. You therefore can't just return the original tracer(x).

I'll close this issue since the output is the intended behavior.
We're on the finishing straight of writing our SCT paper. Once this is done, I'll prioritize writing documentation (#143, #163).


Remove dependency: colors

This library changes String class just for colors. Maybe it have special mode to use functions instead of String modification or we can generete ESC colors, not a big deal

Maybe it have special mode to use functions instead of String modification

Yes, it has:
var colors = require('colors/safe');
console.log(colors.green('Impress'));

Great, but syntax isn't good console.log(api.colors.bold(api.colors.green('Impress')));
What can we do with syntax? Maybe ideas from other languages/platforms?

api.tty.info = function(message) {
  return api.colors.bold(api.colors.green(message));
}

If we want concatenation and stuff, or, just for printing:
api.con.info = function(message) {
  console.log(api.colors.bold(api.colors.green(message)));
}

In the worst case:
function functionThatPrints() {
  ...
  var bold = api.colors.bold,
      green = api.colors.green;

  console.log(bold(green('Impress'));
  ...
}

But that should be rare since it is an application server, not a rainbow simulation. All the combinations of colors and font styles in the chosen color scheme should be encapsulated into functions with semantic-oriented, not color-based, names.

Meybe something like this api.console.log('Impress red[Application] green+bold[Server]'));

Maybe, or create a custom tag function for ES6 template strings.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals

But nevertheless the idea of separate functions that form a solid color scheme, that can be easily changed in one place, and provide an abstraction over real colors seems more sensible to me.

Another option is to define constants with VT100 escape sequences and use ES2015 template strings.
console.log(`${api.colors.GREEN}Impress Application Server${api.colors.DEFAULT}`);

Now we use concolor instead of colors


Trixon Files - Render Icons (Logo/Buttons) via WebGL

Similar to how we want to render all Trixels in the workspace via WebGL (#16) It would be a cool idea to also render our icons in a similar way via WebGL. It gives our icons a unique character, and force us to make sure the render-canvas is as optimal as possible.

These files will be in encoded in file format, similar to a normal Trixel Document, with the difference that we have a limited amount of dynamic accent colors that we'll used, rather than pre-defined colors.

Replaced with SVG Icons via Google Material Icons.


Fix InjectChangedFilesPlugin to escape quotes in webpackManifest files

The --watch option is not working for me – it ends up failing with a syntax error when the code generated by InjectChangedFilesPlugin / webpack gets eval'd by mocha-webpack. You can verify this error in my sample app:
git clone git@github.com:thiagoa/sample-app
cd sample-app
npm install
node_modules/.bin/mocha-webpack # Works
node_modules/.bin/mocha-webpack --watch # Does not work

I get the following error:

eval(""use strict";\n\n// This gets replaced by webpack with the updated files on rebuild\nvar webpackManifest = ["./6bb2e8176d135c5dda2c2b116019dd85-entry.js","./smoke.spec.js","chai","./lib/chai","assertion-error","./chai/utils","./test","./flag","type-detect","./lib/type","./expectTypes","./getMessage","./getActual","./inspect","./getName","./getProperties","./getEnumerableProperties","./objDisplay","./chai/config","./transferFlags","deep-eql","./lib/eql","./getPathValue","./getPathInfo","./hasProperty","./addProperty","./addMethod","./overwriteProperty","./overwriteMethod","./addChainableMethod","./overwriteChainableMethod","./chai/assertion","./chai/core/assertions","./chai/interface/expect","./chai/interface/should","./chai/interface/assert"];\n\nvar testsCont

The fix here consists in escaping the double quotes, so that evaluation of the code succeeds.
I'll be happy to resolve any issues with this pull request, if there are any please let me know 😄

Escaping quotes breaks all other non eval devtool options.
Please provide a solution that works with all of them.

@zinserjan Thanks for pointing this out. I've just updated the solution, would you please take a look?

I added a few tests for this case on master branch.
Your solution should work, but I think parsing the webpack config for eval detection is too complex.
Simplest solution is just to use single quotes.
Can you update your PR with the following?
...
     const files = this.hotFiles.concat(this.failedFiles);
     const changedFiles = `[${files.map((f) => `'${f}'`).join(', ')}]`;
     const replacement = `__webpackManifest__ = ${changedFiles}`;
...

@zinserjan Indeed much simpler, thanks. I've tried to add some structure to my solution to make up for the added complexity, but yours is indeed more to the point.
I've tweaked your changedFiles variable to avoid the map call and make it easier to read, see if you like it 😃  Also, I made sure the tests you've added are passing after the change.
By the way, thanks for adding the tests. I did not worry too much about this because the plugin file didn't have any tests previously. Looking back, I should've spent a bit more of time to add them for this particular situation, regardless.

Oh yeah, much simpler without the map call.. Nice!


Yanfei causing error on import

I just tried to import my wishes from the feedback page on PC and got the error "Invalid data returned from API" when it tried to import my character event banner pulls. My last roll was Yanfei, who is new and is, I assume, the cause of this error because she is unseen data.

Can you screenshot your ingame wish history page with Yanfei in it?

Here you go:

Hmm weird, can you try to import again? Someone on discord got a same error, and it works after an hour or so

It works! Thank you!


Updating Github actions and files to use main branch. (#1023)

(Cherry picked from commit dc291c2345cdb9885d7b99dff835df08bc3b15fd)
opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Github Issue # or road-map entry, if available:

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1374 (0d1ec59) into opendistro-1.9 (11c2695) will increase coverage by 0.01%.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             opendistro-1.9    #1374      +/-   ##
====================================================
+ Coverage             64.11%   64.12%   +0.01%
- Complexity             3185     3187       +2
====================================================
  Files                   241      241
  Lines                 16962    16962
  Branches               3049     3049
====================================================
+ Hits                  10875    10877       +2
+ Misses                 4535     4534       -1
+ Partials               1552     1551       -1

Impacted Files
Coverage Δ

...security/configuration/DlsFlsFilterLeafReader.java
58.16% <0.00%> (-0.75%)
:arrow_down:

...arch/security/filter/OpenDistroSecurityFilter.java
78.61% <0.00%> (+0.57%)
:arrow_up:

...ecurity/configuration/ConfigurationRepository.java
77.47% <0.00%> (+2.19%)
:arrow_up:

Continue to review full report at Codecov.

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


How to specify asset urls after baseUrl deprecation?

Hey!
After fixing the baseUrl deprecation I've got the problem that specifying the urls for assets in a scss file becomes quite tricky. In our setup I know the baseUrl (or nowadays the rootURL) at build time and not when I write the scss file. I opened a thread on discuss.emberjs.com for more details click here.
I also built a "hacky" solution which works fine for us but I'm interested what would be a good approach to solve this problem. Are there any plans in solving this issue within ember-cli-sass?
Thanks a lot

I have also had similar problems with this, after digging a little bit I found this approach to use the function feature of sassOptions:
https://stackoverflow.com/questions/33025880/is-it-possible-to-pass-environment-variables-to-ember-cli-sass-during-build
This let me pass through an environment option that I could use for my asset URLs, you could possible do something similar with rootURL if you needed to:
$rootURL: '';

@if environment() == 'development' {
  $rootURL: '/foobar';
}

.image {
  background: url('#{$rootURL}/images/images.png');
}


Grunt plugin?  If I wrote one, would you mind linking to it / adopting it?

Is there an official grunt plugin for compiling streamlined code?
If not, I'll need to write one for my work, so I might as well open-source it.  Would you consider making it official, or at least linking to it from your documentation?

Hi,
You may want to check with @aponxi. See #138.
If you publish a plugin to NPM, let me know and I'll mention it in the README (or better, submit the README change as a PR).
I don't want to include optional components into streamline core (not even my own like streamline-flamegraph) but I'm happy to link to external projects.

There is also a gist from @aikar: https://gist.github.com/aikar/7129221

Sounds good to me, thank you for the links.

Forgot I wrote that... Moved on to gulp now =P

Thread seems to be dead so I'm closing the issue.


NumberFormatter not found after login

Bug Report
Issue Description
After I completed the installation I got the error Class 'NumberFormatter' not found.
Preconditions

PHP: 8.1

Bagisto Version
Downloaded from the website, I've run a composer update just now.
Steps To Reproduce

Download package from the website
Walk through the installation form
Login

So note: I have not installed it through composer create-project bagisto/bagisto.
Actual Result

Enable/Install php_intl extension, issue will be resolved.

@NielsHamelink-web
Hope your issue will be resolved. so I am closing this issue.
If you have still the same issue. you can reopen this issue again or can raise ticket Here

Enable/Install php_intl extension, issue will be resolved.

I have installed the extension, restarted my PHP server and installed Bagisto again. I still got the same error I got before.

@NielsHamelink-web
Please raise a ticket Here.
We will provide a better solution over the ticket.

@NielsHamelink-web
Check your php_intl extension, in php info.
Please take a reference from Here.

Hi there,
The intl extension should be enabled on your php.ini file.
If intl extension is  not enabled then just add this
[extension=intl ] in php.ini

Hi there,
The intl extension should be enabled on your php.ini file. If intl extension is not enabled then just add this
[extension=intl ] in php.ini

Like mentioned above I've enabled the extension. I've run phpenmod intl and restarted the server. Does not make a difference.

Hi @NielsHamelink-web,
These error which you stated is due to intl extension please check intl extension.

Hi @NielsHamelink-web,
These error which you stated is due to intl extension please check intl extension.

I've commented a screenshot of my phpinfo above... I think you can see that it's enabled like I already told you guys 3 times.

Hello @NielsHamelink-web,
Mostly this issue arise due to missing intl extension but you have already enabled it. But, it may be due to your PHP and Intl version mismatching, can you once confirm the php and intl version.
Also, as you have stated that you are using php version 8.1 and bagisto doesn't support it yet. We are planning to make it compatible in our future release.
Thanks

There is nothing we can do here, please check your instance. The problem is pretty common.
Reference Link:
https://github.com/bagisto/bagisto/issues/6050
https://github.com/bagisto/bagisto/issues/5212
https://github.com/bagisto/bagisto/issues/4012


Add files via upload

Added getuserdataquery, returns all documents where the local_data elements are not all empty.

I deleted the files in the Project folder and moved them from pipeline to Project.
George
From: ramcdougal @.>
Sent: Wednesday, March 31, 2021 5:20 PM
To: mcdougallab/pipeline @.>
Cc: Michel, George @.>; Author @.>
Subject: Re: [mcdougallab/pipeline] Add files via upload (#27)
@ramcdougal requested changes on this pull request.
These files belong in the Project folder. Until that happens, I can't see what's changed.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmcdougallab%2Fpipeline%2Fpull%2F27%23pullrequestreview-625728537&data=04|01|george.michel%40yale.edu|bb7f7f344f90435aad5c08d8f48ad015|dd8cbebb21394df8b4114e3e87abeb5c|0|0|637528224342676289|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hyg%2BjowYRgQ%2BScSkvjO%2FNsEwwd16nLLrtEq3H4KR%2BUI%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAADSOO3HRHZCRJ7WSBAQW73TGOGZ3ANCNFSM42CNYYYA&data=04|01|george.michel%40yale.edu|bb7f7f344f90435aad5c08d8f48ad015|dd8cbebb21394df8b4114e3e87abeb5c|0|0|637528224342686289|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=xS4TJ85vE8HpA5ySk%2Bi0CrXioUuAglmsOU9wjUKGjbQ%3D&reserved=0.

Superseded by a50c9b3


[Subtask] support complex types spark-connector

Describe the subtask
Complex types have been supported in spark-connector now, such as: ArrayType, MapType and StructType
Parent issue
https://github.com/datastrato/gravitino/issues/1552

i will work on this.

thanks for working on this, something you could refer:
Trino and Gravitino type converter
Hive type and Gravitino type converter
Spark type to Iceberg Type
Iceberg type to Spark Type

this feature is expected in 0.5 which is released in 4.16,  is the time suitable for you?

this feature is expected in 0.5 which is released in 4.16, is the time suitable for you?

It looks OK. I'll try my best.

Hi @hiirrxnn I was wondering if you would to solve this issue, which we talked about in https://github.com/datastrato/gravitino/issues/2494.

Hi @hiirrxnn I was wondering if you would like to solve this issue, which we talked about in #2494.
If you are interested in it, please reply in the issue. Thank you.

i will continue on this because no one take it.


add repoServicePath check when download service yaml files - [closed]

In GitLab by @sokril on Jul 17, 2018, 06:27
Merges weidev -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:15
The test coverage for backend is FAIL  ,The test coverage for frontend is 38.11   , check  consolse log

In GitLab by @wknet123 on Nov 13, 2019, 11:15
The test coverage for backend is FAIL  ,The test coverage for frontend is 38.11   , check  consolse log

In GitLab by @wknet123 on Nov 13, 2019, 11:15
closed


feat: code of conduct

Create a CODE_OF_CONDUCT.md file in the root directory. You can get the generated version at contributor covenant (ps. you might want to read through the page) and click on the English Markdown version. Create a new branch conventionally (feat/code-of-conduct) and open a PR to pre-release. Happy coding 🎉

Closes with #48


update auth process and other improvements

Carelink:

2nd Gen login and reauth process, based on @ondrej1024's python library

requires inital login data file from external script

updated devcontainer setup
implemented scan interval parameter to integration setup page

Nightscout Uploader:

resuses customer timezone

@yo-han  those changes should address most of the open Issues. I am currently testing the changes and it is working as expected so far. Another beta release would be very helpful to figure out remaining issues

@sedy89 Nice, I merged the pr and created a new beta release.

Hi @sedy89 , thanks for your hard work.
I just installed this rc and want to share my findings:

The python script to get the logindata did not work out-of-the-box, I had to change some things according to this comment. I'm running on Ubuntu 23.10, so maybe it's not worth changing anything for most of the users.
The timezone thing is still not resolved. In nightscout, the data is still displayed as "9 hours ago". I also tried changing the timezone in the nightscout-"profile editor", but that did not change anything unfortunately (does it have any effect at all?).

However, checking the NS logs, I see that an "utcOffset" is correctly supplied (I picked an exemplary meal entry here)

2024-02-22T15:08:01.409601036Z got data-received event, requesting reload
2024-02-22T15:08:01.409634507Z REST API treatment created [
2024-02-22T15:08:01.409639774Z   {
2024-02-22T15:08:01.409643606Z     device: 'Home Assistant Carelink',
2024-02-22T15:08:01.409647281Z     timestamp:<PHONE_NUMBER>000,
2024-02-22T15:08:01.409650927Z     enteredBy: 'Home Assistant Carelink',
2024-02-22T15:08:01.409654782Z     created_at: '2024-02-22T05:48:27.000Z',
2024-02-22T15:08:01.409658618Z     eventType: 'Correction Bolus',
2024-02-22T15:08:01.409662266Z     insulin: 0.3,
2024-02-22T15:08:01.409665789Z     utcOffset: -480
2024-02-22T15:08:01.409669184Z   }
2024-02-22T15:08:01.409672633Z ]

The logging timestamp (15:08) ist 14:08 UTC+1 (server location), corresponding to 7:08 UTC-8 (client location).
For a glucose entry however, something different is happening:
2024-02-22T15:14:50.176529277Z DEBUG nightscout-connect data-loaded {
2024-02-22T15:14:50.176560289Z   entries: 2024-02-22T06:13:00.000Z,
2024-02-22T15:14:50.176563633Z   sgvs: {
2024-02-22T15:14:50.176566204Z     _id: '65d764caa0a86f8120f530ba',
2024-02-22T15:14:50.176568737Z     mgdl: 137,
2024-02-22T15:14:50.176571215Z     mills:<PHONE_NUMBER>000,
2024-02-22T15:14:50.176573713Z     device: 'Home Assistant Carelink',
2024-02-22T15:14:50.176576189Z     direction: 'FortyFiveDown',
2024-02-22T15:14:50.176578718Z     filtered: undefined,
2024-02-22T15:14:50.176581281Z     unfiltered: undefined,
2024-02-22T15:14:50.176583805Z     noise: 1,
2024-02-22T15:14:50.176586254Z     rssi: undefined,
2024-02-22T15:14:50.176602587Z     type: 'sgv',
2024-02-22T15:14:50.176605002Z     scaled: 137
2024-02-22T15:14:50.176607451Z   },
2024-02-22T15:14:50.176609823Z   treatments: 2024-02-22T06:13:35.000Z,
2024-02-22T15:14:50.176612331Z   devicestatus: 2024-02-22T15:14:16.540Z,
2024-02-22T15:14:50.176614827Z   profile: undefined
2024-02-22T15:14:50.176633426Z }

here, the devicestatus and treatments lines have an offset of ~ 9 hrs.

Hi @Trenar ,
thank you for testing and reporting your findings.
I updated my branch.
Could you update your files manually and test again?
The changes are quite small -> changes
Once you confirm that it is working, I will create another PR with the fix.
Thanks

Hi @sedy89
wow, you're fast. Unfortunately, it did not solve my problem, but changed the offset from "9 hours ago" to "8 hours ago".
In the NS-logs, let's quickly review this entry (same as in my post above):
got data-received event, requesting reload
REST API treatment created [
  {
    device: 'Home Assistant Carelink',
    timestamp:<PHONE_NUMBER>000,
    enteredBy: 'Home Assistant Carelink',
    created_at: '2024-02-22T05:48:27.000Z',
    eventType: 'Correction Bolus',
    insulin: 0.3,
    utcOffset: -480
  }
]

I think the problem is the "created_at" timestamp. It is not the UTC time stamp (as indicated by the "Z"), but instead it's the local pump / uploader time, which already includes the tz-offset (8hrs). I assume, that the utcOffset variable is then applied again, yielding a double-correction of the time zone. Could that be possible?
Thanks,
Trenar

Regarding the python-script, it still does not launch the Firefox window with the error message "Message: binary is not a Firefox executable". It really needs the path to the executables. However, as this is system-specific, I understand that you don't want to integrate it here.

@Trenar please check again with the lastet changes. The login script should have linux support (if your path is the same link in the stackoverflow thread). And the ns uploader might use the correct timezone now. At least for my timezone it is working again. Best of luck

@sedy89 now the reportings are again 9 hours ago, i.e. the correct offset between client/uploader and server. I left a comment on the commit in your branch with my thoughts: I assume NS expects UTC timestamps, but we actually provide local timestamps. Is that possible?

@sedy89 I think I worked it out.. Hope that it also works on your side :-)
I changed the __getDataStringFromIso function to this:
    def __getDataStringFromIso(self, time, tz):
        dt = datetime.fromisoformat(time.replace(".000-00:00", ""))
        dt = dt.replace(tzinfo=tz)
        dt = dt.astimezone(tz)
        timestamp = dt.timestamp()
        date = int(timestamp * 1000)
        date_string = dt.isoformat()
        return date, date_string

What it now does is creating a datetime object from the string. Note, that here the string is in "local time", while the datetime object intrinsically assumes UTC. Therefore, the tzinfo is replaced to represent the time in the correct timezone. The replace command does not apply the hour-offset to the time itself, but only adds the tzinfo. That does the trick, hence dt.timestamp() is now a correct unix timestamp referenced to UTC.
Also the issue that SGV and treatments have a relative offset is gone now.

Have you seen the PR I created in your own carelink fork ? :)

Now I did :smile:  I think we basically found the very same thing. Which one do you want me to test now, the PR in my fork, or the branch in yours?

I already tested your's and it is wokring 👍
I will create another PR for Yo-han with the updated script and the update in the ns uploader.
Thank you for your help and testing


fix, pass custom template provider to partials

Hi,
Custom template provider is not working for partials.

Hi Trevor,
Any news on this pull request?
Thanks,
Mihai


Installed version 0.5.2 - new version 0.5.0

something is wrong with the release numbering.
A pic says more then 1000 words:

Looks like a revert for me. The version was removed from repository. Maybe because of the mentioned bugs you can find before yours.

Ok, if this is the case, I've liked to get some info about that ;-)

Seeing the same issue. It is very confusing. Was this a revert? Can we get a confirmation?

This is a problem on the github side, the same issue was reported for HA core repository.
The most recent version is 0.5.2 and currently it is not available on github by some unknown reason.

Found a workaround, now 0.5.2 should be available again.

Well, now we have a new one of that kind... It fell back to 0.5.1 as newest version this time.

See issue #43, I think he might be barking up the right tree.


Disable the OPENSSL when building the newer version cmake

The cmake building process would detect the OPENSSL and do nothing
it's NOT found before version 3.16.0. After that, we must disable
the option manually. For more detail can see the source code:
https://github.com/Kitware/CMake/blob/v3.13.2/CMakeLists.txt#L421
This closes #582

@PragmaTwice can u have a look at this fix?

Thanks @PragmaTwice


[1.19] Error loading with 41.0.96

Picked a heck of a time to debut in 1.19
As with 96% of forge mods versions 41.0.64 and 41.0.94 have breaking changes (no big surprise).
Crashlog

Thanks for reporting this, bad timing on my part. Have just published a new version which will fix this


feat(meshservice): add meshservice checkbox to convert the policy targetrefs

demo: https://deploy-preview-1940--kuma.netlify.app/docs/dev/policies/meshtimeout/#full-config-applied-to-inbound-and-outbound-of-specific-service
closes https://github.com/kumahq/kuma-website/issues/1919
Did you sign your commit? Instructions yes
Have you read Contributing guidelines? yes

Closing in favour of https://github.com/kumahq/kuma-website/pull/1985


Request: Name Change?

I wonder if prepending "li3_" to the project name to indicate that it's a lithium plugin might help develop the visibility of the project, as well as conform to the lithium plugin standard naming convention?
Thanks for sharing your work!

Couldn't hurt.


Extensibility point

Hello,
is it possible to add a button or something like that at the marked positon in the image. I did not find any extensibility point for that.

@MarioMeldau Thank you for your question.
This feature is not yet supported, so you'll need to use Report a problem or Suggest a feature in the Azure DevOps community to solicit additional feedback from the product team.
Until then, please refer to extensibility points for the latest on supported features.
@chcomley

Hi @MarioMeldau, It would be helpful if you could comment on this issue with a link to your feature request! Thank you so much!

@MarioMeldau, I'm closing this issue, however please @mention me if you have any further questions. Thank you and have a great day!


Added Time.at_epoch(seconds : Int, kind = Kind::Utc)

This simplifies creating Time instances from seconds.

Thanks!
What do you think if we name it just Time.epoch(...)? In fact, the way to do this in Ruby is with Time.at(...), maybe we should use that name too.

Fully open to it! Makes a lot of sense.
Changing it now.

@asterite I just changed it to just at. Also added an extra test in there for the hell of it.

Thanks!


集群怎么设置？不成功？

设置'etc/vm.args':
<IP_ADDRESS>上
-name<EMAIL_ADDRESS>./bin/emqtt start    启动不成功。
-name<EMAIL_ADDRESS>./bin/emqtt start    启动成功。
2台不能都设为 -name<EMAIL_ADDRESS> 这个集群就设置不成功了。
如何设置，谢谢

if I set -name emqttd@host1  can't start the emqttd
print:
emqttd failed to start within 15 seconds,
see the output of 'emqttd console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.

please rm data/mnesia/* first if you changed node name.

thanks

我试了，仍然不能成功。

cannot start still?

在 2015年4月24日，下午12:23，杨延斌<EMAIL_ADDRESS>写道：
我试了，仍然不能成功。
—
Reply to this email directly or view it on GitHub https://github.com/emqtt/emqttd/issues/108#issuecomment-95797682.

yes ,can't start     -name<EMAIL_ADDRESS>or -name emqttd@host1

first, my etc/vm.args config:
-name<EMAIL_ADDRESS>
second:
rm -rf data/mnesia/*

and then:
./bin/emqttd console
airlee:emqttd erylee$ ./bin/emqttd console
Exec: /Users/erylee/Projects/emqttd/rel/emqttd/erts-6.3/bin/erlexec -boot /Users/erylee/Projects/emqttd/rel/emqttd/releases/0.6.0/emqttd             -embedded -config /Users/erylee/Projects/emqttd/rel/emqttd/etc/app.config             -pa ./lib/basho-patches             -args_file /Users/erylee/Projects/emqttd/rel/emqttd/etc/vm.args -- console
Root: /Users/erylee/Projects/emqttd/rel/emqttd
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:4:4] [async-threads:32] [hipe] [kernel-poll:true]

=INFO REPORT==== 24-Apr-2015::15:36:04 ===
    alarm_handler: {set,{system_memory_high_watermark,[]}}
starting emqttd on node<EMAIL_ADDRESS>emqttd config is starting...[done]
emqttd event is starting...[done]
emqttd pooler is starting...[done]
emqttd client manager is starting...[done]
emqttd session manager is starting...[done]
emqttd session supervisor is starting...[done]
emqttd pubsub is starting...[done]
emqttd broker is starting...[done]
emqttd metrics is starting...[done]
emqttd bridge supervisor is starting...[done]
emqttd access control is starting...[done]
emqttd system monitor is starting...[done]
15:36:05.245 [info] mqtt listen on <IP_ADDRESS>:1883 with 16 acceptors.
15:36:05.246 [info] mqtts listen on <IP_ADDRESS>:8883 with 4 acceptors.
15:36:05.256 [info] http listen on <IP_ADDRESS>:8083 with 4 acceptors.
Erlang MQTT Broker 0.6.2 is running now
Eshell V6.3  (abort with ^G)
(emqttd@<IP_ADDRESS>)1> node().
<EMAIL_ADDRESS>

[root@cndkbtamqpusha02 emqttd]# ./bin/emqttd console
Exec: /opt/emqttd/erts-6.3/bin/erlexec -boot /opt/emqttd/releases/0.6.0/emqttd             -embedded -config /opt/emqttd/etc/app.config             -pa ./lib/basho-patches             -args_file /opt/emqttd/etc/vm.args -- console
Root: /opt/emqttd
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:4:4] [async-threads:64] [hipe] [kernel-poll:true]
starting emqttd on node<EMAIL_ADDRESS>emqttd config is starting...[done]
emqttd event is starting...[done]
emqttd pooler is starting...[done]
emqttd client manager is starting...[done]
emqttd session manager is starting...[done]
emqttd session supervisor is starting...[done]
emqttd pubsub is starting...[done]
emqttd broker is starting...[done]
emqttd metrics is starting...[done]
emqttd bridge supervisor is starting...[done]
emqttd access control is starting...[done]
emqttd system monitor is starting...[done]
16:10:46.349 [info] mqtt listen on <IP_ADDRESS>:1885 with 64 acceptors.
16:10:46.350 [info] mqtts listen on <IP_ADDRESS>:8883 with 4 acceptors.
16:10:46.357 [info] http listen on <IP_ADDRESS>:8083 with 4 acceptors.
Erlang MQTT Broker 0.6.1 is running now
Eshell V6.3  (abort with ^G)
(emqttd@<IP_ADDRESS>)1> 16:11:26.284 [info] metrics PUBLISH to<EMAIL_ADDRESS>16:11:26.284 [info] metrics PUBLISH to<EMAIL_ADDRESS>

OK, now<EMAIL_ADDRESS>successful!!!!!!!!!

Hi, Yang, I released 0.6.2, thanks for your bug report.


Updated Microsoft.CodeAnalysis.* to current versions

Microsoft.CodeAnalysis.Analyzers to 3.3.3
Microsoft.CodeAnalysis.CSharp to 4.1.0
Microsoft.CodeAnalysis.CSharp.Workspaces to 4.1.0
Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit to 1.1.1
Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit to 1.1.1

Afterwards fixed warnings in the code that resulted from the updates.

Need to work on this one. Not sure why the CI fails. Build works on my Windows and Ubuntu (18.04) environments, as well as a clean Ubuntu 20.04 installation.

I had to fix this while doing #877, so I'm going to close this one out.