How to tell if data are downloaded correctly?

Downloading Pile and Wudao data needs a lot of time. During this long time period, network connection can break and various types of errors can occur.
For example, I am getting the following error message and not sure if it is okay:
"curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOAL_ERROR(err 1)"
Is there a way to double-check and ensure the data are downloaded correctly?

The easiest way is to run the download script again, as it is set up to automatically resume the download using the -C flag. If the download was not completed correctly previously, it will resume automatically. You can also check the remaining download amount, and if it shows 0, then the corresponding part is downloaded successfully. Additionally, you can calculate the hash value, and I will provide the hash value for each data later to facilitate verification.

sha256sum for the pile https://the-eye.eu/public/AI/pile/SHA256SUMS.txt
md5sum for WuDaoCorpus2.0_base_200G.rar fc90a7799cefffff324965e5bfc83917
Interruptions during data downloads can be very annoying, and it may be better to split the downloading and preprocessing into two separate steps.

python3 data/preprocess_the_pile.py
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [01:33<00:00,  3.12s/it]
total line: 1557049
total files: 95
**

那确实是不完整的，总行数应该有2亿行以上，多运行几次上面的下载命令，如果剩余都是0了再处理吧

okay thanks a lot!

What about the pile?
Are the following correct?

python3 data/preprocess_the_pile.py
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [3:26:34<00:00, 387.31s/it]
total line: 211036982
total files: 12880

This is even more data than I have, so it's possible that I haven't downloaded it completely.

I think it might be the case that I have also included the pile data's "validation" and "testing" files...  while you probably only used the files under the train directory.


RKE2/K3s v1.24 Kubernetes versions incorrectly appear as experimental verions

Setup

Rancher version: v2.6-head https://github.com/rancher/rancher/commit/240554b59c83b2dca36684098abc5a8e63893dde
Browser type & version: Chrome

Describe the bug

On the latest v2.6-head, when you navigate to Cluster Management > Create for RKE2/K3s clusters, you see the following when viewing the Kubernetes versions:

This is an issue as 1.24 is not supposed to be in experimental; this behavior is not see in 2.6.10, so this appears to be a regression.
To Reproduce

Navigate to Cluster Management > Create.

Make sure you toggle RKE2/K3s, if not already.

In the Cluster Configuration > Basic section, click the Kubernetes version dropdown and view that v1.24 for RKE2 and K3s appear as experimental.

Result
v1.24 appears as experimental for RKE2/K3s.
Expected Result

v1.24 should not appear as experimental for RKE2/K3s.

Possible related earlier work here:

Dashboard: https://github.com/rancher/dashboard/issues/7219 (with PR: https://github.com/rancher/ui/pull/4908).
Ember: https://github.com/rancher/ui/pull/4908

The easiest fix is to update the two settings:
rke2-default-version: v1.24.9+rke2r2
 k3s-default-version: v1.24.9+k3s2

to v1.24.10+rke2r1/k3s1
Currently they are set to 1.24.9, but the most recent version of 1.24.X is 1.24.10, so the UI shows that and because it is newer than the default 1.24.9, it is shown as experimenta.
Transferring to backend to update the settings - If it is intended that v1.24.10 is experimental and should be ignored in the UI and 1.24.9 shown, then please transfer back to dashboard - this will require a bigger UI change.


Templater example not working

I'm just starting with obisidan, so it's perfectly possible that I'm missing something obvious.
When using the example provided at https://ntawileh.github.io/obsidian-google-lookup/person/#using-templater templater doesn't seem to run.
With this template:
<%*
  let json = {{json}}
  let firstName = json.firstName
  let emails = json.emails.join("\n")
  let relations = json.relations.map(({person, type}) => `${firstName} is a ${type || ''} relation to ${person}`).join("\n")
-%>

my contact's first name is <% firstName %>
emails:
<% emails %>

relations:
<% relations %>

date: <% tp.file.creation_date("YYYY-MM-DD HH:mm:ss") %>

<% tp.file.cursor() %>

I get the following output (some data redacted):
<%*
  let json = {
  "accountSource"<EMAIL_ADDRESS>  "resourceName": "people/**",
  "displayNameLastFirst": "**, **",
  "firstName": "**",
  "lastName": "**",
  "middleName": "",
  "type": "CONTACTS",
  "emails": [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  ],
  "phones": [],
  "birthdays": [],
  "relations": [],
  "userDefinedData": [],
  "clientData": [],
  "urls": [],
  "bio": "",
  "addresses": [],
  "nicknames": [],
  "contactGroupMembership": [
    "contactGroups/myContacts"
  ],
  "domainMembership": true
}
  let firstName = json.firstName
  let emails = json.emails.join("\n")
  let relations = json.relations.map(({person, type}) => `${firstName} is a ${type || ''} relation to ${person}`).join("\n")
-%>

my contact's first name is <% firstName %>
emails:
<% emails %>

relations:
<% relations %>

date: <% tp.file.creation_date("YYYY-MM-DD HH:mm:ss") %>

<% tp.file.cursor() %>

I tried removing the {{json}} and just setting it to a json object with some dummy data and the same happens. If I render the mocked version with templater directly it works as expected

@Lacrymology there is a Templater command called Replace templates in active file. You need to run that at the end in order to invoke Templater and get all those bits replaced.  So after you end up with the output you pasted above, bring up the command menu, find that command and execute it

Thanks!


Track down non-determinism in Finch compiler

There appears to be some nondeterministic behavior somewhere in the compiler, and it causes tests to fail on julia 1.6 sometimes. It would be great if someone could track it down. Open to suggestions on how to do this.

I had to disable continuous tests due to nondeterminisim, but one should turn it on to see the issue


Add v2020-12-08 to migration tests

Issue Number
Post-release tasks for v2020-12-08.
Overview

[x] scripts/make_release.sh should not find-replace versions inside nix/migration-tests.nix
[x] Correct the v2020-11-26 version
[x] Add v2020-12-08

Comments

Unable to test the migration tests on my Macs.

bors r+

I had no idea that glob syntax was possible.
Me neither

bors r+

Sorry, I accidentally disabled the cardano-wallet bors jobset in Hydra.
bors r+

bors r+


feat: add Eleventy hello world

Closes #39
By making a PR you are agreeing to that contributing a hello world project allows the repo/project owner to use the hello world app in examples for their own use.

[x] only the most simple basic hello world app
[x] remove all tests and commands for tests and dependencies for tests
[x] must say "Hello World" on the main component
[x] only include the minimal components (1 ideally)
[x] no routing, not extras whatsoever
[x] no styling
[x] nothing else !
[x] must work by running npm install and npm start (or equivalent)
[x] must be in the folder named <tech-name>
[x] add yourself using the all-contributors bot @allcontributors please add @<your-github-account> for code
[x] add build steps and which folder to serve in the README.md, Serve the public folder

@allcontributors please add @manekinekko for code

@johnpapa can you try again? Eleventy was crawling all node_modules. It should be fixed now.

@allcontributors please add @manekinekko for code


(URGENT) ModSpec instance should always show "guidance" below "statement"

This happens in https://github.com/metanorma/iso-19135 :

I cannot replicate this:

This was implemented in https://github.com/metanorma/metanorma-iso/issues/790, in mn-requirements 0.1.4.
I noticed that the Gemfile pulling from github is failing to find the latest check-in for mn-requirements 0.2.0 (I have no idea why, the gem released correctly). Pretty sure this will go away with 0.2.1

Seems that I was using an older Git version! Sorry for the false alarm, closing.


Roll Packages from 5b48c446976f to be4dd938acc3 (7 revisions)

