YARN-3929. Add uncleaning option for local app log file

Add uncleaning option for local app log file with log-aggregation enabled
Support new config to enable/disable local app log file cleanup when log-aggregation is enabled

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
37
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

0
mvndep
14
Maven dependency ordering for branch

+1
mvninstall
1032
trunk passed

+1
compile
546
trunk passed

+1
checkstyle
73
trunk passed

+1
mvnsite
89
trunk passed

+1
shadedclient
831
branch has no errors when building and testing our client artifacts.

+1
javadoc
63
trunk passed

0
spotbugs
82
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
178
trunk passed

_ Patch Compile Tests _

0
mvndep
13
Maven dependency ordering for patch

+1
mvninstall
64
the patch passed

+1
compile
512
the patch passed

+1
javac
512
the patch passed

-0
checkstyle
70
hadoop-yarn-project/hadoop-yarn: The patch generated 10 new + 374 unchanged - 2 fixed = 384 total (was 376)

+1
mvnsite
80
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
663
patch has no errors when building and testing our client artifacts.

+1
javadoc
60
the patch passed

+1
findbugs
188
the patch passed

_ Other Tests _

-1
unit
50
hadoop-yarn-api in the patch failed.

-1
unit
1294
hadoop-yarn-server-nodemanager in the patch failed.

+1
asflicense
44
The patch does not generate ASF License warnings.

5939

Reason
Tests

Failed junit tests
TEST-TestYarnConfigurationFields

hadoop.yarn.server.nodemanager.amrmproxy.TestFederationInterceptor

Subsystem
Report/Notes

Docker
Client=18.09.8 Server=18.09.8 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-401/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/401

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b2777817c52e 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 7f1b76c

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/1/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/1/testReport/

Max. process+thread count
446 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
42
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

0
mvndep
15
Maven dependency ordering for branch

+1
mvninstall
1136
trunk passed

+1
compile
573
trunk passed

+1
checkstyle
76
trunk passed

+1
mvnsite
85
trunk passed

+1
shadedclient
787
branch has no errors when building and testing our client artifacts.

+1
javadoc
64
trunk passed

0
spotbugs
81
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
172
trunk passed

_ Patch Compile Tests _

0
mvndep
15
Maven dependency ordering for patch

+1
mvninstall
66
the patch passed

+1
compile
529
the patch passed

+1
javac
529
the patch passed

-0
checkstyle
67
hadoop-yarn-project/hadoop-yarn: The patch generated 10 new + 375 unchanged - 2 fixed = 385 total (was 377)

+1
mvnsite
87
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
694
patch has no errors when building and testing our client artifacts.

+1
javadoc
59
the patch passed

-1
findbugs
31
hadoop-yarn-server-nodemanager in the patch failed.

_ Other Tests _

-1
unit
52
hadoop-yarn-api in the patch failed.

-1
unit
32
hadoop-yarn-server-nodemanager in the patch failed.

+1
asflicense
37
The patch does not generate ASF License warnings.

4751

Reason
Tests

Failed junit tests
hadoop.yarn.conf.TestYarnConfigurationFields

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/401

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux c64e171c9efe 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / c7c7a88

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/artifact/out/patch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/testReport/

Max. process+thread count
447 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
37
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

0
mvndep
16
Maven dependency ordering for branch

+1
mvninstall
1175
trunk passed

+1
compile
554
trunk passed

+1
checkstyle
82
trunk passed

+1
mvnsite
103
trunk passed

+1
shadedclient
958
branch has no errors when building and testing our client artifacts.

+1
javadoc
69
trunk passed

0
spotbugs
87
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
193
trunk passed

_ Patch Compile Tests _

0
mvndep
15
Maven dependency ordering for patch

+1
mvninstall
71
the patch passed

+1
compile
515
the patch passed

+1
javac
515
the patch passed

-0
checkstyle
82
hadoop-yarn-project/hadoop-yarn: The patch generated 10 new + 375 unchanged - 2 fixed = 385 total (was 377)

+1
mvnsite
92
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
793
patch has no errors when building and testing our client artifacts.

+1
javadoc
65
the patch passed

+1
findbugs
210
the patch passed

_ Other Tests _

-1
unit
56
hadoop-yarn-api in the patch failed.

+1
unit
1299
hadoop-yarn-server-nodemanager in the patch passed.

+1
asflicense
42
The patch does not generate ASF License warnings.

6454

Reason
Tests

Failed junit tests
hadoop.yarn.conf.TestYarnConfigurationFields

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-401/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/401

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 09c348938598 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / e872ceb

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/3/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/3/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/3/testReport/

Max. process+thread count
306 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-401/3/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


ui-sref params is changing in very strange way

I have the following issue.
plunkr: http://plnkr.co/edit/qguCtCScGRAuwWowFRnJ?p=preview
View
gallery

