Component Documentation

Hi Team,
Is there any documentation/demos that shows how to use some of the components like panels or surfaces?

Not really. For surface, just drop one at the top level of the page, it gives background and some font css properties.
You can see a panel in action here:
https://github.com/OfficeDev/msteams-ui-components/blob/80ed16e2fe4abed31fd002b93ebe2130d40b6ae2/gh-pages/src/sidebar/index.tsx#L90-L115

gh-pages folder is the website that renders this:
https://officedev.github.io/msteams-ui-components/#/

Awesome, thanks a lot @MattSFT! Do you know offhand if Office UI Fabric styles/icons can be used with these styles simultaneously, or if it would be a bad idea to mix these? At the moment, I'm mainly interested in leveraging Fabric's grid layout (unless I can also use msteams-ui-components styles to control the layout). My bad for the noob question!

Ideally, you would move towards this library: https://github.com/stardust-ui/react.
We currently have a very low level of investment in the msteams-ui-components packages and are trying to deprecate in favor of stardust. Having said that, there isn't 100% parity between the two and a lot of our developer tools still point and are built from the msteams-ui-components library (like App Studio https://aka.ms/InstallTeamsAppStudio).

I'll definitely give stardust a try. Thanks for all the help and info!

Ideally, you would move towards this library: https://github.com/stardust-ui/react.
We currently have a very low level of investment in the msteams-ui-components packages and are trying to deprecate in favor of stardust. Having said that, there isn't 100% parity between the two and a lot of our developer tools still point and are built from the msteams-ui-components library (like App Studio https://aka.ms/InstallTeamsAppStudio).

Hi @MattSFT ! Have you see any example like the gh-pages folder but using stardust-ui? because I need the theme style change function like the msteams-ui-components library.
Thanks!


HAI-876 Add validation for haittojenhallintasuunnitelma in kaivuilmoitus

Description
Add validation that checks that the haittojenhallintasuunnitelma is filled in when sending the hakemus to Allu. It uses the same validation function as validation of the haittojenhallintasuunnitelma in a hanke.
Also, move haittojenhallintasuunnitelma and tormaystarkastelutulos stuff from HankealueFactory to a new HaittaFactory. These classes are also used in Kaivuilmoitus, so having the factories on "neutral ground" makes sense.
Jira Issue: https://helsinkisolutionoffice.atlassian.net/browse/HAI-876
Type of change

[ ] Bug fix
[X] New feature
[ ] Other

Instructions for testing
I didn't test this manually. It would require adding a haittojenhallintasuunnitelma through Swagger UI. The haittojenhallintasuunnitelma should have a missing value for one of the traffic methods where the area of the application has an index. And then sending the application to Allu.
Checklist:

[X] I have written new tests (if applicable)
[X] I have ran the tests myself (if applicable)
[ ] I have made necessary changes to the documentation, link to confluence
or other location:

Tested by adding haittojenhallintasuunnitelma with a missing text for one index with Swagger UI and it works as described.


Prevent site from using dark mode based on user OS-level preference

Force light mode on iOS Safari
Spencer had mentioned that when browsing the site with dark mode enabled at the OS-level, the site would apply dark mode. Because we don't have styling to support dark mode, this is unintended. This PR changes the configuration of how our CSS (through tailwind) applies dark mode specifically it will no longer check the "prefers-color-scheme" of the user and must be toggled manually. You can read about it here.
Test Instructions

Go to homepage
Open devtools and then open the settings panel
Under preferences force theme to dark
Refresh, see that page doesnt change

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-1452355657.azurewebsites.net


StyleGuide - Where to Provide App Level Providers

For the style guide we'll add some content to help folks know where app providers go. There are some who feel they go in bootstrap and some who feel they go in the app level component. Good reasons on both sides. We'll lay out the pros and cons.

Bootstrap (main.ts)
App (root) component (app.component.ts)
Child components

Examples to consider

ROUTER_PROVIDERS
HTTP_PROVIDERS
App-wide services (e.g. HeroDataService or LoggerService)
Feature specific services (e.g. JobService)

cc // @wardbell @mgechev

main ts should almost never contain provider definition because then you'll need to redefine those providers in all tests.

