Design a logo

Browsing the internet I found some cool illustrations of punchcard logos. So I though I'd choose the punch-card as the logo for Edi.Net since they both have a "retro" feeling about them.
I will post again with what I came up with.

The design is now available in the design folder. It was build with the affinity design program.


[Backport 2.x] 13776: allow adding query parameters to RequestOptions

Description
Allows adding query parameters to RequestOptions, e.g. to be able to set ?filter-path=<something> as documented in https://opensearch.org/docs/2.3/opensearch/common-parameters/#filtered-responses.
This is the same PR as #13777, but targeting the 2.x branch.
Related Issues
Resolves #13776.
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[x] New functionality has javadoc added

[ ] API changes companion pull request created.
[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@oliverlockwood the backports are done automatically once https://github.com/opensearch-project/OpenSearch/pull/13777 is merged (there might be some conflicts to resolve).

@oliverlockwood could you please rebase against latest 2.x? thank you.

@oliverlockwood could you please rebase against latest 2.x? thank you.

@reta I have now rebased this off the latest 2.x, squashed all my changes into one commit, and fixed the CHANGELOG.md conflict.
Please let me know if anything more is needed.  Thanks.

❌ Gradle check result for 8eb94f4: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/13433
https://github.com/opensearch-project/OpenSearch/issues/13600

❌ Gradle check result for 8eb94f4: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/13695

❌ Gradle check result for 8eb94f4: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/13600
https://github.com/opensearch-project/OpenSearch/issues/11179

❌ Gradle check result for 8eb94f4: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/13828
https://github.com/opensearch-project/OpenSearch/issues/13473

❌ Gradle check result for 8eb94f4: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/11179


Anerdw: Watch 9474-006-584(?#NO NorAm)

Anerdw requests the watch of the watch_number 9474-006-584(?#NO NorAm). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


Show tenant dropdown when selecting 'AzureMFA' the first time

The PR fixes an edge case for #21749, when selecting 'Azure MFA' auth mode over another mode on a new connection dialog, and an account is selected that contains tenants, tenant dropdown doesn't show up.
Switching accounts, selecting a saved connection with Azure MFA or opening connection dialog again brings the tenant dropdown again.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 42.009%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/services/connection/browser/connectionWidget.ts
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/dialog/configurePython/configurePathPage.ts
1
57.02%

src/sql/workbench/services/connection/browser/connectionWidget.ts
1
3.46%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
28636

Relevant Lines:
63296

💛  - Coveralls


Add faust module

I'm just looking for a catchy description for in  init.example.el. ;)

Thanks for the quick review!
All done.

Thanks!


Lower-level attitude rate controller have a large control error

0.3s -> 0.4s :thinking:

Remove I term: still not working...

With object
Without object

🤗 Summary

Resolved by adding L1 adaptive control.


decoupling rptun ping and rptun_virtio_device, rptun ping and rptun.

Summary
Decoupling rptun ping and rptun_virtio_device, rptun ping and rptun.
ping is not only rptun support, so move it to public part.
Impact
Decoupling ping and rptun, other transport layers can also call ping.
Testing
Tested in sim vela, 86panel.

CI fails for some reason


compile: version "go1.17.6" does not match go tool version "go1.18.1"

hi. how to fix it?
compile: version "go1.17.6" does not match go tool version "go1.18.1"
thx

Please try again, I just release v2.


[QUESTION] Can I pay someone to explain how to use this like I'm a 5th grader?

I just want to decode the 360 audio files I got from tidal-dl and get the actual 12 or 24 wav files from each song. I'm familiar with some of this stuff but the rest is like reading hieroglyphics. I will literally pay someone to explain this like I'm a 5th grader.

Are you familiar with the Terminal and channel layout <---> cicp?

TL;DR
In Terminal run ia_mpeghd_testbench -ifile:<drag 360 file here> -ofile:<drag it here again and replace the file extension with wav>

If you are using Windows, you can grab the compiled files from releases (both .lib and .exe)
If you are using Linux / macOS / etc:
$ git clone "https://github.com/ittiam-systems/libmpegh"
$ cd libmpegh
$ mkdir bin
$ cd bin
$ cmake ..
$ cmake --build .


View count has no minimum value

The view count under advanced does not have a minimum value, and thus can be set to a negative number of views. If you click create note, it just gives an error. I think this could be corrected by adding the min property to the input field.

Thanks for reporting :) Should be released in the next minutes/hour


note about code style changes (reflect reality)

Just want to give people fair warning. Feel free to close this and write it better 😄

I'll add some caps after the fact. Thanks!


[6.3.0] Please ignore [This is for automation testing]

Forked from #199

Cherry-pick in https://github.com/bazelbuild/bazel/pull/19012


[TextInput] border formatting bug

For a TextInput with multiline={ false } formatting a specific border (e.g. borderBottomWidth, borderLeftColor etc.) doesn't work.
Formatting all four border with borderWidth, borderColor etc. does work. If you make the input multiline, then single border formatting works as well.

This isn't exactly a bug, more like a policy decision we haven't made yet. The question is - should we expose border drawing on every component, or just on <View>, and require that you use composition  (or even remove it from <View> and add a new component called <BorderView>).
Happy to hear your thoughts on the matter.

@nicklockwood
That is an interesting decision to make. Coming from the web I operated under the assumption that a box is a box is a box. This is a very simple and intuitive paradigm.  The question is, if it to difficult or cumbersome to enforce that for every component. React composite components shouldn't be a problem, because they always will have an outer View. So it's the native ones that could cause a headache. Unfortunately I know to little about iOS development to be able to say anything about that.
The other thing is documentation. The TextInput documentation states it includes all Text component style properties. And the Text documentation in turn says it supports the View style properties.
And also the different behavior between multiline and no multiline is odd. I guess it's because one has an outer View and the other hasn't. But it's still a bit confusing.
That all said, I would mind having to use a composite for borders. If splitting a BorderView out doesn't bring a substantial benefit in performance or maintainability I would prefer to keep it simple (and Web like) and just use view. Even though the above mentioned documentation issue is probably easier solved with a BorderView. ... It's hard :)

I want to echo the need for documentation around this issue. I don't have a strong opinion either way (wrapping a TextInput in a View is simple enough), but it would be super helpful to have a note in the TextInput docs about these styling limitations.
I'd be happy to add it, but don't want to open a docs PR on an already-busy repo unless that'd be helpful.

Please send a PR! It sounds like it would be very helpful to fellow developers reading the docs with a clarifying sentence or two.

Will do! I should be able to get to that tonight.
On Wed, Aug 5, 2015 at 6:35 PM James Ide<EMAIL_ADDRESS>wrote:

Please send a PR! It sounds like it would be very helpful to fellow
developers reading the docs with a clarifying sentence or two.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/1509#issuecomment-128171268
.

Shoot -- forgot to link the PR a few days ago: https://github.com/facebook/react-native/pull/2240

are there any plans to fix this for the TextInput multiline=false?

I came across the bug(?) in my code too.  I'm going to do my styling by wrapping my textinput in a view like @nicklockwood suggests but here is an example of the issue.  Seems to me we should either fully support borders on textinputs or not at all.  Right now it seems to have some support which makes it feel like a bug.
Here's an example of the bug.  Hope it's helpful.
https://rnplay.org/apps/JQR56w


Install this plugin fail in elasticsearch 2

i can not install this plugin for elasticsearch 2, please help me!  i doing implement a demo to apply elasticsearch on my project. Thank!

Do not install as plugin. Please follow instructions at https://github.com/jprante/elasticsearch-jdbc/#installation

i can not understand the below step:

modify script in the bin directory to your needs (Elasticsearch cluster address)

run script with a command that starts org.xbib.tools.JDBCImporter with the lib directory on the classpath

I use sql server to import on elasticsearch. Please explain detail for me!
Thank you

You find examples for Linux/Mac/Solaris in the bin directory of the dist zip.

Hi Team, i am new to elasticsearch and have the same issue and do not understand the part follow the instruction (modify script in the bin directory to your needs (Elasticsearch cluster address))
I am running it in Windows and wget not work.  I have followed your instruction in the Quick Link section at https://github.com/jprante/elasticsearch-jdbc to download the zipfile  After extract the zip file, where should i put the folder (elasticsearch-jdbc-<IP_ADDRESS>)?
In the windows, here is the elasticsearch folder structure.
Directory of E:\elasticsearch\elasticsearch-2.0.0
11/10/2015  04:44 PM              .
11/10/2015  04:44 PM              ..
11/10/2015  03:32 PM              bin
11/10/2015  04:44 PM              config
11/10/2015  04:44 PM              data
11/10/2015  03:32 PM              lib
11/10/2015  03:32 PM            11,358 LICENSE.txt
11/12/2015  03:14 PM              logs
11/10/2015  03:32 PM               150 NOTICE.txt
11/12/2015  03:11 PM              plugins
11/10/2015  03:32 PM             8,700 README.textile
Thanks for advance of your help

At the moment the situation is that JDBC importer is a standalone program and must be started like an ordinary Java program.
For Windows I am sorry, I can offer only minimal help.
There is a powershell instruction from somebody who is more familiar with M$crosoft like me
http://r2d2.cc/2015/08/05/elastic-search-on-windows-with-mysql-sql-server-2014-and-import-feeder/
You can be assured I think very hard about the situation which is not good for the average Windows user. Linux/Mac/Solaris users are fine, they are used to command line. Turning JDBC importer into a plugin (without river API) would remedy the hassle. It is possible but a PITA on ES 2.0.0 right now, because only ES 2.2 will bring the essential features to extend ES security manager settings.


Fix a typo because I noticed it

Fixes #644
I can't wait to see Doc's explanation of this in the next release video.

Me too.


Docker fails to run, produces stack trace

Description
The current build on docker fails to run and produces a stack trace
How to Reproduce
Run the following with any target solidity file
docker run --rm -v $(pwd):/tmp mythril/myth -x /tmp/target.sol

Observe the stack trace:
Traceback (most recent call last):
  File "/usr/local/bin/myth", line 11, in <module>
    load_entry_point('mythril==0.19.10', 'console_scripts', 'myth')()
  File "/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/mythril/interfaces/cli.py", line 293, in main
    enable_online_lookup=args.query_signature,
  File "/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/mythril/mythril.py", line 97, in __init__
    self.mythril_dir = self._init_mythril_dir()
  File "/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/mythril/mythril.py", line 130, in _init_mythril_dir
    copyfile(str(parent_dir / "signatures.db"), db_path)
  File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/signatures.db'

The following target.sol was used in this example:
https://gist.github.com/mickayz/4d58ed15edc60d301a4f60fe193e1212
Expected behavior
No crash
Environment
Latest Docker image running 0.19.10

Making it high priority because it makes the release non usable.

Now it's working in docker but not in pypi :cry: .


Ability to build Clang not only in /tmp

Since it takes more than 16Gb it is useful to be able to specify any directory to build it in.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

thanks @XVilka!


HADOOP-17278. Shade guava 29.0-jre in hadoop thirdparty.

https://issues.apache.org/jira/browse/HADOOP-17278

Thanx @vinayakumarb for the review.
@jojochuang any further comments?

Merged. Thanks @ayushtkn and @jojochuang


What about sdist?

Thank for this fine package. Any plan to support also sdist zip or tar.gz filenames?

I do not have any plans to do so at this time.  For one thing, sdist filenames are not standardized and are also ambiguous (Which is the project and which is the version in 1-2-3.tar.gz?).  Once both those issues are addressed, I may add support.
If you're truly in need of sdist filename parsing, try parse_filename() from my pypi-simple package.

@jwodder thanks!
@Abhishek-Dev09  please check this and https://github.com/jwodder/pypi-simple
IMHO, it would be best if you can contribute here rather than having your own code for that.


NPM Package

Hi,
Is there any chance you can register this package with NPM please?

Hey!
I'm one of the people who don't like to see frontend libs into npm registry :) Don't know why, but fact is a fact.
However you can always use bower to install package. It's registered there.
Thanks for feedback!