Controller
function MyCtrl($scope) {
    $scope.currentParams = { lng: $scope.currentLang };
    $scope.currentLang = 'en-US';
    $scope.$watch('currentLang', function(newLang) {
         $scope.currentParams.lng = newLang;
    };
    // ...
    // some changes with $scope.currentLang when state changes1
}

State Config
$stateProvider
    .state({'main', url: '/:lng', abstract: true})
    .state({'main.gallery', url: '/gallery', template:'gallery', controller: 'MyController'});

Now when $scop.currentLang changes to, for example, 'en-CA' the watch handler of uiSref directive is triggered and in the if check
if(newVal !=== params) update(newVal);

Params is changed to $scope.currentParams before it reach to if statement, thus it doesn't update.
I have tried to do this way
Object.observe(params, function() { debugger; });

to track the params changes, but it called after if statement fails.
P.S. Also, I think that I did something wrong

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb


[DOCS] Add engine args documentation

Engine arguments are largely undocumented which means users have to go and read the source-code to discover which arguments that exist and what they mean. This PR attempts to create a documentation page for the engine arguments that are nicely formatted and easy to expand in the future.
NOTE: All arguments do not fit into the screenshot.

LGTM! Thank you for your great contribution! BTW do you know whether there is any automated way that we can generate this page from the code? In that case we don't need to maintain two copies of the same information.

There is an automatic tool for Sphinx, but you cannot get the same granularity, formatting, and explanations that we achieve in this PR.
https://sphinx-argparse.readthedocs.io/en/latest/sample.html#example-documentation-structure

The formatting is now updated. Now you can also click on the individual arguments to get a link for them and highlight it.

Thank you for your contribution! I think this is a good first step as well. Can you add a comment to the python file where these documentation is located as well so that future contributor will get the hint to update documentation as well? Something like: # NOTE: please also make sure to update docs/source/models/engine_args.rst

Thank you for your contribution! I think this is a good first step as well. Can you add a comment to the python file where these documentation is located as well so that future contributor will get the hint to update documentation as well? Something like: # NOTE: please also make sure to update docs/source/models/engine_args.rst

Added the comment in the right place. Hope that is good enough!

Thank you!


dep: update picky version to git rid of ring

Summary

The newest version picky removes ring dependency with RustCrypto. By this updation, we can fully get rid of ring dependency for cosign verification.

Release Note

Removed ring dependency when feature ["cosign-native-tls", "cached-client"] are enabled.
Documentation

Close https://github.com/sigstore/sigstore-rs/issues/187

I'm not sure whether we can keep a git-rev in the Cargo.toml, or we should wait for it to be released?

I'm not sure whether we can keep a git-rev in the Cargo.toml, or we should wait for it to be released?

We have to wait for a release on crates.io. Crates that are published on crates.io (like sigstore-rs) cannot have git references.

I'm totally in favor of this PR to be merged, let's wait until there's another RC of picky


install issue

I got this in the log try to install on new pi4 just moved from old rpi.
$ ./iobroker add mihome-vacuum  --host raspberrypi NPM version: 6.14.8 npm install<EMAIL_ADDRESS>--loglevel error --prefix "/opt/iobroker" (System call) Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found
gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp
ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack     at ChildProcess.emit (events.js:314:20)gyp
ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.4.79-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.20.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)node-pre-gyp ERR! stack     at ChildProcess. (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)node-pre-gyp ERR! System Linux 5.4.79-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v12.20.0node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
npm
ERR! code ELIFECYCLEnpm ERR! errno 1
npm
ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1npm ERR! npm ERR! Failed at the<EMAIL_ADDRESS>install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-12-25T10_55_14_461Z-debug.log
ERROR: host.raspberrypi Cannot install<EMAIL_ADDRESS>1
ERROR: process exited with code 25`

somtimes the canvas package could not installed, plese see readme for fix this

somtimes the canvas package could not installed, plese see readme for fix this


Rtl feature

@gonzalovelasco i forgot to add it's not just textfields but also the Text in the NoteCard. That being said this is great work! Fantastic job man. You'll need to update the CustomRichText to include textDirection property

2bddcd35aae84238ad9f43f2be86cc2d825753f2


[help wanted][easy] Support the latest trending checkpoints

A simple and fun way to contribute to this project is to add support for newly released checkpoints. https://huggingface.co/models?pipeline_tag=text-generation&sort=trending contains a list of the trendiest checkpoints and most of them could be easily supported.
Here's an example PR that did exactly this: https://github.com/Lightning-AI/lit-gpt/pull/302
Some examples of configurations that could be easily added are:

[ ] https://huggingface.co/togethercomputer/LLaMA-2-7B-32K
[ ] https://huggingface.co/stabilityai/StableBeluga2
[x] https://huggingface.co/lmsys/vicuna-13b-v1.5-16k
[ ] https://huggingface.co/NousResearch/Nous-Hermes-Llama2-13b
[ ] https://huggingface.co/stabilityai/stablecode-completion-alpha-3b
[ ] https://platypus-llm.github.io

I will try to keep this issue up-to-date. Feel free to pick one from the list and add support

Hello @carmocca, which of these still need configurations to be added? Thank you!


Add Field not working

In the MailChimp Settings Page on the Frontend Members Tab, the button where you can add a new field is broken.

The onclick="" was the problem, it did not yet have the "mp_ssv_" prefix.


Make -nohidden position independent

Hello,
When I do:
bfs -nohidden . -name "*foo*"

it works great! Fast, and ignoring dirs starting with ., as expected.
But when I do:
bfs . -name "*foo*" -nohidden

the -nohidden switch is not effective.. I get search results from hidden dirs too (dirs starting with .)!

That command line is equivalent to bfs -name '*foo*' -and -nohidden, and since -and is short-circuiting, -nohidden doesn't even get a chance to run if -name '*foo' returns false.  So it will filter out any hidden files/directories that match *foo* but no other ones.  I agree that this is confusing, and I'm open to suggestions of better semantics for it.

I agree that this is confusing, and I'm open to suggestions of better semantics for it.

I don't code in C. So I wish I could have provided some useful suggestions. Dumb thought: Is it possible to treat -nohidden as a special switch, and not AND it with the rest?

That would be possible yeah, I'll try it out and see how nice it is in practice.
Related to #8.


Avoid working with prepared statements from JdbcColumnType API

Until now, column values in JdbcColumnType were set using PreparedStatement. This approach exposed implementation details, so the changes in the implementation would cause changes in the API.
This PR introduces Parameters class, which serves as a DTO for SQL query parameters. It allows to hide the details about construction of queries in a place, where query parameters are specified. From now, JdbcColumnType uses Parameteres, which solves the described issue.
Also StorageQuery descendants and IdColumn were reworked and now use Parameters. So setting of parameters to a PreparedStatement is placed in StorageQuery only. Such changes bring good generalization and make future changes easier.
Previously, to set parameters for PreparedStatement, different methods of PreparedStatement were used (e.g. setString(...), setInt(...), setBytes(...)). To make possible setting of PreparedStatement parameters in a single place, setObject(...) method is used now. To guarantee correct work with different types, java.sql.Types are used to specify a type of a parameter.

@armiol PTAL.

@armiol PTAL.


[fix] Bugfix in HTML generator in parse command

The checker name is needed so the hash function can compute a hash for the
report. If this checker name is not the member of the Report object then hash
generation crashes.

It is used here:
https://github.com/Ericsson/codechecker/blob/9ad0c68f13f43c50ffc36e6a1cc1cd10a6feb6a3/tools/codechecker_report_hash/codechecker_report_hash/hash.py#L291
This function is called in the next line after the modified line.


Flutter engine support for 32 bit ARM

@HidenoriMatsubayashi Do we have support available for ARM 32 bit?
Do we have plans to support it?
If i need to do by myself, any leads that can help?

Technically, yes. This software (flutter-embedded-linux) doesn't have any CPU architecture-dependent implementations. However, there are some issues to ARM 32bit (armhf, ARMv7) support of the Flutter Engine.

https://github.com/flutter/flutter/issues/83765
https://github.com/flutter/flutter/issues/84133
https://github.com/flutter/flutter/issues/74322
https://github.com/flutter/flutter/issues/75823

Is this armv7s or armv6?

Is this armv7s or armv6?

@chinmaygarde - This is for armv7

Closing as known issues have been fixed.


Instruction for keywords retrievial

hi!
I'm currently using the instructor-xl model, using as query a phrases to retrieve relevant keyword.
I noticed that if I apply an instruction, the performance degradate (may be because I'm the training set, the query instruction usually introduce a string that is shorter than the string introduced with the document - passages instruction)
Any suggestions for instructions pair?
Thanks in advance!

Hi, Thanks a lot for your interest in the INSTRUCTOR!
You may try to follow the instruction template: Represent {domain} {text_type} for {task_objective}:. For example, if the query is a news article, and we use it to retrieve relevant keywords, we may write instructions like {'query': 'Represent a news article for retrieving relevant keywords:', 'document': 'Represent a keyword for retrieval:'}
Hope this helps!

Feel free to re-open the issue if you have any questions or comments!


Unused content

In May 2022, Jen added some checks, while waiting for Pelican to be re-deployed. Pasting here in case useful in future.
OCID prefixes
  {
   "cell_type": "markdown",
   "source": [
    "#### OCID prefix\n",
    "\n",
    "Check that the data uses the correct ocid prefix.\n",
    "\n",
    "You only need to run the check for the package type used by the publisher, release or record.\n",
    "\n",
    "Update the ocid prefix in the approriate check query statement below. The correct prefix can be found at [the list of registered prefixes](https://docs.google.com/spreadsheets/d/1Am3gq0B77xN034-8hDjhb45wOuq-8qW6kGOdp40rN4M/pubhtml?gid=506986894&single=true&widget=true)."
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "##### Release prefixes\n",
    "\n",
    "Check that releases use the correct ocid prefix.\n"
   ]
  },
  {
   "cell_type": "code",
   "source": [
    "%%sql ocid_prefix_release_check <<\n",
    "\n",
    "SELECT\n",
    "    ocid\n",
    "FROM\n",
    "    release_summary\n",
    "WHERE\n",
    "    collection_id IN :collection_ids\n",
    "    AND ocid NOT LIKE 'ocds-fmoaoq%'\n"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "code",
   "source": [
    "ocid_prefix_release_check"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "source": [
    "**Interpret results**\n",
    "\n",
    "Flag any incorrect prefixes.\n",
    "\n",
    "No results means all the correct OCID prefixes are used for all releases.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "##### Record prefixes\n",
    "\n",
    "Check that records use the correct ocid prefix."
   ]
  },
  {
   "cell_type": "code",
   "source": [
    "%%sql ocid_prefix_record_check <<\n",
    "\n",
    "SELECT\n",
    "    ocid\n",
    "FROM\n",
    "    record_summary\n",
    "WHERE\n",
    "    collection_id IN :collection_ids\n",
    "    AND ocid NOT LIKE 'ocds-fmoaoq%'\n"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "code",
   "source": [
    "ocid_prefix_record_check"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "source": [
    "**Interpret results**\n",
    "\n",
    "Flag any incorrect prefixes.\n",
    "\n",
    "No results means all the correct OCID prefixes are used for all records.\n"
   ]
  },

The following duplicates checks in Pelican
  {
   "cell_type": "markdown",
   "source": [
    "### Organization reference"
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "#### Roles without references\n",
    "\n",
    "Check that for each organization in the `parties` array with a buyer or supplier role there is a corresponding reference in `buyer` or `awards.supplier` respectively."
   ]
  },
  {
   "cell_type": "code",
   "source": [
    "%%sql\n",
    "\n",
    "SELECT\n",
    "    release_type,\n",
    "    count(id) AS buyer_count,\n",
    "    sum(link_to_parties) link_to_parties,\n",
    "    sum(link_with_role) link_with_role\n",
    "FROM\n",
    "    buyer_summary\n",
    "WHERE\n",
    "    collection_id IN :collection_ids\n",
    "GROUP BY\n",
    "    release_type\n"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "code",
   "source": [
    "%%sql\n",
    "\n",
    "SELECT\n",
    "    release_type,\n",
    "    count(id) AS supplier_count,\n",
    "    sum(link_to_parties) link_to_parties,\n",
    "    sum(link_with_role) link_with_role\n",
    "FROM\n",
    "    award_suppliers_summary\n",
    "WHERE\n",
    "    collection_id IN :collection_ids\n",
    "GROUP BY\n",
    "    release_type\n"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "source": [
    "**Interpret results**\n",
    "\n",
    "If the number in link_to_parties is less than the buyer_count or supplier_count then there are organizations in `parties` who's `id` doesn't match to a `buyer.id` or `awards.suppliers.id` respectively.\n",
    "\n",
    "If the number in link_with_roles is less than the buyer_count or supplier_count then there are organizations in `parties` without the relevant role in their `roles` array."
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "### Linking awards and contracts"
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "Where they are included contracts must be correctly linked to award. Check that `contracts.awardID` matches a `awards.id` for each ocid with a `contracts` object."
   ]
  },
  {
   "cell_type": "code",
   "source": [
    "%%sql\n",
    "\n",
    "SELECT\n",
    "    release_type,\n",
    "    link_to_awards AS linked_to_award,\n",
    "    count(id) AS award_count,\n",
    "    count(contract_id) AS contract_count\n",
    "FROM\n",
    "    contracts_summary\n",
    "WHERE\n",
    "    collection_id IN :collection_ids\n",
    "GROUP BY\n",
    "    release_type,\n",
    "    link_to_awards\n"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "source": [
    "**Interpret results**\n",
    "\n",
    "Contracts with linked_to_award = 1 are linked to an award.\n",
    "\n",
    "Contracts with linked_to_award = 0 are not linked to an award.\n",
    "\n",
    "contract_count can be more or less than award_count as multiple contracts can be linked to the same award and an award can be published before a linked contract."
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "Check the `contracts.awardID` and `awards.id` for a sample of ocids where linked_to_award = 0. If the total number is small set sample_size to 1 to return all relevant ocids."
   ]
  },
  {
   "cell_type": "code",
   "source": [
    "sample_size = 0.1"
   ],
   "execution_count": null,
   "outputs": []
  },
  {
   "cell_type": "code",
   "source": [
    "%%sql\n",
    "\n",
    "SELECT\n",
    "    awards.ocid,\n",
    "    contracts.link_to_awards,\n",
    "    awards.award_id,\n",
    "    contracts.awardid\n",
    "FROM\n",
    "    awards_summary AS awards\n",
    "    INNER JOIN contracts_summary AS contracts ON awards.ocid = contracts.ocid\n",
    "WHERE\n",
    "    contracts.collection_id IN :collection_ids\n",
    "    AND contracts.link_to_awards = 0\n",
    "    AND random() < :sample_size\n",
    "GROUP BY\n",
    "    awards.ocid,\n",
    "    contracts.link_to_awards,\n",
    "    awards.award_id,\n",
    "    contracts.awardid\n"
   ],
   "execution_count": null,
   "outputs": []
  }

I added the ocid prefix ground truth check (above) and duplicate release IDs change history check into the repository.

Noting that the blank/null fields check uses lib-cove-ocds results.
The null check could be useful (i.e. check that fields are nulled deliberately), since Pelican only uses merged releases. This could be a change history check in the template. Tagging @yolile in case we want to add it.


Enable dark mode

defaults write -globalDomain AppleInterfaceStyle Dark
after: sudo killall -HUP WindowServer

Hi @yannbertrand, I would like to work on it!

Hi @yannbertrand, I would like to work on it!

Nice. Let me know if the command is not working, I'm not sure it is

Nice. Let me know if the command is not working, I'm not sure it is

Confirmed working on Big Sur.
Note that sudo killall -HUP WindowServer logs you out.

Please note the killall commands force closes all opened sessions. I just did it on my computer, I couldn't reopen Firefox nor VSCode because "a session is still opened" 😅

Turns out there is no easy solution to refresh WindowServer programmatically.
Usual solution seems not to use a default but AppleScript like this:
osascript -e 'tell application "System Events" to tell appearance preferences to set dark mode to 1'

See https://www.reddit.com/r/MacOS/comments/92o7e3/control_the_macos_dark_mode_from_the_terminal/


Integrate Cosmos => create test suite via Jest snapshots

@ovidiubute take a look at layout-proxy if you want to see an example of a custom proxy.


[BUG] corrupted packages with apktool for sdk >= 30 (Android 10) (aapt/aapt2)

for some quite time now I'm getting corrupted packages,
is apktool still functional?
I'm currently on build 2.6.2-adc942-SNAPSHOT, and just extracting and building renders an invalid (non-installable) apk.
I assume the cause is parsing res and resources.arsc since the result apk(s) have broken icon, and the packages reported as uninstallable ('problem while parsing the package').
I'm properly signing and aligning.
it seems that even the simplest apk are broken regardless if they are built using the aapt2 or not.
apktool.yml set to sdk 29 renders an installable apk (with visible icon), but most of the apps that requires file access on Android 11+ won't work properly with that sdk. so I effectively have no way of working with apktool :..[

Ps. are there requirement for java version,
and is JDK 17.0.2 (currently latest) requires any --add-opens or --add-exports ?
currently using oracle jdk1.8.0_151

is apktool still functional?

Yes

uninstallable ('problem while parsing the package').

The logcat would have the exact reason it was rejected.

apktool.yml set to sdk 29 renders an installable apk,

Saying this suggests sdk28 works perfectly which would be something to investigate, is that true?

Ps. are there requirement for java version,

8+

and is JDK 17.0.2 (currently latest) requires any --add-opens or --add-exports ?

I'm not positive what those means to comment on that.

thank you for answering the above issues.
after addressing some known issue: https://gist.github.com/eladkarako/76ace7879872b9cc9b4b5817e08392f4
I was able to build with either aapt(1) and aapt2 successfully,
I've also switched to oracle JDK 17, which does not seems to matter much.
I've tried leaving sdk 31, changing to sdk 30 and sdk 29.
only when I have switched to sdk 29 I could see an icon in the apk and install it.
sdk 31/30 was not installable no matter what I did.
I understand that there is no much information to go on in this bug,
so going to close it for now. as far as I can tell, trying to modify apks that were compiled to (no matter the minimum sdk) sdk 31(+) will no re-build properly. I suspect the parsing of the res + resources.arsc.
I haven't found any suitable alternative to apktool.

jarsigner and apksigner (from build tools) didn't worked for me,
but uber-apk-signer-1.2.1.jar generated a working apk from what was found in the dist folder.
afterwards, I was unpacking the apk for copying some stuff and zipping it back with either 7zip/zip/jar,
and signing (with uber-apk-signer) the result was an invalid apk.
for that I've used gnu zip, and zero compression and not storing folder entries: zip -0Dr repacked_dist.apk .  following with signing (with uber-apk-signer),
the result was a working apk.
not sure way but from SDK 30,
a too strong zip compression seems to break the apk.
maybe the validator is having a hard time reading the constructed files for some reason,
and the zero-compression solved it. it seems like a workaround for a bug (possibly) in the packing.
I've also noticed the signer uses zipalign's -p argument for page align stored shared object files.
there were a lot of other changes, with the keystore creation-parameters, JDK, and build-tools, but the zip compression seems to be the one working around whatever broke before..


LegacyService dispose code is fragile

The DefaultLegacyService dispose() method closes all windows before shutting down IJ1. However the code that closes all windows can fail. You can see this by inspecting IJ1's source code. The closeAllWindows() command relies on the idea that Editor windows with changes will not close without saving first. Right now if a legacy plugin opens a Editor window and changes its text then the closeAllWindows() should fail. We might need some CodeHacker or reflection code for setting Editor's changed flag to false.
Migrated-From: http://trac.imagej.net/ticket/1836

Much work was done to reliably dispose all open windows, both image and non-image:

All image windows are now closed without recourse by looping.
All non-image windows known to ImageJ are closed without recourse as well using a combination of WindowManager.getNonImageWindows() and WindowManager.getNonImageTitles().

So the only potentially remaining rogue windows are those which some ImageJ plugin created and showed but did not register with ImageJ1's WindowManager. So far, we have no had problems in practice with such windows. And if we do, the proper fix is probably to correct the code of the plugin in question.


List of warnings that you can ignore through .gradient_ignore.exs

I'm having some trouble figuring out what the list of warnings I can ignore are.
For example, when seeing a warning like this (which I believe was already reported elsewhere):
apps/grid/lib/grid_web/views/error_view.ex:2: The spec template_not_found/2 doesn't match the function name/arity

I'm not sure by looking at this error how I would be able to ignore it, besides just putting the file:location in the gradient_ignore file. It would be nice to ignore just the one specific issue that came up. Is there a way to figure these warning specifiers?

Good ideas, thanks! We'll come up with something to address this.


result of "Exclude<unknown, undefined | null>" should be "{ }" in ts 4.8 ?

Suggestion

type T = Exclude<unknown, undefined | null>

type T above used to be unknown,  but in 4.8 it is close to {}
// https://devblogs.microsoft.com/typescript/announcing-typescript-4-8-rc/
function f(x: unknown, y: {} | null | undefined) {
    x = y; // always worked
    y = x; // used to error, now works
}

typescript playground

Exclude works by filtering types out of a union and unknown is not a union type, so it can't do anything with it.  Same reason Exclude<string, "foo"> doesn't work


Standardize on layer names as atoms or strings

It's possible to switch up between atoms and strings as layer names. We should standardize on one. It's possible to run into situations especially with input maps where you use an atom with the correct names but it raises because it's expecting a string, and the error is not clear

You should definitely standardize on string, especially as we import models from third party places, we don’t want to generate atoms dynamically.


main: Do not highlight options after --

Re #491, something like this? It does incorrectly highlight -n as path in a case statement like
case a in --) foo;; a) cat -n .zshrc;; esac

(Should be single-hyphen-option; is highlighted as path.)

@phy1729 This is milestoned 0.8.0.  Do you intend to work on it for the 0.8.0 release?  If yes, great; if not, could you re-milestone it appropriately?  Cheers.

(Assigning until the question is answered. Feel free to unassign yourself if needed.)

Triage: Bumping to the next milestone due to feedback timeout.


OrbbecSDK-K4A-Wrapper C# Version

Hello,
Are you planning to release a C# or Unity version of the K4A wrapper ?

The C# version are packaged directly based on the K4A API, but we haven't tested and released them yet. We will do so as soon as possible. You can attempt to compile and test with the source code in this repository.

I managed to build something with C# and I have the color and depth playing on Unity. But everytime I try to use the Transformation functions from K4a Unity crashed.
transformation.DepthImageToColorCamera
transformation.DepthImageToPointCloud
transformation.ColorImageToDepthCamera
It crashes for the 3 transformations without exception.
Unity crashlog :
ArgumentNullException: Value cannot be null.
Parameter name: depth
at Microsoft.Azure.Kinect.Sensor.Transformation.DepthImageToColorCamera (Microsoft.Azure.Kinect.Sensor.Image depth) [0x00049] in C:\Users\franc\OrbbecSDK-K4A-Wrapper\src\csharp\SDK\Transformation.cs:71
at test.Update () [0x00027] in C:\Users\franc\Documents\TestK4aWrapperCsharp\Assets\test.cs:109
(Filename: C:/Users/franc/OrbbecSDK-K4A-Wrapper/src/csharp/SDK/Transformation.cs Line: 71)
ArgumentNullException: Value cannot be null.
Parameter name: depth
at Microsoft.Azure.Kinect.Sensor.Transformation.DepthImageToColorCamera (Microsoft.Azure.Kinect.Sensor.Image depth) [0x00049] in C:\Users\franc\OrbbecSDK-K4A-Wrapper\src\csharp\SDK\Transformation.cs:71
at test.Update () [0x00027] in C:\Users\franc\Documents\TestK4aWrapperCsharp\Assets\test.cs:109
(Filename: C:/Users/franc/OrbbecSDK-K4A-Wrapper/src/csharp/SDK/Transformation.cs Line: 71)
[I20231009 15:16:03.349638 20000 FrameBufferManager.cpp:33] New frame buffer allocated=0.703559MB, total usage: {allocated=33.7567MB, max limit=2048MB}
[I20231009 15:16:03.350638 29276 FrameBufferManager.cpp:33] New frame buffer allocated=0.703551MB, total usage: {allocated=34.4602MB, max limit=2048MB}
[I20231009 15:16:03.378201 16800 FrameBufferManager.cpp:33] New frame buffer allocated=0.703559MB, total usage: {allocated=35.1638MB, max limit=2048MB}
[I20231009 15:16:03.379201 20000 FrameBufferManager.cpp:33] New frame buffer allocated=0.703551MB, total usage: {allocated=35.8673MB, max limit=2048MB}
[I20231009 15:16:03.407565 16800 FrameBufferManager.cpp:33] New frame buffer allocated=0.703559MB, total usage: {allocated=36.5709MB, max limit=2048MB}
[I20231009 15:16:03.408565 29276 FrameBufferManager.cpp:33] New frame buffer allocated=0.703551MB, total usage: {allocated=37.2744MB, max limit=2048MB}
[I20231009 15:16:03.444559 18056 FrameBufferManager.cpp:33] New frame buffer allocated=0.703559MB, total usage: {allocated=37.978MB, max limit=2048MB}
[I20231009 15:16:03.445559 38008 FrameBufferManager.cpp:33] New frame buffer allocated=0.703551MB, total usage: {allocated=38.6816MB, max limit=2048MB}
[I20231009 15:16:03.483594 36256 FrameBufferManager.cpp:33] New frame buffer allocated=0.703559MB, total usage: {allocated=39.3851MB, max limit=2048MB}
[I20231009 15:16:03.484594 18056 FrameBufferManager.cpp:33] New frame buffer allocated=0.703551MB, total usage: {allocated=40.0887MB, max limit=2048MB}
[I20231009 15:16:03.578207 11032 FrameBufferManager.hpp:58] FrameBufferManager created! @class libobsensor::FrameBufferManager, obj addr:1625376946608, frame obj total size:0.000433922MB
[I20231009 15:16:03.578207 11032 FrameBufferManager.cpp:107] DepthFrame bufferManager created!
[I20231009 15:16:03.578207 11032 FrameBufferManager.cpp:33] New frame buffer allocated=0.000433922MB, total usage: {allocated=40.0891MB, max limit=2048MB}
Crash!!!
 For call stack and other details, see the latest crash report generated in:

C:/Users/franc/AppData/Local/Temp/Unity/Editor/Crashes


fix: add default email notification config for users registered by third party connector

fixed #619 .
when register using third party connector, set default notification config for the user.

I'm not sure if the CI failed because of my change.

Hi @LinkinStars , could you help to review and let me know if any comments? Thanks.


VPN sometimes silently fails to start on Android N

The logs show
08-31 11:33:16.763 22781-22861/org.uproxy.uProxy D/Tun2Socks: Starting tun2socks...
08-31 11:33:16.765 22781-22861/org.uproxy.uProxy I/Tun2Socks: starting tunnel service
08-31 11:33:16.765 22781-22861/org.uproxy.uProxy W/Tun2Socks: already running service

but there is no key icon in the title bar.

This would happen if the VPN gets revoked but the plugin failed to register the event. As a result, it still thinks it's connected and subsequent attempts to start will fail.

Hey Alberto, I took you out of the assignees because I believe this is not currently our 'active' project. Feel free to correct me if I'm wrong. Thanks!


Implement error bar when Alby cannot reach connected node

Currently, when Alby cannot reach node following flow happens:
1. There's skeleton in the account bar indicating that Alby is trying to reach a node

2. Error toast message is displayed after timeout

3. After that there's no indication there is a problem. Balance is still displayed (which may be incorrect!)

We'd like to introduce an error bar / notification that appears at the step 3. This will should be also displayed in the accounts dropdown, and stay in that state until the connection is successful again (Figma file here):

Handoff

@stackingsaunter does it make sense to only have a small error bar and still show the old state and send/receive buttons (which won't work)?
I think it might be better to have a full error screen with a refresh button. Otherwise we need to individually block all the functionality of different buttons (send, receive, etc).
Related to https://github.com/getAlby/lightning-browser-extension/issues/2468
CC @reneaaron

Seems like a duplicate of #2377 I am waiting to merge #2456 before I can continue it.
@rolznz mentioned #2468 - seems like we have a couple of similar related issues/ideas about this now?

@lujakob thanks I missed that. Closing this and let's continue in #2377


Typo in Presenter docs

Codecov Report

Merging #270 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #270   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          23     23
  Lines         750    750
=====================================
  Hits          750    750

Continue to review full report at Codecov.

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

Why is this a typo?


Feature Request (sed): Support for extended match strings

I would like to request support for expressions like this:
sed -i ':a;N;$!ba;s/\n/ /g' file

Refer: https://stackoverflow.com/a/1252191/11613622
Currently, it is only supported by GNU sed; can be considered as low-priority (though the linked SO thread has over 2M views).

Is any of this supported by JavaScript regex?

@nfischer The branching and flow control part (:a;N;$!ba;) is not there in JS regex. The substitution (s/\n/ /g) can be directly done using JS replace.
Here are the official docs BTW: https://www.gnu.org/software/sed/manual/html_node/Multiline-techniques.html, https://www.gnu.org/software/sed/manual/html_node/Branching-and-flow-control.html

Hmm OK. Anything beyond simple regex support is unlikely to be supported. If you can refactor to use other unix commands instead (ex. see my replies on #983), I recommend using that workaround.

@nfischer Thanks. Well, I'm simply using replace with \n as match string for this particular case.


Update to grammar 0.0.7

Update it, there is a new change: jvmqueen/queen-antlr#39

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-06-28T15:33:58.289391.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@amihaiemil please keep in mind that manual assignment of tickets is a bad practice and it is discouraged. Next time, please let me elect the assignee.

@amihaiemil Don't forget to close this ticket before the deadline (2023-06-28T15:33:58). You are past the first half of the allowed period.

@amihaiemil thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Soft bans

Hey! I'm getting soft banned all the time from adidas. It is caused by headless mode.

Then don't use headless mode I guess. Just play around with some settings and see what works best. I haven't really used this code in a while, not sure if Adidas implemented some changes.


Get-SqlServerUpdate, fix #5803

Type of Change

[x] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Do not rely on SPLevel bringing "LATEST" anymore.

test failure was on other commands. almost went 24 hours without that!


NLTK looking for Python -32

First, my apologies if this isn't the correct venue to ask this question -- if it's not, I would appreciate suggestions as to where to ask it.  Also, my apologies if this is a duplicate question....I attempted to search for it in previous dialogs but with no luck.
I've installed Python 3.5, 32-bit since it appears NLTK only interfaces with this version.  When I try to install NLTK (following the link on the NLTK home page),  I get a message that it requires Python -32 and can't find it in the registry.
My understanding from poking around on-line is that the installer is looking for Python with an extension of -32.  In looking in HKEY_CURRENT_USERS in the registry, it appears that, except for the first line in the registry,  references to -32 are there.  Example:
[HKEY_CURRENT_USER\Software\Python\PythonCore]
[HKEY_CURRENT_USER\Software\Python\PythonCore\3.5-32]
[HKEY_CURRENT_USER\Software\Python\PythonCore\3.5-32\Help]
and many more....
I also found some leftover references to Python 3.4 (installed previously and deleted) in the HKEY_LOCAL_MACHINE portion of the registry with no reference to -32:
[HKEY_LOCAL_MACHINE\SOFTWARE\Python]
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore]
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.4]
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.4\Modules]
Python 3.5 is the only version installed on my machine.  Questions:

Are the leftover references to 3.4 in LOCAL_MACHINE causing problems?
If not, are the -32 references in the right place (CURRENT_USER)?

As you might imagine, I don't want to mess with the registry unless I'm sure I'm going the right direction.
Thanks.
Karen

@KEAppleby does the instructions on https://gist.github.com/alvations/0ed8641d7d2e1941b9f9 help to resolve your installation issue?

YES!  Thank you.
Karen Appleby

From: alvations<EMAIL_ADDRESS>Sent: Thursday, August 10, 2017 12:05 AM
To: nltk/nltk
Cc: Karen E Appleby; Mention
Subject: Re: [nltk/nltk] NLTK looking for Python -32 (#1803)
@KEApplebyhttps://github.com/keappleby does the instructions on https://gist.github.com/alvations/0ed8641d7d2e1941b9f9 help to resolve your installation issue?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nltk/nltk/issues/1803#issuecomment-321469280, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AccnSzjLGMIu3EjJxmjLHsdy0nCxgQN0ks5sWquggaJpZM4OxXd1.

Resolved by external documentation but I agree that documentation for Windows installation could be better. Let's open a separate issue to track that.
Closing issue in preparation for v3.2.5


Lamlazy pop-up prompts an error

ios15.3.1
dopamine

Open your terminal of choice (NewTerm or MTerm) and type the following:

sudo chown -R mobile:mobile $HOME/Documents/

Then try making a backup again.

Closing due to inactivity. Feel free to reopen if the issue persists.

Hi, I have the same error on Dopamine, I also tried ur command but it says „no such directory“
But when I look at the directory it seems to be wrong. Screenshot attached

iPhone 13 Pro Max
iOS 15.1.1
Dopamine

Hey @DeltaOn3X, you need to run the command as mobile user through sudo, not as root through su.

Ahhh, is that the reason why he puts root into the path ? I just tried it and now it’s working, thank you for the help and your tweak :)

@DeltaOn3X Yes, $HOME expands to /var/jb/var/$(whoami). And glad to hear it!


Fix error with 'flutter packages get' in package projects

Package projects are erroneously being treated as (iOS) apps due to previous changes to the flutter packages command.
Due to a combination of factors explained here, packages with plugin dependencies are the only affected projects - which is probably why it has flown a bit under the radar.
Fixes #16362

I signed it!

I signed it!


Fix requirements

Closes #2
Require minimal version instead of exact version in order to make it compatible with other version of packages, but up-to a (potentially backwards incompatible) future realease.
See PEP440  ( https://www.python.org/dev/peps/pep-0440/#version-specifiers ) for details.
Related: Semantic Versioning https://semver.org/

Thanks.
I kind of knew about the "relative" way to describe the requirements.
I am using pipenv and pipenv-setup to synchronise the pipenv to the setup.py file automatically.
I suppose I will have to look up how that works, otherwise this will be a manual process each time I make changes.
I think it is because I just used the default command pipenv-setup sync, which uses the Pipfile.lock file.
Note to self: to use the Pipfile file instead of the Pipfile.lock, add the --pipfile option.
pipenv-setup sync --pipfile

Sorry forgot to merge. Merged.


Add functionality for caching data once per company.

This would make it faster(very valuable for lambda implementation)

Done


IndicesStats - Cannot access a disposed object. / Cannot access a closed Stream.

Hello!
I'm using ElasticSearch.Net and Nest 2.0.2 in an ASP.NET 5 application, hosted on Ubuntu.
I'm calling client.IndicesStats(Indices.AllIndices) in one of my method and randomly the response is not valid. The OriginalException in the IResponse is these two:

An unhandled exception was thrown by the application.
      System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Http.ByteArrayContent'.
         at System.Net.Http.HttpContent.CheckDisposed()
         at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context)
         at System.Net.Http.CurlHandler.HttpContentAsyncStream.b__26_0()
         at System.Threading.Tasks.Task`1.InnerInvoke()
         at System.Threading.Tasks.Task.Execute()