@IgorMinar how is that supposed to be and advantage when added to the root component? This only helps for testing the root component, doesn't it?
I guess for this case it would make more sense to suggest creating a GLOBAL_PROVIDERS (or whatever name) variable and refer it instead as provider (bootstrap, or root component) (like https://github.com/angular/angular/blob/d272f96e23f379e1b565435b3af010138e710ab9/modules/angular2/src/common/common_directives.ts#L49)

@IgorMinar That's also how I roll. I prefer all providers in the AppComponent.
@wardbell you had some concerns about this issue, which is why I raised it. Can you chime in with those?


Use SQLSRV_ASSERT for checking NULL ptrs

Use SQLSRV_ASSERT to ensure the subsequent code will not dereference any null pointers (Clang Analyzer reports)

This change is

Coverage increased (+0.006%) to 74.706% when pulling 44d1bb39ba1a09ac730f11aca9c1e3c1c9fdb8ba on yitam:moreAsserts into 3585bf5a5c5a52107d572b7533881bc005dfd5e4 on Microsoft:dev.

Codecov Report

Merging #789 into dev will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #789      +/-   ##
==========================================
+ Coverage   80.06%   80.06%   +<.01%
==========================================
  Files          25       25
  Lines        7323     7325       +2
==========================================
+ Hits         5863     5865       +2
  Misses       1460     1460

Impacted Files
Coverage Δ

.../php-7.1.18-src/ext/sqlsrv/shared/core_results.cpp
74.22% <0%> (+0.04%)
:arrow_up:

...-7.1.18-src/ext/pdo_sqlsrv/shared/core_results.cpp
59.96% <0%> (+0.07%)
: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 3585bf5...44d1bb3. Read the comment docs.


Custom Props or how do I do this?

I have a multilanguage site that uses url for determining language.
English:
HOST/games/
Spanish:
HOST/juegos/
Romanian (default):
HOST/
Right now I declare my routes like so:
<Route path="/(:lang/)" component={App}>
        <Route path="search/:search" component={Search}/>
        <Route path="category/:title/(:page/)" component={Category}/>
        <Route path="game/:title" component={Game}/>
        <Route path="login" component={Login}/>
        <Route path="signup" component={Signup}/>

        { /* es */ }
        <Route path="categoria/:title/(:page/)" component={Category}/>
        <Route path="juego/:title" component={Game}/>
        ...
</Route>

This works fines, but it allows for someone to go to HOST/games/categoria/:title and it'll work when it shouldn't.
I envision being able to do the following:
<Route>
<Route lang="en" path="/games/" component={App}>
        <Route path="category/:title/(:page/)" component={Category}/>
        <Route path="game/:title" component={Game}/>
        ...
</Route>
<Route lang="es" path="/juegos/" component={App}>
        <Route path="categoria/:title/(:page/)" component={Category}/>
        <Route path="juego/:title" component={Game}/>
        ...
</Route>
...
</Route>

Is there any way to pass custom props?

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Could you post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.

@collinglass i've just answered your question on stackoverflow
Have a look at react-custom-props, it may help.


DNS node discovery

DNS discovery for nodes bootstraping: when a node starts, it connects to remote nodes that are discovered by DNS service.
updated in commit 207f49b9c870f6ab812ba0f01058634d81176c49

ChainDNSSeedsByName has to be replaced by official domain.

Update commited :
https://github.com/omnilaboratory/lnd/commit/c66f94a667bfbcc6ae21367a36aa8b4dc0405618
https://github.com/omnilaboratory/lnd/commit/95428bd0e3b44994cb401a2cc6b1185b531aa514


example to catch failed login does not work.

we are seeing issues with clustered servers initializing ActPowerCLI and the example to catch a failed login attempt does not work.
Name        Version   ModuleBase

ActPowerCLI <IP_ADDRESS> C:\Program Files\WindowsPowerShell\Modules\ActPowerCLI
PS D:\install\ActPowerCLI-main\ActPowerCLI-main> [System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials
PS D:\install\ActPowerCLI-main\ActPowerCLI-main> $loginattempt = Connect-Act cccc -actuser xxxxxxx -password 'yyyyyyyy' -i -q
$loginattempt
The operation has timed out.
PS D:\install\ActPowerCLI-main\ActPowerCLI-main> $loginattempt
PS D:\install\ActPowerCLI-main\ActPowerCLI-main> if ($loginattempt.errormessage)
{
write-host "Login failed"
}
PS D:\install\ActPowerCLI-main\ActPowerCLI-main>
if we can capture the timeout it would immensely stabilize the scripts and is much more elegant than our current workaround which is always connecting twice... and hoping the connection works or having it fail one the next udsinfo / udstask fails.
[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials
Connect-Act ccccc -actuser xxxxx -password 'yyyyyy' -i
Connect-Act ccccc -actuser xxxxx -password 'yyyyyy' -i

Fixed in release <IP_ADDRESS>
Timeouts were not being captured correctly due to a syntax issue.      Now timeouts and connection rejects will always throw an actual error.  Also added -timeout setting to allow user configurable timeouts.   Default is 15 seconds but user can set the timeout with connect-act.   Timeout will be 'unset' with disconnect-act.
So here is a syntax example of the error message with timeout specified.
PS C:\Windows\system32> connect-act <IP_ADDRESS> admin password -i -timeout 5

errormessage
------------
No response was received from <IP_ADDRESS> after 5 seconds

PS C:\Windows\system32>


Exec format error

I downloaded nat v1.0.7, sudo mv it to /usr/local/bin, chmod +x /usr/local/bin/nat and run nat
$ nat
bash: /usr/local/bin/nat: cannot execute binary file: Exec format error

I am on Ubuntu 20

Relates to #4

Try compiling it yourself with cargo build --release and add the nat executable from target/release to your path


Limit onHTML to the first hit for one visit

At first thank you for this awesome project! Love working with it!
Probably it is quite easy to achieve what I want to do, but for now I could not find a solution for that.
In my case I'm crawling through sites and just want to do something  like this:
c.OnHTML("div[itemtype]", func(e *colly.HTMLElement) {
  ... just make some stuff on the first div item which will be found on the site.
}

So to sum it up - I just want to do an action on the first hit of a specific site and
don't want to it for every element which will be found on the page.
Thank you in advance!
Kind regards

You have multiple options:

You can select the parent element in the OnHTML callback and extract the first div only in the function body.
You can create a variable outside of the callback and check if it has value and simply return in the callback function immediately if it already has the wanted value.

Thanks for your answer!


Update HOWTO.md

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)
How do we know it's really free?
For book lists, is it a book?
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Not sure that'll help. Maybe you can write a new section "for first-time contributors"?


I made all of the BT classes which were relatively clean (which is everything except for Leaf and DefaultTactic ) a library which can compile as a standalone, and linked this to roboteam_ai.
This has a couple of advantages:

Harder to hack: If you want to use other files from AI you will need to specifically link them against the bt target.
The structure is not just enforced through directories but also through our build system.
Slightly better compilation time (the compiler can more easily utilize multiple cores by compiling multiple libraries at the same time)
The compiler has an easier time detecting optimizations on well-structured code.

Additionally, I did some small style fixes such as consistently using .h instead of mixing .hpp and .h.
I did not do this for Leaf and DefaultTactic because they are both very ugly classes which have a shitton of references to external files (robotDealer, analysis etc.), and because both are more extensions of behaviortrees to RobotSoccer rather than just behaviortrees themselves.

I do not agree with changing everything from hpp -> h

I do not agree with changing everything from hpp -> h
Rest seems fine but i thosuld be more separated

I don´t really follow you. Why not? It was inconsistent right now (mixture of h and hpp was being used).
What do you mean with more seperated? This is all of the simple bt classes in one library for now. Clearly we can do more (e.g. all world stuff in a library) but that's for other PR's.


Access to the validation script

Hi Yizhou.
I would like to train a RODNet from scratch. To do so, it could be great to have validation scores to select the best models and analyse the training process. Referring to your paper, I'm talking about the method you used to compute the AP and AR scores using the OLS thresholds between the selected points from the predicted ConfMaps and the ground truth.
Your training script mentions a validation function that seems to have this purpose here:
https://github.com/yizhou-wang/RODNet/blob/969cad6f08b8957b26bc16f86ac4e835d1294050/tools/train.py#L232
Maybe I have missed something in your code to compute the performances of the model.
If yes,, could you indicate me where I can find this information. If not, could you please integrate this function in the repo?
Thanks for your help, have a great day.
Best.
Arthur

Hi @ArthurOuaknine,
The evaluation code and functions are included in our devkit package: https://github.com/yizhou-wang/cruw-devkit. The detailed evaluation tutorial can be found here: https://github.com/yizhou-wang/cruw-devkit/blob/master/tutorials/cruw_devkit_tutorial_rod2021.ipynb line [17]. Hope it helps!

Thank you very much for the devkit, I didn't know there was one!
There is everything I need in it. You can close this issue.


xhr.onerror - xhr.responseText may not be a JSON

Hi James,
Thanks for this component, it is exactly what I need.
However, I found one issue that broke my case: when the error response is not JSON (which is normal), an error will throw at  var err = JSON.parse(xhr.responseText);, line 77, which will fail to invoke 'onFileError'.
Hope you consider to improve this spot. I think it is fairly simple to fix, and I can send a pull request if you do not mind.
Thanks again.
xiu

Yes, please send along a PR. Thanks!

@james2doyle  Thank you for the reply, a PR is sent.


invalid bearer token, token audiences ["kubernetes.svc.default"] is invalid for the target audiences ["istio-ca"]

Bug Description
Isito Proxy not Starting up and Istiod is thowring following errors
2021-11-23T11:27:19.413494Z	error	ads	Failed to authenticate client from <IP_ADDRESS>:56330: Authenticator ClientCertAuthenticator: no verified chain is found; Authenticator KubeJWTAuthenticator: failed to validate the JWT from cluster "Kubernetes": the service account authentication returns an error: [invalid bearer token, token audiences ["kubernetes.svc.default"] is invalid for the target audiences ["istio-ca"]]
2021-11-23T11:27:19.602164Z	warn	serverca	Authentication failed for <IP_ADDRESS>:39742: Authenticator ClientCertAuthenticator at index 0 got error: no verified chain is found. Authenticator KubeJWTAuthenticator at index 1 got error: failed to validate the JWT from cluster "Kubernetes": the service account authentication returns an error: [invalid bearer token, token audiences ["kubernetes.svc.default"] is invalid for the target audiences ["istio-ca"]].

istiod-6f8886544d-2lr2w.log
Version
kubectl version:

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3", GitCommit:"c92036820499fedefec0f847e2054d824aea6cd1", GitTreeState:"clean", BuildDate:"2021-10-27T18:35:25Z", GoVersion:"go1.16.9", Compiler:"gc", Platform:"linux/arm64"}

istio version: 1.10.5

### Additional Information

_No response_

We're experiencing the same on GKE with this:
invalid bearer token, token audiences ["https://container.googleapis.com/v1/projects/{{PROJECT}}/locations/{{REGION}}/clusters/{{GKE-CLUSTER}}"] is invalid for the target audiences ["istio-ca"]

We're experiencing the same on GKE with this:

I think this is entirely different and your installation is setup to use Mesh CA but is somehow using Citadel
For the original issue: what is kubernetes.svc.default? That doesn't make much sense - it should be kubernetes.default.svc. I strongly suspect that your kubernetes cluster is misconfigured. Likely --service-account-issuer=kubernetes.svc.default. I suspect that in addition you are not using third party jwt tokens (https://istio.io/latest/docs/ops/best-practices/security/#configure-third-party-service-account-tokens); using that would also likely fix this.

@howardjohn Thanks for that tip. I believe it is the case that it is configured for first party jwt tokens. I'm familiar with the product @dishant-jeeves is using and have provided instructions on Slack to update the configuration. Hopefully we'll have a good result! Cheers.

@howardjohn  I confirm it has been resolved on my end Thanks @Birdrock for help, we can close this.

Thanks everyone

@howardjohn Thanks for that tip. I believe it is the case that it is configured for first party jwt tokens. I'm familiar with the product @dishant-jeeves is using and have provided instructions on Slack to update the configuration. Hopefully we'll have a good result! Cheers.

I also encountered this problem. Do you have a link for the latest configuration on Slack?

I seem to be mysteriously hitting this issue on an Openshift dedicated cluster deployed on GCP, is the istio-ca claim done automatically for all GCP workloads through metadata server somehow? @howardjohn


Ansible: variable is detected as invalid

Expected Behavior
(Which results are expected from KICS?)
No medium vulnerable detected
Actual Behavior
(Formatted logs and samples helps us to better understand the issue)
CloudWatch Without Retention Period Specified, Severity: MEDIUM, Results: 2
Description: AWS CloudWatch should have CloudWatch Logs enabled in order to monitor, store, and access log events
Platform: Ansible

	[1]: roles/ecs/tasks/prod.yml:118

		117:     log_group_name: "{{ item }}"
		118:     retention: "{{ retention }}"
		119:   with_items: "{{ cwlgroups }}"

	[2]: roles/ecs/tasks/test.yml:147

		146:     log_group_name: "{{ item }}"
		147:     retention: "{{ retention }}"
		148:   with_items: "{{ cwlgroups }}"

Steps to Reproduce the Problem
(Command line arguments and flags used)
rentention value is defined as a variable.
- name: create cloudwatch log groups
  cloudwatchlogs_log_group:
    log_group_name: "{{ item }}"
    retention: "{{ retention }}"
  with_items:
    - some
    - groups

Specifications
(N/A if not applicable)

Version: 1.5.0
Platform: ansible
Subsystem:

Hello, @markuman slightly_smiling_face Thank you for contacting us.
This query reports a result for your sample because, in addition to having a rule that verifies if retention is undefined, it also has another one to check if retention is set to the valid values (1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, or 3653).
Since the value of retention ("{{ retention }}") is not being interpreted by KICS, it reports "cloudwatchlogs_log_group.retention is set and invalid". You can check the code here.

Ok, the retentation is defined in the same yaml playbook in a set_fact tasks
- name: set ecs prod variables
  set_fact:
    retention: 14

- name: create cloudwatch log groups
  cloudwatchlogs_log_group:
    log_group_name: "{{ item }}"
    retention: "{{ retention }}"
  with_items:
    - some
    - groups

At this moment, KICS can not interpret Ansible variables and default values. That's why the query is reporting that FP result in your sample.
We will discuss this topic as soon as possible and I will let you know the verdict 🙂


Operator modules

A big caveat in Caffe's modularity is that it didn't allow layers to be added dynamically, through modules. I had spent some time making a system for this in Caffe and it is currently under review. I have been using it for some time now and it makes adding a new layer very easy. (vanilla) Caffe is installed as a system dependency (with the layer modules PR) and if I need a 'third-party' layer from a PR or some project, I wrap it in its own CMake project, create a module and it's good to go. That way I can run for instance Faster RCNN using upstream Caffe instead of the outdated Faster RCNN version of Caffe.
Looking at the documentation it seems that Caffe2 is suffering from the exact same caveat. I've been going through the documentation but it seems that in order to add a new operator one must clone Caffe2, add the operator and then compile and deploy that special version of Caffe2?
I could try to implement a similar system as with Caffe layer modules, but then Caffe2's operator modules. I was hoping to get some feedback on the suggestion before I spend time on this however.

Take a look at this repo: caffe2/caffe2_bhtsne - it sounds like an example of what you're after.

Take a look at this repo: caffe2/caffe2_bhtsne - it sounds like an example of what you're after.

Seems you are correct! Thank you for your response.

Could it apply to caffe also? @slayton58

@nnop , big sigh...
https://github.com/BVLC/caffe/pull/5294

Thanks for your contribution and pointing out.


Bug: tabline background changed after select with vib, and can't change back when visual mode exited

Self Checks

[ x] I'm using the latest lualine.
[ x] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

type vib to select text and exit visual mode
Expected behaviour
tabline background change back

Actual behaviour

Minimal config to reproduce the issue
lua << END
-- Your lua part of config goes here
require'lualine'.setup {
    options = {
        theme = 'gruvbox_light',
    },
    tabline = {
        lualine_a = {
            {
                'buffers',
                mode = 2, -- 0 shows buffer name
                          -- 1 buffer index (bufnr)
                          -- 2 shows buffer name + buffer index (bufnr)
                max_length = vim.o.columns * 5 / 6,
            }
        },
        lualine_b = {},
        lualine_c = {},
        lualine_x = {},
        lualine_y = {},
        lualine_z = {
            {
                'tabs',
                max_length = vim.o.columns * 1 / 6,
            }
        }
    },
    sections = {
        lualine_x = {'lsp_progress', 'encoding', 'fileformat', 'filetype'},
    },
    extensions = {
        'quickfix',
        'fugitive'
    }
}
require('lualine').statusline()
require('lualine').tabline()
END

Config
<!--
  =================
  ### IMPORTENT ###
  =================
<p>You need to provide a way to reproduce the issue without influence
of other plugins.
Issues without proper format and a proper way to
reproduce might be ignored.
This script can help you with that.
https://github.com/nvim-lualine/lualine.nvim/blob/master/scripts/nvim_isolated_conf.sh
Create an isolated config directory with:
`nvim_isolated_conf.sh -c DirectoryName`

Then modify the DirectoryName/.config/nvim/init.vim
so you can reproduce the issue .
You can load the config to see if the issue is occuring with
`nvim_isolated_conf.sh -l DirectoryName`

Paste the DirectoryName/.config/init.vim without comments below
-->

Aditional information

Cam you try running :redrawtabline when it happens and see if that fixes the issue ?

Cam you try running :redrawtabline when it happens and see if that fixes the issue ?

it works, the background color change back after :redrawtabline

Then this also falls under tabline being too lazy on redraw . vim/neovim just redraws tabline way too rarely .
You can try the solution in FAQ . That should make tabline redraw more regularly and fix this .

Then this also falls under tabline being too lazy on redraw . vim/neovim just redraws tabline way too rarely .
You can try the solution in FAQ . That should make tabline redraw more regularly and fix this .
Can you confirm this ?

statusline will be redraw correctly when exit visual mode, why tabline has problem to redraw?
I think tabline no need to change background color when enther visual mode(like airline)
as a temprorary solution, I add a autocmd in configuration, vim.cmd 'autocmd ModeChanged v:n redrawtabline', now it seems fine

thx


SDL1: Implement SDL_LoadObject()

SDL2.0.15
AmigaOS4 FE - all Updates - Enhancer 1.5
I get an error on starting a shared build of ScummVM where it complains about not being able to access shared engine plugins due to SDL_LoadObject() not implemented.
I don't know how feasible that is, so feel free to reject.
(On a -not so- related note, this wouldn't gain any momentum for me since the infamous libstdc++.so crash also hits the SDL1 shared build.)

It's probably not a big effort, especially if SDL2 implementation can be recycled. Just a small note that feature hasn't been tested very heavily: it can print some text using libc.so but that's about it.

No problem, thank you for looking at it.


Fix rust-insert-dbg for emacs-version < 25.

r? @brotzeit
(rust_highfive has picked a reviewer for you, use r? to override)

cc @r-darwish


WalletConnect init

When an Ethereum  dapp coneect to Altme with Walletconnect the name transfered to the dApp is "WC"
replace by "Altme"

Size: S


Default install error on org-*

Hi @hlissner,
Emacs poweruser, Doom newbie, dropping my ten years custom emacs.d in favor of your awesome work. Just starting out. FYI, the first steps provides the following error:
No unused packages to remove
Looking for packages to install...
7 packages will be installed:

+ centered-window-mode (ELPA)
+ help-fns+ (ELPA)
+ ob-mongo (ELPA)
+ ob-redis (ELPA)
+ ob-translate (ELPA)
+ ox-pandoc (ELPA)
+ ox-reveal (ELPA)

Proceed? (y or n) y
Refreshing package archives
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Package refresh done
Installing ox-reveal
  FATAL ERROR: (error) Package ‘org-20150330’ is unavailable
Installing centered-window-mode
  FATAL ERROR: (error) Package ‘centered-window-mode-’ is unavailable
Installing ox-pandoc
  FATAL ERROR: (error) Package ‘org-8.2’ is unavailable
Installing ob-translate
  FATAL ERROR: (error) Package ‘org-8’ is unavailable
Installing ob-redis
  FATAL ERROR: (error) Package ‘ob-redis-’ is unavailable
Installing ob-mongo
  FATAL ERROR: (error) Package ‘org-8’ is unavailable
Installing help-fns+
  FATAL ERROR: (error) Package ‘help-fns+-’ is unavailable
Finished!
Reloading active Emacs session...

Where are org-* package supposed to be fetched from ?

Wrong repo, sorry. Moving to emacs-doom.

@jwintz Use the develop branch. Many of these issues have been resolved there.

I'll try right now. Glad to join the community :-)


cmd/go: failed to fetch private repo with multiple error situations

What version of Go are you using (go version)?

$ go version
go version go1.14 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/xrfang/.cache/go-build"
GOENV="/home/xrfang/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE="git2.likeit.cn"
GONOPROXY="git2.likeit.cn"
GONOSUMDB="git2.likeit.cn"
GOOS="linux"
GOPATH="/home/xrfang/go"
GOPRIVATE="git2.likeit.cn"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build271669497=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I tried to migrate a project to use go modules: create empty go.mod file in the project source dir, then run go build ./....
What did you expect to see?
The project should be built successfully.
What did you see instead?
Got problem described here: https://stackoverflow.com/questions/60341591   I tried to ask new question on SO but get down voted.     Go insist to get the repo via HTTPS but the private repo only provide HTTP.  The problem was reported in #37943.  However it re-appeared, despite the fact that all env was set according to that issue.
Then, I created an empty mod in that directory:
$ go mod init test
go: creating new go.mod: module test
$ go get -v git2.likeit.cn/go/likesync
get "git2.likeit.cn/go/likesync": found meta tag get.metaImport{Prefix:"git2.likeit.cn/go/likesync", VCS:"git", RepoRoot:"http://git2.likeit.cn/go/likesync.git"} at //git2.likeit.cn/go/likesync?go-get=1
get "git2.likeit.cn": found meta tag get.metaImport{Prefix:"git2.likeit.cn", VCS:"git", RepoRoot:"http://git2.likeit.cn//.git"} at //git2.likeit.cn/?go-get=1
get "git2.likeit.cn/go": found meta tag get.metaImport{Prefix:"git2.likeit.cn/go", VCS:"git", RepoRoot:"http://git2.likeit.cn/go/.git"} at //git2.likeit.cn/go?go-get=1
go: git2.likeit.cn/go/likesync upgrade => v1.5.3
go get<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: git.likeit.cn/go/likesync
	        but was required as: git2.likeit.cn/go/likesync

This time, it does not insist on HTTPS, but found an old location of the repo.   There is a likesync package under git.likeit.cn/go/likesync, in that repo, there indeed has a go.mod file states:  module git.likeit.cn/go/likesync.   This repo was abandoned, albeit still accessible.
In the new repo git2.likeit.cn/go/likesync, their is no go.mod file.   My problem is, WHY and HOW does the go build system find git.likeit.cn as the project ONLY refer to git2.likeit.cn??

@bcmills @matloob @jayconrod

Are you sure that the repository at http://git2.likeit.cn/go/likesync.git at the commit tagged v1.5.3 does not have a go.mod file declaring module git.likeit.cn/go/likesync?

@bcmills I will verify that tomorrow. However, the key problem is even if we have a go.mod file at<EMAIL_ADDRESS>it does not explain why the go command try to find the module at git.likeit.cn?? in the entire project, there is only reference to git2.likeit.cn?
This is unbelivable... or, is it sooo intelligent to check git\d*.likeit.cn??

Nothing in that go command output indicates that it ever attempted to fetch anything from git.likeit.cn. The reported error is a path mismatch for the go.mod file found for<EMAIL_ADDRESS>

Per go help get:

By default, get looks up the latest tagged release version, such as v0.4.5 or v1.2.3. If there are no tagged release versions, get looks up the latest tagged pre-release version, such as v0.0.1-pre1. If there are no tagged versions at all, get looks up the latest known commit.

@bcmills OK.  So the behavior is by design.  Shall I close this ticket, or is there anything to investigate, given the different behavior of not having a go.mod, and having a go.mod?

I don't think there is anything more to do here, so closing. Please do let us know if you run into other issues, though. (We know that the documentation & test coverage for private repos still needs some polish.)


Added HunSum2 dataset with results

Checklist for adding MMTEB dataset
Reason for dataset addition:
Added the first Hungarian Retrieval dataset to the benchmark.

[x] I have tested that the dataset runs with the mteb package.
[ x I have run the following models on the task (adding the results to the pr). These can be run using the mteb run -m {model_name} -t {task_name} command.

[x] sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
[x] intfloat/multilingual-e5-small

[x] I have checked that the performance is neither trivial (both models gain close to perfect scores) nor random (both models gain close to random scores).
[x] I have considered the size of the dataset and reduced it if it is too big (2048 examples is typically large enough for most tasks)
[x] Run tests locally to make sure nothing is broken using make test. I could not do this, as my computer doesn't have enough memory, it crashed multiple times trying to run the tests, everything I could run passes
[x] Run the formatter to format the code using make lint.
[ ] I have added points for my submission to the POINTS.md file.

Addresses #384, but I decided to use HunSum2 instead as it is an updated version of the same dataset.

I could not do this, as my computer doesn't have enough memory, it crashed multiple times trying to run the tests, everything I could run passes

Does it also crash if you only use pytest or pytest -n 4

Setting this to auto-merge!


DBeaver information update

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Category (leave one):

Other

Short description (up to few sentences):
This is  small Small fix of UI clients information page.
DBeaver for Clickhouse is NOT a commercial software, it is free and open-source (Apache license). Source code is at https://github.com/dbeaver/dbeaver/issues

Ok.

PS. https://github.com/yandex/ClickHouse/commit/2cf0ab341ecec546022a61f9706210221d135cb9


[FEATURE_REQUEST] Center sections, make items the same size by truncating longer item description

Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
REQ1: Centered sections should be applied when less then 4 sections is available. Otherwise the lists starts from left to right and is not centered on the screen.
REQ2: Make items the same size by truncating item description.
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
No response

Thanks very much for your suggestions :)
REQ1: Makes sense, and I agree it looks off, so will update this to be centred :) But when there's only a single section (example), I think is should remain left aligned by default. Does that sound okay?
REQ2: So with the item size, the text should actually be automatically truncated (and then visible on hover), is this not happening for you? But I agree it could do with some improvement. Do you mean width, or length of the item? I'll refresh my flex-box knowledge and try and improve this :)
I'll try and get this implemented this week, or next weekend, and will update you here once done :)

Thanks for the response :+1:  @Lissy93
REQ1: That sounds totally fine when there is only one section :)
REQ2: The text is visible on hover, however the text is not truncated. But it depends on how long it is allowed to be before being truncated. But i can see that it is enough long that the item increases in height and that creates inconsistency between the items in terms of size.

Oh yeah, sorry I didn't realise you meant the description text, that makes sense now, thank you for the screenshot.
I can easily truncate the description text, and your right, it would look much neater if all items were the same height.

Just butting in here to say, I think the sections should have an option for centered, left (or right?) aligned when set to auto, regardless of the number of sections. So if you go over the max number of columns wide, the next sections would be centered below.
I realise this probably makes it particularly complicated though 😂🤞

Hey @polhaghverdian
So REQ2 is done in PR #261, and merged this evening.
With REQ1, I realized this is actually already available, just switch to Horizontal layout.
I know your issue was around centering content in the Auto layout, but I'm not sure how possible this is-  Basically content is already centered by default, but since it's using grid-layout to position items, and the number of columns is responsive, and calculated based on screen size, you have an empty column causing it to be off-center. If you know a responsive way around this, then please do let me know :)

The solution is to use flex-box instead. And this is what the Horizonal layout is. Here all sections are centered, and the number of columns is equal to the number of sections.

Does this work for you?
Don't forget that you can also specify your own styles, to display content however you like. Try this, update to V 1.8.5, switch to Horizontal layout, then add something like .item-group-container { max-width: 800px; } to the custom CSS, and I think that will produce exactly the result you're looking for :) If it doesn't let me know, and see what else can be done.
I've also added an option for you to specify number of columns for Auto layout, which you can then use to center content (e.g. set colCount: 2), and this will also center your content.