[example/nlp] neural_machine_translation_with_transforme does not run successfuly.

Issue Type
Bug
Source
source
Keras Version
Keras 2.14.0
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 22.04.3 LTS
Python version
3.10
GPU model and memory
NVIDIA T4
Current Behavior?
When run the example neural_machine_translation_with_transformer on Google Colab directly , I got  error.

Standalone code to reproduce the issue or tutorial link
import os

os.environ["KERAS_BACKEND"] = "tensorflow"

import pathlib
import random
import string
import re
import numpy as np

import tensorflow.data as tf_data
import tensorflow.strings as tf_strings

import keras
from keras import layers
from keras import ops
from keras.layers import TextVectorization

Relevant log output
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[<ipython-input-13-5bf91004141f>](https://localhost:8080/#) in <cell line: 25>()
     23 import keras
     24 from keras import layers
---> 25 from keras import ops
     26 from keras.layers import TextVectorization

ImportError: cannot import name 'ops' from 'keras' (/usr/local/lib/python3.10/dist-packages/keras/__init__.py)

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Hi, Thanks for reporting the issue.
The tutorial works on Keras 3, colab has precompiled Keras 2, till colab comes with precompiled Keras 3,, you need to install it before importing.
!pip install keras==3.0.0 fixes the issue.

Thanks for confirming, could you please close the issue as well.


fix https://github.com/kythe/kythe/network/alert/package-lock.json/dot-prop/open

This security vulnerability has been around for a while and is the result of a commitlint dependency.  While only used as part of the dev workflow, it should still be resolved to keep the dashboard clear.

There's now a new issue with yargs-parser which also needs to be addressed.  We likely need to update the rules_nodejs to 2.1.0 as well.  I've attempted to do so to no avail, running into a variety of issues along the way.

I think I've actually got this working, just running tests now.


How do we want to store deployment secrets?

We're starting to need configuration that we don't want to store in the open, for example:

keys for uploading archive files
sentry  DSN (URL)
others??

https://github.com/mediacloud/story-indexer/pull/144 has a (temporary?) solution: it looks for docker/.{dev,staging,prod}.json and includes the contents as the value of a private_vars key passed to jinja2 for expansion of the docker-compose.yml.j2 template.  The template expects private_vars to be a dict of environment variables and values to add to worker containers.  The PR adds a .dev.json file, BUT we would need to have files for staging and production which are not kept on github.
This has the unpleasant effect that the configuration used is not tagged!!!
One solution would be to keep the files with private configuration in a separate, private repository (as is done with the docker-deploy.yml file for the legacy system).  staging and production deploys could retrieve the files from github, and push the deployment tag to the private repo so we have a history of what configuration was used.
Please post other ideas to this issue!!!

@kilemensi thanks!
I would still want to see Docker secrets configured from something under source control.
Two ways we could use them:

If we replaced bare os.getenv access with a utility call that read the /run/secrets/secret_name file (as YAML or JSON) in preference to (or in the absence of) an environment variable setting
a simpler version: read (or source) the /run/secrets/secret_name file (if found) inside func.sh or indirect.sh to override environment variable settings.

I would also want to have deploy.sh pre-check the secrets for valid syntax and required values to help avoid failures that only happen when the containers (fail to) launch.....

Since SENTRY_DSN is something that needs to be kept private, maybe it makes sense to keep SENTRY_ENVIRONMENT along side it in "private" storage??

Solved (for now) with private repo


pretrain model .pkl format can not load

any error? do not understand

if you have only one gpu, you should modify torch.load(filePath) to torch.load(filePath, map_location='cuda:0')


Update 1.1.0 Release date

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #NNNN

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.

Codecov Report

Merging #663 (44248e0) into main (176ba19) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #663   +/-   ##
=======================================
  Coverage   98.76%   98.76%
=======================================
  Files          49       49
  Lines        7955     7955
  Branches     1345     1345
=======================================
  Hits         7857     7857
  Misses         38       38
  Partials       60       60

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Binding multiple keycode command

Hi Team,
I understand that binding a single key can be easily achieved using this following code:
var myBinding = editor.addCommand(monaco.KeyCode.F9, function() {
	alert('F9 pressed!');
});

However is it also possible to bind multiple key code such as Ctrl+S for save?
Within monaco.d.ts I found that the addCommand editor within the IStandaloneCodeEditor only receives a single number keybinding:
export interface IStandaloneCodeEditor extends ICodeEditor {
        addCommand(keybinding: number, handler: ICommandHandler, context: string): string;
        createContextKey<T>(key: string, defaultValue: T): IKeybindingContextKey<T>;
        addAction(descriptor: IActionDescriptor): void;
}

I might have reading it wrong since I also found that the right click context menu shown some key combination code:

Thanks

You bitwise OR them together:
var myBinding = editor.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S, function() {
    alert('SAVE pressed!');
});

Though look at Issue #25 if you are working with Firefox and issuing an alert. :)

Thanks for your help @ptyork


Removed error poll functionality, as it is a no-op in open source.