and

An unhandled exception was thrown by the application.
      System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.ObjectDisposedException: Cannot access a closed Stream.
         at System.IO.__Error.StreamIsClosed()
         at System.IO.MemoryStream.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.IO.MemoryStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)

Do you have any idea about this situation? I did not found solution for this.
Thanks!

maybe something in the HttpConnection-CoreFx.cs but I didn't find any relevant thing

I investigated it for several days, finally I got it.
It's a corefx issue, not an elasticsearch-net bug.
Created an issue for this: https://github.com/dotnet/corefx/issues/8113
I think this bug can be closed.

@attilalaszlo glad you managed to find the root cause, thanks for the update :+1:


Getting unexpected Results from Smoothquant on Llama2-13B

System Info
A100 gpu
0.7.1 tensorrt-llm
Reproduction
run smoothquant
python3 hf_llama_convert.py \
        -i /target/model/hf_model_v16 \
        -o /target/model/sq0.8/ \
        -sq 0.5 \
        --tensor-parallelism 1 \
        --storage-type fp16

Build model for SmoothQuant in the per_tensor mode.
python3 build.py --ft_model_dir=/target/model/sq0.8/1-gpu/ \
                 --use_smooth_quant \
                 --dtype float16 \
                 --use_gpt_attention_plugin float16 \
                 --use_gemm_plugin float16 \
                 --use_layernorm_plugin float16 \
                 --output_dir /target/model/smooth_out \
                 --enable_context_fmha \
                 --remove_input_padding \
                 --use_inflight_batching \
                 --max_batch_size 100 \
                 --max_input_len 3000