Hi @Lissy93
First of all thank you so much for taking the time and implemented my suggestions!
REQ1: Is great i can see now that the items has the same size, due to truncating of the item descriptions. However i have just a small wish, could you perhaps add three dots after the truncated text or something similar to indicate that the text has been truncated?
REQ2: I updated my docker container to v 1.8.5. I followed your alternative solution and used CSS to decrease the max-width of item-group-container and set to 1200px. I also added colCount: 3 in the configuration file to get the desired result. It works great. I have no complains :)

Oops, I forgot about that, sorry. I pushed an update in 7ede2c4a4d7140a8794a10f4a3dccaf927456c66 which should implement the ellipse/ three dots, and it now and looks something like this.
Hope that helps - Feel free to reach out again if you need anything else :)

P.s I really love your custom theme! When you've got your dashboard all setup, would you like to share it on the User Showcase? But no worries if not :)


Azure Spring Cloud buildservices REST API missing

Hi I have look the in Bicep doc for Azure Spring Cloud, there are doc for Builders but not for the parent buildService. It is because such REST API to create buildservices is missing.
As a consequence it is not possible deploy buildServices with Bicep :
resource buildService 'Microsoft.AppPlatform/Spring/buildServices@2022-03-01-preview' = {
 name: 'string'
 scope:
 parent: azurespringcloud
 sku:
 plan:
 properties:
 scale:
 zones: []
}