Internal reference: 274515842
Tested:
dthawkes@dthawkes:~/ocp-diag-sat$ bazel-bin/src/sat_bin -m 0
{"schemaVersion":{"major":2,"minor":0},"sequenceNumber":0,"timestamp":"2023-04-07T21:32:22Z"}
{"testRunArtifact":{"testRunStart":{"name":"Stress App Test","version":"1.0.0","commandLine":"bazel-bin/src/sat_bin -m 0","parameters":{"m":"0"},"dutInfo":{"dutInfoId":"holder","name":"place","metadata":{},"platformInfos":[],"hardwareInfos":[],"softwareInfos":[]},"metadata":{}}},"sequenceNumber":1,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"testStepStart":{"name":"Setup and Check Environment"},"testStepId":"0"},"sequenceNumber":2,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"CPU has clflush and has sse2."},"testStepId":"0"},"sequenceNumber":3,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"CPU Core Count","unit":"cores","hardwareInfoId":"","validators":[],"metadata":{},"value":64},"testStepId":"0"},"sequenceNumber":4,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"Node Count","unit":"nodes","hardwareInfoId":"","validators":[],"metadata":{},"value":1},"testStepId":"0"},"sequenceNumber":5,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Total memory: 515961 MB, Free memory: 491176 MB, Hugepage memory: 0 MB. Targetting 489971 MB (94%) for testing."},"testStepId":"0"},"sequenceNumber":6,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"INFO","message":"Preferring plain malloc memory allocation."},"testStepId":"0"},"sequenceNumber":7,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"INFO","message":"Using mmap allocation at 0x7f577951e000."},"testStepId":"0"},"sequenceNumber":8,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"Memory to Test","unit":"MB","hardwareInfoId":"","validators":[],"metadata":{},"value":489971},"testStepId":"0"},"sequenceNumber":9,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"Test Run Time","unit":"s","hardwareInfoId":"","validators":[],"metadata":{},"value":20},"testStepId":"0"},"sequenceNumber":10,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"testStepEnd":{"status":"COMPLETE"},"testStepId":"0"},"sequenceNumber":11,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"testStepStart":{"name":"Setup and Fill Memory Pages"},"testStepId":"1"},"sequenceNumber":12,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"Total Memory Page Count","unit":"pages","hardwareInfoId":"","validators":[],"metadata":{},"value":489971},"testStepId":"1"},"sequenceNumber":13,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"Required Thread Memory Page Count","unit":"pages","hardwareInfoId":"","validators":[],"metadata":{},"value":0},"testStepId":"1"},"sequenceNumber":14,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"measurement":{"name":"Free Memory Page Count","unit":"pages","hardwareInfoId":"","validators":[{"name":"","type":"GREATER_THAN_OR_EQUAL","value":0},{"name":"","type":"LESS_THAN_OR_EQUAL","value":244985}],"metadata":{},"value":195988},"testStepId":"1"},"sequenceNumber":15,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Allocating memory pages, Total Pages: 489971, Free Pages: 195988"},"testStepId":"1"},"sequenceNumber":16,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill threads: 8 threads, 489971 pages"},"testStepId":"1"},"sequenceNumber":17,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 0 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":18,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 1 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":19,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 2 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":20,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 3 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":21,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 4 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":22,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 5 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":23,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 6 to fill 61246 pages"},"testStepId":"1"},"sequenceNumber":24,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill Thread 7 to fill 61249 pages"},"testStepId":"1"},"sequenceNumber":25,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 0"},"testStepId":"1"},"sequenceNumber":26,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 2"},"testStepId":"1"},"sequenceNumber":27,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 5"},"testStepId":"1"},"sequenceNumber":28,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 3"},"testStepId":"1"},"sequenceNumber":29,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 6"},"testStepId":"1"},"sequenceNumber":30,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 4"},"testStepId":"1"},"sequenceNumber":31,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 7"},"testStepId":"1"},"sequenceNumber":32,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Starting memory page fill thread 1"},"testStepId":"1"},"sequenceNumber":33,"timestamp":"2023-04-07T21:32:22Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 6 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":34,"timestamp":"2023-04-07T21:32:37Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 0 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":35,"timestamp":"2023-04-07T21:32:37Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 1 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":36,"timestamp":"2023-04-07T21:32:39Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 7 completed. Status: 1. Filled 61249 pages."},"testStepId":"1"},"sequenceNumber":37,"timestamp":"2023-04-07T21:32:39Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 3 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":38,"timestamp":"2023-04-07T21:32:39Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 4 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":39,"timestamp":"2023-04-07T21:32:40Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 5 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":40,"timestamp":"2023-04-07T21:32:41Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Memory page fill thread 2 completed. Status: 1. Filled 61246 pages."},"testStepId":"1"},"sequenceNumber":41,"timestamp":"2023-04-07T21:32:41Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Done filling memory pages. Starting to allocate pages."},"testStepId":"1"},"sequenceNumber":42,"timestamp":"2023-04-07T21:32:41Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Done allocating pages."},"testStepId":"1"},"sequenceNumber":43,"timestamp":"2023-04-07T21:32:46Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Region 0 corresponds to 489971"},"testStepId":"1"},"sequenceNumber":44,"timestamp":"2023-04-07T21:32:46Z"}
{"testStepArtifact":{"log":{"severity":"DEBUG","message":"Region mask: 0x1"},"testStepId":"1"},"sequenceNumber":45,"timestamp":"2023-04-07T21:32:46Z"}
{"testStepArtifact":{"testStepEnd":{"status":"COMPLETE"},"testStepId":"1"},"sequenceNumber":46,"timestamp":"2023-04-07T21:32:46Z"}
2023/04/07-21:32:56(UTC) Log: Seconds remaining: 10
{"testStepArtifact":{"testStepStart":{"name":"Run Post-Test Memory Check Threads"},"testStepId":"2"},"sequenceNumber":47,"timestamp":"2023-04-07T21:33:06Z"}
{"testStepArtifact":{"testStepEnd":{"status":"COMPLETE"},"testStepId":"2"},"sequenceNumber":48,"timestamp":"2023-04-07T21:33:10Z"}
2023/04/07-21:33:10(UTC) Stats: Found 0 hardware incidents
2023/04/07-21:33:10(UTC) Stats: Completed: 0.00M in 0.00s -nanMB/s, with 0 hardware incidents, 0 errors
2023/04/07-21:33:10(UTC) Stats: Memory Copy: 0.00M at 0.00MB/s
2023/04/07-21:33:10(UTC) Stats: File Copy: 0.00M at 0.00MB/s
2023/04/07-21:33:10(UTC) Stats: Net Copy: 0.00M at 0.00MB/s
2023/04/07-21:33:10(UTC) Stats: Data Check: 0.00M at 0.00MB/s
2023/04/07-21:33:10(UTC) Stats: Invert Data: 0.00M at 0.00MB/s
2023/04/07-21:33:10(UTC) Stats: Disk: 0.00M at 0.00MB/s
2023/04/07-21:33:10(UTC)
2023/04/07-21:33:10(UTC) Status: PASS - please verify no corrected errors
2023/04/07-21:33:10(UTC)
{"testRunArtifact":{"testRunEnd":{"status":"COMPLETE","result":"PASS"}},"sequenceNumber":49,"timestamp":"2023-04-07T21:33:15Z"}

Current dependencies on/for this PR:

main

PR #10

PR #12

PR #11

PR #13   👈

This comment was auto-generated by Graphite.

@kimmidi cc

@dhawkes queued this pull request to merge with Graphite.

@dhawkes queued this pull request to merge with Graphite.


Improving the note on "Configuring Identity Server as IDP for SSO"