I got the following warnnings:
(1) Parameter was initialized as float16 but set to float32

(2) IElementWiseLayer with inputs LLaMAForCausalLM/layers/30/attention/PLUGIN_V2_GPTAttention_0_output_0 and LLaMAForCausalLM/layers/30/attention/SHUFFLE_0_output_0: first input has type Half but second input has type Float.

(3)
UNSUPPORTED_STATESkipping tactic 1 due to insufficient memory on requested size of 93750 detected for tactic 0x000000000000001e. [TRT] [W] Tactic Device request: 93750MB Available: 81251MB. Device memory is insufficient to use tactic.

Are these warnings normal?
Please try with --per_channel and --per_token

The three kind of warnings are irrelevant to the bad accuracy. Please try with --per_channel and --per_token

thx, --per_channel and --per_token works for me.
Is --per_channel  for  weight and --per_token  for activation quantization in GEMM?

Is --per_channel  for weight and --per_token for activation quantization in GEMM?

Yes.


DL-13464 Remove wiremock dependency

Within the config/DIModule there is an entry that remains for def akkaScheduler - does not appear to be used elsewhere in the repo and should probably be removed now that all instances of akka have been amended to pekko

test this please

PR check failed relating to the the following

By reinstantiating the entry back in DIModule but calling it pekkoScheduler this seems to enable the tests (tests and it) to run locally 👍
@Provides
def pekkoScheduler(actorSystem: ActorSystem): Scheduler =
actorSystem.scheduler