https://github.com/flutter/packages/compare/5b48c446976f...be4dd938acc3
2024-02-01<EMAIL_ADDRESS>Roll Flutter from ace9181172b6 to 75a2e5b4932a (16 revisions) (flutter/packages#6017)
2024-02-01<EMAIL_ADDRESS>[webview_flutter] Support for handling basic authentication requests (flutter/packages#5727)
2024-01-31<EMAIL_ADDRESS>[tool] Extend flutter test workaround to other desktops (flutter/packages#6024)
2024-01-31<EMAIL_ADDRESS>[two_dimensional_scrollables] Merged cells for TableView (flutter/packages#5917)
2024-01-31<EMAIL_ADDRESS>[rfw] Restore RFW to 100% coverage after ButtonBar update (flutter/packages#6020)
2024-01-31<EMAIL_ADDRESS>[in_app_purchase] Convert storefront(), transactions(), canMakePayment(), and addPayment() to pigeon (flutter/packages#5910)
2024-01-31<EMAIL_ADDRESS>[in_app_purchase] Add play country code api (flutter/packages#5941)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


src/nitlight: Updated client to avoid crashes on unparsed modules

Since the loader has been upgraded, nitlight crashed when using the --full option since some modules were recognized by the model but left unparsed, causing the program to crash when fetching the AModule from modelbuilder.mmodule2node.
This PR fixes the issue by rendering only loaded and parsed modules from the importation chain.

+1

:shipit:


Error reading dependency file project_folder\build\app\intermediates\flutter\debug\snapshot_blob.bin.d: java.lang.ArrayIndexOutOfBoundsException: 1

hello i'm new with flutter. i've come with this error. I didn't see any code error warning in my codes.
have been using flutter clean and manually deleting /build folder on my project
and then re-run it, but the problem still appear.
Previously i never getting this error and run smoothly.
Logs
`compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3586:28: Error: Expected an identifier, but got '{'.
compiler message:   RowContainerr container, {
compiler message:                            ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3587:5: Error: Expected ';' before this.
compiler message:     Key key,
compiler message:     ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:23: Error: Expected ';' before this.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                       ^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:23: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
compiler message: Try adding the name of the type of the variable or the keyword 'var'.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                       ^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:40: Error: Expected ';' before this.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                                        ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:40: Error: Expected a class member, but got ':'.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                                        ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:42: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                                          ^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:65: Error: Expected '{' before this.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                                                                 ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:42: Error: 'MainAxisAlignment.start' isn't a legal method name.
compiler message: Did you mean 'Row.start'?
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                                          ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3588:65: Error: Expected a class member, but got ','.
compiler message:     MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start,
compiler message:                                                                 ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3589:30: Error: Expected ';' before this.
compiler message:     MainAxisSize mainAxisSize: MainAxisSize.max,
compiler message:                              ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3589:30: Error: Expected a class member, but got ':'.
compiler message:     MainAxisSize mainAxisSize: MainAxisSize.max,
compiler message:                              ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3589:32: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     MainAxisSize mainAxisSize: MainAxisSize.max,
compiler message:                                ^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3589:48: Error: Expected '{' before this.
compiler message:     MainAxisSize mainAxisSize: MainAxisSize.max,
compiler message:                                                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3589:32: Error: 'MainAxisSize.max' isn't a legal method name.
compiler message: Did you mean 'Row.max'?
compiler message:     MainAxisSize mainAxisSize: MainAxisSize.max,
compiler message:                                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3589:48: Error: Expected a class member, but got ','.
compiler message:     MainAxisSize mainAxisSize: MainAxisSize.max,
compiler message:                                                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3590:42: Error: Expected ';' before this.
compiler message:     CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center,
compiler message:                                          ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3590:42: Error: Expected a class member, but got ':'.
compiler message:     CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center,
compiler message:                                          ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3590:44: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center,
compiler message:                                            ^^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3590:69: Error: Expected '{' before this.
compiler message:     CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center,
compiler message:                                                                     ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3590:44: Error: 'CrossAxisAlignment.center' isn't a legal method name.
compiler message: Did you mean 'Row.center'?
compiler message:     CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center,
compiler message:                                            ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3590:69: Error: Expected a class member, but got ','.
compiler message:     CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center,
compiler message:                                                                     ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:23: Error: Expected ';' before this.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                       ^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:23: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
compiler message: Try adding the name of the type of the variable or the keyword 'var'.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                       ^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:40: Error: Expected ';' before this.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                                        ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:40: Error: Expected a class member, but got ':'.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                                        ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:42: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                                          ^^^^^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:64: Error: Expected '{' before this.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                                                                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:42: Error: 'VerticalDirection.down' isn't a legal method name.
compiler message: Did you mean 'Row.down'?
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                                          ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3592:64: Error: Expected a class member, but got ','.
compiler message:     VerticalDirection verticalDirection: VerticalDirection.down,
compiler message:                                                                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:9: Error: Expected ';' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:9: Error: Expected a class member, but got '<'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:10: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
compiler message: Try adding the name of the type of the variable or the keyword 'var'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:          ^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:16: Error: Expected ';' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:16: Error: Operator declarations must be preceeded by the keyword 'operator'.
compiler message: Try adding the keyword 'operator'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:16: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:18: Error: Expected '{' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                  ^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:16: Error: Operator '>' should have exactly one parameter.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:18: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
compiler message: Try adding the name of the type of the variable or the keyword 'var'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                  ^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:26: Error: Expected ';' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                          ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:26: Error: Expected a class member, but got ':'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                          ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:34: Error: Expected an identifier, but got '<'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                  ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:35: Error: Expected ';' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                   ^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:35: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
compiler message: Try adding the name of the type of the variable or the keyword 'var'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                   ^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:41: Error: Expected ';' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:35: Error: Duplicated definition of 'Widget'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                   ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:41: Error: Operator declarations must be preceeded by the keyword 'operator'.
compiler message: Try adding the keyword 'operator'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:41: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:42: Error: Expected '{' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                          ^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:41: Error: Operator '>' should have exactly one parameter.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:41: Error: Duplicated definition of '>'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                         ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:42: Error: Operator declarations must be preceeded by the keyword 'operator'.
compiler message: Try adding the keyword 'operator'.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                          ^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:42: Error: A method declaration needs an explicit list of parameters.
compiler message: Try adding a parameter list to the method declaration.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                          ^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:44: Error: Expected '{' before this.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                            ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:42: Error: Operator '[]' should have exactly one parameter.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                          ^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:44: Error: Expected a class member, but got ','.
compiler message:     List<Widget> children: const <Widget>[],
compiler message:                                            ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3595:4: Error: Expected a declaration, but got ')'.
compiler message:   }) : super(
compiler message:    ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3595:6: Error: Expected a declaration, but got ':'.
compiler message:   }) : super(
compiler message:      ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3595:8: Error: Expected an identifier, but got 'super'.
compiler message:   }) : super(
compiler message:        ^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3596:13: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     children: children,
compiler message:             ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3597:8: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     key: key,
compiler message:        ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3598:14: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     direction: Axis.horizontal,
compiler message:              ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3599:22: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     mainAxisAlignment: mainAxisAlignment,
compiler message:                      ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3600:17: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     mainAxisSize: mainAxisSize,
compiler message:                 ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3601:23: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     crossAxisAlignment: crossAxisAlignment,
compiler message:                       ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3602:18: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     textDirection: textDirection,
compiler message:                  ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3603:22: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     verticalDirection: verticalDirection,
compiler message:                      ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3604:17: Error: Non-optional parameters can't have a default value.
compiler message: Try removing the default value or making the parameter optional.
compiler message:     textBaseline: textBaseline,
compiler message:                 ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3605:4: Error: Expected a function body or '=>'.
compiler message: Try adding {}.
compiler message:   );
compiler message:    ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3606:1: Error: Expected a declaration, but got '}'.
compiler message: }
compiler message: ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3586:3: Error: Type 'RowContainerr' not found.
compiler message:   RowContainerr container, {
compiler message:   ^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/about.dart:286:11: Error: Method not found: 'Row'.
compiler message:       new Row(
compiler message:           ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/app_bar.dart:415:21: Error: Method not found: 'Row'.
compiler message:       actions = new Row(
compiler message:                     ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:466:18: Error: Method not found: 'Row'.
compiler message:       child: new Row(
compiler message:                  ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:57:18: Error: Method not found: 'Row'.
compiler message:       child: new Row(
compiler message:                  ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/data_table.dart:406:19: Error:
Method not found: 'Row'.
compiler message:       label = new Row(
compiler message:                   ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/data_table.dart:459:19: Error:
Method not found: 'Row'.
compiler message:       label = new Row(
compiler message:                   ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:974:28: Error: Method not found: 'Row'.
compiler message:                 child: new Row(
compiler message:                            ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/dropdown.dart:643:20: Error: Method not found: 'Row'.
compiler message:         child: new Row(
compiler message:                    ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/expansion_panel.dart:139:30: Error: Method not found: 'Row'.
compiler message:       final Row header = new Row(
compiler message:                              ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/flat_button.dart:93:20: Error:
Method not found: 'Row'.
compiler message:        child = new Row(
compiler message:                    ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart:116:21: Error: Method not found: 'Row'.
compiler message:         child = new Row(
compiler message:                     ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/grid_tile_bar.dart:127:22: Error: Method not found: 'Row'.
compiler message:           child: new Row(
compiler message:                      ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/outline_button.dart:102:20: Error: Method not found: 'Row'.
compiler message:        child = new Row(
compiler message:                    ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:404:30: Error: Method not found: 'Row'.
compiler message:                   child: new Row(
compiler message:                              ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:434:30: Error: Method not found: 'Row'.
compiler message:                   child: new Row(
compiler message:                              ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/raised_button.dart:107:20: Error: Method not found: 'Row'.
compiler message:        child = new Row(
compiler message:                    ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/snack_bar.dart:245:32: Error: Method not found: 'Row'.
compiler message:                     child: new Row(
compiler message:                                ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/stepper.dart:348:20: Error: Method not found: 'Row'.
compiler message:         child: new Row(
compiler message:                    ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/stepper.dart:449:18: Error: Method not found: 'Row'.
compiler message:       child: new Row(
compiler message:                  ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/stepper.dart:558:22: Error: Method not found: 'Row'.
compiler message:           child: new Row(
compiler message:                      ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/stepper.dart:594:24: Error: Method not found: 'Row'.
compiler message:             child: new Row(
compiler message:                        ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/tabs.dart:1316:22: Error: Method not found: 'Row'.
compiler message:           child: new Row(
compiler message:                      ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/text_selection.dart:53:20: Error: Method not found: 'Row'.
compiler message:         child: new Row(mainAxisSize: MainAxisSize.min, children: items)
compiler message:                    ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1599:28: Error: Method not found: 'Row'.
compiler message:                 child: new Row(
compiler message:                            ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/material/user_accounts_drawer_header.dart:32:22: Error: Method not found: 'Row'.
compiler message:           child: new Row(
compiler message:                      ^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3586:3: Error: 'RowContainerr' isn't a type.
compiler message:   RowContainerr container, {
compiler message:   ^^^^^^^^^^^^^
compiler message: file:///C:/src/flutter/packages/flutter/lib/src/widgets/basic.dart:3594:10: Error: Duplicated name: Widget
compiler message:     List<Widget> children: const <Widget>[],
compiler message:          ^
Compiler failed on D:\ANDI\LABS\PROGRAMMING\Flutter\futsalin_app\lib/main.dart

FAILURE: Build failed with an exception.

* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 435

* What went wrong:
Execution failed for task ':app:flutterBuildDebug'.
> Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1
`

case closed.
problem fixed by myself.
i just reinstall flutter SDK and it fixed.
thanks!


[To rel/1.2] Fix the bug when delete view meets statement error

Description
Before fix:

After fix:

coverage: 47.899% (-0.02%) from 47.915% when pulling 5bc6a25309da55f72e9367e93e3ff2fa5fb38244 on beyyes/1.2_fix_delete_view into 172476691e7284378243f9b92e4d5afabf792e4c on rel/1.2.


[Feature Request] Firefox Browser Support

Any possibility of a release of your extension for Mozilla Firefox?

Hi, @tbartlett17. Our next step is port to firefox.
Sorry for taking so long to answer.

Is there any way I can help you with this issue?


invalid preview window layout: up:2:nohidden

Describe the bug
Typing command navi results in:
invalid preview window layout: up:2:nohidden
invalid preview window layout: up:2:nohidden
invalid preview window layout: up:2:nohidden
[1]    25537 segmentation fault  navi

Versions:

OS: [WSL (version 2) - Ubuntu 20.04]
Shell Version [zsh 5.8 (x86_64-ubuntu-linux-gnu)]

What's the value of fzf --version?

Could you try upgrading fzf to check it the problem is resolved?

Hi denisidoro, for some reason, the installed fzf version was 0.20.0. I have updated fzf to version 0.24.4 (00a3610) and am happy to report navi works as expected. Thanks!

I'm glad it worked but I'm afraid many users will face this problem...
I'll leave this as open for a while to see the impact.

➡ SOLUTION ⬅
Upgrade fzf using your main package manager

APT thinks that the latest version of fzf is 0.20.0 and I can't update it to anything newer, could someone help me with what I'm doing wrong?

Package in APT repository is indeed out of date. I ended up installing from source, following these steps: https://github.com/junegunn/fzf#using-git

Yep, that worked, thank you!


Remove ID2D1DrawTransform from the remarks

ID2D1AnalysisTransform cannot be implemented by an ID2D1DrawTransform (pixel shader). I've tried it and it 100% does not work, this seems to be an error in the documentation.

Thanks, Rick, I'm investigating.

Thanks @stevewhims .
@Sergio0694 (MSFT) may be able to help, he has some interactions with the Direct2D team.
I'm not 100.000% sure that ID2D1DrawContext cannot implement ID2D1AnalysisTransform -- but, it didn't work for me, and there are no example/samples that show how to do it. I didn't see any QueryInterface calls asking my ID2D1DrawTransform for an ID2D1AnalysisTransform. Either this documentation is wrong, or it's incomplete.

Apologies, still making enquires. :)

No worries, I'm in no rush


README and CONTRIBUTING edits

@xmrhaelan The same the turpial-firmware, check the dev branch, also, the Pull-Requests should be pointed to the dev branch. Sorry for the confusion.


[Backport] [1.x] Bumps Jackson from 2.4.1 to 2.4.2

Backport of https://github.com/opensearch-project/OpenSearch/pull/6129 to 1.x

I think we should wait for #6138 to avoid further conflicts.


Images loading too slow

Description
Images are not loading fast enough, and it can nauseating for some users. Currently, images are displayed when the post goes inside the viewport, but should be loaded before it does.
Importance
High

Pull request #35


Add pagination support to COVIDcast clients

Sam is adding pagination support to the API server and raw clients in cmu-delphi/delphi-epidata#184. We should update the COVIDcast R and Python clients to make use of it.

This is blocked on a decision about how to handle pagination within the API server.


Add Shabby shader bundle loader

Add the Shabby shader bundle loader mod by @taniwha
Permission given here

Ah, didn't see #8922

Let's do this in #8922 so we can test both mods side by side.


Emscripten compile options

I would like to start experimenting with an emscripten build of my app (that was part of the original draw to hello_imgui as I was able to bring up the minimal example hello_imgui_app on a localhost server so quickly).
My imgui application uses std::thread and my understanding is I need to turn on a number of additional compilation flags like -pthread and -sASYNCIFY.
I am struggling to find where these should go in the current hello_imgui setup.
I see the following comment in hello_imgui_emscripten.cmake:
# hello_imgui_emscripten_target_compile_options needs fix!
# For the moment, these options are global via hello_imgui_emscripten_global_options.cmake
# function(hello_imgui_emscripten_target_compile_options target_name)
#     target_compile_options(
#         ${target_name}
#         PUBLIC
#         "SHELL:-s USE_SDL=2"
#         "SHELL:-s USE_WEBGL2=1"
#         "SHELL:-s WASM=1"
#         "SHELL:-s FULL_ES3=1"
#         "SHELL:-s ALLOW_MEMORY_GROWTH=1"
#     )
# endfunction()

Is the idea to add something like
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -sASYNCIFY")

in hello_imgui_emscripten_global_options.cmake ?
I can't seem to marry the settings working on e.g. this sample emscripten with threads project :
https://github.com/jiulongw/emscripten-mutex-test/blob/main/run
to the hello_imgui cmake framework.
The minimal example I am working with is:
#include "hello_imgui/hello_imgui.h"
#include <thread>

int main(int , char *[]) {

  std::thread thread([]{}); // should run, do nothing and exit.

  HelloImGui::Run(
          [] { ImGui::Text("%s", "Hello World!"); }, // Gui code
          "Hello!",                            // Window title
          true                                 // Window size auto
  );

}

It compiles but doesn't display anything in the browser (if I comment out the thread line, it's basically the hello_imgui_app and it works).

My imgui application uses std::thread and my understanding is I need to turn on a number of additional compilation flags like -pthread and -sASYNCIFY
You are entering a complex territory, since the support for threads in Webasm/emscripten is rather new and a bit experimental. I managed to get it working once, but I remember several steps had to be taken; and I do not remember all of them.
This note from https://emscripten.org/docs/porting/pthreads.html is especially important:

Browsers that have implemented and enabled SharedArrayBuffer, are gating it behind Cross Origin Opener Policy (COOP) and Cross Origin Embedder Policy (COEP) headers. Pthreads code will not work in deployed environment unless these headers are correctly set. For more information click this

Is the idea to add something like set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -sASYNCIFY") in hello_imgui_emscripten_global_options.cmake ?
This file is rather old, and I think you might be able to do it on a target level instead, using
if (EMSCRIPTEN)
   target_compile_options(...)

Hi,
I made a test on my side.
Several things are required to be able to use threads with emscripten: see https://emscripten.org/docs/porting/pthreads.html
1/ The flag '-pthread` needs to be added to all files and at link time:
For example
if (EMSCRIPTEN)
    option(IMGUI_BUNDLE_EMSCRIPTEN_PTHREAD "Emscripten with pthread support" OFF)
    if (IMGUI_BUNDLE_EMSCRIPTEN_PTHREAD)
        add_compile_options(-pthread)
        add_link_options(-pthread)
    endif()
endif()

This can be done either with hello_imgui_emscripten_global_options.cmake or at the top of your main CMakeLists (before add_subdirectory(hello_imgui))
2/ In hello_imgui_cmake/emscripten/hello_imgui_emscripten.cmake , you may want to remove -s ALLOW_MEMORY_GROWTH=1 in order to suppress warnings about the fact the -s ALLOW_MEMORY_GROWTH combined with shared memory may be slow.
3/ When testing you need a server that sends COOP and COEP headers: see https://web.dev/coop-coep/
This simple python program can do it for you
#!/usr/bin/python3

# From https://gist.github.com/Faless/1e228325ced0662aee59dc92fa69efd7

from http.server import HTTPServer, SimpleHTTPRequestHandler, test
import os, sys, logging
import argparse

class CORSRequestHandler (SimpleHTTPRequestHandler):
    def end_headers (self):
        self.send_header('Cross-Origin-Opener-Policy', 'same-origin')
        self.send_header('Cross-Origin-Embedder-Policy', 'require-corp')
        SimpleHTTPRequestHandler.end_headers(self)

if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('-p', '--port', default=8060, type=int)
    parser.add_argument('-r', '--root', default='', type=str)
    args = parser.parse_args()
    if args.root:
        os.chdir(args.root)
    test(CORSRequestHandler, HTTPServer, port=args.port)

Thanks, I am going to take a look.
Let me point out the simplicity of the example project I referred to above.
The compile step gave me great hopes in its simplicity. It is literaly just:
    subprocess.check_call(
        [
            "em++",
            "-std=c++17",
            "-pthread",
            "-s",
            "PTHREAD_POOL_SIZE=2",
            "-s",
            "ENVIRONMENT=web,worker",
            "main.cc",
            "-o",
            "index.html",
        ]

It works for me in the same exact setup (trying both up-to-date vanilla Chrome and Firefox) that I am playing with hello_imgui in, so it feels tantalizingly close.
From what I can tell that example also does not make use of COEP / COOP.
Finding where to plug that in my hello_imgui dummy std::thread example is proving harder than I thought.
I am going to make another attempt with the pointers you gave me.

Thanks so much, pointing out that COOP/COEP saved the day for me. I had tunnel vision on the Cmake / C++ / em++ settings and overlooked that initially!
Do you want a PR for this so other people get it right the first time? or is that use case out of scope for a minimal hello_imgui use case?

Regarding ALLOW_MEMORY_GROWTH: are you saying that in your experience that warning is a false positive and should be turned off or is it warning about a real performance impact, in the context of emscripten-wrapped multi-threaded cpp ?

Actually I don’t know

Do you want a PR for this so other people get it right the first time? or is that use case out of scope for a minimal hello_imgui use case?

This would be an interesting addition, which I am considering to work on.
However, it would need to be well documented and sufficiently customizable, i.e.

have an option HELLOIMGUI_EMSCRIPTEN_PTHREAD
maybe add an option regarding  ALLOW_MEMORY_GROWTH
provide some doc in the readme
provide a python script that runs a server with the COOP and COEP headers and mention it in the readme

If you feel like working on it, tell me ;-)

I am just looking for an opportunity to give back. In that case it looks like you have fleshed it out pretty well in your mind already and my added value would be limited.

In that case it looks like you have fleshed it out pretty well in your mind already and my added value would be limited.

Agreed 👍

I added support for multi-threading in b9e81983294cb27d085a7e600a6067df06b5fdb9.
I also added some doc about the usage in the main CMakeLists.txt:
https://github.com/pthom/hello_imgui/blob/b9e81983294cb27d085a7e600a6067df06b5fdb9/CMakeLists.txt#L85-L101


KOGITO-1628: Cucumber tests: Merge the way we handle services into the test framework

JIRA Ticket: https://issues.redhat.com/browse/KOGITO-1628
Description: Since the merge of handling the services (data-index, jobs-service, management-console) as a generic implementation on operator's side, we could do it as well on test framework.
Solution:
We'll be providing a couple of types:

ProtoKogitoService (kogitobaseservice.go): For common Openshift services
ProtoKogitoInstallService (kogitoinstallbaseservice.go): For installation utilities

Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

@Sgitario Why there is a need for new types?
Could we just reuse existing ones?

All those components (KogitoDataIndex, KogitoJobsService...) implement method for retrieving spec, we can reuse this and operate against all components using one interface defining that method. That is just a suggestion.

The problem is that the spec is a sepatate type and this is auto generated, so we cannot modify to either add an interface or reuse methods.
These two new types try to amend this problem and create a tree classes to add common funcionality (which was the purpose of the refactor). However, if you see any other approach, let me know.

I meant something like https://github.com/sutaakar/kogito-cloud-operator/commit/05e272e09e68d3daab97644935d47f0c887bff88
Though there may be other ways to unify the implementation....

What I meant is this, what are the common methods which we should unify?
For example https://github.com/kiegroup/kogito-cloud-operator/blob/master/test/framework/kogitodataindex.go#L96 , what is the difference between Data index and Jobs service for these methods? Just deployment name. So we can define the deployment name as a parameter and unify the method implementation.

Or for example https://github.com/kiegroup/kogito-cloud-operator/blob/master/test/framework/kogitojobsservice.go#L110 , what is the difference betweeb Jobs service and Data index for such method? Just service name. So what about putting the service name as a parameter?

Exactly this is what I'm trying to address, avoid the duplication of code by having all the common methods in:

kogitobaseservice.go
and for services that requires installation: kogitoinstallbaseservice.go

Perhaps the difference you suggest is that instead of having a hierarchy, we just pass the parameters (either the service name or the deployment name or any other depending to the method. About this subject, I would prefer having "Proto" types, so we have everything in only a single place.
I will take a look to the link you provided about using existing interfaces: https://github.com/kiegroup/kogito-cloud-operator/blob/master/test/framework/kogitojobsservice.go#L110.

What is the difference between Proto type service and for example Data index service?

My intention is to keep the structure as simple as possible.


Misc Renaming

Coverage decreased (-0.7%) to 67.965% when pulling 98e786d8c13f8b439263afd7ae03da3618e5dcf5 on renaming into 779b711f7bed5830aa90e442bf515b49d6d50207 on master.


Installer deletes Powershell/Modules junction to create a Modules folder

Microsoft PowerToys version
0.81.0
Installation method
GitHub
Running as admin
None
Area(s) with issue?
Installer
Steps to reproduce

Move the Modules folder from ~/Documents/PowerShell to somewhere else on system.
Create an NTFS junction from that new location to ~/Documents/PowerShell/Modules.
run the PowerToys installer (v0.81 or v0.82)
the installer deletes the junction and creates a real Modules folder, causing other modules to disappear

✔ Expected Behavior
The installer should accept the junction like PowerShell and everything else does, and just install its new module into that.
❌ Actual Behavior
the installer deletes the junction and creates a real Modules folder to put the new Microsoft.PowerToys.Configure module into, causing all the other modules to disappear.
Other Software
No response

I've been able to repro the problem. It appears that the removal of the junction takes place in the uninstall step - we had some code to remove the PowerShell\Modules folder if it was empty, and it's likely that a junction was treated as an empty folder.
However, this code was rewritten as a custom action (it used be WiX before) in 0.82 and in my testing, the bug has been fixed.
@tabstan4, could you please check that it's working correctly for you now?

Uninstall PowerToys.
Recreate the junction. When doing so, please be mindful of junction trust mitigation - this install step of PowerToys does not work on untrusted junctions. It did all work for me when I created the junction using the Sysinternals Junction tool from an Administrator PowerShell window.
Install PowerToys 0.82.1 or later and verify the DSC assets have been correctly installed to the junction.
Uninstall PowerToys and verify the DSC assets have been removed but the junction still exists.

Thank you!

/needinfo

i'll give it a try

I uninstalled v0.82.1 and the junction did not get deleted. When I reinstalled v0.82.1, the junction was again not deleted, which is not what happened last weekend when I created the issue. But the PowerToys installation had been upgraded many, many times on my system, so maybe there was something left behind from before that caused it and after uninstalling, that wasn't there anymore??? But it doesn't seem to be happening anymore at least.
But just trying to understand it better and because it became like a puzzle to figure out (and maybe if it helps anyone else), I played around with different methods of creating the junction, both elevated and non-elevated, and seeing what would happen when installing. Creating the junction was done with: (1) Sysinternals junction.exe, (2) PowerShell's New-Item, (3) DOS's mklink, and (4) Link Shell Extension (which I've used for a long time, but unfortunately hasn't been updated in a a few years and is getting flakier with newer versions of Windows).

Installing v0.80.0, the junction was always left alone (no matter how it was created) and the PowerToys.Configure module got installed into it.
installing v0.81.1 and v0.82.0, the junction was always deleted (no matter how it was created) and a real folder called Modules was created with the PowerToys.Configure module installed into that. I would then recreate the junction and copy the new PowerToys.Configure module to it.
installing v0.82.1, the junction was always left alone (no matter how it was created), BUT:

if the junction was created from an elevated process, the PowerToys.Configure module would be copied/upgraded into the junction folder
if the junction was created from an unelevated proces, the PowerToys.Configure module would NOT be copied/upgraded into the junction folder

uninstalling v0.82.1, the junction was always left alone (no matter how it was created), BUT:

if the junction was created from an elevated process, the PowerToys.Configure module would be removed from the junction folder
if the junction was created from an unelevated proces, the PowerToys.Configure module would NOT be removed from the junction folder

(This was running the UserSetup and running it from an elevated terminal [how it usually gets done when I'm installing things]. I tried running the installer a few times from an unelevated terminal but the results were looking the same, so I didn't continue with that.)
But anyway, starting with v0.82.1 it seems to be working as intended, as long as the junction is created from an elevated process. Which, ... okay.

Looks like this was fixed for 0.82.0 The issue was with the 0.81.0 uninstall process during upgrade. Thanks for your feedback @tabstan4 .


Filter unused preferences

Summary
The following PR does a little bit of refactoring around preferences, also starts to filter out the preferences that are not used in the mobile app, this is basically to avoid having data in the database that is never used to keep the database with only relevant data, specially as users may have thousands of preferences.
Most importantly this PR fixes an issue where the preferences were not correctly sync'd when some preferences were deleted.
Ticket Link
N/A
NONE

Cherry pick is scheduled.


SSL Validity

Hi,
How can I check the self-signed and valid SSL ?

Yes, Please check this demo

Hi,
But both there is no deference between self-signed and valid ssl !


update susan-hinton.yml

changed Susan references to Suz
changed tagline to IoT

:warning: Validation status: warnings

File
Status
Preview URL
Details

advocates/susan-hinton.yml
:warning:Warning
View
Details

advocates/susan-hinton.yml

[Warning] the value Profile is undefined for metadata pagetype

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Duplicate help tag g:airline_base16_improved_contrast

Prior to commit 6565b2 on 18 December 2016 the help tag g:airline_base16_improved_contrast already existed in airline-themes.txt. That commit introduced the same help tag a second time. The duplicate tags are on lines 154 and 177 of the current version of airline-themes.txt.

The same problem. I deleted the second tag and it worked.
Waiting for updates to fix it.


Some apps encounter CSP font-src error

It seems that ZBR might be dropping the data: directive from the font-src area of the CSP:

shipped in 0.78.3


Compilation failed because of missing ltdl.h

Compilation failed on Debian Sid because of missing ltdl.h.
/tmp/tmp.zT9H62RHRy/pulseaudio-modules-bt/pa/src/pulsecore/module.h:24:10: fatal error: ltdl.h: No such file or directory

Solution: install libltdl-dev package.
Perhaps this package should be included as dependency in the script.
Also, I need to issue pulseaudio --start to restart pulseaudio after it has been killed.

just stable debian versions supported - sid is unstable

why don't you use the already available distinction of debian versions and make a merge request foryour changes so we can improve this script to support more than just the stable version?


Update classifications

I think this page should detail the classification of update for each one - for example, whether it's under "Updates", "Critical Updates", "Security Updates" in WSUS/Update Catalog.  At the minute all Edge updates seem to be classified as Updates which is non-ideal if they are in fact security updates, appreciate that's not an issue for documentation feedback but there isn't an appropriate category in the Feedback Hub which seems to be the only way to provide product feedback.

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

ID: 76912f35-f62c-bd99-60fb-b11d3d40ba04
Version Independent ID: 01fba630-3a9a-6a9e-2d24-a6a47b8e6926
Content: Release notes for Microsoft Edge Security Updates
Content Source: edgeenterprise/microsoft-edge-relnotes-security.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: aguta

Clean up of old issues.  Understand this is not a documentation issue.  I'm not sure if this would be for the WSUS/Update Catalog team or MS Edge team to make modifications.  Have you submit feedback through the browser? ("..." menu > Help and feedback > Send feedback)?  Another option is to reach out to Support - Microsoft Edge Developer to help route.


Build integration-test: FAILURE

Cloud Build encountered an error:

Project: avocano-admin
Trigger:integration-test
Commit: 947a646 on branch feat/custom-billing

View Logs
I'm an automation.  Googlers: go/avocano-admin-notifiers

misconfiguration


Avoid involuntary DDoS when computer goes to sleep

If a periodic timer is set to check on a remote resource, assuming this is in a software on millions of computers, a DDoS would occur when the computer wakes up from sleep/hibernate.

I think we should do sometime along the lines of:
auto nskipped = (Clock.currStdTime - pt.timeout) / pt.repeatDuration;
pt.timeout += (nskipped + 1) * pt.repeatDuration;

I.e. round up to the next multiple of the repeat duration, so that we stay within the original time pattern.


Vulkan descriptor shifting

Is your feature request related to a problem? Please describe.
Its not a problem but probably good improvements when porting shaders to vulkan backend.
Describe the solution you'd like
Add the missing -fvk-{b|s|t|u}-shift options (https://github.com/Microsoft/DirectXShaderCompiler/blob/master/docs/SPIR-V.rst).
Describe alternatives you've considered
None
Additional context
None

I second this.
For now, I've just added a new member 'compilerArgs' to SourceDesc so they get passed to DXC. If this is enough, I can do a PR, otherwise it can be formally added to Options I guess, but it might be overkill.


CSS @charset declaration mangled

Minify version: 2.1.2
PHP version: 5.2.6

What steps will reproduce the problem?
1. Minify a CSS Stylesheet with a @charset declaration in the first line
2.
3.

Expected output: @charset rests in the first line, the other CSS
declarations get minified from the second line on

Actual output: @charset gets minified with the other declarations. The
@charset declaration gets invalid and is ignored by the browsers.

Did any unit tests FAIL? (Please do not post the full list)
!WARN: environment : Local HTTP request failed. Testing cannot continue.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 21 Apr 2009 at 11:34

What charset did you use and how was it mangled? Actual input/output of the
first
few lines would be handy.

Be aware that Minify automatically sets charset in the Content-Type header
(UTF-8 by
default). To change this, add one of these to config.php:
$min_serveOptions['contentTypeCharset'] = 'ISO-8859-1';
$min_serveOptions['contentTypeCharset'] = false; // do not set charset

Also note you must ensure all combined file have the same (or "compatible")
encoding; they will not be normalized.

Original comment by<EMAIL_ADDRESS>on 22 Apr 2009 at 5:25

Changed title: CSS @charset declaration mangled
Changed state: NeedInfo

What charset did you use and how was it mangled?

>> I use UTF-8, as you can see in the following snippet:

>> @charset "UTF-8";@media screen,projection{body{background:#4d87c7 url
>> ("/css/images/bg_blue.png") repeat-x top left fixed;padding:10px
>> 0}#page_margins{margin:0

>> The problem is, that all CSS validators criticise that the @charset
declaration
>> should stand ALONE in the FIRST LINE.

Also note you must ensure all combined file have the same (or "compatible")
encoding; they will not be normalized.

>> They have...

>> Maybe I should remove EVERY @charset declaration in my CSS files?

Original comment by<EMAIL_ADDRESS>on 24 Apr 2009 at 9:39

Since UTF-8 is the default, yes, you can remove all your @charset declarations.
Also
in CSS2.1, UTF-8 is assumed.

Looking into this more, a trailing newline is not required or even suggested by
the
current spec: http://www.w3.org/TR/CSS21/syndata.html#x50
...nor by its likely replacement: http://www.w3.org/TR/css3-syntax/#charset

Indeed the official validator does not complain:
http://jigsaw.w3.org/css-validator/#validate_by_input
This is completely valid:
@charset "UTF-8";body{background:#4d87c7;}

Thanks for taking the time to report this.

Original comment by<EMAIL_ADDRESS>on 24 Apr 2009 at 1:17

Changed state: Invalid

Issue 172 has been merged into this issue.

Original comment by<EMAIL_ADDRESS>on 18 Apr 2010 at 10:47


Non-Hermitian bug coming from eigsolve with complex MPO

Forum user rmagaldi reports that the sample code below gives an error (which I can confirm) about 1 out of every 10 times. The error comes from inside KrylovKit, from the call to eigsolve in DMRG. Inside KrylovKit, a test is failing which apparently checks whether the matrix is Hermitian. However, explicitly checking that the "PH" operator is Hermitian inside of DMRG does successfully show that it is. So it's a bit of a mystery what's going on.
Perhaps the non-Hermitianness is very small. Or perhaps there is even a bug in KrylovKit (we are pinned to an older version of it). I'm just listing these as possibilities. I did check that the ProjMPO position! function uses dag correctly when updating the environment tensors.
Sample code:
using ITensors

let
  N = 4
  sites = siteinds("Fermion",N,conserve_qns=true)
  t1 = 1.0
  t2p = 1.0+0.1*im
  t2n = conj(t2p)

  ampo = AutoMPO()

  #vertical bonds
  for j in [1,3]
    ampo += -t1,"Cdag",j,"C",j+1
    ampo += -t1,"Cdag",j+1,"C",j
  end

  #horizontal bonds
  for j in [1,2]
    ampo += -t1,"Cdag",j,"C",j+2
    ampo += -t1,"Cdag",j+2,"C",j
  end

  #second-neighbor bonds
  for j=1
    ampo += -t2p,"Cdag",j,"C",j+3
    ampo += -t2n,"Cdag",j+3,"C",j
  end

  for j=2
    ampo += -t2p,"Cdag",j,"C",j+1
    ampo += -t2n,"Cdag",j+1,"C",j
  end

  M = MPO(ampo,sites)

  let
    H = M[1]*M[2]*M[3]*M[4]
    Hc = copy(H)
    Hc = dag(swapprime(H,0,1))
    @show norm(Hc-H)
  end

  println(ampo)
  sweeps = Sweeps(5)
  maxdim!(sweeps,10,20,100,100,200)

  init_state = ["Occ","Emp","Emp","Emp"]

  psi0 = productMPS(sites,init_state)
  #psi0 = randomMPS(sites,init_state,2)

  dmrg(M,psi0,sweeps)

  return
end

@emstoudenmire, using the latest version of ITensors.jl (v0.1.26), which can use KrylovKit v0.5 now, I can't reproduce this error.
Also, I'm a bit confused since in the version above it is using productMPS, so I don't see where anything nondeterministic could be happening (my understanding is that Lanczos in KrylovKit should not be nondeterministic since we are always specifying a starting vector).

I just confirmed that I can't reproduce this error anymore, though it was definitely happening every 10 runs or so of the above code with a previous version of ITensors.jl and KrylovKit.jl. But now I believe it's fixed, and the tests I did in the meantime only seemed to suggest that all was well on the ITensor side of things in terms of the DMRG Hamiltonian being Hermitian (even with the older ITensor code). So I suspect it was just a subtle floating point issue, with the floating point roundoff being the source of the apparent randomness.


Clarified the connection property

Updated the connection attribute property description to make it clearer of which value exactly needs to be added. The description was not 100% correct.

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

@craigshoemaker thanks!

Thanks again, @estruyf!
#sign-off


Add features to help with calibration

The following subtasks should help us calibrate the environment:

[x] Add breeze_agent, gale_agent and storm_agent to util.py
[x] Add legends to plots
[x] Add yearly CO2 emissions in the top-left plot ('CCUS' tab, row 63)
[x] Train an RL agent under 100x increased carbon cost (and verify that blue hydrogen is not then an optimal choice)
[x] Investigate why the jobs number appears to go negative in 2050


Reflection solution on support library v24.0.0 does work well with inner preference page

Hi @Gericop ,
I tried to add the following information on the already closed ticket - https://github.com/Gericop/Android-Support-Preference-V7-Fix/issues/25
However, I'm not sure whether you will get notified. Since I found no way to contact you, I try to create a new ticket. I hope that is fine for you.
I realize the reflection solution doesn't work fine for inner preference page.

Here's the XML for the preference screen - https://gist.github.com/yccheok/4172d782249757b1153cee9edd4c566b
Thanks.
p/s I like the work u had done on this project. In order to show my appreciate, I would like to donate to this project. May I know, does your project accept paypal donation? Thanks.

Yeah, I received the other notification too, but I had no time to respond, sorry.
I tested it and looks good to me on API 17. What's your onPreferenceStartScreen(...) implementation? Also, which Android version is this?
Thanks, but I don't do this project for the money, I use this fix in my apps too. The bugs are really frustrating but also challenging, which I like. So it's a love-hate relationship :smile:

The screenshot I posted is for API 16.
Just now, I re-test again using API 17, the inner screen is still having same padding problem shown in screenshots.
@Gericop
You get the right catch! When I look back at the code
// Code for public class JStockPreferenceActivity extends AppCompatActivity implements PreferenceFragmentCompat.OnPreferenceStartScreenCallback

// http://stackoverflow.com/questions/32487206/inner-preferencescreen-not-opens-with-preferencefragmentcompat/32540395#32540395
@Override
public boolean onPreferenceStartScreen(PreferenceFragmentCompat preferenceFragmentCompat, PreferenceScreen preferenceScreen) {
    FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
    JStockInnerPreferenceFragmentCompat fragment = new JStockInnerPreferenceFragmentCompat();
    Bundle args = new Bundle();
    args.putString(PreferenceFragmentCompat.ARG_PREFERENCE_ROOT, preferenceScreen.getKey());
    fragment.setArguments(args);
    ft.add(R.id.content, fragment, preferenceScreen.getKey());
    ft.addToBackStack(preferenceScreen.getKey());
    ft.commit();
    return true;
}

Then, I realize my JStockInnerPreferenceFragmentCompat is as follow
public class JStockInnerPreferenceFragmentCompat extends PreferenceFragmentCompat

When I change to
public class JStockInnerPreferenceFragmentCompat extends PreferenceFragmentCompatFix

It works perfectly fine now. Sorry. I will close this ticket. It is no longer valid.
p/s I did not use your new gradle dependency. Your old code works just fine for me. Since nothing broken, I will avoid from changing the code :)

I think you should give it a try though. The "Fix" suffix is no longer required (indeed, it's deprecated) as in my package there are same-name replicas of the broken classes and I "hacked" the PreferenceManager in a way that it loads those classes instead of the broken ones.

Before running proguard, everything works fine including API 16.
I realize padding information is gone in API 16, after I export the app to APK (running proguard).
I added the following in proguard.
# https://github.com/Gericop/Android-Support-Preference-V7-Fix/issues/30
-keep class android.support.v7.preference.PreferenceGroupAdapter {
    *;
}

Strangely. The padding information still gone. I check on the error log message. I expect to see some exception being thrown. However, there's no exception related to reflection.
Any idea?


Replace usage of fill_parent with match_parent

fill_parent was deprecated in API level 8
https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#FILL_PARENT

Thanks.


Detail view style bug

Summary
This PR:

Fixes the styling issue where padding-bottom was applied to all children. Closes #165
Fixes the divider render after a graphic- when the graphic is not present, two horizontal rules were rendered.
Updated DetailView clinical-site example to be more realistic

Notes
I wasn't sure the best way to test the styling bug, which is why I updated the site examples to contain more than custom-styled div for the graphics prop and a DetailList for the details prop.
Thanks for contributing to Terra.
@cerner/terra

Functional review complete.  No issues identified.


Switch back to the upstream ingress-default-backend image

How to categorize this issue?

/area open-source
/kind enhancement
What would you like to be added:
We switched back from k8s.gcr.io/defaultbackend to the https://github.com/gardener/ingress-default-backend because the upstream image is not multi-arch - ref https://github.com/kubernetes/ingress-gce/issues/1719.
We should switch back to the upstream image once it is multi-arch.
Why is this needed:
Less forks, more upstream image consumption.

/assign

Community has decided not to publish the image ref.
/close


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1922

Questions ?
Please refer to the Backport tool documentation


Create a data directory - store election2020_articles as csv

Creating a data directory with the election2020_articles.csv file within.
Configure the pandas.read_csv(path) to it within the API_workbook.ipynb
Consider saving as a .csv (if compact enough) in order to avoid confusion for students who don't know what .pkl files are/how to use them.

You're right about the read_csv, however I used .pkl because of the nested lists/dictionaries in the dataframe. If you save a dataframe with lists and dictionaries as a csv, when you read that file back into pandas, it will transform that into a string representation. I'll try to see if I save it as a json of that works better
The article schema table is effectively a data dictionary for that file.

Yea, that makes a lot of sense! You can’t store that nested structure in a csv.


In domain and out of domain performance results from which datasets?

Dear scholar,
I found you refer to Kapathy vqa test.
It has three data file, train val test.
https://drive.google.com/drive/folders/1ZtuS7lsh_pZofOSiErwTM7lDUwdC3HAl
For in domain vqa test results , which dataset for training, validation and test?
For out of domain vqa test results, which dataset for training  , validation and test?
I didn't find the details from the paper, only get

I want to reproduce the results. I hope for your reply.

Dear scholar.
I download your split datasets ,

I found the train dataset has 605102 questions, val dataset has 26729, and test has 26280=24722+1558. I found your "in domain  and out of domain " from test datasets.  So? where is the split for "in domain " and out of domain.
And the performance results from the paper about in domain and out of domian, the training datasets only train (605102) or train+val(605102+26729)?


Document new CEL functions and extensions

Optionals: https://github.com/google/cel-spec/wiki/proposal-246#cel---optional-values
String.format: https://github.com/google/cel-go/pull/617 [cerbos/cerbos#1528]
String.quote: https://github.com/google/cel-go/pull/639 [cerbos/cerbos#1528]
And any others that I may have missed

#1528


improve link checker to compensate for relative paths

Description

The first implementation of the broken link checker did not handle relative paths and reported several false positives.
This patch fixes the issue with relative paths ( ./filename and /filename ) but cannot handle files without any prefix (e.g., filename). Albeit this format conventionally implies a ./ prefix, it's tricky to come up with a regex that can handle it. So it's easier (and clearer) to change these files to the typical prefixed format ./filename.
Related Issues
#910
Checklist

[ ] Is this code covered by new or existing unit tests or integration tests?
[ ] Did you run make test successfully?
[ ] Do new classes, functions, methods and parameters all have docstrings?
[ ] Were existing docstrings updated, if necessary?
[ ] Was external documentation updated, if necessary?

Additional Notes or Comments

Quibble: even if we weren't using a rebase strategy, we still wouldn't want a merge commit in the branch!
That merge commit would instead get created automatically when we merged the pull request...

Is it ok now?


Add document method to display pdf thumbnail while avoiding layout shift

Closes #311. It uses an undocumented da function, html_filter() to get the html string we need. Not sure about the method name. You can open test_aldocument.yml to see it working on the first page. Just to make sure it's clear, to work, this has to hard-code the size of the thumbnail images.
I wanted to add alt_text as an argument too, but wasn't exactly sure how to make it work here. I needed a sensible default, but couldn't tell if it should be None or an empty string. We may want to think about alt text for our document displays, by the way.
I also considered having a width_height_ratio parameter or something, but wasn't sure how to implement that in a way that was clear. Thoughts appreciated.

I'd like folks to take a look at #361 first and see if they like it. I like that one a bit better than this one.

I'd like folks to take a look at #361 first and see if they like it. I like that one a bit better than this one.


FIX - Build and installation of celer

Codecov Report

Merging #284 (aa65fbc) into main (501788e) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files

@@           Coverage Diff           @@
##             main     #284   +/-   ##
=======================================
  Coverage   88.53%   88.53%
=======================================
  Files          15       15
  Lines        1143     1143
  Branches      127      127
=======================================
  Hits         1012     1012
  Misses        101      101
  Partials       30       30

Flag
Coverage Δ

unittests
∅ <ø> (∅)

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

Continue to review full report in Codecov by Sentry.

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


Issue in loading configuration file for multi-cloud

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
The default conf. file is defined to be a file name, the code expects a folder name
What you expected to happen:
To pick the values from the default conf. file when no other conf. file is provided
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Gelato(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

fixed in #833


Retrieve next price attestation event from oracle

We should do something similar as with the BitMex's rate:

A loop that keeps refreshing it.
Store the result in a watch channel.
When making an offer, get the next event ID and put it in the offer.

Should 1. be handled by the Oracle actor as well?
I suppose we can implement this as: Oracle actor broadcasts new Oracle event (when known) and attested price.

I think for (1), we should do something similar as with the BitMex's rate:

A loop that keeps refreshing it.
Store the result in a watch channel.
When making an offer, get the next event ID and put it in the offer.

(2) is already defined in https://github.com/comit-network/hermes/issues/110.

Looking at how olivia announces events ahead of time, and considering how it seems to do create an event per minute of the day, is there really a need to constantly look for the "next" event? My question comes after looking at https://outcome.observer/h00.ooo/.
Wouldn't it be better to get the announcement which corresponds to a price attestation in X hours from olivia on demand?

considering how it seems to create an event per minute of the day

I don't think this is true?
Someone, either us or @llfourn, will have to write a cronjob that feeds events into redis which are then picked up by Olivia. If I remember correctly, we agreed that there will be only one price event per 24h under the /bitmex scope (which does not exist yet).

I don't think this is true?

You could be right. I was just going off what's already there with random and time. But maybe for the price it will only be every 24h as you point out.
With that in mind, I suppose we can just assume that with the current time and knowledge of olivia's price signing interval we can figure out the id of the next event and attempt to update the actor's internal next_event state in a loop.

This was done as part of https://github.com/comit-network/hermes/pull/145.


Network information storage for fast synchronization after reset.

Resolves #905.

Following network information will be stored in none-volatile memory and restored after reset:

All devices store network/address/key information.
Children store parent information.
Router and Leader store their children information.

Don't reject some of Mle messages due to frame counter mismatch:

Link Request
Child Update Request
Parent Request
(We could not store the frame couter which changes frequently, hence device will try to synchronize using frame counter 0 after reset)

THCI: use truly reset in APIs that ask for reset action.

I have ran several certification tests which need reset action using updated THCI(truly reset), they are all passed, I will run the remaining tests with the automation tool, and I think it's the time for code review now.
Another feature enhancement will be implemented later:
After reset, parent should send Child Update Request to each children, and obtain more information like address registration from Child Update Response (this feature is not essential for certification test).

Current coverage is 74.36% (diff: 47.88%)

Merging #992 into master will decrease coverage by 0.23%

@@             master       #992   diff @@
==========================================
  Files           124        124
  Lines         17727      17797    +70
  Methods        2486       2490     +4
  Messages          0          0
  Branches       2134       2140     +6
==========================================
+ Hits          13223      13234    +11
- Misses         3840       3897    +57
- Partials        664        666     +2

Powered by Codecov. Last update 94a84e0...c8b1cb7

We need to store the frame counter in non-volatile memory.  We cannot allow the frame counter to roll backwards - that would cause a security vulnerability with AES-CCM.  To avoid frequent writes, we could always store a frame counter value X ahead of the current value.  On reboot, start the frame counter at X.  Larger values of X reduces flash writes.  However, smaller values of X reduces how much of the frame counter space gets skipped over on a reboot.  We could try 1000 for now.

It's really a good idea to store the frame counter value x ahead, I will update the PR with this mechanism, and will also address other inline comments, thanks.

@jwhui, The PR is updated to address most of the comments, including the frame counter storage.
While the feature of Child Update Request from parent to children is still ongoing, and I have a question about this feature:

If the parent has several stored children, Is it proper to send Child Update Request to them continuously, do we need to configure an interval timer among the Child Update Request messages?

@chshu, if I understand your question properly, I think it makes sense to rate limit the Child Update Request messages.

@chshu, at first glance, this looks pretty good!  How much testing have you done against the harness?

Ok, Thanks. I plan to use a 100ms timer, send only one Child Update Request in each timer expires handler, and set that child's timeout to 2s, so the restored child will be removed if parent doesn't receive its Child Update Response in 2s.
I have verified several reset related certification tests with the latest code, and will run the remaining today, thanks.

@jwhui , I have verified all the passed certification tests that have reset action, they are still passed with this PR using truly reset. And I have also implemented the Child Update Request(parent to child) feature in this PR, please have a review, thanks.

@chshu, thanks for these updates and thanks for validating the changes against the harness.  This looks great overall.  Couple comments above.


docs: Reference curations.yml and licenses.yml

Add to the getting-started guide sections on how to pass curations
to the Analyzer and user-defined license classifications to
the Evaluator using example files.
This change will help guide new users other documentation that they
can use to workaround common scan issues.
Resolves #2185.
Signed-off-by: Thomas Steenbergen<EMAIL_ADDRESS>

Commit message nits: There should be a dot after the "Resolves #2185" sentence and, more importantly, a blank line to separate from the Sign-off footer.

@sschuberth  Fixed the commit message - thank you for pointing it out.


Typo "[ipport=]"→"[ipport=]"

related #1158
https://docs.microsoft.com/en-us/windows/win32/http/delete-urlacl
https://github.com/MicrosoftDocs/win32/blob/docs/desktop-src/Http/delete-urlacl.md
#PingMSFTDocs

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


Use body as empty string when GitHub API responds with None

If there is nothing in the body of a PR, GitHub API responds with None. Added an if statement to use body as empty string if response is None.
Fixes https://github.com/bitcoin-core/bitcoin-maintainer-tools/issues/111
Can test this by creating a PR in some repository with no body or use this PR: https://github.com/prayank23/bitcoin/pull/6

Python code to test
import codecs
import unicodedata
import re
import json
from urllib.request import Request, urlopen

def get_response(req_url, ghtoken):
    req = Request(req_url)
    if ghtoken is not None:
        req.add_header('Authorization', 'token ' + ghtoken)
    return urlopen(req)

def sanitize(s, newlines=False):

    return ''.join(ch for ch in s if unicodedata.category(ch)[0] != "C" or (ch == '\n' and newlines))

def sanitize_ghdata(rec):

    if 'title' in rec:
        rec['title'] = sanitize(rec['title'], newlines=False)
    if rec['body'] is None:
        rec['body'] = ''
    rec['body'] = sanitize(rec['body'], newlines=True)

    if not re.match('[a-zA-Z0-9-]+\Z', rec['user']['login'], re.DOTALL):
        raise ValueError('Github username contains invalid characters: {}'.format(sanitize(rec['user']['login'])))

    return rec

def main():
    reader = codecs.getreader('utf-8')
    req_url = "https://api.github.com/repos/prayank23/bitcoin/pulls/6"
    ghtoken = "YOURGITHUBTOKEN"

    response = sanitize_ghdata(json.load(reader(get_response(req_url, ghtoken))))
    print(response)

if __name__ == '__main__':
    main()

cr ACK, didn't test

LGTM ACK


template for writing a proposal draft

A question received via email:
Do you have a template for writing a proposal draft , I would like to refer to it, thank you.

Yours sincerely

Shihuai

You can find example proposals at https://iteethesis-examples.uqcloud.net/search
You should consider only those that are related to this area, e.g. Information Retrieval, Machine Learning, Deep Learning. Relevant example proposals: On the Efficiency and Accuracy of On-Device Recommendation Systems
A typical structure would be like:

Abstract
Background and literature review
Project Plan
References

Hi, seems like this link is not working https://iteethesis-examples.uqcloud.net/search.
To pass the draft proposal, do we need to write it in full paragraph or dot pots are also acceptable?

Strange: I just tried also from outside the UQ network and it works.
In any case, here is the example I mentioned.
For the draft proposal, I suggest to write full paragraph or in alternative well elaborated bullet points.
Proposal_46995636.pdf


Make customized transitions between pages easy to implement

Use case
In my Flutter app, I want to have full control over the transition animations between pages.
When I display a new page (with Navigator.push() or Navigator.pushNamed()), I need an easy way to:

customize the animation of the new page (that's pretty much already the case)
customize the animation of the page that is about to be hidden

When I close the current page to go back to the previous page (with Navigator.pop()), I need an easy way to:

customize the animation of the page that is about to be closed
customize the animation of the page in the background

Proposal
This is something very easy to implement in native Android, but surprisingly, almost impossible in Flutter.
Would it be then possible to do something like this (I'll use the pushNamed() function, since I use named routes in my app):
Navigator.of(context).pushNamed(
    "/myRoute",
    arguments: myArguments,
    animation: (animation, child) => SlideTransition(             // animation for the upcoming page
        position: animation.drive(...)
        child: child),
    secondaryAnimation: (animation, child) => SlideTransition(    // animation for the page about to be hidden
        position: animation.drive(...)
        child: child),
);

And pretty much the same when I close a page:
Navigator.of(context).pushNamed(
    "someDataReturnedToPreviousPage",
    animation: (animation, child) => SlideTransition(             // animation for the closing page
        position: animation.drive(...)
        child: child),
    secondaryAnimation: (animation, child) => SlideTransition(    // animation for the page in the background
        position: animation.drive(...)
        child: child),
);

It's important to note that, sometimes, I need to have different animations between push and pop, and I also need differents pop animations, for example if the user submit a form (that pops the current page to go to the previous page), or just go back to the previous page without submitting anything.
That would help a lot and makes things way much easier to understand and implement, compared to the current implementation.

@mregnauld does RouteSettings.arguments solve your issue? pass rather custom builders, or some other data to choose predefined once infernally in the onGenerateRoute. imho flutter already provides you with a lot of tools to build custom navigation transitions and it just comes down to your own use case

@mregnauld does RouteSettings.arguments solve your issue? pass rather custom builders, or some other data to choose predefined once infernally in the onGenerateRoute. imho flutter already provides you with a lot of tools to build custom navigation transitions and it just comes down to your own use case

@nt4f04uNd Sure, Flutter provides some tools to build custom navigation transitions, but they are a nightmare to understand if you want to do everything I talked about. The only thing easy to customize is the animation of the upcoming page, that's all.
I remember in that episode of The Boring Flutter Development Show that even the Flutter team itself was confused with the secondaryAnimation and they wasn't able to explain how to customize the animation of the leaving page.
So yeah, there's definitely room for improvement.

@nt4f04uNd Sure, Flutter provides some tools to build custom navigation transitions, but they are a nightmare to understand if you want to do everything I talked about. The only thing easy to customize is the animation of the upcoming page, that's all.
I remember in that episode of The Boring Flutter Development Show that even the Flutter team itself was confused with the secondaryAnimation and they wasn't able to explain how to customize the animation of the leaving page.
So yeah, there's definitely room for improvement.

its not showing animation so how do i implement

Is there any progress about that? I was not able to find a proper solution for the out/exit animation. Thanks!

Is there any progress about that? I was not able to find a proper solution for the out/exit animation. Thanks!

NOPE :(


Compilation error with -Wall in clang (patch attached)

Required Info

Camera Model
D400

Firmware Version
N/A

Operating System & Version
Linux

Kernel Version (Linux Only)
N/A

Platform
PC

SDK Version
2.9.0

Issue Description
Minor compilation error with -Wall (which we're required to use here), patch attached here:
compilation_error_fix_richardroberts.patch.txt
By the way, I'd be glad to submit these minor fixes as pull requests if that makes things easier!  Is there a permission change that I need to be able to push to a new branch?  Currently I get this error:
ERROR: Permission to IntelRealSense/librealsense.git denied to richardroberts. fatal: Could not read from remote repository.

Hi @richardroberts , thanks for the patch.
You are welcomed to create Pull Request and submit this patch to the development branch for review and merge.

@richardroberts yo can fork (upper right corner of GitHub) the repo and push to a branch there, then submit a PR to development on librealsense

[Realsense Customer Engineering Team Comment]
Hi, @richardrobert,
Didn't see your PR, have you created PR?

Thanks for the help Sergey, in the future I'll try again to create a pull request.


fix: handle os.ErrExist on subsequent reruns

This PR fixes an issue reported by other users a while ago on #21, which pointed out that running the same executable / script several times (e.g. when changing or updating the same diagram) results in os.ErrExist errors considering that the go-diagrams and inner assets folders already existed.
This is a known error returned in os.MkDir and os.MkDirAll that can be checked with an (optionally in-line) errors.Is call.
These changes are applied to the diagram and cmd/gen package, where (black-box) tests were added to the diagram package, and the assets regenerated (with go run ./cmd/gen).
This PR also updates all dependencies to their latest versions; removes the usage of ioutil (as a deprecated package, if favor of os functions); and regenerates all assets. The later is an important step to mention since it seems these were generated in a different order in some symbols. I am unsure of the reason why (didn't look into that) however I can also remove the assets folder commit in particular, if you wish to skip changes to that package. I believe it's always a good idea to regen on changes, but there is a context to it too.
There are other details that I see potential in improvement, and I wish to contribute to this repository, but all in their due PRs and topics :D these changes should only comprehend the issue for the existing files when re-rendering a diagram.

I see that other users have already posted similar (and simpler) PRs for this issue. I will fork the repository and continue working on it for my own requirements :) You can ignore this PR, or re-open it / mention me if you'd like to apply a patch to your repository with any of the content


multilingual adaptation

I have see some keywords in other language translation in code, such as "明日", but it doesn't work

The library I'm using does support some additional languages, but unfortunately don't have the time or knowledge of those languages to make it work.


Rework README

Right now the README for this project has a mix of too much detailed information and not enough pointers to the actual docs. We should make a pass at cleaning this up and updating it to play nicely with our main docs.

Hey  @that-ar-guy feel free to start working on it

@that-ar-guy Sure! Have you signed a contributor agreement for Open edX yet? https://openedx.atlassian.net/wiki/spaces/COMM/pages/941457737/How+to+Start+Contributing+Code


Allow users to configure DatabaseProductName if needed

Related to #1477
This PR allows users to set a DatabaseProductName in their configuration if they wish. This should be useful to people who have trouble with the jdbc call connection.getMetaData().getDatabaseProductName().

Hi, thanks. On one hand, this is something people will shoot themselves to the foot with. On the other, there is apparently no other way, if you are right and the driver does not return anything  useful.
Can you please report it to Oracle, so they fix it?
Can you please change the type from string to an enum, so the API is more obvious.
Thanks again

Hi, thanks a lot, I am currently traveling, I will merge it at the end of the next week

Thank you! We really like Shedlock.
I will try with Oracle but typically they don't fix bugs.


Feature/search activity indicator

Description
Add a search activity indicator to search results view.
Trello card: https://trello.com/c/23SwOa6V/68-stretch-goal-ideas
Type of change

[x] New feature (non-breaking change which adds functionality)

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[x] Manually tested with simulator (iPhone 8 & 11 Pro Max)

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] There are no merge conflicts

 Stretch Goal Ideas