resource buildagentpool 'Microsoft.AppPlatform/Spring/buildServices/agentPools@2022-03-01-preview' = {
 name: 'string'
 parent: buildService
 properties: {
   poolSize: {
     name: 'S1'
   }
 }
}

// https://docs.microsoft.com/en-us/azure/spring-cloud/how-to-enterprise-build-service?tabs=azure-portal#default-builder-and-tanzu-buildpacks
resource builder 'Microsoft.AppPlatform/Spring/buildServices/builders@2022-03-01-preview' = {
 name: 'string'
 parent: buildService
 properties: {
   buildpackGroups: [
     {
       buildpacks: [
         {
           id: 'tanzu-buildpacks/java-azure'
         }
       ]
       name: 'java'
     }
   ]
   stack: {
     id: 'tanzu-base-bionic-stack' // https://docs.pivotal.io/tanzu-buildpacks/stacks.html
     version: '1.1.49'
   }
 }
}

resource builds 'Microsoft.AppPlatform/Spring/buildServices/builds@2022-03-01-preview' = {
 name: 'string'
 parent: buildService
 properties: {
   agentPool: 'string'
   builder: 'string'
   env: {}
   relativePath: 'string'
 }
}

@ezYakaEagle442 yes, currently we only support default build service resource, it will be created when creating azure spring cloud service.

@zhoufenqin thank you for your quick reply but I do not understand, how then to create the buildagentpool, builder, build then with Bicep ?
Could you please paste here a Bicep snippet to implement that ?

should this be used ?
resource buildService 'Microsoft.AppPlatform/Spring/buildServices@2022-03-01-preview' existing = {
 scope: resourceGroup('my RG')
 name: 'default/default'
}

Hi @ezYakaEagle442 I'm not familiar with Bicep, but I think it looks like
resource buildagentpool 'Microsoft.AppPlatform/Spring/buildServices/agentPools@2022-03-01-preview' = {
 name: '{your-service-name}/default/default'  //{your-service-name}/{build-service-name}/{agenpool-name}
 properties: {
   poolSize: {
     name: 'S1'
   }
 }
}

you can try it.


refactor: use mutex to work around init(&self) and unsafe

This gets rid of the unsafe block, using the fact that sled::Db is Clone. Didn't yet test this too much, but looking at the sled's implementation the clone should still be only a bit more than a clone of an Arc. Probably good enough until the Repo is made RAII.

The build fails because of what I already PR'd https://github.com/rs-ipfs/rust-ipfs/pull/435

The build fails because of what I already PR'd https://github.com/rs-ipfs/rust-ipfs/pull/435

Closing as this was included in the https://github.com/rs-ipfs/rust-ipfs/pull/439

Closing as this was included in the https://github.com/rs-ipfs/rust-ipfs/pull/439


updating to commons 4.5.0, merge this PR only after fixing compatibility issues and readding commented modules

… I have removed some modules due to compatibility issues. Need to fix those before merging.

Closing this due to compatibility issues.


Add build tag and open source legal language to integration test

Coverage increased (+0.04%) to 78.167% when pulling 3cf68be2b018ae6bf7df6bd9c778b3029add6332 on richardartoul:ra/add_build_tag_open_source_language into 32d7297f6be16ccc515c9537d3b6876882b58e03 on m3db:master.


libbacktrace does not inherit the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER values of the top level project

This issue is a followup of the discussion in the following thread:
https://discuss.tvm.apache.org/t/cross-compile-the-runtime-only-for-aarch64/9800
basically (just to minimize duplication of the forum discussion)
when cross compiling the runtime only on a x86 host, libbacktrace is causing a link-time issue
mkdir build
cd build
cp ../cmake/config.cmake .

 cmake ..
    -DCMAKE_SYSTEM_NAME=Linux
    -DCMAKE_SYSTEM_VERSION=1
    -DCMAKE_C_COMPILER=/usr/bin/aarch64-linux-gnu-gcc-8
    -DCMAKE_CXX_COMPILER=/usr/bin/aarch64-linux-gnu-g+±8
    -DCMAKE_FIND_ROOT_PATH=/usr/aarch64-linux-gnu
    -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
    -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY

The cleanest current solution (i think) is to turn off using libbacktrace

A related issue: #7705


Fix some small bugs

First of all - thanks for making this 😄  The stateless design is perfect for our use case at Lyst.
In trying to get the service set up I can across a few bugs:
Remove leading / from file paths returned from GitHub API search
For example it was returning /package.json which then seemed to break the createTree function. Not 100% sure about this though.
Return PR object from createPr function in api/github
Pretty self-explanatory!
Set the logging level as soon as it's known
There were a couple of logs that I couldn't get in the output due to being logged before setting the logging level. Minor but useful.
Make sure endpoint is set at the repository level
If setting the endpoint via the CLI options --endpoint it wasn't being applied to the repository.
Failed to ensure PR error message
By JSON.stringify-ing the error I was not seeing any detail e.g. stack trace. Fixing was how I found the createPR bug.

@jonbretman thanks very much! I'll take a look shortly

@rarkins Thanks! How come there is no CircleCI build?

@jonbretman I am not sure why CircleCI is not building "external" pull requests, as it's meant to (their default behaviour, as is my understanding). I'm thinking of switching to TravisCI and use that if it works rather than troubleshoot CircleCI. You can of course run npm test locally and I will do that first too before any merging.

@jonbretman FYI if you prefix with LOG_LEVEL=debug then it will be enabled from the very start.
e.g. LOG_LEVEL=debug npm start foo/bar or LOG_LEVEL=debug renovate foo/bar

Published to npm as version 8.4.1. Thanks very much @jonbretman

@rarkins FYI to enable CircleCI to build pull requests from forks you need to select the "Build forked pull requests" option in "Advanced Settings".

@jonbretman thanks, done


remove firestore settings

This PR closes #406 .
Same as #407 , but it seems there are still remaining the settings in some directories.

@zaki-yama sorry for the slow response here!  This LGTM.

@samtstern
No problem! Thank you for merging!


"page.setCookie" fails when using "partitionKey" field in cookie: "Invalid parameters Failed to deserialize params.cookies.partitionKey"

The following script always fails with Chrome and not Firefox when using the partitionKey field for a cookie that gets set via page.setCookie:
    'use strict';

    const puppeteer = require('puppeteer');

    (async () => {
      const browser = await puppeteer.launch({
        protocol: 'webDriverBiDi',
      });

      const page = await browser.newPage();

      const domain = "addons.mozilla.org";
      const cookie = { name: "John", value: "42", domain, partitionKey: `https://${domain}` };
      await page.setCookie(cookie);

      await browser.close();
    })();

The failure is:
ProtocolError: Protocol error (storage.setCookie): unable to set cookie ProtocolError: Protocol error (Storage.setCookies): Invalid parameters Failed to deserialize params.cookies.partitionKey - BINDINGS: string value expected at position 115