[Color conversion] Add expressions for calculating luminance.

Added expressions for calculating luminance of colors according to WCAG 2.0 standards.

@Ahnaf30e thanks for posting this update!  Can you please attach the game you used to test this?  Thanks!

@tristanbob
Here is the example project:
Luminance.zip

@tristanbob Could you approve it please

@Ahnaf30e thanks for your excellent contribution! I performed a test of the hex expression and everything worked great.  :)


Footer Jump on Initial Mount

This is super minor but on the initial mount, meaning when you first hit the website, as the page content is loading you see the header and footer next to each other. After the page mounts the content pushes the footer to the bottom.
This can be solved by either mounting / unmounting the footer on each page transition or you can simply hide all content besides the header until it has mounted. Again, this only occurs on the initial mount not on a route change.
Let me know if you want me to fix this for you. I just didn't want to overcomplicate your code if you don't care.

@ryanwiemer I would love to get this fixed, feel free to submit a PR! Can't thank you enough for your help.

I submitted a PR with a fix. https://github.com/dillonmorris91/portfolio/pull/7


fix: increase timeout for install test

Fix all the nightlies!

npm install takes more than 1 minute, so we might need a even higher timeout.


graph-tool not found

Hi. I'm trying to create an environment on a docker image for the code.
I've tried the following code in Dockerfile to install graph-tool, but I got the error message: "Unable to locate package python3-graph-tool"
Run apt-get update &&
apt-get install python3-graph-tool python3-matplotlib python3-cairo
Please help. Thanks.

Hi ShaneXLi!
By default, python3-graph-tool is not available under apt. Maybe this will work:
echo "deb http://downloads.skewed.de/apt bionic main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 612DEFB798507F25

echo "deb http://cz.archive.ubuntu.com/ubuntu bionic main universe" >> /etc/apt/sources.list
apt-get update
apt-get install python3-graph-tool python3-matplotlib python3-cairo

Check out the first cell of SplineCam google colab where all the SplineCam dependencies are installed:
https://colab.research.google.com/drive/1gkHZI9BztH3N4qtu4LjTnFb5RCV2nq4d

Hello,
When I use any of your Colab examples, it still cannot install Graph-tool, it seems.
Even your bit of code above outputs the error :
The following packages have unmet dependencies:
python3-graph-tool : Depends: libboost-context1.65.1 but it is not installable
Depends: libboost-iostreams1.65.1 but it is not installable
Depends: libboost-python1.65.1 but it is not installable
Depends: libboost-regex1.65.1 but it is not installable
Depends: libpython3.6 (>= 3.6.5) but it is not installable
Recommends: libgv-python but it is not installable
Recommends: python-matplotlib but it is not installable
Recommends: python-cairo but it is not installable
Recommends: python-gi-cairo but it is not installable
Recommends: python-gi but it is not installable
Recommends: gir1.2-gtk-3.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Do you know how to solve it in any way ?
Thanks a lot for the paper anyway !

Hi @BabaVegato
It turns out that graph-tool installation without Conda has become really buggy. I'm going to find an alternative to conda for my google colab examples but in general Conda installation should work now. If you want to create a new environment with graph-tool and go from there do:
conda create --name splinecam -c conda-forge graph-tool
conda activate splinecam

Thanks a lot ! Sorry to still bother you, but what is your setup though ? Because I still have conflicts when installing pytorch or torchvision after using conda create --name splinecam -c conda-forge graph-tool.

The environemnts.yml file in the repo should help reproduce a working environment. Could you please try it and lemme know if it does/doesn't work?
https://github.com/AhmedImtiazPrio/splinecam/blob/main/environment.yml

It's working, thanks a lot !

I'm having similar dependency issues with GOMP via graph-tool and installing from the environment.yml is not working. In a fresh conda env with Python 3.8 I ran conda env update --file environment.yml --prune. Trying to import splinecam gives an import error for GOMP_5.0 which is required by graph tool. Any ideas?

Hi @jwarley ,
Can you try the following and see if it works?
echo "deb http://downloads.skewed.de/apt jammy main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 612DEFB798507F25
apt-get update
apt-get install python3-graph-tool python3-matplotlib python3-cairo


Support for aiohttp2

Hello!
Thanks for working on telepot.
I see it has a fixed dependency for aiohttp==1.3, but supporting aiohttp2 doesn't seem too hard.
I think the only differences would be

replacing aiohttp.helpers.FormData with aiohttp.formdata.FormData
using an aiohttp.ClientSession for for sending post requests

A trivial way to do the second one would be creating a ClientSession and using it in telepot.aio.api._transform (replacing aiohttp.post with session.post), I did some tests and it seems to work.
The only problem might be closing the session
Could we work on a pull request to support aiohttp2?

I need some time to investigate and think about it. Will get back to you in a week. Thanks for the suggestion.

Hello!
Is there any updates about an issue?
Thanks!

Hello, I also played with aiohttp2. And everything works great except this part
This part is not working in aiohttp2 because of import error. So if you send file with space or other symbols which should be encoded -- user receives file name with encoded version of symbols. Could someone fix it?

Sorry for the delay. My original decision to fix the dependency at aiohttp==1.3 is to free myself from keeping up-to-date with aiohttp. It seems I can avoid it no longer.
Ok, I will bring telepot up to comply with aiohttp2 (and no longer compliant with aiohttp 1.x). I am going to get a semi-vacation from late April to very early May. Expect an update on or before May 10.
Thanks for using telepot.