Description:
The following document [1] explains about configuring SAML SSO for the API Manager portals (Publisher, Developer Portal, or Admin Portal) with WSO2 IS.
These portals are already enabled with SSO by default (OIDC) (There's a note in the doc on this too). Therefore to configure SAML SSO using WSO2 IS, might need to have a specific requirement, otherwise it's redundant because SSO is enabled by default.
A requirement might be if the user has other applications which does SSO through WSO2 IS and SAML, and if they need to include the API Manager portals also into the SAML SSO group. If there's no such requirement, they do not have to configure SAML SSO with WSO2 IS.
It would be good if a note can be added to the "Configuring WSO2 API Manager apps as SAML 2.0 SSO service providers" explaining when this needs to be considered.
Thanks,
Lashan
[1] https://apim.docs.wso2.com/en/3.2.0/develop/extending-api-manager/saml2-sso/configuring-identity-server-as-idp-for-sso/#configuring-wso2-api-manager-apps-as-saml-20-sso-service-providers
Affected Product Version: APIM-3.2.0 +

Update [2024-11-11,12]
Master Fix : https://github.com/wso2/docs-apim/pull/8806
4.4.0 :  https://github.com/wso2/docs-apim/pull/8807
4.3.0 : https://github.com/wso2/docs-apim/pull/8808
4.2.0 : https://github.com/wso2/docs-apim/pull/8809
4.1.0:  https://github.com/wso2/docs-apim/pull/8813
4.0.0: https://github.com/wso2/docs-apim/pull/8815
3.2.0: https://github.com/wso2/docs-apim/pull/8816


Getting the envelope with griddler and griddler-sendgrid

I am having a hard time accessing the envelope of the email.
`class EmailProcessor
include Parser
def initialize(email)
@email = email
end
def process
  to=@email.from[:email]

  bank=@email.to.first[:token]

puts "******<EMAIL_ADDRESS>
end
end
`
I get:  Undefined method 'envelope' for #Griddler::Email:...>.
What would be the best way to access the envelope? thanks

Griddler does not parse the envelope independently. It appears the SendGrid adapter uses the envelope to parse some information but does not expose it "downstream". Is the information you need not available in the headers or raw headers? If there's information you need that isn't available you may have to file an issue over in the SendGrid adapter.
Sorry for no links. Commenting on the run via my phone.

In the context of receiving emails which could have been put on as :bcc, I am trying to get the envelope to extract the "to" field which would allow me to identify to which bcc this particular email was sent and process it accordingly.
I see that this "bcc" email name is also appearing in the raw_headers or "inspect"  of the @email object, but I would need to parse that manually to extract it, unless there is a way which I am not aware of.
I assume quite a few people would want to achieve the same, i.e. being able to easily identify which bcc they are dealing with. thanks

The concept of a standalone envelope is not exposed by all providers that Griddler supports. Given that various providers will expose extract different aspects of the incoming email, it is up to each adapter to parse/populate those aspects. That being said, so long as the provider does not strip the headers that make up the envelope, they should be available via the headers or raw_headers attributes provided by Griddler.
bcc is already exposed as an instance variable on `Griddler::Email'](https://github.com/thoughtbot/griddler/blob/master/lib/griddler/email.rb#L6). The SendGrid adapter [will already extract `bcc` from the `to` portion of the envelope as defined by SendGrid. So, I'm still not clear on what information you require that is not already exposed.

AS an example, I am sending an email to<EMAIL_ADDRESS>from<EMAIL_ADDRESS>and I put<EMAIL_ADDRESS>in bcc. Once this email is captured by the Parse sendgrid, I can see<EMAIL_ADDRESS>in the raw_headers, but @mail.bcc returns an empty array. Am I missing something? thanks

No, that should be the right way of accessing it. Looks like thoughtbot/griddler-sendgrid#17 may be of interest. You need to be running the master branch of the gem to have working bcc.

i will give it a try. thanks a lot for the guidance


Add Jobs for PR Interaction and Daily Test

Signed-off-by: Hang Yan<EMAIL_ADDRESS>

/theia-skip-e2e

/test-e2e

/theia-test-e2e

@edwardbadboy

/theia-test-e2e

/theia-test-e2e

/theia-test-e2e

/theia-test-e2e

Hi @hangyan , thanks for the PR. I noticed it has been hanging for a while. I'm wondering what's our plan on this PR. Shall we include it in Theia 0.2.0 release? Is there any pending issues, e.g. the test script of daily-flow-visibility-validate not available?
cc @dreamtalen for some possible context.

I'd like to suggest a better commit title: Add Jobs for PR Interaction and Daily Test

@salv-orlando Can you help merge this? Thanks

/theia-test-e2e

/theia-test-e2e

Ignore unrelated test failures


batch execute pushImge execption

error log
time="2015-01-08T14:09:17+08:00" level="info" msg="POST /images/jae.registry.com:5000/6e4a635d5205b1e1054df96d74974d09/push?registry=jae.registry.com%3A5000&tag=latest"
time="2015-01-08T14:09:17+08:00" level="info" msg="+job push(jae.registry.com:5000/6e4a635d5205b1e1054df96d74974d09)"
Received HTTP code 500 while uploading layer:
500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
time="2015-01-08T14:09:19+08:00" level="info" msg="-job push(jae.registry.com:5000/1d238eae732b9647730d02cd4b73dfe9) = ERR (1)"
time="2015-01-08T14:09:19+08:00" level="info" msg="DELETE /images/jae.registry.com:5000/1d238eae732b9647730d02cd4b73dfe9"

I think this must have happened when hub was having an outage, be sure to check status.docker.com in future, sorry for any trouble this caused


B_s -> D_s form factor variations

Phoebe has FF variation templates (3 sets +/-, a total of 6):
        sd2mu.AddHistoSys("IWs", "h_Ds2_u1m",
                          "proctuples/" + extra + sample + "/" + Dst_HistoFile,
                          "", "h_Ds2_u1p",
                          "proctuples/" + extra + sample + "/" + Dst_HistoFile,
                          "");
        sd2mu.AddHistoSys("tau1s", "h_Ds2_u2m",
                          "proctuples/" + extra + sample + "/" + Dst_HistoFile,
                          "", "h_Ds2_u2p",
                          "proctuples/" + extra + sample + "/" + Dst_HistoFile,
                          "");
        sd2mu.AddHistoSys("tau2s", "h_Ds2_u3m",
                          "proctuples/" + extra + sample + "/" + Dst_HistoFile,
                          "", "h_Ds2_u3p",
                          "proctuples/" + extra + sample + "/" + Dst_HistoFile,
                          "");
        D_sDs2mu.AddHistoSys(
            "IWs" + DsststFFsplit, "h_sDs2mu_u1m",
            "proctuples/" + extra + sample + "/" + D0_HistoFile, "",
            "h_sDs2mu_u1p", "proctuples/" + extra + sample + "/" + D0_HistoFile,
            "");
        D_sDs2mu.AddHistoSys(
            "tau1s" + DsststFFsplit, "h_sDs2mu_u2m",
            "proctuples/" + extra + sample + "/" + D0_HistoFile, "",
            "h_sDs2mu_u2p", "proctuples/" + extra + sample + "/" + D0_HistoFile,
            "");
        D_sDs2mu.AddHistoSys(
            "tau2s" + DsststFFsplit, "h_sDs2mu_u3m",
            "proctuples/" + extra + sample + "/" + D0_HistoFile, "",
            "h_sDs2mu_u3p", "proctuples/" + extra + sample + "/" + D0_HistoFile,
            "");

We need to see if HAMMER can do FFs with $B_s \rightarrow D_s$.

Hum, I don't think these variations are documented in the ANA note...

Yup, I'm also confused about these (I thought we only need to reweight FF for $D, D^*, D^{**}$. These are discovered by my fitter cleanup effort.
Worst case, we turn off FF variations for $D_s$ for now, while asking HAMMER developer to support them, if possible.

We also need to check what are the INPUT form factors schemes for D_s used for generation, and see if they are supported by HAMMER.

$B_s \rightarrow D_s^{**}$ reweighting has been implemented in the latest dev branch of Hammer. Closed.


test(@embark/cli): remove the cli_shim demo scripts

The demo scripts in src/test/cli_shim, while very useful when developing the shim, were never fully completed and are not part of embark's CI, so remove them. A future cross-platform test suite of the shim should be written in the usual way (with TS/JS) instead of using bash scripts running in a Docker container.

Burn it with 🔥


Add basic system for specifying and validating archetype invariants

Objective
Closes point 2 of #1481
Impulse
Often, when adding components and bundles to entities, there are implicit rules about which components can or can't appear with each other. For example, in most projects, an entity with a Player component should never have a Camera component. Users would like to be able to specify these rules (invariants) more explicitly, both for static analysis, and soundness.
Current Way
If a user wants to codify these rules, they must roll their own implementation, mostly likely by adding a System which checks each of these rules against the World's Archetypes.
Struggle
There are several difficulties with the current way:

Building an invariant checking system from scratch is annoying
Checking invariants naively in systems is (likely) inefficient
Because archetype invariants aren't a first-class feature, many users will not think to add such a system, even if it would be beneficial to them
Because users are writing their own systems for this, we (at the engine level) cannot leverage these invariants. In particular, it is appealing to use these invariants to more accurately evaluate which system parameters conflict. (This would both reduce the need for Without clauses in systems with multiple queries, and prevent false positives when checking system order ambiguities.)

New Way
We will add a first-class system for specifying and validating archetype invariants:

We will provide a type, ArchetypeInvariant, which represents a structured logical statement that must hold true for all Archetypes
Whenever an ArchetypeInvariant is invalidated, the engine panics, and outputs a nice error message:

'Archetype invariant violated! The following invariants were violated for archetype ["B", "A"]: {Premise: AnyOf(A), Consequence: NoneOf(C, B)}'

We will store a list of ArchetypeInvariants on the World.
Users can add archetype invariants either using the methods on the world, or with helper methods on App
Whenever a new Archetype is added to the World, we will check it against the existing invariants
We will provide additional helper methods to easily construct common invariants

Changelog

Added ArchetypeStatment, and associated methods for construction and testing archetypes
Added ArchetypeInvariant, and associated methods for construction and testing archetypes
Added a blanket impl for Bundle with helper methods for constructing common invariants
Added UntypedArchetypeStatement and UntypedArchetypeInvariant, to act as a type-erased version of the above. (See design justifications below for details.)
Added ArchetypeInvariants, to store a list of ArchetypeInvariants.
Added World.archetype_invariants: ArchetypeInvariants, to store archetype invariants
Added World::add_archetype_invariant and World::add_untyped_archetype_invariant, to add new invariants to a world
Added App::add_archetype_invariant and App::add_untyped_archetype_invariant, to add new invariants to a app's world.
Added the archetype_invariants example.
Changed Archetype::new to check against the list of invariants from the World before returning the constructed archetype

Design Justifications

We include both a typed (ArchetypeInvariant) and untyped (UntypedArchetypeInvariant) API. The typed API allows for very convenient specification of invariants that use only Rust types. The untyped API is required to support dynamic components.
Archetype invariants are stored on the World, as different worlds may have wildly different archetypes and rules. Additionally, this provides more natural support for headless worlds.
New archetypes are checked on creation. We recognize that this can cause problems when adding components sequentially. However, we believe that this is the best design for several reasons:

It ensures that no archetypes are ever "missed". There are many ways for commands to add new archetypes to the world. Checking whenever Archetype::new is called ensures that all commands and methods (including future ones) will include invariant validation.
It also ensures that there is never an invalid archetype, even transitively. Since this feature is planned to be used for soundness, a stronger promise of validity is desirable.
As long as the empty entity is considered valid, it is always possible to perform entity mutation operations in an order that preserves validity at every step. Furthermore, using insert_bundle instead of insert will likely solve the majority of these cases.

Trait-based API
We use an explicit type for archetype invariants instead of a trait, as using a trait would cause problems when attempting to use archetype invariants to resolve system parameter conflicts (and execution order ambiguities, which follow similar logic). Reasoning:

On any sensible trait-based API, we would need to provide some kind of test method that takes an archetype and outputs a boolean for whether it is valid. It is natural to want to use this to catch disjoint system parameters that overlap, such as Query<&Transform, With<Player>> and Query<&mut Transform, With<Camera>>. One might want to just take the union of the two queries to construct a minimal archetype and check them against the invariant. Then, if the invariant fails, we know the archetype will never appear and the queries are disjoint, right? Unfortunately, no.
It is possible (and, in fact, desired) to create archetype invariants which cannot be used to resolve param sets if only the basic testing method is provided. For example, consider the two queries from (1), and the invariant Player::requires::<Life>(). These queries, when combined, would fail the invariant (since Life is not present), making the queries look disjoint when they are not necessarily.
As a result of (2), the archetype invariant trait would require the implementer to provide additional information about the structure of the invariant, so we can more accurately determine which parts of the invariant apply to which parts of the queries. (Specifically, we would need to know whether the invariant restricts which components appear together, or requires additional components to appear together.)
If the additional information is incorrect, then it could lead to soundness issues, as conflicting parameter sets would erroneously run in parallel. This means that the trait would have to be unsafe.

This means that the trait approach locks us into one of two options:

Make the trait unsafe. This means that users would need to either use only the provided helper types, or manually implement an unsafe trait.
Don't use archetype invariants to resolve system parameters or execution order ambiguities.

Option 1 is unappealing for fairly obvious reasons. Although we may be able to provide helper types for all reasonable invariants, I doubt this is likely to happen. Furthermore, I'd rather avoid manual implementation of unsafe traits entirely if possible.
Option 2 is more palatable but restricts important use cases in ways that will surprise users and leave frustrating edges in the engine. Debatably-prettier APIs aren't worth it.
Future Work

Benchmarking and optimizing invariant checking. In particular, it is theoretically faster to cache component containment in a bit array, then use only bit manipulation operations to determine the truth value of ArchetypeStatments and ArchetypeInvariants. We decided that this optimization is premature for this PR.
Using archetype invariants to more accurately evaluate if two sets of system parameters conflict. (As mentioned, this would have benefits both in system scheduling and query syntax cleanliness.)
Adding a variant on ArchetypeStatement that allows the user to provide an arbitrary function. This should not be used commonly, but may be helpful as a safety valve when working with strange or uncommon invariants.
Once this feature starts seeing use, performing a more thorough audit of common invariants, so that the API can make these easy to specify.
Swapping sets of archetype invariants at runtime. This is appealing to do, as different scenes may have different invariants that must be validated. Supporting this, however, provides several challenges. Namely: how do we know which archetypes need to be re-checked under the new set of invariants, and how do we do that in a performant manner?
Reworking the invariant checking to avoid panicking at runtime. This is desirable for editors, and to prevent messy crashes in production games. In theory, it's possible to achieve this safely by marking unsafe archetypes as "invalid", and prevent any data access to them (at all). Then, throw some catch-able error whenever an invalid archetype is encountered so that the user can handle the behavior appropriately.

(As mentioned, this would have benefits both in system parallelization and query syntax cleanliness.)

This will not actually impact system parallelization; this is done on the basis of factual rather than hypothetical compatibility by checking the bitset of in-use archetypes.

Changed Archetype::new to check against the list of invariants from the World before returning the constructed archetype

I recognize that this action would increase the cost of adding a new archetype. Are archetypes cached so that they aren't immediatly deleted when there are no entities? I'm concerned of the case where an entity with a unique archetype that has a marker component that rapidly gets added and removed over time. This would cause creating that archetype and the archetype without the marker many times over a short time frame if there is no caching.
Also would it be a good idea to disable archetype invariant checks on release builds?

I recognize that this action would increase the cost of adding a new archetype. Are archetypes cached so that they aren't immediatly deleted when there are no entities?

In short, yes. The world's archetype list stores all archetypes, past and present. This means that your "flickering marker" example would only incur two archetype checks :).

Also would it be a good idea to disable archetype invariant checks on release builds?

I considered this, but since this is planned to be used for soundness (with system parameters), I think it should always be on. That being said, I am open to including a setting to disable it in release mode, depending on how that system parameter integration ends up looking.

I think that the lines “This may include empty archetypes: archetypes that contain no entities.” can be kept for now, so you can resolve them for now. Be sure to double-check that all methods that states that actually triggers the re-check though, maybe by adding some tests.
I think that changes to Components docs can stay, since they are really small and not functional.

Just added these tests, they fail: I added a failing condition for the archetype (A,) after archetype insertion, and it doesn't panic where it should.
    #[test]
    #[should_panic]
    fn re_check_all_archetypes_on_invariant_insertion() {
        let mut world = World::new();

        world.spawn().insert_bundle((A,));

        let untyped_archetype_invariant = super::ArchetypeInvariant {
            predicate: super::ArchetypeStatement::<(A,)>::all_of(),
            consequence: super::ArchetypeStatement::<(A,)>::none_of(),
        }
        .into_untyped(&mut world);

        world.archetype_invariants.add(untyped_archetype_invariant);
    }

    #[test]
    #[should_panic]
    fn re_check_all_archetypes_on_untyped_invariant_insertion() {
        let mut world = World::new();

        world.spawn().insert_bundle((A,));

        let untyped_archetype_invariant = super::ArchetypeInvariant {
            predicate: super::ArchetypeStatement::<(A,)>::all_of(),
            consequence: super::ArchetypeStatement::<(A,)>::none_of(),
        }
        .into_untyped(&mut world);

        world.add_untyped_archetype_invariant(untyped_archetype_invariant);
    }

So either the doc comment about re-checking in Archetype_invariants::add and World::add_untyped_archetype_invariant should be removed, or the check should be enabled.

Wondering if we can use const generics to generalize “at least” and “at most” statements:
pub enum ArchetypeStatement<B: Bundle, N: usize> {
    // ...
    AtLeast(PhantomData<B>, PhantomData<N>),
    AtMost(PhantomData<B>, PhantomData<N>),
}

Something like that, I don't know how the exact syntax would be.

I think that the lines “This may include empty archetypes: archetypes that contain no entities.” can be kept for now, so you can resolve them for now. Be sure to double-check that all methods that states that actually triggers the re-check though, maybe by adding some tests.

Just added these tests on my end, and they fail: I added a failing condition for the archetype (A,) after archetype insertion, and it doesn't panic where it should.
...
So either the doc comment about re-checking in Archetype_invariants::add and World::add_untyped_archetype_invariant should be removed, or the check should be enabled.

That's because you're calling add on the World's ArchetypeInvariants directly, instead of using World.add_archetype_invariant. Normally, the pattern you used would be impossible, as the archetype invariants field is pub(crate), and we only expose a getter method. Regardless, you are right, and the docstring on ArchetypeInvariants.add is incorrect. Fixed as of<PHONE_NUMBER>143c455375d5e74d5bfe3898a8104e. Good catch!

Wondering if we can use const generics to generalize “at least” and “at most” statements:

We could do that, but I don't think it's helpful to add at this stage. I actually considered doing this, but I think that the increased complexity isn't worth the potential gain, especially because it would make the common case less readable. It would be very cool, but I can't think of many cases where you'd actually want or need that kind of arbitrary checking. I would be open to adding this later if it's a requested pattern though.

FYI @PROMETHIA-27 the helper methods for True and False are needed here because of failures in type inference ultimately driven by https://github.com/rust-lang/rust/issues/27336 😢 Otherwise we'd just set () to the default type and everything would work fine.
(Thanks @devil-ira)

I spent some time exploring a trait-based API with @alice-i-cecile, but we came to the conclusion that it would likely cause more problems than it solves. See the PR description for a full justification

bors try

Changes from #2974 have been merged in and accounted for! At this point, the only thing left to resolve is the exact name of ArchetypeInvariant, which I think we'll just leave to @cart for the final say on.

I don't think this would close #1481. Of the three use cases mentioned there (helping system ambiguity checker, checking assumptions, allowing overlapping queries), it would only close the second one.

I don't think this would close #1481. Of the three use cases mentioned there (helping system ambiguity checker, checking assumptions, allowing overlapping queries), it would only close the second one.

That's a good point. Personally, I think #1481 should still be closed, and those two tasks should be split into two newer issues, now that so much has changed. I don't feel too strongly though. I'll remove the closing language from the PR description for now.

Closing this out. I still want this at some point, but there is work to be done building consensus, defining error handling patterns and so on. This is also going to be way easier to implement with hooks these days.
The end user API is still great though, and should be borrowed from aggressively.


First Class Source plugin

Motivation
In order to be able to handle the Gatsby preview we need to fulfill the requirements for the "First class source plugin".
Proposed solution

Have the Gatsby Kentico Kontent source plugin fulfilling “first-class source plugin“ requirements

https://www.gatsbyjs.com/docs/integration-guide/source-plugin/

Additional context
Internal link: https://kentico.atlassian.net/browse/DEVREL-319

Implementation of the first-class source plugin is being implemented in the preview-functionality feature branch.
The early beta version is available under preview-functionality  feature tag on npm.
Instructions for beta testers are being summarized in #89.

There is also a possibility to set up a development environment yourself and test the Gatsby Preview locally.
The scripts for loading the environment are in https://github.com/Simply007/kontent-gatsby-preview-setup.
If anyone is interested - feel free to ping me and we could go through the process!

@rshackleton, @jupl - if you are interested, ping me on my gitter
* I would love to hear your thoughts!

New features in beta3 released

https://github.com/Kentico/gatsby-source-kontent/releases/tag/4.1.0-beta3

New feature release

https://github.com/Kentico/gatsby-source-kontent/releases/tag/4.1.0-beta4

Mind the warning in the release notes

New release with full support on update
Issues:

Update fails on gatsbyjs.com cloud when editing beacuse schema is not preserved (will reaise the issue)

15:23:12 PM: error There was an error in your GraphQL query: - Unknown field 'system' on type '[KontentItemHeaderSectionKontentItemTestPreviewKontentItemVideoSectionUnion]'.

Currently working waiting for https://github.com/gatsbyjs/gatsby/issues/19917

Currently blocked by:
https://github.com/Kentico/gatsby-source-kontent/issues/108

Implementation is in this branch:

https://github.com/Kentico/gatsby-source-kontent/tree/feature/preview-create

Writing for preview webhooks support in the product.

Preview webhooks are now available on QA environment.

New @vnext version is released:

6.0.0-vnext.5

Implemented in #133.
Subscribe to #136 for release as final version!
Sample site preparation: https://github.com/Kentico/gatsby-starter-kontent-lumen/pull/9


Support registering custom diagnostics

Before this PR
Diagnostics were only registered internally and it was not possible for services to add their own diagnostics.
After this PR

==COMMIT_MSG==
Expose diagnostics in Witchcraft so services can register their own diagnostics.
==COMMIT_MSG==

LGTM but you'll also need to make the debug module public in lib.rs.

LGTM but you'll also need to make the debug module public in lib.rs.

Done! Made a number of sub modules only public within the crate, and then also realized that we probably want to expose the get method on the diagnostic registry


CFD-101: create user profile component

Description

Reason for Change

Completes CFD-101
Type of change

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

Testing

For some reason I can't get TRPC working with Expo. Not sure if it's a WSL issue or not, I'll do some further investigation on my Mac without WSL. For now this will just be a UI only PR. We can have a follow-up PR for metadata later as to not block existing work.


[stable/fluent-bit] Enabling dnsConfig option in the Chart

Signed-off-by: Nick Vladiceanu<EMAIL_ADDRESS>
What this PR does / why we need it:
Adding possibility to set a custom dnsConfig for the pods. Pod's DNS Config field enable users more control on the DNS settings for the pods.
Use-case example
Fluent-bit pods /etc/resolv.conf ndots:5 (default) and output Elasticsearch external domain example.elastic.com, syscall will try to resolve it sequentially going through all local search domains first and then resolve the absolute name only at last, which puts load on the DNS resolver and impacts the performance of the applications. Tuning dnsConfig for Fluent-bit pod allows us to avoid such scenarios and resolve the absolute name at first and cache the positive response.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @hectorj2f

/ok-to-test

/lgtm


Add "Reopen closed editor" to tab bar right click menu

Right now you have to click File -> Open Recent -> Reopen closed editor which is way too many steps for a functionality that's not that rare to use. It could easily appear here too:

when you're clicking tab bar on empty (non-file) space. So much space to spare in that menu.
I know there's an extension for that: https://marketplace.visualstudio.com/items?itemName=uyiosa-enabulele.reopenclosedtab&ssr=false#overview But having to install extensions per one menu entry that adds a basic functionality doesn't feel great.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Create convience methods for Send() so you don't have to do Peers[id] and can just put the id

Should this really be done?


Deprecation of network_profile_id in Azure provider <v3.16.0 when creating Azure Container Group

network_profile_id is deprecated by Azure when deploying an Azure a container group. To continue to manage existing azurerm_container_group that rely on network_profile_id, please stay on provider versions prior to v3.16.0.
Update azurerm_container_group in ACI.tf to use subnet_ids in order to successfully deploy with Azure provider >v3.16.0

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/container_group


[src] BaseEncoderMaskerDecoder: remove old hooks

Maybe overkill to have three PRs but at least we know what to point to.
To be merged just before 0.4.0 release.
Ref #307 #308

Need to rebase/merge master when #308 is merged.

LGTM

/rebase

LGTM


x/pkgsite: test pathNotFoundErrorNew

Add a test that checks pathNotFoundErrorNew in internal/frontend/details.go.

I can help with this issue :)
However I have a question, the idea is to test the function pathNotFoundErrorNew or the ones using pathNotFoundErrorNew?

Thanks, @AndersonQ! This issue is about testing function using pathNotFoundErrorNew. It is related to this:
https://github.com/golang/pkgsite/blob/master/internal/frontend/server_test.go#L832

Thanks! Looking into it :)


GitHub Pages: i18n document is 404 not found

🐛 Bug Report
Jest · 🃏 Delightful JavaScript Testing link is 404.
To Reproduce

access to Jest · 🃏 Delightful JavaScript Testing
click docs
check 404 Page not found · GitHub Pages

This bug is not only Japanese.
Example Chinese Page not found · GitHub Pages is 404.
Expected behavior
To open i18n page or English page.
Link to repl or repo (highly encouraged)
document bug.
Run npx envinfo --preset jest
document bug.

@endiliey thoughts on this one?

@simenB
That shouldnt be the cause. I accessed i18n jest docs yesterday and it was working fine.
Caused by #6474 commit
https://github.com/facebook/jest/commit/d7eead1a6d92941be82e93c18b1e7bb7399eb603
That deletes 600,000 files of gh-pages
https://github.com/facebook/jest/commit/6dd197c78dcf3378814623f6bea070cc46400928
I am currently outside but I'll try to investigate the cause.
Can you help me to retrigger the website deploy for a workaround now ?

Hah, nice. I can rerun the gh-pages build

https://circleci.com/gh/facebook/jest/30352

@SimenB It appears this issue has resurfaced.
Returns 404 for all i18n routes: Page not found - Github Pages
I also attempted to view older doc versions and still get a 404.


Kicad 4.0.0

There is another 'extras' DMG that is recommended to be installed. Should we add that to this cask?
See http://kicad-pcb.org/download/osx/

there's a kicad-extras cask.
Also this is funky - there's another folder that needs to be dragged into application support from the .dmg; not sure how to handle that with cask language

Regarding kicad-extras, @gibsjose submitted a cask a while ago. He was supposed to resubmit with an updated version, but ended up never doing so.

@vitorgalvao Yeah I ran into the same issue as @adityadalal924 in that I was not sure how to elegantly handle the need to drag a folder from the DMG, since it seems like that defeats the purpose of using homebrew. Can this be solved by just using the app stanza in a certain way?
I was also waiting for the stable 4.0.0 release, which is now available.

artifact 'kicad', :target => Pathname.new(File.expand_path('~')).join('Library/Application Support/kicad') would likely do the trick (as previously seen in kicad-library
I think adding in that line to kicad, removing kicad-library, and making a new Cask kicad-extras with a depends_on => kicad would be the most sane option here.

Yeah that sounds logical. The kicad-library Cask does need to go.

@adityadalal924 artifact 'kicad', :target => "#{ENV['HOME']}/Library/Application Support/kicad" seems a little cleaner to me.

Closing in favor of https://github.com/caskroom/homebrew-cask/pull/15692


Wrong Momentum Equation in Tensorflow's Kernel

I believe I found a slight error in the multiplication of the learning rate
Momentum Optimization has the form:

Where epsilon is the learning rate and p is the momentum.
Reference: Ning Qian's Momentum Paper (1999) http://brahms.cpmc.columbia.edu/publications/momentum.pdf
In tensorflow/core/kernel/training_ops.cc, lines 68 and 69 (ApplyMomentum) we find:
accum = accum * momentum() + grad;
var -= accum * lr();

Expanding this, we get:
var -= (accum*momentum() + grad) * lr();
// =>
var -= accum*momentum()*lr() + grad*lr();

Notice how the momentum variable is being multiplied by the learning rate, but this should not be the case. The correct form is:
accum = accum * momentum() + grad * lr();
var -= accum;

Here's my pull request fixing this: #904

Two forms produce equivalent descent path. Note that you can factor out lr() out of momentum in your formulation, and then write accum = lr()*(unscaled_accum); var-=lr()*unscaled_accum. So in our case the difference between our accum and your accum is an extra factor of lr(), but it doesn't affect the update. There are several slightly different variations of momentum equation out there which are equivalent for practical purposes. For instance, Polyak's original paper on momentum wrote update as x_{k+1}=x_k - \alpha_g grad + beta_k(x_k-x_{k-1})

Closing this. Reopen if the scaling of the stored value is important.

@yaroslavvb, thanks for your explanation! I was not entirely sure if scaling would eventually affect the results, but that cleared it up!


Endpoint Change: Replace Result with ParticipationResultDTO in CourseForDashboard

Changes:

Create a new DTO struct called ParticipationResultDTO
Change the type of participationResults from Result to ParticipationResultDTO in CourseForDashboard model.

This is required because of the changes introduced in this Artemis PR: https://github.com/ls1intum/Artemis/pull/6984

Artemis iOS, Exam Checker, and Themis are unaffected by this change since none of them uses participationResults contained in CourseForDashboard.


chore: Add GHC 9.6.5

Due to some segfault issues when running make build in text-assets, I had to bump up the text-assets GHC version to 9.6.5 (LTS 22.21). This PR adds support for GHC 9.6.5 to the weeder GitHub action
The issues in question were often:
make: *** [build] Bus error: 10

and less often:
text-assets: internal error: ARR_WORDS object (0x16e4f2e40) entered!
    (GHC version 9.6.3 for aarch64_apple_darwin)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
make: *** [build] Abort trap: 6

So it looks like Haskell development tools (ie stack) were purposefully removed to streamline macos images: https://github.com/actions/runner-images/issues/9242 @pbrisbin. Sounds like we'll need to install it ourselves. How do I go about doing that?

Yeah, it's a shame that URL is the link everyone finds and it doesn't include the fix. I just commented there with the snippet I've been using.


Create modular-summit-3.0.md

@WinsCodes New event

@laeccles Event has been merged to PL Events PROD.


Ruby 3.2 Gem Path Error for AWS SDK

AWS Lambda with Ruby 3.2 error - by setting the GEM_PATH environment variable, the native aws-sdk gems cannot load
{
  "errorMessage": "cannot load such file -- aws-sdk-dynamodb",
  "errorType": "Init<LoadError>",
  "stackTrace": [
    "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:136:in `require'",
    "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:136:in `require'",
    "/var/task/handler.rb:1:in `<top (required)>'",
    "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:136:in `require'",
    "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:136:in `require'"
  ]
}