Here an excerpt from the debug log of Puppeteer:
  puppeteer:webDriverBiDi:SEND ►   '{"id":10,"method":"storage.setCookie","params":{"cookie":{"domain":"addons.mozilla.org","name":"John","value":{"type":"string","value":"42"}},"partition":{"type":"storageKey","sourceOrigin":"https://addons.mozilla.org","userContext":"default"}}}'
  puppeteer:webDriverBiDi:SEND ► ] +0ms
  puppeteer:protocol:SEND ► [
  puppeteer:protocol:SEND ►   '{"method":"Storage.setCookies","params":{"cookies":[{"name":"John","value":"42","domain":"addons.mozilla.org","path":"/","secure":false,"httpOnly":false,"partitionKey":{"hasCrossSiteAncestor":false,"topLevelSite":"https://addons.mozilla.org"}}]},"id":9}'
  puppeteer:protocol:SEND ► ] +0ms
  puppeteer:protocol:RECV ◀ [
  puppeteer:protocol:RECV ◀   '{"id":9,"error":{"code":-32602,"message":"Invalid parameters","data":"Failed to deserialize params.cookies.partitionKey - BINDINGS: string value expected at position 115"}}'
  puppeteer:protocol:RECV ◀ ] +0ms
  puppeteer:webDriverBiDi:RECV ◀ [
  puppeteer:webDriverBiDi:RECV ◀   '{"type":"error","id":10,"error":"unable to set cookie","message":"ProtocolError: Protocol error (Storage.setCookies): Invalid parameters Failed to deserialize params.cookies.partitionKey - BINDINGS: string value expected at position 115"}'

At least the BiDi command looks fine to me.
@OrKoN can you please check? Thanks.

@sadym-chromium could you please take a look?

Is anyone aware of any workarounds for this?
This took down one of our services today and the fact that google doesn't host old stable releases is making this a rather large PITA.

@goleary Puppeteer does not support M127 yet. You will need to wait until a new Puppeteer release is out that we tested with M127.

So in this example, Chrome actually requires the cookie to have secure: true and would reject storing the cookie if it is not secure.

Same issue. No issues on any site until the partitionKey is set in the cookies that gets loaded and error happens.

@marios88 @nonstopdevelopment are you using WebDriver BiDi? if not, it is not the same issue.

Have tried the example as well as the standard dev tools and same issue using the example and our own test cases trying to load cookies with partitionKey
ProtocolError: Protocol error (Network.deleteCookies): Invalid parameters Failed to deserialize params.partitionKey - CBOR: map start expected at position 66

@OrKoN reassigning to you, as you already on it. Feel free to reassign back, if you want to hand it over to me

Adding secure: true makes the example work in Chrome. Therefore, closing the issue.

I have this issue awell, using chrome, and cookie already has secure: true.
params.partitionKey - CBOR: map start expected at position 336


UML-1362 - Add metric filters for older LPA journey outcomes

Purpose
Capture Cloudwatch metrics for older LPA journey outcomes.
Fixes UML-1362
Approach

add new event codes, OLDER_LPA_TOO_OLD and OLDER_LPA_INVALID_STATUS,
remove IDENTITY_HASH_CHANGE changes metric filter
sort list of event_codes to create metric filters for

Learning
https://github.com/ministryofjustice/opg-use-an-lpa/pull/794
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] The product team have tested these changes

New metrics enabled and identityhash metric removed


Header modifications for -ext

Modifications for using -ext

I made a patch from these commit
Applied to your last version
Build ok for iOS, tvOS and Mac target
Just need to remove red file CCRenderTexture_Private.h from Xcode in cocos2d/Rendering


Diagnostic study

Pull requests into cqm-parsers require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[ ] This pull request describes why these changes were made.
[ ] Internal ticket for this PR:
[ ] Internal ticket links to this PR
[ ] Code diff has been done and been reviewed
[ ] Tests are included and test edge cases
[ ] Tests have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Codecov Report

Merging #21 into full_qdm_5_4_support will decrease coverage by 1.79%.
The diff coverage is 90.47%.

@@                   Coverage Diff                   @@
##           full_qdm_5_4_support      #21     +/-   ##
=======================================================
- Coverage                 85.81%   84.02%   -1.8%
=======================================================
  Files                        56       57      +1
  Lines                      1361     1377     +16
=======================================================
- Hits                       1168     1157     -11
- Misses                      193      220     +27

Impacted Files
Coverage Δ

lib/qrda-import/patient_importer.rb
90.12% <100%> (-2.38%)
:arrow_down:

...importers/diagnostic_study_recommended_importer.rb
100% <100%> (ø)

lib/cqm_report.rb
100% <100%> (ø)
:arrow_up:

lib/qrda-export/catI-r5/qrda1_r5.rb
100% <100%> (ø)
:arrow_up:

lib/qrda-import/base-importers/section_importer.rb
86.4% <50%> (-5.6%)
:arrow_down:

...t-importers/diagnostic_study_performed_importer.rb
68% <50%> (-32%)
:arrow_down:

...-element-importers/encounter_performed_importer.rb
70.96% <0%> (-29.04%)
:arrow_down:

...t/data-element-importers/adverse_event_importer.rb
94.11% <0%> (-5.89%)
:arrow_down:

... and 1 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 e2ba745...f127c74. Read the comment docs.


Refactored Read & Cheep functions and added Cheep record

Refactored Read & Cheep function bodies to use CsvReader and newly added Cheep record.
Also simplified and changed parameter type of FromUnixTimeToDateTime from string to long.

@Br00nac I looked into the issue you are describing and added/comitted the header to the csv file, so now the code works as intended :)


Update to Meteor 1.0.5 ends with error [ng:btstrpd] App Already Bootstrapped with this Element 'document'