Telepot is now compliant with aiohttp2!!! (See #234)
Thanks for raising this issue, and thanks for using telepot.


graphviz: 2.50.0 -> 3.0.0

https://gitlab.com/graphviz/graphviz/-/tags/3.0.0
also fixed the substituteInPlace
it was replacing /usr/bin/vim to $(command -v vi)m
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@risicle @7c6f434c
you mentioned the reverse deps in https://github.com/NixOS/nixpkgs/pull/168502#issuecomment-1105719636 https://github.com/NixOS/nixpkgs/pull/168502#issuecomment-1100939903 so i added them to passthru.tests

backport staging-22.05

Why?

backport staging-22.05

Why? We could creating a separate commit for fixing the substitution and only backport that.

so that we don't have a outdated graphviz in the latest release at release time :)

backport staging-22.05

Why? We could creating a separate commit for fixing the substitution and only backport that.

so that we don't have a outdated graphviz in the latest release at release time :)

This change won't make it into release-22.05 by release time and could potentially break lots of builds.

This change won't make it into release-22.05 by release time and could potentially break lots of builds.

And, judging from the upstream refactoring scope, there is even a risk of some run-time-only breakage for things that wrap graphviz commands…

Hmm, darwin breakage seems new

@NixOS/darwin-maintainers is it easily fixable?

Hmm, darwin breakage seems new

Ofborg is trying to build all the uncached deps because the pr targets staging but it fails due to high load.

Oops you are right.


fix: Disable btrfs compression to make swapon work

Since btrfs compression of system image enabled by default, swapfile has been broken.
Here is log:
$ systemctl status home-swapfile.swap
× home-swapfile.swap - Swap
     Loaded: loaded (/etc/systemd/system/home-swapfile.swap; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2024-04-30 20:57:21 CST; 2h 20min ago
       What: /home/swapfile
        CPU: 8ms

Apr 30 20:57:21 chimeros systemd[1]: Activating swap Swap...
Apr 30 20:57:21 chimeros swapon[486]: swapon: /home/swapfile: swapon failed: Invalid argument
Apr 30 20:57:21 chimeros systemd[1]: home-swapfile.swap: Swap process exited, code=exited, status=255/EXCEPTION

This pull request means to solve this problem.

Nice find, thanks!


Fix bundle creation

Signed-off-by: Jose Fuentes<EMAIL_ADDRESS>

oops, missed this
/lgtm


Dataset cards: missing template for the YAML tags

On this page I think it would be nice to have a template of the YAML tags users can add to their dataset cards:
https://huggingface.co/docs/hub/datasets-cards
Overall the page feels empty compared to the one for models ^^'
The full list of supported tags is currently this one:
    annotations_creators: List[str]
    language_creators: List[str]
    language: List[str]
    license: Union[str, List[str]]
    license_details: str
    multilinguality: List[str]
    pretty_name: str
    size_categories: List[str]
    source_datasets: List[str]
    task_categories: List[str]
    task_ids: List[str]
    paperswithcode_id: str
    train-eval-index: List[Dict]
    configs: List[str]
    extra_gated_fields: Dict
    extra_gated_prompt: str

Maybe @stevhliu or @NimaBoscarino can help with this ?
EDIT: added str to license

❤ ❤
note that on Hub side license: can be str or List[str] so i'd recommend documenting the same

Sounds great to me! I can help with this later this week :)

Closed by #254 :)


Make the VM's value printing take the type into account

The current value printer does not take the type of the value into account as a raw Value is not aware of its actual type. This leads to some compromises in the information the printing displays. Adding a second way of printing which is aware of the type would be nice so that the REPL top level can print better values
pub struct TypedValue<'a>(&'a TcType, Value);
impl<'a> fmt::Display for TypedValue<'a> { ... }

remove_aliases_cow can be used to see the actual type of the value (variant (| None | Some Option a), record { x : Int, ... } or a primitive (Int, Float, ...))

Related #83

Would like to have this for https://github.com/gluon-lang/gluon_language-server/pull/4 but maybe the current printing is adequate for the initial debugger support. Unless @brendanzab you would like to implement it?

Not going to have a chance to look at this right now... sorry!

No worries, just wanted to suggest it as an easier issue than universal quantification if you get stuck to much on that :)


Add support for SAP Data-dictionary types in proUBC schemas endpoint

Create an endpoint on proUBC that lists data dictionary types from SAP tables and structures. Include details on property-level data type and data domain (eg. char vs numeric type, key/not key, text description in user lang etc)

Currently doable just with the freestyle data model designer. Backlogging this issue for now since its simple enough to do manually.

Will be preferable for the customer to use CDS/oData entity types in this case rather than the pure DDIC types


numbering of nodes

Maybe this comment is related to the issue "stability of node and edge IDs".
I try to change my basis model following from the lumping tool within a python script to avoid changing my model manually in Qgis each time my basis model is changing with newer versions of the lumping/volume tools.
One of my actions is to remove isolated basin nodes (not connected to other nodes). However, when you remove a node from your model.node.static geodataframe the model is not valid anymore. The validation test is based on the number of nodes and a continues numbering of nodes, which means that no numbers may be skipped. If I would rearrange my numbering of the nodes, my edges definitions are no longer correct as well. Is it possible to keep the numbering as is, also when nodes are removed?

Thanks for the input. Indeed this is related to #682 To fix this, I think we should directly just remove the validation rule as suggested in https://github.com/harm-nomden-sweco/ribasim_lumping/issues/64#issuecomment-1771091793. That is an easy fix for the direct issue, #682 could be a follow up.

This actually isn't that easy, since we currently assume in the graph and flow that the node ID and index are one and the same. So we'd need to add a mapping from node ID to index, and go through that mapping instead of directly using e.g. inneighbors(graph, id). I don't think a sparse matrix from 1 to max_node_ID is a real option, since that could get typemax(Int) big.


Updates to add entries to toc for all missing topics

Added entries to toc for all missing topics. Removed two files that had the same text in a different topic. Removed an empty topic.

Docs Build status updates of commit 88f268f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

globalization/input/ensure-that-the-application-is-fully-unicode-enabled.md
:white_check_mark:Succeeded

globalization/input/input-language.md
:white_check_mark:Succeeded

globalization/input/keyboards.md
:white_check_mark:Succeeded

globalization/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Develop

Coverage decreased (-0.4%) to 92.513% when pulling 3834184cce9b8ec01ad5559e95c566046df52a18 on develop into 636ae37bac11830be74564368060443460706b17 on master.


Enable Sourcegraph

I want to use Sourcegraph for rkt code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/coreos/rkt. (It should only take 30 seconds.)
Thank you!

Please see https://github.com/coreos/rkt/issues/629#issuecomment-81967610 , thanks


Code rearrangement

Companion PR to https://github.com/glottobank/grambank-cldf/pull/125

Okay, so I did this test run:
#!/bin/sh
set -e

cd ~/repos/glottobank/grambank-cldf
. ENV/bin/activate

git -C raw/Grambank checkout v1.0.1

git checkout master
git -C ~/repos/grambank/pygrambank checkout master
# disable zipping so diffs make sense
sed '/dataset\.write/c\    dataset.write(**data)' \
    -i ~/repos/grambank/pygrambank/src/pygrambank/cldf.py

# use the same glottolog that v1.0.1 was made from
cldfbench makecldf cldfbench_grambank.py --glottolog-version v4.4
git add cldf

git -C ~/repos/grambank/pygrambank checkout src/pygrambank/cldf.py
git checkout code-rearrangement
git -C ~/repos/grambank/pygrambank checkout code-rearrangement

cldfbench makecldf cldfbench_grambank.py --glottolog-version v4.4
git status

Here's the relevant part of the git status output:
        modified:   CONTRIBUTORS.md
        modified:   cldf/StructureDataset-metadata.json
        modified:   cldf/contributors.csv
        modified:   cldf/requirements.txt
        modified:   raw/Grambank (modified content, untracked content)

Re contributors:  I had to copy over the CONTRIBUTORS.md from master because the code fails if the new Should be included despite no coding column isn't there.  Maybe I should make the code more lenient in that regard.
Other than that, it looks like this patch doesn't make any changes to the generated data.
btw, I also went back and compared the output to the actual v1.0.1:
$ cp -r cldf cldf.bk
$ git checkout cldf
$ git checkout v1.0.1
$ rm -r cldf
$ cp -r cldf.bk cldf
$ git status
[...]
        modified:   CONTRIBUTORS.md
        modified:   cldf/StructureDataset-metadata.json
        modified:   cldf/contributors.csv
        modified:   cldf/languages.csv
        modified:   cldf/requirements.txt
        modified:   cldf/sources.bib
        modified:   cldf/values.csv
        modified:   raw/Grambank (modified content, untracked content)

Turns out it doesn't match Grambank 1.0 ‘exactly as it was’.  From skimming the diff it seems like sourcelookup code was already producing different output…
Also, we removed the Coders column from the language table because it can be infered from the value table.
Also also, the value table would be zipped if I hadn't turned that off for easier debugging (note to self, I forgot to reenable it).

Sounds ok, I guess. We should make sure to only create CLDF data releases with released versions of pygrambank in the future - and possibly starting with v1.0.2?


[Error] CUDA subprocess

I use the EC2 instance to create a Conda env and clone your repo.
At the MNIST tutorial step while running the worker side, I face an error "Cannot re-install CUDA in forked subprocess"
AWS Instance: g3.8xlarge

Which python path needs to be configured...

Can you give a little bit more detail on the the branch you are using and the setup of your EC2 instance (OS/version) etc.?


[elephant] timezone looks wrong

description
When adding a reminder the date is parsed in UTC time and visualized in current time.
how to reproduce

specs
parse the date using the user's timezone
/cc @francescogior

👍


the -a -n switch is not working anymore