Additional context
As outlined in AWS docs for including gems from layers (https://docs.aws.amazon.com/lambda/latest/dg/ruby-package.html#ruby-package-dependencies-layers), if the generated zip file structure changes from ruby/3.2.0/* to ruby/gems/3.2.0/* then there is no need to set the GEM_PATH environment variable which will eliminate the issue of the native aws-sdk gems not being found.
Confirmed this works by compiling the deploy_http_nokogiri sample (https://navarasu.github.io/serverless-ruby-layer/#/use_docker), unzipping gemLayer.zip and adjusting the folder structure, zipping and manually uploading a custom layer to AWS.

Quick and dirty fix that I did
Starting at line 130
docker(['exec','-w',this.docker_gem_path, docker_id].concat(bundle_args),options,this.cli) this.aws_gem_path = this.docker_gem_path+'/build/ruby/gems' docker(['exec', docker_id, 'mkdir', this.aws_gem_path], options, this.cli) docker(['exec', docker_id, 'mv', this.docker_gem_path+'/build/ruby/3.2.0', this.aws_gem_path], options, this.cli) docker(['cp', '-L', container_id+':'+this.docker_gem_path+'/build/ruby', this.build_path], options, this.cli)


Relationship Pagination

Fixes #51 by returning pagination object at relationship endpoints.

From what I can see, there's no way to actually use this pagination object with getUsersFollowedByUser:withSuccess:failure:. Am I missing something, @shyambhat?

Never mind, found getPaginatedItemsForInfo:withSuccess:failure:


Add support for Kurdish locale and keyboard

I have a feature request to support Kurdish keyboards.
To solve this, we need to verify that RTL works, that images are auto-flipped etc.

I will add this together with some other RTL locales, so I will release it in a 4.6 instead of in the 4.5.

I'm rushing this out, so it'll be a 4.5.3 instead of a minor release, since I will not add any other features to this release.

There are many pitfalls that I don't know if the library can handle. For instance, some keys display a certain text, but tapping the key inserts the mirrored text.

I would love to implement this, but there are many problems with RTL that I'd have to iron out to make this work, and I think I can't do this alone. Let's discuss this further if you're interested in this and want to help.

Hey there again, Daniel, Sorry I have been missing out lately, Can we resume work on this amazing piece of art?

@rawandahmad698 @ardavank This issue is a bit bloated with all the milestone juggling. Let's continue this work in this issue https://github.com/KeyboardKit/KeyboardKit/issues/379


spaces

use secure protocol
uniform the use of spaces
change style also for the punctuation marks

As always- thank you!!


uncaught exception occurred

I tested this library's test app but uncaught exception is occurred.
Device: Real device iphone8(iOS 12.0.1)
Xcode: 10.0
Deployment target: 9.0
React: 16.3.1
React-Native: 0.55.4
Privacy - Speech Recognition Usage Description is added on info.plist
libc++abi.dylib: terminating with uncaught exception of type NSException
Thread 9 Queue : com.apple.root.default-qos (concurrent)
#0	0x0000000229e09104 in __pthread_kill ()
#1	0x0000000229e88a00 in pthread_kill$VARIANT$armv81 ()
#2	0x0000000229d60d78 in abort ()
#3	0x0000000229428f78 in abort_message ()
#4	0x0000000229429120 in default_terminate_handler() ()
#5	0x0000000229441e48 in _objc_terminate() ()
#6	0x00000002294350fc in std::__terminate(void (*)()) ()
#7	0x0000000229435188 in std::terminate() ()
#8	0x0000000229441da4 in objc_terminate ()
#9	0x00000001034f4e78 in _dispatch_client_callout3 ()
#10	0x000000010350ff48 in _dispatch_mach_msg_async_reply_invoke ()
#11	0x0000000103507224 in _dispatch_kevent_worker_thread ()
#12	0x0000000229e8e100 in _pthread_wqthread ()
#13	0x0000000229e90d00 in start_wqthread ()

Experiencing the same issue

@dazzyjong Did your solved your problem?


Add RLBase conversion interface for testing

Adding a test file to convert from GridWorlds interface to ReinforcementLearningBase interface.
Also added a get_terminal method for the CollectGems environment to test whether the conversion is happening properly for MaxTimeoutEnv (see here).
This should be helpful in immediately testing an interface of GridWorlds.jl (interfaces of GridWorlds.jl will be written on the lines of ReinforcementLearningBase interface).
This moves us closer to the goal of enhanced connectivity and reusability among packages within JuliaReinforcementLearning. In this case, we can easily tap into the awesome functionalities offered by packages like ReinforcementLearningBase and ReinforcementLearningCore :smile:

Yes. That is better. I've removed it from here.

Codecov Report

Merging #43 into master will decrease coverage by 0.25%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
- Coverage   37.54%   37.28%   -0.26%
==========================================
  Files          13       13
  Lines         293      295       +2
==========================================
  Hits          110      110
- Misses        183      185       +2

Impacted Files
Coverage Δ

src/envs/collectgems.jl
0.00% <0.00%> (ø)

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 2d004c7...d13950e. Read the comment docs.


About the number of the object in the scene

Hi , thanks for your great work  , i want konw if the N is bigger than the exact object number in the scene , what ganna be influenced? just like  the second situation described in the paper.

HI @diaodeyi , we haven't tried this; there is no obvious choice, so I cannot really say what the model would do in this situation.


refactor(demo): update components still called foundation to demo

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
foundation naming still exist in some components
Issue Number: N/A
What is the new behavior?
foundation to demo
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

There's just one more thing with the name "foundation". It's in the file apps/demo-e2e/tsconfig.e2d.json

@lderrickable @damienwebdev updated the tsconfig.e2e.json file

@xelaint squash please.


Update subheading for Radical Collaboration

Overview
Update Radical Collaboration text to be text below.
Action Items
Same subheading style as the one on the http://civictechindex.org/about/contact page.

[ ] Update subheading for Radical Collaboration to be what is shown below (Radical Collaboration Subtext)
[ ] Ensure text maintains website styling

Resources/Instructions
Radical Collaboration Subheading
"We must connect with people from different backgrounds, skills, abilities and thinking modalities to learn and share approaches to societal challenges in order to fulfil the potential of open source."
For reference #1079

Discussion to take place during breakout regarding code being globally set as opposed to being set up independently on every page


add DIA workflow

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!

[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/quantms branch on the nf-core/test-datasets repository.

[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

@jpfeuffer @daichengxin the tests are passing. Why the linting validation is failing.


Use go-toolset golang base image for redhat builds

The --chown=1001:0 was required to avoid an error like this:
fatal: detected dubious ownership in repository at '/build'
To add an exception for this directory, call:
git config --global --add safe.directory /build
I'm not exactly sure the reason why, but I believe it's because the new base image comes with a user called 'default' with uid 1001. When we copy the source code into the build container it comes in owned by root, and that causes git to be suspicious when it runs as user default.

Draft because I don't know if this is something we want or not. Happy to abandon unless we can decide there's some value in using ubi9/go-toolset instead of plain ubi9/ubi-minimal.

I've seen RPM repositories fail with 500/404, perhaps just for Fedora mirrors, not sure. So the benefit of this could be that we depend on only registry.access.redhat.com rather than that and the RPM repository as well...

The relevant Dockerfile iiuc.

Hmm yeah, it also means we don't need to figure out the cachi2 prefetch for those rpms.

Not true, since we also microdnf install jq later on.

Merged #1608 and abandoned this one.


feat!: Enables prefer-arrow-callback allowing named functions

Enables prefer-arrow-callback but with allowNamedFunctions: true.
Running this in portal says:
ESLint checked 1006 files, found 0 errors, found 0 warnings, fixed issues in 213 files
Prettier checked 1612 files, fixed 194 files

https://github.com/jbalsas/liferay-portal/pull/1924/files

Nice. We can ignore the bot because: https://github.com/probot/semantic-pull-requests/issues/51


ci: add release-please to automate semantic versioning releases

This adds the release please github action for making release PRs to automate the release process and add semantic versioning tracking to Dressing! It automatically calculates the next version based on conventional commit messages which you are following :)
Context
It is nice to have semantic versioning so users who use a plugin manager that can utilize that information can be let know when there are breaking changes easily and also set up the plugin managers to not update to the next major version to not accept breaking changes until they have time to handle the changes.
Description
This adds the release-please GitHub action which automatically calculates version numbers based on conventional commit messages and creates release PRs that can then be easily merged in when you are ready to tag the next release. It also handles managing changelogs and release notes in those releases as well.

Thanks @stevearc ! Do you want me to also make PRs to your other plugins like resession and overseer? Or are you going to add them there?

You can if you like, or I'll get to them as the opportunity permits. Just a note that I'll be completely off the grid starting this weekend through mid-July, and then I will be moving, so I expect to be...slower than usual in my response time 😅

No worries! Hope you have a good time!


fix(binary): &&/|| should be logical expression

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #8   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         276    278    +2
  Branches       57     59    +2
=====================================
+ Hits          276    278    +2

Impacted Files
Coverage Δ

src/transform.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Question

So let's say I wanted to use this with a discord bot that checks a url for nsfw content. Can I do that with this, and how could I do it?

You'd have to have your bot pull the HTML/CSS and parse for JPG/PNG/GIF files.   Once you parse the files you would loop through them and use that information to report.

You're not the first person to ask about this, perhaps I should make this a feature of the library?  Just thinking on this.  Perhaps it's a useful enough skill.

Yeah, I have a command that screenshots whatever site you want, and if it's NSFW it returns This site is NSFW, but it doesn't check for images, just URLs

Currently, to use this you'd have to parse the HTML/CSS.  I'll mark this ticket as a feature request and revisit it next Hacktoberfest.

I've just added this to my discord bot as well. This is how you can do it yourself.
const nsfwjs = require("nsfwjs")
const fetch = require("node-fetch")

// Attachment has to contain image url, height and width
async function classifyImage(attachment) {
const model = await nsfwjs.load()

const imageBuffer = await fetch(attachment.url).then((res) => res.buffer());

return await model.classify({ data: imageBuffer, height: attachment.height, width: attachment.width })
}

This is a bit different from my implementation, but i think it should work.


🌐 Add French translation for docs/fr/docs/benchmarks.md

Hello 👋,
This is a PR to translate docs/benchmarks.md to French, as told in the issue #1972.
Sorry for the typo in the commit message.
See the formatted document here
Thanks for those who take the time to validate it.

Hi, I reviewed your text and for me it is ok. I just have a suggestion :
I think that it is prettier to change this sentences :
[...] les applications FastAPI tournant sous Uvicorn comme un des frameworks Python les plus rapides disponibles,
to this :
[...] les applications FastAPI tournant sous Uvicorn comme étant l'un des frameworks Python les plus rapides disponibles,

Oh I didn't notice at first glance but you forgot to update the mkdocs.yml.

I have taken into account your proposal @Jefidev , and I updated the mkdocs.yml .

I left a few comments. To me it would improve the translation.


Refactor benchmark.dart

Part of https://github.com/mlcommons/mobile_app_open/issues/172
This is a separate PR for a small part of the refactoring to make merge conflicts less likely and reviews easier.

I think it's better to approach benchmark.dart in parts. It's the main state machine of the app and an example of "God object" antipattern, so a complete rework would be very hard to review.
In this PR I only pull out result and config (tasks file) manipulations out of the BenchmarkState class.


Can we rename the repo please?

RSS is ambiguous in favor of the feed thingy.
Here are few suggestions:

repository-standards
praqma-repository-standards
same, but just as "repo"
guidelines
norms
code-yardstick
code-code

Also, lowercase, please.

don't spend to much time on new name, I think the writing in this RSS repo belongs somewhere else.... might not be the handbook, but the technical counterpart of such ... or similar.
See my other issue, about that they do not belong anywhere, except from in a configuration file that is used with our check-standards-script. See #6

I chose "repository-standards" - Done!

...The old name RSS still redirects to the new one, so it doesn't really break anything.


Error 301 Moved Permanently

First off all, im kinda new to https GET,POST and so there can be alot of mistakes. So my problem is if I send a GET Request as seen below I receive an Error 301, I tried many diffrent ways, but I think my mistake should be in the GET Request since Im not to sure how its supposed to look like and I didnt really found any examples.  If it matters im using C# for this programm and here is the stuff I use cut down to the most important ones.
Im using Sockets for the sending and receiving of the data.
Im using Port 80,I know that it is the HTTP Port not the HTTPS Port(443) but I got another Error with the HTTPS Port.
The IPAddress I use is <IP_ADDRESS>(from  https://anilist.co/api/).
Here is the full GET request im sending to the Server: "GET https://anilist.co/api/auth/authorize?grant_type=authorization_code&client_id=t4ri0-hy07z&redirect_uri=https://anilist.co&response_type=code"
Alot of the stuff im using I found in other posts so it might not work for the stuff im using. I hope someone can help me.

If you're new to it, you probably shouldn't be using sockets for web requests, I'd recommend HttpWebRequest.
The url that you're requesting isn't really meant for a program to automatically handle. It requires the user to login and manually allow the program to access AniList on their behalf. Typically that means opening the url in a WebView or in the user's default browser and then setting up a uri scheme or getting the user to copy and paste the code back into your application.

First off, I'd recommend trying out one of the many REST libraries available for .Net (assuming you are using C# .Net). although there are a few for .Net Core as well. A favorite of mine is RestSharp, but others are good as well. This saves you from having to construct a WebRequest, deal with Streams, etc.
Also, as @Kazakuri mentioned, the URL you supplied returns a an actual page that will allow the user to approve client access, and then redirect to the given "redirect_uri" with the token required for access. For instance, after clicking "Approve" on the page that is returned, I am redirected to the following URL: https://anilist.co/?code=[token_goes_here]. This should be displayed in a WebView, or something similar (once again, as @Kazakuri previously stated).
I have a pretty decent amount of experience working with this API (and web API's in general) using C#, so please feel free to email me if you have any questions or need some help!

Thanks for your help and will try your recommedations. Since the GET request is wrong could you give me an example of a working GET request since I still dont know how its supposed to look like. Thanks in advance and I will email you @danejur if Im going to need any major help :)


Check Python version during setup

Checking inside main() was too late in the process.  Setup would fail on
Python 2.6 because it couldn't load version 2.7.0 of the requests
library.

lgtm


Update ratios_controller.py

Changed # Shares of current period, instad of trailing sum alternatively average_shares.T.rolling(trailing).mean().T

Thanks for this, I'll merge it tomorrow. Sorry it took a while.


Default landing page per user role

Describe the feature you'd like
It would be amazing if you could set a default page (whether shelf, book, or page) on a user role level. This way if you have a particular department that solely or primarily reads off of a specific shelf, that shelf will be the default location when the login.
Describe the benefits this feature would bring to BookStack users
I see it simplifying the user experience particularly for those employees that are not technically savvy. It will make the documentation that applies for their position available immediately on login.
Additional context
No other context to add.

duplicate #1152

Thanks @adamgranted for submitting this clear feature request.
As stated by @ezzra, #1152 covers the core requested feature. Therefore, to keep duplicate issues down, I'll close this one.
Adding a thumbs-up reaction to the original post on #1152 would help show support for such a feature.


 And are you able to update in the system's settings, or is it a fixed version for your device?

That is the android version.
Is not my phone. Was just testing from other devices to get a broad range of devices

@mattia-io No, I'm talking about the actual version of the operating system you're using (2.0.0 for example) - as devs say it: "The version tag".

Closing this on behalf of @mattia-io, since we're not able to retrieve the version tag to test on that certain version. Current version of Android seems to work fine.


add cropRectangle

Closes: https://github.com/image-js/image-js-typescript/issues/436

The correctness of the expected test results was checked by plotting the points from which we are supposed to interpolate and check visually if the value corresponds to the nearest neighbour.


PhpMessDetector not looking at build directory as $this->phpci->buildPath = '/'

My phpci.yml contains

php_mess_detector:
        path: "site/src"
        allow_failures: true

But when phpmd is executed inside executeCommand, I can see the path given to it is /site/src, rather than relative to the build directory, e.g. /var/www/phpci/PHPCI/build/project1-build25/site/src
That path is calculated by PhpMessDetector ::getTargetPath, which tries to use $this->phpci->buildPath to get the build path - unfortunately, this is "/"

Have the same problem with current build. Has anyone managed to workaround through this?:)

I thought I'd give the latest version a try, and I still get bitten by this bug. As before, the second line here is resulting in the buildPath getting reset to '/'
 $this->buildPath = PHPCI_DIR . 'PHPCI/build/' . $this->build->getId() . '/';
 $this->build->currentBuildPath = $this->buildPath;

I dumped Builder.php using the Vulcan Logic Disassembler to see the PHP opcodes which get executed....
     line     #* E I O op                           fetch          ext  return  operands
    -------------------------------------------------------------------------------------
     291     0  E >   FETCH_CONSTANT                                   ~1      'PHPCI%5CPHPCI_DIR'
             1        CONCAT                                           ~2      ~1, 'PHPCI%2Fbuild%2F'
             2        FETCH_OBJ_R                                      $3      'build'
             3        INIT_METHOD_CALL                                         $3, 'getId'
             4        DO_FCALL_BY_NAME                              0  $5
             5        CONCAT                                           ~6      ~2, $5
             6        CONCAT                                           ~7      ~6, '%2F'
             7        ASSIGN_OBJ                                               'buildPath'
             8        OP_DATA                                                  ~7
     292     9        FETCH_OBJ_R                                      $10     'buildPath'
            10        FETCH_OBJ_W                                      $8      'build'
            11        ASSIGN_OBJ                                               $8, 'currentBuildPath'
            12        OP_DATA                                                  $10

I think I was hoping something odd would leap out at me, but it looks OK. The problem must be in how the opcodes are executed. Maybe someone else will spot something there.
It seems like the location which stores the buildPath is shared with some other variables. Here's an example
$this->buildPath = PHPCI_DIR . 'PHPCI/build/' . $this->build->getId() . '/';
$copy= "altered".$this->buildPath;
//at this point, $this->buildPath is intact and $copy is the buildpath prefixed with 'altered'
$this->build->currentBuildPath = $this->buildPath;
//now $this->buildpath='/' and $copy='altered/'

That's crazy - $copy should be an entirely separate variable, but it's like it always interpolates that value of buildPath into it whenever its read? It's the same result if I do  $copy= $this->buildPath."altered";
That's as far as I've got...I've never seen anything quite like this!

Couple of other other things I've tried:

disabling the Zend opcache
upgrading PHP from 5.5.9-1ubuntu4.6 (built: Feb 13 2015 19:17:11) to 5.6.6-1+deb.sury.org~trusty+1 (built: Feb 20 2015 11:22:10)

Neither helped. I'd love to find the answer but I'm running out of ideas...

Just wanted to note that I've spent a few hours looking at that before I discovered the logging code now strips out the buildpath from output - see https://github.com/Block8/PHPCI/blob/master/PHPCI/Logging/BuildDBLogHandler.php#L53 - that can be pretty deceiving, I'd suggest that change be reverted.

I have the same problems.
Changing the code doesn't help.
Don't know what to make of it...:/

Unfortunately, I tried a lot of things before discovering the logging had changed, and found it was now working for me. All I can suggest is upgrading PHP - I'm running PHP 5.6.6 and it was on something like 5.5.9 when I was having the problem.

Upgraded to PHP 5.6.6-1~dotdeb.1 (cli) (built: Feb 20 2015 19:57:36) and the problem is still there:/

Closing this on the assumption it is fixed and/or no longer relevant by now. Feel free to reopen if this assumption is incorrect.


All commands (including azcopy --version) takes ~8 seconds

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
$ azcopy --version
azcopy version 10.22.0

Which platform are you using? (ex: Windows, Mac, Linux)
Arch Linux.
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
$ time azcopy --version
azcopy version 10.22.0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xc6a2a3]

goroutine 1 [running]:
github.com/Azure/azure-storage-azcopy/v10/common.(*lifecycleMgr).Exit(0xc0001dca20, 0x0?, 0x0)
	github.com/Azure/azure-storage-azcopy/v10/common/lifecyleMgr.go:375 +0xc3
github.com/Azure/azure-storage-azcopy/v10/cmd.Execute({0xc0000e8a08?, 0x18b91b0?}, {0xc0000eb4c0?, 0x10c1337?}, 0x74?, {0x638f2c95, 0x1d76, 0xea43, {0x6e, 0x56, ...}})
	github.com/Azure/azure-storage-azcopy/v10/cmd/root.go:214 +0x17f
main.main()
	github.com/Azure/azure-storage-azcopy/v10/main.go:84 +0x4fa

real	0m8.032s
user	0m0.233s
sys	0m0.247s

What problem was encountered?
There seems to be some kind of deadlock. Every command takes ~8 seconds. Also the stack trace.
See the attached strace.log.
How can we reproduce the problem in the simplest way?
Unsure.
Have you found a mitigation/solution?
Unfortunately, no.

The issue seems to be in the version check. Running the following is near-instant:
$ time azcopy --skip-version-check --version
azcopy version 10.22.0

real	0m0.017s
user	0m0.010s
sys	0m0.007s

Hi! This has been fixed in our latest release. Please feel free to open a new issue in case you hit any other issues with AzCopy!


Explanation

The information provided on this page is sufficient enough to understand on how to override ToString() method.

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

ID: dd498a64-2c80-fe2f-4c27-19d8cf74730c
Version Independent ID: b7461ce2-b286-3f6b-c87c-3d662a57fd53
Content: How to: Override the ToString Method - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/how-to-override-the-tostring-method.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for writing this @hanisani
I'm glad this worked for you.  Closing as kudos.


Run API Performance Testing

Using the appropriate testing tool or checks
Orchestrate the API performance tests
Gather API tests results
Effectively triage any issues with the process outlined

Redundant Issue


chore: go-demo-6 to 1.0.378

chore: Promote go-demo-6 to version 1.0.378

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tmx-bji: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
0a076a969fa0732fd42a109bd32397bce507926c
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.