I get the following error :+1:
Error: [ng:btstrpd] App Already Bootstrapped with this Element 'document'
http://errors.angularjs.org/1.3.15/ng/btstrpd?p0=document
at REGEX_STRING_REGEXP (http://localhost:3000/packages/angularjs_angular.js?1f09dae41340a3124486f5b9ec377493377ff002:93:14)
at doBootstrap (http://localhost:3000/packages/angularjs_angular.js?1f09dae41340a3124486f5b9ec377493377ff002:1463:15)
at Object.bootstrap (http://localhost:3000/packages/angularjs_angular.js?1f09dae41340a3124486f5b9ec377493377ff002:1503:14)
at HTMLDocument.onReady (eval at  (http://localhost:3000/packages/jquery.js?dd8bac56f8fd3666d433d2285ae01e52597cc51a:372:22), :12:13)
at jQuery.Callbacks.fire (http://localhost:3000/packages/jquery.js?dd8bac56f8fd3666d433d2285ae01e52597cc51a:3176:30)
at Object.jQuery.Callbacks.self.add [as done] (http://localhost:3000/packages/jquery.js?dd8bac56f8fd3666d433d2285ae01e52597cc51a:3222:7)
at jQuery.fn.ready (http://localhost:3000/packages/jquery.js?dd8bac56f8fd3666d433d2285ae01e52597cc51a:3456:25)
at eval (eval at  (http://localhost:3000/packages/jquery.js?dd8bac56f8fd3666d433d2285ae01e52597cc51a:372:22), :19:31)
at eval (eval at  (http://localhost:3000/packages/jquery.js?dd8bac56f8fd3666d433d2285ae01e52597cc51a:372:22), :187:3)
at eval (native)angular.js:11655 (anonymous function)angular.js:8596 $getangular.js:14787 $get.Scope.$broadcastangular-ui-router.js:3218 $state.transitionTo.$state.transition.resolved.then.$state.transitionangular.js:13248 processQueueangular.js:13264 (anonymous function)angular.js:14466 $get.Scope.$evalangular.js:14282 $get.Scope.$digestangular.js:14571 $get.Scope.$applyangular.js:9698 doneangular.js:9888 completeRequestangular.js:9829 requestLoaded

I 've solved the problem. Now it works with the latesr version 1.1.
Only urigo:ionic and urigo:angular need to be added.
Changed  :
Packages  to :
meteor-platform
insecure
urigo:ionic
urigo:angular

and app bootstrap to :
    Meteor.startup(function ()
    {
      angular.bootstrap(document, ['starter']);
    });

angular.module('starter', ['angular-meteor','ionic', 'starter.controllers'])

.run(['$ionicPlatform',function($ionicPlatform) {
  $ionicPlatform.ready(function() {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if(window.cordova && window.cordova.plugins.Keyboard) {
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
    }
    if(window.StatusBar) {
      // org.apache.cordova.statusbar required
      StatusBar.styleDefault();
    }
  });
}])

Thank for attention.

:)   good job and thanks for sharing your solution

By the way, what was your problem?

Thankas.
But there is something interesting about href usage.
Within ion-content the first group within ion-list make page change
succesfully,
but in the second group which works in normal ionic, in meteor-ionic just
changes the url but does not change the page.
Any idea ?
Best regards...
Gokhan AYKAN - Istanbul

<ion-item nav-clear menu-close href="#/cari/list">
    cari list
</ion-item>
<ion-item nav-clear menu-close href="#/app/playlists">
    Playlists
</ion-item>

        Change page using href attribute

        Animate change page using href attribute

    Programmatically change page

On Thu, Apr 2, 2015 at 4:36 AM, Uri Goldshtein<EMAIL_ADDRESS>wrote:

:) good job and thanks for sharing your solution
—
Reply to this email directly or view it on GitHub
https://github.com/Urigo/meteor-ionic/issues/39#issuecomment-88684006.

--
Gokhan AYKAN


CASIA-Surf

This is not really an issue.
Can someone please upload CASIA-SURF dataset to other fileshare system? I am not being able to download it, since I cannot create Baidu account.
Really appreciate it.

train.zip
valid.zip

@kormalev thanks for providing the data.

@kormalev do you have the complete dataset? The one's that you have uploaded here only has the print cut-out attack images. Thanks in anticipation.

@parthagar, this is the exact same data from Baidu with passwords removed. AFAIK, it is the full original dataset distributed during the contest.

@kormalev, I'm afraid that is not the case. Take a look at Section 3 of the CASIA-SURF Paper. Anyways thanks for providing this data, if you come across the complete version or if you have OULU-NPU, SiW-M please do tell me, I need them.

@parthagar, the paper describes 6 attack modes, all of them being print cut-out attacks with variations in what is being cut out and whether the paper is bent or not.
As for SiW-M, you can request it for research purposes through the authors' website.

@parthagar Do you have SiW or SiW-M dataset? I need them too~

Does anyone have Replay-attack, oulu-npu access? I am working on my thesis and would be appreciated

@kormalev do you have replay-attack or oulu-npu dataset? I am working on my thesis and i need it asap


Knex compatibility with microservices

I'm working on a small project using microservices that all share one database. The issue is that I have migration files within each of the services and they do not all reside in one location. This results in the obvious error:
The migration directory is corrupt, the following files are missing:
Is there a way to ignore the knex_migrations table in mysql server or just migrate one migration at a time? Or do I just have to keep a separate database for each microservice? It seems to be built more for a whole application right now.

Knex doesn't support having migration files spread over multiple places.
To be honest it sounds pretty scary  to make sure that the migrations are ran in correct order if they are spread over many different places.
However as a hack you could try overriding the name of the migration table in each microservice (http://knexjs.org/#Installation-migrations) and that way each service will believe having their own DB with own migrations. In that way your database will end up with multiple migration tables.


[C++][Parquet] Add benchmarks for micro benchmark for DELTA_LENGTH_BYTE_ARRAY

Describe the enhancement requested
Describe the enhancement requested
Now that we support the DELTA_BINARY_PACKED encoding for both reading and writing, we can add some benchmarks for it.
Component(s)
C++, Parquet

@mapleFU please go ahead! :)


can i automatically export my notebook to a .py file (or a file based on the kernel selected...) every time i save my notebook?

Is your feature request related to a problem? Please describe.
not a problem
Describe the solution or feature you'd like
see title
Describe alternatives you've considered
haven't considered any
Additional context
running this on macOS

Hi @theoko,
The current only method that you can convert notebooks to .py file is using jupyter nbconvert --to script [Your Notebook].ipynb.
This would only be able to work properly with python notebooks as other kernels would as far as I know do not have a translation setup to translate over to a .py script.


Thomas algorithm in java

Perfect, now we just have to wait for the actual review :)

Thanks @MichalHanajik for the review!


TGRSIRunInfo not being written to analysis file.

See title. I think this would be useful. If it wasn't planned on being this way, I think it should be since this is where we would like to keep our coincidence gates.

The TGRSIRunInfo also has no name which makes it a pain to extract from the TFile.

I have it now writing the run info to the analysis tree. Working on getting it to load more easily like TChannels.

This is trickier than I thought as this isn't quite like TChannels. If you have multiple runs open, you need a static map or something to distinguish between them and allow you to access the sub run you want. Maybe a some sort of TRef on the Trees that point to their particular Run info will also work. I will spend time thinking about the best way to do this rather than just making it work quickly.

Actually, this seems to be working. Interpretively you make the call
TGRSIRunInfo->GetRunNumber()

So now this is read, and it is also written into the analysis file.


Improvement: Consider using packaged nodetool functionality as opposed to JMX library

This will decouple the framework version from cassandra version and  could allow for independent upgrades.

It's not just the nodetool interface though. There are several cassandra.yaml parameters that are added/removed/modified which are customized by the framework.

yep makes sense


I want Japanese to be added to Description

I want Japanese to be added to Description.
At the end of the description, "Thank you" lined up in various languages.
Because there is no Japanese, I would like to add it.
"Thank you" is "ありがとう" in Japanese.
That is, it becomes as follows.
- 🔖 Daily-updated reading list for designing High Scalability 🍒, High Availability 🔥, High Stability 🗻 back-end systems - Pull requests are greatly welcome 👬 I hope you will find this project helpful 🍀 Please help me share it to more and more people ❤ Thank you - 谢谢 - धन्यवाद - ধন্যবাদ - Спасибо - شكرا - Merci - Gracias - Danke - Cảm ơn! 🙇
+ 🔖 Daily-updated reading list for designing High Scalability 🍒, High Availability 🔥, High Stability 🗻 back-end systems - Pull requests are greatly welcome 👬 I hope you will find this project helpful 🍀 Please help me share it to more and more people ❤ Thank you - 谢谢 - धन्यवाद - ধন্যবাদ - Спасибо - شكرا - Merci - Gracias - Danke - Cảm ơn! - ありがとう 🙇

It is not a proposal on code, so I drafted it with an issue.
If this is incorrect, you should close this issue.
ありがとう。

こんにちは 🌹  Added 😅

ありがとう! 👍


Quick replies for jokes module

Added quick replies for one more joke and a quote for the jokes module. Tests not added. Functionality can be tested at https://www.facebook.com/devRevanthJARVIS/

convert all tabs to spaces

Hey @CoderOwl, will you be willing to complete this?

Thanks @CoderOwl! 👍
P.S. Sorry for the late merge, this got missed somehow. 😅


Redundant Debug Logging for ExecSync

Environment
azure-pipelines-task-lib version: 4.17.2
Issue Description

Whenever using the execSync function, and have system.debug enabled for the pipeline run, every piece of the command being output as a separate debug line twice:

That is the result from using execSync to run a curl command:

Expected behaviour

I would expect whatever command is being executed to be debug logged on a single line. Also none of the debug lines should be duplicated.
Would also be nice to have an option for execSync to not debug log the command at all. The existing silent option only masks the regular console output.
Actual behaviour

Each piece or argument of the command is output on a new debug line and duplicated. No way to alter this behavior or mask.
Logs

@pbcahill, appreciate the alert. I'll review the matter and respond promptly.

@pbcahill, I successfully replicated the problem using a custom script task that make a request to a URL via the curl utility.
The core of this problem lies is how CmdLine/Bash/Powershell tasks are designed.
They utilize a tool wrapper which add listener for debug output. Then they subsequently invoke call exec method, which does the same action.
CmdLineV2:
tool listener
exec listener
BashV3:
tool listener
exec listener
PowershellV2:
tool listener
exec listener
Both these wrappers add listeners
tool
exec
Additionally, I'd like to point out that the 'silently' property does not impact the debug output.

@pbcahill thanks for pointing this out! It's fixed in newest patch, 4.17.3
I'm closing this bug, please let me know if you have any further questions.

Thank you @KonstantinTyukalov and @ivanduplenskikh for the very prompt responses and resolutions! I have tested the new version in my extensions and the duplicate debug log lines are no more.


Java 7, 6 and 5 support

Hi Kyle,
as we agreed, I've started reviewing your code. In this first pull request I've added support to Java 7, 6 and 5. To do that, I've removed lambdas and Java FP, converting them into their respective OOP equivalent (mostly for loops), I've removed the diamond operator to all the collection (type inference has been removed and hard-coded) and the Override annotation from interface overriding (Java 5 allows overriding only class methods).
Also, while I was at it, I've noticed that some classes used to log with a reference to the ExampleMain.class. Since that's only an example, I've removed that reference and gave each class its own logger.
Please review the changes when you have time and pull them to your repository if you feel like.
Thank you for this awesome library and have a nice day!

Sorry, I forgot about this for almost a year. Nice work.


Question: Should go mod tidy require an LspRestart?

I've noticed that  I need to :LspRestart after running :GoModTidy to clear import errors. I was going to just write a wrapper that did this automatically, but I was wondering if maybe I just have something misconfigured. Are you seeing the same behavior?

I think that might be true.  I normally will do that because gopls seems will still using old version of go.mod/sum


refactor(cli): -i option reads haetae and @haetae/* versions from package.json

This is to provide more stable behavior.
Currently, it depends on exported members.

QA: does yarn 2 and 3 locates package.json for sub deps?


How are non-secure context Clients observable?

As far as I can tell from reading the spec, a Client representing a non-secure context cannot be observed.  Clients.matchAll() when used with includeUncontrolled: true already excludes non-secure Clients.  And Clients.get() also excludes non-secure Clients (and it's impossible to observe such a clientId in the first place since we don't dispatch FetchEvents for such clients anyways).
Does this mean that implementations are free to ignore the places in the spec where we're talking about Client objects being non-secure?

As far as I can tell from reading the spec, a Client representing a non-secure context cannot be observed.

Yes, that's the intention. Here's the summary how the APIs deal with the non-secure contexts: https://github.com/slightlyoff/ServiceWorker/issues/754#issuecomment-147584203.

Does this mean that implementations are free to ignore the places in the spec where we're talking about Client objects being non-secure?

I'm not clear with this. Is there any such place in the spec I'm missing?

@jungkees Look for the phrase "not a secure context" in the spec.

clients.get(id), clients.matchAll(), clients.claim() can still deal with the non-secure context clients, e.g., the iframes running on the same origin with the service worker but embedded in an http top frame. Those clients should be filtered out, and the above APIs are exactly where that happens.
Re client's id, fetch events for a non-secure client is also filtered out in Handle Fetch, but a non-secure client's id can still be exposed if we don't filter it out in matchAll(), etc.

Closing. Please let me know if more discussion is needed.

My point was mostly about Clients.get().  Per spec, there is no way to obtain a clientId belonging to a non-secure context.  Clients.matchAll() and Clients.claim() don't work for non-secure clients, and we will never dispatch a FetchEvent for a non-secure non-subresource load, so the behavior of Clinets.get() would be the same whether or not the check for the secure context exists in the spec.


API: replaced cibot_pr_report with cibot_report

Fixes issue #289.
This commit is to rename the existing API name of the CI bot
to improve readability of the APIs.

Before: cibot_pr_report()
After : cibot_report()

Changes proposed in this PR:

Rename the existing webhook API

Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>
[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180820. Thank you for submitting PR #292. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.


"Invalid package error" on electron application create main.js and use API "packager"

[ ] I have read the contribution documentation for this project.
[ ] I agree to follow the code of conduct that this project follows, as appropriate.
[ ] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Please describe your issue:
1."electron": "^2.0.5"
2."electron-packager": "^12.1.0"
I want to package application include another application, it's a packaged application.But something error .(A JavaScript error occurred in the main process).
first, I use "electron-packager . --platform=darwin --electron-version=2.0.5 --overwrite --ignore=.gitignore". It's success to build a wrap application.
second, Wrap application use nodejs to create some files like package.json and main.js, then I use the electron-packager API "packager" to build new project and something error.Please help.

Unhandled rejection Error: Invalid package /private/var/folders/2w/13b_340j6qj0xtz5jgcyzj7w0000gn/T/electron-packager/darwin-x64-template/Electron.app/Contents/Resources/default_app.asar
    at invalidArchiveError (ELECTRON_ASAR.js:153:19)
    at Object.module.(anonymous function) [as open] (ELECTRON_ASAR.js:209:16)
    at WriteStream.open (fs.js:2158:6)
    at new WriteStream (fs.js:2144:10)
    at Object.fs.createWriteStream (fs.js:2106:10)

In order to debug your problem further, we need a minimal testcase to reproduce your problem. Using the electron-quick-start repository as a base, could you please create a minimal Electron app that illustrates the issue you described, and post a link to it here?

I have the same problem with electron-packager on Win 10:
Same resut with a new app create with the electron-quick-start as a base
Packaging app for platform win32 ia32 using electron v2.0.6
Unhandled rejection Error: Invalid package C:\Users\suppo\AppData\Local\Temp\electron-packager\win32-ia32-template\resources\default_app.asar     at invalidArchiveError (ELECTRON_ASAR.js:153:19)     at Object.module.(anonymous function) [as open] (ELECTRON_ASAR.js:209:16)     at WriteStream.open (fs.js:2158:6)     at new WriteStream (fs.js:2144:10)     at Object.fs.createWriteStream (fs.js:2106:10)     at writeStream (C:\Electron\open-grid\node_modules\extract-zip\index.js:175:36)     at C:\Electron\open-grid\node_modules\extract-zip\index.js:172:18     at C:\Electron\open-grid\node_modules\yauzl\index.js:439:7     at C:\Electron\open-grid\node_modules\yauzl\index.js:473:5     at C:\Electron\open-grid\node_modules\fd-slicer\index.js:32:7     at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)
But If i extract manualy the package
C:\Users\suppo\AppData\Local\electron\Cache\electron-v2.0.0-win32-ia32.zip
into
C:\Users\suppo\AppData\Local\Temp\electron-packager
A new error is show :
`Unhandled rejection Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\suppo\AppData\Local\Temp\electron-packager\win32-ia32-template\resources'
electron-quick-start.zip
`

@LudiscapeXApi I cannot reproduce this on Linux with your zip file. The packaged app runs normally.
Why are you specifying prune: false?

I cannot reproduce this on Ubuntu 18 too. Only on Win 10.
prune false/true same result :
Unhandled rejection Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\suppo\AppData\Local\Temp\electron-packager\win32-ia32-template\resources'

I found a solution :
Turn off the asar functionality and then run it.

@LudiscapeXApi @malept thank you guys.I set process.noAsar = true.The packaged app runs normally.


Support base-4.8

Trying to build this library with the newest version of GHC, this error pops up:
Resolving dependencies...
Configuring github-0.13.1...
Building github-0.13.1...
Failed to install github-0.13.1
Build log ( /home/pete/.cabal/logs/github-0.13.1.log ):
Configuring github-0.13.1...
Building github-0.13.1...
Preprocessing library github-0.13.1...
[ 1 of 31] Compiling Github.Repos.Webhooks.Validate ( Github/Repos/Webhooks/Validate.hs, dist/build/Github/Repos/Webhooks/Validate.o )

Github/Repos/Webhooks/Validate.hs:10:1: Warning:
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
[ 2 of 31] Compiling Github.Data.Definitions ( Github/Data/Definitions.hs, dist/build/Github/Data/Definitions.o )
[ 3 of 31] Compiling Github.Data      ( Github/Data.hs, dist/build/Github/Data.o )

Github/Data.hs:23:20:
    Ambiguous occurrence ‘defaultTimeLocale’
    It could refer to either ‘Data.Time.defaultTimeLocale’,
                             imported from ‘Data.Time’ at Github/Data.hs:9:1-16
                             (and originally defined in ‘time-<IP_ADDRESS>:Data.Time.Format.Locale’)
                          or ‘System.Locale.defaultTimeLocale’,
                             imported from ‘System.Locale’ at Github/Data.hs:14:23-39
cabal: Error: some packages failed to install:
github-0.13.1 failed during the building phase. The exception was:
ExitFailure 1

I believe this is due to an incompatibility with the newest version of base.

Yes - defaultTimeLocale is now re-exported by Data.Time in the latest version. I think the easiest fix would be to use an explicit import list when importing from either module, and to always import defaultTimeLocale from System.Locale (so that it works on base < 4.8 too).

I opened up a PR with a fix for base-4.8. I'm not familiar with the language of if-defs, so I'll leave that to someone else.

Ohhh okay, I see what you mean. That was the first thing I tried, actually. It didn't work, because GHC doesn't realize the type from Data.Time is the same as the one from System.Locale.


Does quickwit support "Multiple indexers" deployment currently?

Does quickwit support "Multiple indexers" deployment currently?

Hi @geek-frio
Indeed distributed indexing is not yet available.
But we are working on this:

There is an issue to have distributed indexing working with Kafka #1794. This should be available before the end of the month.
We are also working on the implementation of the control plane that will assign indexers indexing task, hopefully it will be ready in the coming months.

Are you working with Kafka or other distributed queues?

Are you working with Kafka or other distributed queues?
@fmassot
Thanks for reply! I'm not using distributed queues currently.My server is a central tracing service which provides grpc service to tracing collector, so the tracing collector will send tracing grpc request to the service directly. After getting the request, I batch the request and store in the ElasticSearch. Currently my service max qps will be 30000 qps, and data size is about 1T one day.

Maybe I can change to use kafka queues to store these data, quickwit's design is very suitable for my tracing data and logging data storing circumstance. 😊

@geek-frio Oh cool. We willl probably develop specific features to deal with storing tracing data specifically. If you have time to describe your use case in depth, I'd love to discuss

For eventual future readers, this aged very fast. We are about to merge multi-node indexing in main
https://github.com/quickwit-oss/quickwit/pull/1824


[Audit][Stream Load] Support audit function for stream load

Proposed changes
Record finished  stream load job (both successful job and failed job) into audit log so that we can see when the stream load job was executed and check the details of stream load jobs.
2021-03-09 14:11:51,821 [stream_load] |Label=1615270311|Db=test_db_1|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8926|StartTime=2021-03-09 14:11:51.692|FinishTime=2021-03-09 14:11:51.819
2021-03-09 14:11:52,969 [stream_load] |Label=1615270312|Db=test_db_2|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8926|StartTime=2021-03-09 14:11:52.848278|FinishTime=2021-03-09 14:11:52.968169
2021-03-09 14:11:54,122 [stream_load] |Label=1615270313|Db=test_db_3|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8926|StartTime=2021-03-09 14:11:53.995|FinishTime=2021-03-09 14:11:54.120
2021-03-09 14:12:00,494 [stream_load] |Label=1615270320|Db=test_db_0|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8947|StartTime=2021-03-09 14:12:00.314894|FinishTime=2021-03-09 14:12:00.493533
2021-03-09 14:12:01,648 [stream_load] |Label=1615270321|Db=test_db_1|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8947|StartTime=2021-03-09 14:12:01.525|FinishTime=2021-03-09 14:12:01.649
2021-03-09 14:12:02,809 [stream_load] |Label=1615270322|Db=test_db_2|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8947|StartTime=2021-03-09 14:12:02.675|FinishTime=2021-03-09 14:12:02.803
2021-03-09 14:12:03,957 [stream_load] |Label=1615270323|Db=test_db_3|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8947|StartTime=2021-03-09 14:12:03.831452|FinishTime=2021-03-09 14:12:03.955965
2021-03-09 14:12:10,333 [stream_load] |Label=1615270330|Db=test_db_0|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8928|StartTime=2021-03-09 14:12:10.209635|FinishTime=2021-03-09 14:12:10.332249
2021-03-09 14:12:11,548 [stream_load] |Label=1615270331|Db=test_db_1|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8928|StartTime=2021-03-09 14:12:11.363|FinishTime=2021-03-09 14:12:11.549
2021-03-09 14:12:12,702 [stream_load] |Label=1615270332|Db=test_db_2|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8928|StartTime=2021-03-09 14:12:12.574945|FinishTime=2021-03-09 14:12:12.700693
2021-03-09 14:12:13,914 [stream_load] |Label=1615270333|Db=test_db_3|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8928|StartTime=2021-03-09 14:12:13.731|FinishTime=2021-03-09 14:12:13.915
2021-03-09 14:12:20,237 [stream_load] |Label=1615270340|Db=test_db_0|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8933|StartTime=2021-03-09 14:12:20.110|FinishTime=2021-03-09 14:12:20.237
2021-03-09 14:12:21,391 [stream_load] |Label=1615270341|Db=test_db_1|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8933|StartTime=2021-03-09 14:12:21.264|FinishTime=2021-03-09 14:12:21.389
2021-03-09 14:12:22,557 [stream_load] |Label=1615270342|Db=test_db_2|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8933|StartTime=2021-03-09 14:12:22.418|FinishTime=2021-03-09 14:12:22.554
2021-03-09 14:12:23,720 [stream_load] |Label=1615270343|Db=test_db_3|Table=table_test|User=root|ClientIp=xxx|Status=Success|Message=OK|Url=N/A|TotalRows=200|LoadedRows=200|FilteredRows=0|UnselectedRows=0|LoadBytes=8933|StartTime=2021-03-09 14:12:23.587|FinishTime=2021-03-09 14:12:23.718

Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] Documentation Update (if none of the other choices apply)
[x] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[] I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[] I have added tests that prove my fix is effective or that my feature works
[] If these changes need document changes, I have updated the document
[x] Any dependent changes have been merged

And I pulled and run your PR, submit several stream load.
I can see log put stream_load_record rocksdb successfully. label: f0130520-835a-4d05-a38d-95f67f5b8c7b in be.INFO.
And I can see log finished to pull stream load records of all backend in fe.log.
But there is nothing got from BE. I don't know why, maybe you need to check it.

And I pulled and run your PR, submit several stream load.
I can see log put stream_load_record rocksdb successfully. label: f0130520-835a-4d05-a38d-95f67f5b8c7b in be.INFO.
And I can see log finished to pull stream load records of all backend in fe.log.
But there is nothing got from BE. I don't know why, maybe you need to check it.

I test again. There should be nothing wrong.

And I pulled and run your PR, submit several stream load.
I can see log put stream_load_record rocksdb successfully. label: f0130520-835a-4d05-a38d-95f67f5b8c7b in be.INFO.
And I can see log finished to pull stream load records of all backend in fe.log.
But there is nothing got from BE. I don't know why, maybe you need to check it.

I test again. There should be nothing wrong.


How I can support characters of other languages when getting it from an api response?

In my app I am displaying description text which is dynamically received from an api response. So the text my be in different languages' character and may contain some spacial character. How would I handle it in flutter. As I am facing this problem.
Response which I got in flutter. Please focus on description key.

Response which I got in Postman. Please focus on description key.

In postman and in flutter I am hitting the same api.
My question is that how I can get same response in flutter as in postman? I have to display description text as it is appear in postman response. please help me.

I think you can approach like this:
import 'dart:convert';
and then:
utf8.decode(value)

Hi @dhanrajvermaRepo
You may want to look at this answer
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

@iapicca I have solved my problem.


Updating Blockly JavaScript files to master 0dfaf84.

Updated update script to include lua generator files in demo directory (and capitalizing constants).

This change is

LGTM

Resolves #635


flutter logs doesn't print any acknowledgement when run

This is what I see:
~/flutter/testme $ flutter logs

In this scenario, I have a single iOS simulator started. And I already ran flutter start.
Not sure if things are working, or there are no logs. Could we print something like "Connected, now streaming logs..." or an acknowledgement that A) the tool is connected to the device/simulator and that B) if there were logs, they would be streaming now.
Also, if there's an error, we should print that and exit.
Thanks!

cc @chinmaygarde because this might be an iOS issue.

https://github.com/flutter/flutter/issues/869 https://github.com/flutter/flutter/issues/868 https://github.com/flutter/flutter/issues/360 appear to all be this bug. :)


"Task is starting (status RUNNABLE)..." for a long time

I have a message

Task is starting (status RUNNABLE)...

repeating for a long time, without any follow up, when I want to run a program on AWS batch. Sometimes, however, it seems to work.
I have no idea how to debug it.  Any ideas?

@smolendawid This can happen due to a bunch of different reasons. Unfortunately, AWS Batch does not make it super easy to diagnose this currently. Have you checked whether the resources you are asking for the task are available in your compute environment? Also, this article might be helpful - https://aws.amazon.com/premiumsupport/knowledge-center/batch-job-stuck-runnable-status/

I will try to play with the resources but I can't see any problems yet.

I think my problem was that I didn't pass the environmental variable AWS_DEFAULT_REGION


[Bug]:Wrong ExternalName in CRM Table: "FS Work Order"

Describe the issue
Pretty straight forward.
Whenever you want to use CDS Table: "FS Work Order".
Doesn't matter which on you use (The Obsolete one, or the Field Service Integration one).
Both WON'T work.
msdyn_workorder' entity doesn't contain attribute with Name = 'msdyn_workorderId' and NameMapping = 'Logical'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=1236622815, MinActiveRowVersion=1236622815, MetadataInstanceId=26445418, LastUpdated=2024-10-17 10:47:54.560, OrgId=ab3719dd-6e1e-465e-9f25-8f7e7b05f8bf Page Arbeitsaufträge has to close.
Is the error you receive, when trying to display the data on a page.
The Primary Key / Unique Identifier has the wrong ExternalName.
It's
field(1; WorkOrderId; GUID)
{
ExternalName = 'msdyn_workorderId';
ExternalType = 'Uniqueidentifier';
ExternalAccess = Insert;
Description = 'Shows the entity instances.';
Caption = 'WO Number';
DataClassification = SystemMetadata;
}
but should be
field(1; WorkOrderId; GUID)
{
ExternalName = **_'msdyn_workorderid;
ExternalType = 'Uniqueidentifier';
ExternalAccess = Insert;
Description = 'Shows the entity instances.';
Caption = 'WO Number';
DataClassification = SystemMetadata;
}
The fix we are using is creating a own CDS Table from Scratch.
But it would be really nice, if you could fix this.
Expected behavior
Being able to retrieve Data from the Integration Table and display it on a page
Steps to reproduce
Create a new Page for Table "FS Work Order" of your choice.
Display the field of your choice (as example "Name").
Add the following code.
trigger OnInit()
var
begin
    Codeunit.Run(Codeunit::"CRM Integration Management");
end;

And try to open the page.
Additional context
You need to setup the Dataverse Connection first.
I will provide a fix for a bug

[x] I will provide a fix for a bug

Sounds fair. Approved. Please create a PR to address the issue.

We now have a support case for this and this issue will hence get picked up by the product group.


Can I use the model to make predictions on my own dataset

I recently read your paper and want to use the model you proposed to build an rst tree on my own data. Is there a corresponding inference module?

I have provided the trained model.

I recently read your paper and want to use the model you proposed to build an rst tree on my own data. Is there a corresponding inference module?

I have provided the trained model.


How can i get a list of Koa server url routes

just like express-list-endpoints
https://www.npmjs.com/package/express-list-endpoints

Koa doesn't include a router like express does. So, if there are any it's probably specific to whichever router you pick for your project. There's no "official" (as in under @koajs org) package that solves your problem.


Add more advanced usage examples to render functions guide

Including:

[ ] Bubbling up events from child components and wrapping event handlers from the parent
[ ] Modifying the data object of slot components with lodash's merge on VNodes

Would this be a good candidate for cookbook or should it stay with the guide? I feel like we definitely should include a render function example in the cookbook

I think it's a good candidate for the cookbook. 🙂


[Critical] Segfault with proton games

When using gamescope-session-steam on 6.9.3 (Archlinux) with latest gamescope-git and running a Proton game, the gamescope session and gamescope itself crash.
Reason is a segmentation fault for gamescope itself. This ONLY happens when using gamescope-session-steam as session and not when manually running a steam gamescope session from terminal (cli login).
Here is the dmesg:
gamescope_segfault_dmesg.log
This makes gamescope-steam-session not usable as it will crash with any proton game.
Native games work fine.
https://github.com/ValveSoftware/gamescope/issues/1358

Small Update:
This seems to happen when a controller is connected. When no controller is recognized, gamescope session seems to work correctly.


Changing monitors (DPI) causes strange display issues.

Environment
Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.0.1401.0

Any other software?

Steps to reproduce

Execute a command that does a background task (for example, Invoke-WebRequest). This will popup a progress indicator.

Shift the window to a secondary monitor (that has different scaling or resolution)

Expected behavior
Things should look the same.
Actual behavior

(this is while the command was downloading)

(one it is finished)

This is probably some sort of combo of #3848 and the super old bug #32
/dup #32 #3848


Add support for IReducer<TState, TAction>

If possible, add support for IReducer<TState, TAction> where TAction : IAction.
Eventually remove the IAction completely.

won't do


wildcard oddities

* help * should match please help me and not pleasehelpme
*(1-2) (a|b) *(1-2) needs to be verified.
+ *(1-3) is (*) errors

Fixed in https://github.com/silentrob/ss-parser/commit/319d1217b84205239fab7bb0c5453450cdeaf669


Remap function names

Partially addresses issue #5
Due to occasional differing function names between DuckDB and Substrait, remapping is necessary. This pr adds unordered maps to remap these function names both ways. These maps will likely need to be expanded in the future.

Hey Lindsay, many thanks for the PR! It looks great, I only have some small comments.
It also seems you also have to update the tests that match the binary results, since the binaries have now changed :-)

Also, is this PR the one that refers to the issue raised on the discord channel?

Also, is this PR the one that refers to the issue raised on the discord channel?

Yes, I hope this PR resolves that issue

The CI is hopefully fixed now :-)

LGTM!


[BUG] Build error - missing pigweed libc++.a (M1 Ventura 13.1)

Reproduction steps
Attempting to build both all-clusters-app for darwin arm64 and ./gn_build.sh produce the same error.
clang: error: no such file or directory: '../../.environment/cipd/packages/pigweed/lib/libc++.a'
(full logs attached below)
Fresh checkout/setup and:
cd ~/connectedhomeip
source scripts/activate.sh
./gn_build.sh

gn_build.log
This does not occur when targeting a different (non-mac) architecture. Can successfully build Android CHIP Tool via ./scripts/build/build_examples.py --target android-arm64-chip-tool build
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
ca086f2
Platform
darwin
Platform Version(s)
Apple M1, Ventura 13.1
Anything else?
The entire lib folder is missing from .environment/cipd/packages/pigweed/
Various attempts at different versions of the SDK, pigweed, force removing .environment and re-bootstrapping haven't been able to fix / generate it.
pw_doctor.log

Pigweed does not provide an ARM toolchain for M1/M2 macs, as far as I can tell.
The default "./gn_build.sh" tries to build things with multiple compilers, including this non-existent toolchain, for some of the tests it runs.
I think passing enable_host_clang_boringssl_crypto_tests=false to ./gn_build.sh might help work around that...
@andy31415

Thanks - looks like that must be the culprit.
I originally came across this issue following the instructions at https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/linux:

To compile on an Arm Mac, run:
$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target darwin-arm64-all-clusters-no-ble-asan-clang build"

Does this mean darwin-arm64 targeted scripts won't currently work?

This should work:

$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target darwin-arm64-all-clusters-no-ble-asan build"

(i.e. without the "-clang" suffix).  That suffix means "use pigweed clang instead of the system one" on Mac, as far as I can tell, and on M1 there is no pigweed clang.....

(And we should either fix the script to work or fix the documentation or both....)

$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target darwin-arm64-all-clusters-no-ble-asan build"

Can confirm that this worked for me.

I created https://github.com/project-chip/connectedhomeip/pull/24775 to fix the documentation for now.


Remove scrollTo selected element in multiple select

Automatically scrolling to a selected element inside a multiple select causes a frustrating user experience if there are many elements. The current design assumes that a user will make selections from top to bottom.

yep, very annoying

Any idea on when the new release will be published? Can't wait for this to be fixed.


The unzip unified artifacts task fails to open the zip archive with 7-zip

Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=618300
Build leg reported
Build / Installer Build and Test windows_x86 Debug / Unzip unified artifacts
Pull Request
https://github.com/dotnet/runtime/pull/100001
Known issue core information
Fill out the known issue JSON section by following the step by step documentation on how to create a known issue
 {
    "ErrorMessage" : "Can not open the file as archive",
    "BuildRetry": false,
    "ErrorPattern": "",
    "ExcludeConsoleLog": false
 }

@dotnet/dnceng

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Additional information about the issue reported
Output:
❌Extraction failed for file: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip code: 2 stdout: 7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive for archives:
1 file, 0 bytes

Extracting archive: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip

Can't open as archive: 1
Files: 0
Size: 0
Compressed: 0

stderr: ERROR: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip
Can not open the file as archive

error: undefined;

Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=618300
Error message validated: [Can not open the file as archive]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 3/26/2024 11:00:34 PM UTC

Report

Build
Definition
Step Name
Console log
Pull Request

619968
dotnet/runtime
Unzip unified artifacts
Log
dotnet/runtime#100263

618300
dotnet/runtime
Unzip unified artifacts
Log
dotnet/runtime#100001

Summary

24-Hour Hit Count
7-Day Hit Count
1-Month Count

0
2
2

The eng/pipelines/runtime.yml pipeline uses the eng/pipelines/installer/jobs/build-job.yml template, which uses the eng/pipelines/common/download-artifact-step.yml step. This results in running the ExtractFiles@1 task with the following inputs:

archiveFilePatterns: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\**\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip
destinationFolder: D:\a\_work\1\s\artifacts\bin
cleanDestinationFolder: true

The bot linked in the above table a second build that hit this: https://github.com/dotnet/runtime/pull/100263