Trying to download a complete series from super, stopped working.
Single episodes downloading from nrk super, but does not seem to work from tv.nrk.no...
Seems like they detect the script, says "Vi beklager"
example:
working:
http://tv.nrksuper.no/serie/mamma-moe-og-kraaka/OBUI59005305/sesong-1/episode-3
not working (worked before):
output:
./nrk-tv-downloader.sh -a -n https://tv.nrk.no/serie/peppa-gris/MSUI44005109/sesong-1/episode-52
Downloading "Vi beklager"
Downloading "Vi beklager"
Downloading "Vi beklager"

Thanks @greddost!
Will look at it!

Hi,
Feel free to look at #15, as it should fix the problem. The only change was some html-properties nrk removed, but everything should work now.
To test it, checkout the dev branch, and then pull the new changes;
git checkout dev
git pull
./nrk-tv-downloader.sh "yourstuff"

Guess this works now :smile:


Revamp Quickstart/Getting Started Guide

What it should include:

Initial Setup Steps: Include all necessary dependencies and configurations.
Detailed Configuration Examples:Provide configuration examples for different environments.
Common Issues and Resolutions:Highlight specific issues like the need for IAM profiles instead of simple AWS credentials.Document issues with “create table as select star from” and resolutions.
Step-by-Step Instructions:Ensure the guide covers all steps from start to finish.
Specific Instructions for AWS and GCP:Include detailed steps for AWS IAM profiles. Provide instructions for querying from BigQuery and Athena.

Merged in #395


24.06 docs and comms

This ticket will summarise all tasks related to documentation and communication for the 24.06 Platform/PPP release.
Some initial notes:
Platform

[ ] AOTF UI changes

Uploads
uploads and pinning behaviour
Reset button

[ ] New burden tests (3 new publications)
[ ] Including AZ PheWAS Portal 470k
[ ] New ChEMBL 34, Clinical trails data, tractability data
[ ] GEL PanelApp updates and community issue
[ ] Data updates

PPP

[ ] Target Networks Interactions
[ ] Facet search - User testing tickets
[ ] New data

VL
Predicted pockets
iFuncOnc
DNA damage

Others

[ ] Metrics

@ireneisdoomed would you be able to draft doc changes for new burden test please?

I have drafted the release post, please could you take a look?
@ireneisdoomed, please could you help me find an example of:

a new EMA drug from ChEMBL 34?
evidence from the G2P skeletal panel?

@ireneisdoomed For gene burden evidence, can I also check:
I wrote "Thanks to this update, we integrate an additional 10,315 evidence, with gene burden evidence for this source for a total of 9,004 unique target/phenotype pairs" but the total increase in evidence from the streamlit metrics is 8991.
Please can you tell me the number of new evidence from the AZ Phewas portal update, and how many target/phenotype pairs this affects?

a new EMA drug from ChEMBL 34? (ideally one only approved by EMA). TEMOPORFIN? TOCOPHERSOLAN? ALIPOGENE TIPARVOVEC?

Those were already covered by other souces.
There are only 49 new drugs which provenance comes only from the EMA list of approved drugs (15 in the evidence set). It was interesting to find a relevant example to use, because most of them are salts of other drugs already in the Platform.
I thought eladocagene exuparvovec (Upstaza) can be interesting to illustrate because:

it is a gene therapy
it is indicated for Aromatic L-Amino Acid Decarboxylase deficiency, a rare disease that leads to developmental issues
it was recently approved, in 2022

 I hope this is a good one, here you have the full list

+-------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|id           |name                                                                                |
+-------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|CHEMBL1200498|ALATROFLOXACIN MESYLATE                                                                                |
|CHEMBL1200553|CUPRIC CHLORIDE                                                                                |
|CHEMBL1201197|ALATROFLOXACIN                                                                                |
|CHEMBL1201692|FOLLITROPIN ALFA                                                                                |
|CHEMBL2096648|UREA C 13                                                                                |
|CHEMBL2096660|SAMARIUM SM 153 LEXIDRONAM PENTASODIUM                                                                                |
|CHEMBL2103739|EMEDASTINE DIFUMARATE                                                                                |
|CHEMBL2108021|BESILESOMAB                                                                                |
|CHEMBL2108157|VOTUMUMAB                                                                                |
|CHEMBL2108253|ARCITUMOMAB                                                                                |
|CHEMBL2108290|EPOETIN THETA                                                                                |
|CHEMBL2108809|SULESOMAB                                                                                |
|CHEMBL2109036|IGOVOMAB                                                                                |
|CHEMBL2109093|EPOETIN DELTA                                                                                |
|CHEMBL2110561|SAMARIUM LEXIDRONAM PENTASODIUM                                                                                |
|CHEMBL4298167|FILGOTINIB MALEATE                                                                                |
|CHEMBL4298189|ELADOCAGENE EXUPARVOVEC                                                                                |
|CHEMBL5315049|SITAGLIPTIN FUMARATE                                                                                |
|CHEMBL5315050|ATOSIBAN ACETATE                                                                                |
|CHEMBL5315051|YTTRIUM CHLORIDE Y-90                                                                                |
|CHEMBL5315052|RASAGILINE TARTRATE                                                                                |
|CHEMBL5315053|PEMETREXED MONOHYDRATE                                                                                |
|CHEMBL5315054|ERTUGLIFLOZIN PIDOLATE                                                                                |
|CHEMBL5315055|NALMEFENE HYDROCHLORIDE DIHYDRATE                                                                                |
|CHEMBL5315056|NALOXONE HYDROCHLORIDE DIHYDRATE                                                                                |
|CHEMBL5315061|CUPRIC CHLORIDE ANHYDROUS CU-64                                                                                |
|CHEMBL5315062|LUTETIUM CHLORIDE LU-177                                                                                |
|CHEMBL5315064|FOLLITROPIN DELTA                                                                                |
|CHEMBL5315067|AUTOLOGOUS PERIPHERAL-BLOOD MONONUCLEAR CELLS INCLUDING A MINIMUM OF 50 MILLION AUTOLOGOUS CD54+ CELLS ACTIVATED WITH PROSTATIC ACID PHOSPHATASE GRANULOCYTE-MACROPHAGE COLONY-STIMULATING FACTOR                               |
|CHEMBL5315068|DINUTUXIMAB BETA                                                                                |
|CHEMBL5315069|DAMOCTOCOG ALFA PEGOL                                                                                |
|CHEMBL5315071|TUROCTOCOG ALFA PEGOL                                                                                |
|CHEMBL5315076|ALBUTREPENONACOG ALFA                                                                                |
|CHEMBL5315077|TILMANOCEPT                                                                                |
|CHEMBL5315078|EPTACOG BETA (ACTIVATED)                                                                                |
|CHEMBL5315079|DEPREOTIDE TRIFLUOROACETATE                                                                                |
|CHEMBL5315080|BULEVIRTIDE ACETATE                                                                                |
|CHEMBL5315084|PANCREAS POWDER, PORCINE                                                                                |
|CHEMBL5315089|DEFATTED POWDER OF ARACHIS HYPOGAEA L., SEMEN (PEANUTS)                                                                                |
|CHEMBL5315092|AUTOLOGOUS CULTURED CHONDROCYTES                                                                                |
|CHEMBL5315093|AUTOLOGOUS CD34+ ENRICHED CELL FRACTION THAT CONTAINS CD34+ CELLS TRANSDUCED WITH RETROVIRAL VECTOR THAT ENCODES FOR THE HUMAN ADA CDNA SEQUENCE                                                                                |
|CHEMBL5315097|ALLOGENEIC T CELLS GENETICALLY MODIFIED WITH A RETROVIRAL VECTOR ENCODING FOR A TRUNCATED FORM OF THE HUMAN LOW AFFINITY NERVE GROWTH FACTOR RECEPTOR (DELTALNGFR) AND THE HERPES SIMPLEX I VIRUS THYMIDINE KINASE (HSV-TK MUT2)|
|CHEMBL5315099|EX VIVO EXPANDED AUTOLOGOUS HUMAN CORNEAL EPITHELIAL CELLS CONTAINING STEM CELLS                                                                                |
|CHEMBL5315113|SPHEROIDS OF HUMAN AUTOLOGOUS MATRIX-ASSOCIATED CHONDROCYTES                                                                                |
|CHEMBL5315115|LASOFOXIFENE TARTRATE                                                                                |
|CHEMBL5315126|FOLLITROPIN BETA                                                                                |
|CHEMBL5316164|YTTRIUM CHLORIDE                                                                                |
|CHEMBL5316165|LUTETIUM CHLORIDE                                                                                |
|CHEMBL561157 |TREPROSTINIL SODIUM                                                                                |
+-------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

I wrote "Thanks to this update, we integrate an additional 10,315 evidence, with gene burden evidence for this source for a total of 9,004 unique target/phenotype pairs" but the total increase in evidence from the streamlit metrics is 8991.

The total number of AZ evidence is 21,300. This is 9,533 more than in the previous release.
In terms of associations, we have practically doubled up to 4,419 (184% increase).
This varies from the total increase you report because Genebass evidence has slightly decreased after a user request to drop some evidence (minus ~600).

Amazing, thank you!

@ireneisdoomed would you be able to draft doc changes for new burden test please?

I have done this: https://platform-docs.opentargets.org/evidence#gene-burden
Any issues let me know


Post on pluralsight course using Auth0 with AngularJS and ASP.NET WebAPI

Guest blog post

Thanks for sending this :). Just added a few comments! Let me know what you think!

Excellents points, just commited an updated version, let me know what you think.

Looks great, I'll merge later today and let you know ):

Awesome, thanks!

Shipped :). Share wherever you want: https://auth0.com/blog/2015/10/29/pluralsight-course-on-using-auth0-with-angularjs-and-asp-dot-net-webapi/
We're tweeting about it now :).


chore: improve Authz migrations, DB migrations and tests

This builds on and supersedes #230.
The following things are added:

down migrations for authorization database
improved representation of authorization migrations that include operations for upgrade and downgrades
testing up/down/up/down migrations are now done in pytest

It depends on #239 and should be reviewed only after #239 is merged.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

55 of 59 (93.22%)  changed or added relevant lines in 7 files are covered.
10 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.04%) to 90.242%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

components/renku_data_services/authz/schemas.py
32
36
88.89%

Files with Coverage Reduction
New Missed Lines
%

components/renku_data_services/connected_services/db.py
1
85.93%

components/renku_data_services/crc/db.py
1
86.59%

components/renku_data_services/crc/models.py
2
85.53%

components/renku_data_services/storage/blueprints.py
2
95.16%

components/renku_data_services/crc/blueprints.py
4
89.81%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
8462

Relevant Lines:
9377

💛  - Coveralls

@Panaetius I had to resolve a merge conflict so the approval got dismissed. Can you re-approve please?


Added documentation

closes #8

Bumped version to 1.0.0alpha
Added Changelog.md
Added documentation

Coverage remained the same at 100.0% when pulling 88e79bea3e8dc7c0d7bf3a6dec9cfb67e29a7b85 on 8-documentation into 8136689f2d129598ba39235b233fcd8b2602a22b on master.

Coverage remained the same at 100.0% when pulling 7afd833f521f4bb415f561f70c19a249145e3893 on 8-documentation into 8136689f2d129598ba39235b233fcd8b2602a22b on master.


ResourceRoutes update strings in edit and create mode by ResourceMode enum

@ismaelguerrib can you be more precise ?

By creating an ResourceMode Enum in the angular Library and using it in the Routes instead of a string, we write a code more persistant and strong.
You already did it so I close the issue


missing index.html in v5/app

upon running wasm-pack build --target web --out-name wasm --out-dir ./static in minimal/v5/app there is no index.html generated in static/:
minimal/v5/app> tree static/
static/
├── package.json
├── wasm.d.ts
├── wasm.js
├── wasm_bg.d.ts
└── wasm_bg.wasm

Discussed offline. It's unclear if this is a one-off from dependencies, will close for now and review if re-occurs.


terminal out of range

beacons doesn't work after install colormatic and custom entity models. i cant configure too. it doesn't effect, i cant access to main terminal with adv wireless terminal.

1.18.2 fabric btw

me too, beacon's not functioning.1.16.5 forge & mod's vresion is 1.2.18
or maybe my version is too old that the feature was not added into the game?

https://github.com/tom5454/Toms-Storage/issues/102  it is not working on 1.16.5 i think. i am playing with my friends on lan server and if someone is within 550-560 blocks of the terminal, everyone in the game can access the terminal with advanced wireless terminal. but if there is noone we can not access after 500+ blocks away

i think that's because the chunk is not loaded.maybe make a redstone chunk loader or move your terminal to the spawn chunk

This also happens in 1.19.2 (fabric, version 1.4.1 version). Both the Beacon & terminal/connector are in the same chunk & that chunk is loaded.


Select not rendering options

No options were rendered if I load the data using ng-repeat nor ng-option. Works only when hard coded, although there is an extra option when going that route. Seems like it's not reading the ng-model correctly as well. Note that I am using controllerAs instead of $scope.
HTML Markup
<select id="currency"
ng-model="Create.data.currency"
material-select>
    <option ng-repeat="current in Create.currencies">{{ current }}</option>
</select>
<label for="currency"
data-error="Select one of the currency">Currency</label>

JS
// for brevity, I will only show the controller
function PageCreateCtrl() {
    var _vm = this;

    _vm.data = {
        currency: 'Malaysian Ringgit',
    };
    _vm.currencies = [
    'Malaysian Ringgit',
    'Singapore Dollar',
    'Indonesian Rupiah',
    'United States Dollar',
    ];
}

Can anyone point what I did wrong here? I have been googling and searching the issues but got nothing.
This is what happens when I use ng-repeat

This is the output if I hardcode the options, notice the extra option in the beginning

my mistake, the controllerAs alias on JS was different with the one on HTML. stupid mistake, I know.


Improve error messages

Currently some of the error messages in the plugin are not super clear and could be improved.
### Tasks
- [ ] https://github.com/tokens-studio/figma-plugin/issues/2357
- [ ] https://github.com/tokens-studio/figma-plugin/issues/2487
- [ ] https://github.com/tokens-studio/figma-plugin/issues/2609

Closing in favor of tackling the smaller issues


fix(region): sku region info

What this PR does / why we need it:

[x] Smoke testing completed

If yes, write the release branches name in the below format and submit the related cherry-pick PR:

release/3.8

/area region
/cc @swordqiu

/lgtm
/approve


Standardize API responses

As discussed briefly in #195
cc @sethvargo

Adding more context here. Right now, across the entire project, we have HTTP handlers that:

Log an error that's wrapped/formatted
Publish a metric (usually)
Write a status (usually 200, even for failures)
Return

The current problems are:

If we forget to return, the handler continues on
If we don't log, debugging is a challenge
Sometimes we do use a non-200 status (e.g. for federation)

A potentially better architecture would be to reduce the in-function requirement to:

Publish a metric
Return an error or nil

func handler(w http.ResponseWriter, r *http.Request) error {
  if !foo {
    return fmt.Errorf("not foo")
  }

  if err := thing(); err != nil {
    return fmt.Errorf("thing: %w", err)
  }

  if err := otherThing(); err != nil {
    return ErrorWithStatus(422, fmt.Errorf("thing: %w", err))
  }

  w.WriteHeader(200)
  w.Write([]byte("ok"))
}

Then, upstream in ServerHTTP:
func ServerHTTP(w http.ResponseWriter, r *http.Request) {
  if err := handler(w, r); err != nil {
    logger.Debugf(err)

    var statusErr StatusError
    if errors.As(err, &statusErr) {
      http.Error(statusErr.Code(), statusErr.Text())
      return
    }

    w.WriteHeader(200)
  }
}

Not a totally flushed out design, but hopefully this describes my thinking a bit more

We could also roll up https://github.com/google/exposure-notifications-server/issues/350 here, to provide standardized debug responses vs production responses

/assign


Shadow Augmentation

The paper mentions that shadows were artificially added to make the model more robust to such situations. Using what method were these shadows created and will the code be shared for it?

Take the ground-truth alpha, randomly blur it, and perform some affine transformation. Then you can darken the background with this alpha mask as it was a shadow cast by the subject.
Note this darkened background is used to composite with the foreground to become the source image, the original background is provided to the network as the background input. This simulates that the pre-captured background doesn't have subject nor shadow, and the source image has subject and shadow.

The training code will be released when the paper is accepted.


Custom theme on character messes with theme preview

The problem
This behaviour is somewhat expected but far from what one would expect.
If you select a character for the theme preview that has a custom theme set, it won't actually display the theme you are editing but the custom theme of the character.
Because the character is selected at random by default, this can be VERY VERY confusing as described here #850.
Solutions

[ ] Characters with custom themes should only be suggested/possible if it's their theme that is edited.
[x] Additionally the design of the character selection box should make clear that it is a setting
[ ] The character should either not be random by default or remember what character you set (possible for each theme)

Made it easier to understand what the character picker is by adding proper styling and changing its position. https://github.com/coppolaemilio/dialogic/commit/b35e439054a83e9c202661cf89aea872b71587c7
The fix for the other two tasks are coming whenever I can continue.

Fixed the first one Characters with custom themes should only be suggested/possible if it's their theme that is edited.
Only the last one needs to be fixed, but I might not include it into Dialogic 1.4.2 since we are already going too over the scope of the update


Hover color on Cards. SUI 1.x

In SUI 0.X each items have a hover color at the bottom. http://legacy.semantic-ui.com/views/item.html
This is removed in the SUI 1.x. Will this be added back?

This can be done with theming, but no this isn't something I've written or have planned to. Apologies.


Correctly reading empty fields in as null rather than throwing exception

By default we intend to treat empty fields as nulls when being read in through spark sql. However we actually
turn them into None objects, which causes spark-sql to blow up. This commit treats them as nulls.
Closes #1635

I added an integration test for all 3 versions of spark that we support. It turns out that this worked fine in spark 1.x but broke in 2.x.

Thanks for putting those tests in


To copy or not to copy functional definition of concepts into FHIR profiles

Our current approach is to copy the functional definition into the element definitions in FHIR. This acts as a service for our profile consumers as more of the desired information is in one place.  It has its downsides too: information is maintained in two places and therefore having the risk to deviate. Moreover, the functional definition can also interfere with the definition given by FHIR, making it more complex and/or vague for the profile consumer. Examples can be found in #57 with the corresponding issue ZIB-1413 and ZIB-1305 where the definition of Timing.repeat.timeOfDay in InsturctionsForUse gets unclear.
A random selection of international IG (US-core, QI-Core, HSPC, Breast Cancer Data, DaVinci Payer Data Exchange US Drug Formulary) shows me that the element definition is mostly left untouched. Some also have a logical model that contains the functional definitions, like the Breast Cander Data IG.
Therefore I would like to pose the question if we should proceed with copying the functional defintions.

I think the base FHIR comment is often not of much value, or too broad for the specific use case. I think this is usually fine, as implements will ignore everything that has not been changed. But adding the functional definition from the zib is probably more useful than the base specification.
In addition. issue #57 was not about the comment but about the meaning of the zib element that didn't seem to align with the FHIR meaning.

I think we're doing a disservice to implementers when we require them to collect information from all over the internet, the profiles should be as informative as possible. Do you "really need" the zib definitions? Well, maybe not, but I think they are quite useful to implementers.
The current approach for the rare situtions where a single FHIR element is mapped to multiple zib elements is to use a bullet list.

The status quo is to add the functional description to the FHIR profiles. It can be considered as a good service to our implementers and we are willing to invest the effort into it. Therefore, for now, I will close this issue as this is not longer an open topic.


should only consider draggable items when calculate index

In _index function, detect if given class is a draggable item class.

Sorry, I should pull request to dev branch