Added Publii

Publii is a static-website-building app for every skill level, from beginner to developer.

Hi @erquhart,
Thank you for your feedback. I have added the necessary changes - I do hope that now all is fine :)


ci(sync-files.yaml): remove build-depends-repos

Description
Update sync-files.yaml

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[x] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

https://github.com/autowarefoundation/autoware_adapi_msgs/pull/8


[no merge] Made Consensus_mechanisms available in compile time

Added consensus_mechanism as a config variable, removing the environment variable CODA_CONSENSUS_MECHANISM. As a result, it simplified a lot of the code in Coda, reducing a lot of uses of first-class modules.
The make_consensus_mechanism is now represented as a functor in Consensus.Mechanism.Make
Added genesis_state_timestampas a global immutable variable in Coda_base. It's propogated into blockchain_state and mechanism
Need to fix config files/Makefiles that previously used the environment variable CODA_CONSENSUS_MECHANISM

Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[X] Does this close issues? List them:

Closes #1130

cc @jkrauska

as mentioned, I think you have an extra && in the jinja that you'll want to remove...

Is this a typo from a previous commit?
https://github.com/CodaProtocol/coda/blob/eb4ca982f6dc684c7293cb69b5fd2945bbb2312e/src/app/cli/src/coda.ml#L373


Implement user checking while authentication

As an owner of the system, I must be able to grant or dismiss access to the system for users by their email.
As a possible solution, I suggest create a table "Users" and save their emails of users that have assess to the system.
While authentication through Auth0 (#3 ) we also need check if the user exists in DB and only after that grand access
Can we use middleware for that? IDK if it possible for Blazor. Will see.

Implemented on Auth0 side. For more info see wiki^

https://github.com/itbeard/people-discovery-system/wiki/Auth0-configuration
https://github.com/itbeard/people-discovery-system/wiki/Add-new-user-fo-login

Implemented on Auth0 side. For more info see wiki^

https://github.com/itbeard/people-discovery-system/wiki/Auth0-configuration
https://github.com/itbeard/people-discovery-system/wiki/Add-new-user-fo-login


Update for CoreDNS 1.2.5

Scrub was changed in CoreDNS 1.2.5, but it's also now redundant so can be removed from ServeDNS in the plugin.
Fixes #14

/integration


Hide "promote" panel

Thanks for a great project with a great care for Django models!! What this world needs!!
Promote panel doesn't make sense in all settings. I'm especially thinking about Intranet-like settings where promoting something doesn't make any sense.
So if Model.promote_panels = [], I would expect the tab to disappear, however it looks like this:

This seems to be related to #485, sorry I didn't search thoroughly enough. Could call it a dupe, however I find it more obvious to be able to hide "promote" rather than contents, which is a more basic thing, what else would one want to display...

Addressing this as part of #210. (Just a note - if you remove the Promote tab in this way, you'll need to add the 'slug' field to content_panels, as this is required for a valid form submission. The other fields can be safely left out - and with the fix from #957 in place, they won't appear as extra stray form fields like they do now!)

The term "Promote" has been slightly misunderstood I think.
It's not the advertising definition of promotion, but rather the encouragement one. We intended it to suggest a group of fields responsible for the page's representation elsewhere on the web including within the same site itself. Fields in the promote tab aren't the content of the page itself, rather they're the bits that control how the page appears when linked from elsewhere.
e.g in our sites, Promote fields are are things like a summary, or an appropriate accompanying image, or the internal search result description, or tagging fields that determine terms for which this page might also appear as a search match. All of these things are pertinent in any site, even an Intranet.
I'd agree this isn't clear, we've struggled to come up with a better term.

I don't mean to make a big discussion on the "Promote" term, to me it
seemed really good in lots of situations where I'd think that using terms
like "meta data" would scare off people.
But in this case, it's an intranet, and the users have never managed a
website before, they might not even understand tabs.. so I needed to just
hide it :) Also, the layout is so well-made that all the fields sit well in
just a single long page IMO.
On 23 February 2015 at 17:22, Dave Cranwell<EMAIL_ADDRESS>wrote:

The term "Promote" has been slightly misunderstood I think.
It's not the advertising definition of promotion, but rather the
encouragement one. We intended it to suggest a group of fields
responsible for the page's representation elsewhere on the web including
within the same site itself. Fields in the promote tab aren't the
content of the page itself, rather they're the bits that control how the
page appears when linked from elsewhere.
e.g in our sites, Promote fields are are things like a summary, or an
appropriate accompanying image, or the internal search result description,
or tagging fields that determine terms for which this page might also
appear as a search match. All of these things are pertinent in any site,
even an Intranet.
I'd agree this isn't clear, we've struggled to come up with a better term.
—
Reply to this email directly or view it on GitHub
https://github.com/torchbox/wagtail/issues/972#issuecomment-75562390.


Remove constructor tear-offs

Some of our workflows have no way to silence analyzer warnings, and the
analyzer doesn't yet support constructor tear-offs, so pretend that we
can't use them for now.

LGTM


Could not enable SANITIZE_ANSWER in Citation Panel

Describe the bug
I have the document with a link including parameters (e.g. https://www.example.com&abc=123). When I open the Citations Panel, the link is sanitized (e.g. https://www.example.com&abc=123). I want to disable, but the SANITIZE_ANSWER parameter does not effect to Citations Panel.
To Reproduce

Prepare the document with a link https://www.example.com&abc=123.
Enable SANITIZE_ANSWER parameter.
Search the document.
Open Citations Panel.
The link is https://www.example.com&abc=123

Expected behavior
The link should be https://www.example.com&abc=123
Screenshots

Configuration: Please provide the following

Azure OpenAI model name and version: GPT-4o
Is chat history enabled?: No
Are you using data? If so, what data source?: Azure AI Search

Hi @karamem0 this should be fixed by #944


chore(dependency): trivy 0.30.4

@Hagej thanks for the PR! Would it be possible to just add a small description for the PR (like what new feature this enables).


where is the link of your website?

Dear @japilo,
Could I know where is the link of your website?

It's the website link in my profile. You also could have found this information in the hugo.yaml file in this repository. Please don't open issues for things that are very easy to look up.


Task "webpack:debug" failed: Cannot resolve 'file' or 'directory'

I am trying to set up Sir Trevor 0.5.0. When compiling for development (npm run dev), I get the following error (even though the directory src is clearly there):
><EMAIL_ADDRESS>dev /Users/daniel/Downloads/SirTrevTest/bower_components/sir-trevor-js
> grunt dev watch

Running "sass:dist" (sass) task

Running "sass:test" (sass) task

Running "webpack:debug" (webpack) task
Version: webpack 1.12.0
              Asset     Size  Chunks             Chunk Names
sir-trevor.debug.js  1.95 kB       0  [emitted]  main

ERROR in ./index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./src in /Users/daniel/Downloads/SirTrevTest/bower_components/sir-trevor-js
 @ ./index.js 1:17-33
Warning: Task "webpack:debug" failed. Use --force to continue.

Aborted due to warnings.

npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>dev: `grunt dev watch`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script 'grunt dev watch'.
npm ERR! This is most likely a problem with the sir-trevor package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     grunt dev watch
npm ERR! You can get their info via:
npm ERR!     npm owner ls sir-trevor
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/daniel/Downloads/SirTrevTest/bower_components/sir-trevor-js/npm-debug.log

index.js looks like this:
module.exports = require('./src');

webpack.config.js looks like this:
module.exports = {
	module: {
		loaders: [
			{ test: /\.css$/, loader: "style!css" },
			{ test: /\.jade$/, loader: "jade?self" }
		]
	},
	node: {
		fs: "empty"
	}
}

And finally, npm-debug.log looks like this:
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'run', 'dev' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info predev<EMAIL_ADDRESS>6 info dev<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec dev script
9 verbose stack Error<EMAIL_ADDRESS>dev: `grunt dev watch`
9 verbose stack Exit status 3
9 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack     at EventEmitter.emit (events.js:110:17)
9 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at ChildProcess.emit (events.js:110:17)
9 verbose stack     at maybeClose (child_process.js:1015:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid<EMAIL_ADDRESS>11 verbose cwd /Users/daniel/Downloads/SirTrevTest/bower_components/sir-trevor-js
12 error Darwin 14.1.0
13 error argv "node" "/usr/local/bin/npm" "run" "dev"
14 error node v0.12.7
15 error npm  v2.11.3
16 error code ELIFECYCLE
17 error<EMAIL_ADDRESS>dev: `grunt dev watch`
17 error Exit status 3
18 error Failed at the<EMAIL_ADDRESS>dev script 'grunt dev watch'.
18 error This is most likely a problem with the sir-trevor package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     grunt dev watch
18 error You can get their info via:
18 error     npm owner ls sir-trevor
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

What could be causing this error?

Hi @DanielRoeven,
The bower package is meant for distribution rather than for development.
The package strips out the src files apart from blocks, as you'll see in the bower.json file.
https://github.com/madebymany/sir-trevor-js/blob/master/bower.json
If you want to access the entire package then you could npm install sir-trevor instead.
Let me know what you are trying to achieve and maybe I can help further.

(Let me preface this by thanking you for the quick response and admitting that I'm not entirely familiar with the large suite of Javascript packages used in Sir Trevor.)
For now, I'm just trying to get the example index.html ()to run.
What I've done is install Sir Trevor following the steps in the documentation: install Sir Trevor using bower install (with a bower.json file), then installing necessary dependencies via npm install, and finally running npm test (as mentioned in the Readme).

Ok.
Sounds like we need to separate the docs slightly and update the examples with a dist version.
At present the examples/index.html is looking at the debug assets.
bower install sir-trevor is not going to do what you want for now.
If you want to test sir-trevor then i'd suggest.
npm install sir-trevor
cd node_modules/sir-trevor
npm install
npm run dev
open examples/index.html

What you could also do for now is modify the ./examples/index.html to link to the root dir of the package rather than build dir.

Great, that works perfectly! Thank you.


Select a better theme

Jekyll has a wide selection of themes available here We should probably pick one that we like the best. I've selected one, just to get us started.

Are you happy with the thinkspace v2 theme? Or you looking for one different than that?

@stoltzmaniac I'm up for whatever, I just picked a minimal one to get us started. Any input would be great.


Add missing CMFTBL operators

Like the missing binding operator (cf. #113), there should be designated operators for the first-order parts: exists and forAll.
The Kotlin functions are currently used but I think a designated logic operator is consistent.

Also add Release operator and think of variant Weak Until vs. Strong Until


-addext character limit?

It would seem like the -addext parameter with "subjectAltName=" has a limited number of allowed characters.
The following exports the two subjectAltName extensions as requested.
openssl req -new -key key1.key -out req.csr -subj "/C=CA/ST=QC/L=Montreal/O=MyCompany/CN=123456789a.ca" -addext "subjectAltName=DNS:123456789a.ca, DNS:123456789a.ca"

However, the following does not export the two subjectAltName extensions.  Note the additional "a" on the second domain name.
openssl req -new -key key1.key -out req.csr -subj "/C=CA/ST=QC/L=Montreal/O=MyCompany/CN=123456789a.ca" -addext "subjectAltName=DNS:123456789a.ca, DNS:123456789aa.ca"

I'm running OpenSSL 1.1.1d 10 Sep 2019 on Windows 10 x64

I am experiencing this same bug. 1.1.1 on Ubuntu and 1.1.1d on Debian.
This works as expected:
openssl req -new -newkey rsa:2048 -keyout Requests/email.key -out Requests/email.csr -nodes -subj "/CN=name" -addext<EMAIL_ADDRESS>This clears the extensions entirely.
openssl req -new -newkey rsa:2048 -keyout Requests/email.key -out Requests/email.csr -nodes -subj "/CN=name" -addext<EMAIL_ADDRESS>Interestingly, if I remove req_extensions=req_ext from my [req] config, it works with substantially longer values.
[req_ext] subjectKeyIdentifier = hash

Somehow libressl is having the same bug, someone posted a workaround for back when -addext feature was still missing, which thankfully is also a sufficient workaround to the max 20 character limit bug.
https://github.com/libressl/portable/issues/544#issuecomment-570051316

The version 1.1.1 is not supported anymore. Closing. If this is still an issue with currently supported releases, please open a new issue.


Write feature tests for searching for Sinopia resources

Including:

Filtering
Sorting
Paging
When no results

all but filtering were tested in #2487, and the filtering test now has a separate ticket (https://github.com/LD4P/sinopia_editor/issues/2499), so closing this one...


help! data generate erros occured

when I used binarize.py to generate datas, the erros had been occured .
Traceback (most recent call last):
File "/home/saxsax/svs/diff/utils/multiprocess_utils.py", line 13, in chunked_worker
res = map_func(*arg)
File "/home/saxsax/svs/diff/data_gen/singing/binarize.py", line 167, in process_item
cls.get_pitch(wav, mel, res)
File "/home/saxsax/svs/diff/data_gen/tts/base_binarizer.py", line 201, in get_pitch
f0, pitch_coarse = get_pitch(wav, mel, hparams)
File "/home/saxsax/svs/diff/data_gen/tts/data_gen_utils.py", line 174, in get_pitch
f0 = np.pad(f0, [[lpad, rpad]], mode='constant')
File "<array_function internals>", line 5, in pad
File "/home/saxsax/miniconda3/envs/pytorch/lib/python3.9/site-packages/numpy/lib/arraypad.py", line 743, in pad
pad_width = _as_pairs(pad_width, array.ndim, as_index=True)
File "/home/saxsax/miniconda3/envs/pytorch/lib/python3.9/site-packages/numpy/lib/arraypad.py", line 510, in _as_pairs
raise ValueError("index can't contain negative values")

I think the comments in this part of the code says that this error is cause by some version problems of libraries.
Besides, I also found that cutting the end part of f0 when rpad is negative works, but I do not sure whether it is reasonable...

This is because the praat-prasemouth version not correct.
pip install praat-parselmouth==0.3.3 works for me.


ROX-16548: test latest sensor vs older central

Description
Add version compatibility tests for a central deployment one version behind the latest release vs latest sensor
Checklist

[x] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] ~Evaluated and added CHANGELOG entry if required~
[ ] ~Determined and documented upgrade steps~
[ ] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

If any of these don't apply, please comment below.
Testing Performed
The compatibility tests are now running as expected with the correct versions for sensor and central, see the latest run and attached screenshots. --set image.main.tag=, --version=, and --set image.main.repository= are now all being overwritten when necessary.  You can see that the test configurations are now labeled by sensor and central versions, and the tests with latest sensor and one version behind central are run as expected.

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests
Hopefully it will work now after the UI fix

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

So it seems that the problem that I've been struggling with is caused by helm lint not accepting the --version flag. It gives anunknown flag: --version Error and no build happens.
But the --version flag is actually correct, it works locally and also on CI when not calling helm lint. I see two ways to proceed here:

Figure out why helm lint does not accept --version by default and if there is a ways to make it accept it.
Take the --version="${CENTRAL_CHART_VERSION}"  arg out of helm_args and into a different variable that's appended at the end of the helm command, then don't add that one when linting. This one seems a bit dishonest though since we then are not linting the helm command that's actually run.

Since I'm out of time for today and will be on holidays for the next week I don't want to block you if getting this merged is a priority. If that is the case feel free to take it over @msugakov, otherwise I will continue when I'm back. Sorry for the inconvenience.

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

Looks like it's working correctly now, and I've confirmed in the build logs that it's installing the right versions

1 chart(s) linted, 0 chart(s) failed Calling: helm upgrade --install -n stackrox stackrox-central-services /go/src/github.com/stackrox/stackrox/deploy/k8s/central-deploy//chart                                -f /go/src/github.com/stackrox/stackrox/deploy/k8s/central-deploy//values-public.yaml -f /go/src/github.com/stackrox/stackrox/deploy/k8s/central-deploy//values-private.yaml --set-string imagePullSecrets.useExisting=stackrox;stackrox-scanner -f /go/src/github.com/stackrox/stackrox/deploy/common/ci-values.yaml --set system.enablePodSecurityPolicies=true --version=4.0.x-422-gcb9db07c4a Release "stackrox-central-services" does not exist. Installing it now. W0525 06:46:48.154593    3172 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ W0525 06:46:48.228417    3172 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ W0525 06:46:48.288535    3172 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ W0525 06:46:52.180990    3172 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ W0525 06:46:52.181273    3172 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ W0525 06:46:52.184985    3172 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ NAME: stackrox-central-services LAST DEPLOYED: Thu May 25 06:46:47 2023 NAMESPACE: stackrox STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: StackRox 4.0.x-422-gcb9db07c4a has been installed.

/test images
/test push-images
/test gke-version-compatibility-tests

/test images
/test push-images
/test gke-version-compatibility-tests

The tests are passing and it is now testing the latest version, not the latest release, thanks for pointing that out @msugakov

Looking at the build log it appears correct to me
1 chart(s) linted, 0 chart(s) failed
Calling: helm upgrade --install -n stackrox stackrox-central-services /go/src/github.com/stackrox/stackrox/deploy/k8s/central-deploy//chart                                -f /go/src/github.com/stackrox/stackrox/deploy/k8s/central-deploy//values-public.yaml -f /go/src/github.com/stackrox/stackrox/deploy/k8s/central-deploy//values-private.yaml --set-string imagePullSecrets.useExisting=stackrox;stackrox-scanner -f /go/src/github.com/stackrox/stackrox/deploy/common/ci-values.yaml --set system.enablePodSecurityPolicies=true --version=4.0.x-424-gf9a2748d4c
Release "stackrox-central-services" does not exist. Installing it now.
W0525 12:32:05.466984    3337 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0525 12:32:05.526625    3337 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0525 12:32:05.590588    3337 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0525 12:32:09.421559    3337 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0525 12:32:09.421672    3337 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0525 12:32:09.430160    3337 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
NAME: stackrox-central-services
LAST DEPLOYED: Thu May 25 12:32:04 2023
NAMESPACE: stackrox
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
StackRox 4.0.x-424-gf9a2748d4c has been installed.

 Here is the build log.  My son was just born on Saturday and I'll be off for the next 5 weeks. If the PR seems ready to you feel free to hit the merge button, or feel free to change small nitpicks if you have any left. Or if there's something bigger @fredrb might be able to help since we worked on compatibility together before. See you in October


Erase collection of non-consecutive nodes from vectors (issue #340)

useful for simplifying https://github.com/BlueBrain/nmodl/pull/230

I would feel a bit safer if we had a test specifically for this function and using as an example a StatementBlock but apart from this looks good to me

I would feel a bit safer if we had a test specifically for this function and using as an example a StatementBlock but apart from this looks good to me

I can try

I checked and the routine is already tested plenty of times in the sympy visitor tests. In the various tests it erases one, all and some of the elements of the statements vector with the sympy visitor. Thus, I do not think a specific test is required.


Does not work in Firefox at all

98.0.2 (64-bit)
Mozilla Firefox for Ubuntu

Is the typo in the article intentional?

I found a few really nice Houdini examples that use Pain API and decided to try to make something with it too.

https://ishoudinireadyyet.com/

Ok, understood.
Maybe it's possible to have a fallback to rounded corners? So the library will be readily usable across all browsers.

@alexey-milovidov it's possible to use a polyfill, but unfortunately it's now a 100% protection  https://github.com/PavelLaptev/squircle-houdini-css#use-css-paint-polyfill

Ok, understood. Maybe it's possible to have a fallback to rounded corners? So the library will be readily usable across all browsers.

You can use @supports
something like
  border-radius: 13px;
  @supports (background: paint(squircle)) {
     border-radius: unset;
     mask-image: paint(squircle); mask: paint(squircle); --squircle-radius: "13px";--squircle-smooth: 1;
  }

Just some more info, as I poked around with it today.
I'm using Firefox 109.0.1 and it's failing in this css-paint-polyfill code:
function parseCss(css) {
	let parent = styleIsolationFrame.contentDocument.body;
	let style = document.createElement('style');
	style.media = 'print';
	style.$$paintid = ++styleSheetCounter;
	style.appendChild(document.createTextNode(css));
	parent.appendChild(style);
	style.sheet.remove = () => parent.removeChild(style);
	return style.sheet;
}

It's throwing an error at the style.sheet.remove line, saying that style.sheet is undefined which doesn't make sense to me.


Replaced .bind(this) with anonymous functions.

Description
Using .bind(this) is the old school way of React!
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Please attach screenshots showing the change if relevant
Checklist (for submission)

[ ] Analytics/tracking events have been added (if needed)

Checklist (for reviewers)

[ ] Checked against Figma designs (if relevant)
[ ] Checked that data has been successfully saved to the backend (if relevant)

Out of scope and potential follow-up
Are there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

I love this! 😄


fix: DEV-2672: Comment author cell filter

Hi @Travis1282!
This PR was created in response to a PRs in upstream repo:

https://github.com/heartexlabs/dm2/pull/88

This doesn't make sense for OS.


chore: updated deps

:tada: This PR is included in version 1.10.95 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WIP replace ci_make invocations with ci_script

https://issues.redhat.com/browse/OSP-29266
WIP

/test pull-ci-openstack-k8s-operators-ci-framework-main-ansible-test

/test ansible-test

/test ansible-test

/test ansible-test

/test ansible-test

comparing the output from using the ci_make vs ci_script:
(from master branch):
#!/bin/bash
pushd /tmp/project_makefile
/usr/bin/gmake help
popd

(from this patch):
#!/bin/bash
set -euo pipefail

exec > >(tee -i /tmp/logs/ci_script_000_run_ci_make_without_any_params.log) 2>&1
pushd /tmp/project_makefile
/usr/bin/make help
popd

/test ansible-test

/test ansible-test

/test ansible-test

/test ansible-test

/test ansible-test

/test ansible-test

/approve
In order to be on the really safe side, this job may be triggered: cifmw-baremetal-nested-crc

OK @pablintino and @cjeanner let me see if i can touch the right files to make those run here

thanks @cjeanner and @pablintino for the suggestion to run those jobs.
i got cifmw-baremetal-nested-crc to run on this request by touching a file and it showed up a real issue.
problem was with the export in this file https://logserver.rdoproject.org/53/653/21cbcc104607c8db0203887a6855c3c910f012ab/github-check/cifmw-baremetal-nested-crc/eccc2ff/ci-framework-data/artifacts/ci_script_011_run_input.sh
export DATAPLANE_GROWVOLS_ARGS=/=8GB /tmp=1GB /home=1GB /var=8GB

I think we can solve that by making sure we add quotes to the value side of the export i.e.
export DATAPLANE_GROWVOLS_ARGS="/=8GB /tmp=1GB /home=1GB /var=8GB"

updating to do that now

check-rdo
        * https://review.rdoproject.org/zuul/buildset/14227ad805e64ac78879b61a8ea7dd56
        * Buildset resultFAILURE
        * failed: [localhost] (item=cainjector) => {"ansible_loop_var": "item", "changed": false, "item": "cainjector", "msg": "Exception '403\nReason: Forbidden\nHTTP response headers: HTTPHeaderDict({'Audit-Id': '2907c689-ad45-41d9-ad27-2078ad7cf291', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '', 'X-Kubernetes-Pf-Prioritylevel-Uid': '', 'Date': 'Tue, 23 Jan 2024 09:03:37 GMT', 'Content-Length': '1824'})\nHTTP response body: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"pods is forbidden: User \\\\\"kubeadmin\\\\\" cannot list resource \\\\\"pods\\\\\" in API group \\\\\"\\\\\" in the namespace \\\\\"cert-manager\\\\\": RBAC: [clusterrole.rbac.authorization.k8s.io \\\\\"system:webhook\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:oauth-token-deleter\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"self-provisioner\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:build-strategy-source\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"console-extensions-reader\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:public-info-viewer\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"basic-user\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"helm-chartrepos-viewer\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"cluster-status\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:build-strategy-jenkinspipeline\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:scope-impersonation\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:scc:restricted-v2\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:useroauthaccesstoken-manager\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:basic-user\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"self-access-reviewer\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"cluster-admin\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:build-strategy-docker\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:discovery\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:discovery\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:public-info-viewer\\\\\" not found]\",\"reason\":\"Forbidden\",\"details\":{\"kind\":\"pods\"},\"code\":403}\\n'\nOriginal traceback: \n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/dynamic/client.py\", line 55, in inner\n    resp = func(self, *args, **kwargs)\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/dynamic/client.py\", line 270, in request\n    api_response = self.client.call_api(\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 348, in call_api\n    return self.__call_api(resource_path, method,\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 180, in __call_api\n    response_data = self.request(\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 373, in request\n    return self.rest_client.GET(url,\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/rest.py\", line 244, in GET\n    return self.request(\"GET\", url,\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/rest.py\", line 238, in request\n    raise ApiException(http_resp=r)\n' raised while trying to get resource using (name=None, namespace=cert-manager, label_selectors=['app = cainjector'], field_selectors=[])"}
        * https://review.rdoproject.org/zuul/build/73b4a9bca5ee4d81b855f6734e1d66cb

check-rdo
        * https://review.rdoproject.org/zuul/buildset/14227ad805e64ac78879b61a8ea7dd56
        * Buildset resultFAILURE
        * failed: [localhost] (item=cainjector) => {"ansible_loop_var": "item", "changed": false, "item": "cainjector", "msg": "Exception '403\nReason: Forbidden\nHTTP response headers: HTTPHeaderDict({'Audit-Id': '2907c689-ad45-41d9-ad27-2078ad7cf291', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '', 'X-Kubernetes-Pf-Prioritylevel-Uid': '', 'Date': 'Tue, 23 Jan 2024 09:03:37 GMT', 'Content-Length': '1824'})\nHTTP response body: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"pods is forbidden: User \\\\\"kubeadmin\\\\\" cannot list resource \\\\\"pods\\\\\" in API group \\\\\"\\\\\" in the namespace \\\\\"cert-manager\\\\\": RBAC: [clusterrole.rbac.authorization.k8s.io \\\\\"system:webhook\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:oauth-token-deleter\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"self-provisioner\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:build-strategy-source\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"console-extensions-reader\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:public-info-viewer\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"basic-user\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"helm-chartrepos-viewer\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"cluster-status\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:build-strategy-jenkinspipeline\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:scope-impersonation\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:scc:restricted-v2\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:useroauthaccesstoken-manager\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:basic-user\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"self-access-reviewer\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"cluster-admin\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:build-strategy-docker\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:discovery\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:discovery\\\\\" not found, clusterrole.rbac.authorization.k8s.io \\\\\"system:openshift:public-info-viewer\\\\\" not found]\",\"reason\":\"Forbidden\",\"details\":{\"kind\":\"pods\"},\"code\":403}\\n'\nOriginal traceback: \n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/dynamic/client.py\", line 55, in inner\n    resp = func(self, *args, **kwargs)\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/dynamic/client.py\", line 270, in request\n    api_response = self.client.call_api(\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 348, in call_api\n    return self.__call_api(resource_path, method,\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 180, in __call_api\n    response_data = self.request(\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 373, in request\n    return self.rest_client.GET(url,\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/rest.py\", line 244, in GET\n    return self.request(\"GET\", url,\n\n  File \"/home/zuul/.local/lib/python3.9/site-packages/kubernetes/client/rest.py\", line 238, in request\n    raise ApiException(http_resp=r)\n' raised while trying to get resource using (name=None, namespace=cert-manager, label_selectors=['app = cainjector'], field_selectors=[])"}
        * https://review.rdoproject.org/zuul/build/73b4a9bca5ee4d81b855f6734e1d66cb

@marios did that error happen when running the cert-manager role, I've seen it a few times in the adoption jobs as well, but it's an intermittent thing

/lgtm
Thanks @marios, this was a tricky one to get in!

/lgtm

recheck

recheck

https://logserver.rdoproject.org/53/653/f0db458684e80f42d8f8741ed34951a5b0e0bb20/github-check/podified-multinode-edpm-deployment-crc/df6b8bc/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/configure-network-openstack-edpm-xkkmj/logs/openstackansibleee.log
fatal: [compute-0]: FAILED! => {"msg": "'ctlplane_cidr' is undefined. 'ctlplane_cidr' is undefined"}
Unrelated and this patch has had a green run before.

/approve
Either here or as a follow-up, it would be good to trigger BM job upon changes to ci_script.py or generate_make_tasks.py
You can add the needed files here: https://github.com/openstack-k8s-operators/ci-framework/blob/main/zuul.d/edpm.yaml#L52-L60

/approve
Either here or as a follow-up, it would be good to trigger BM job upon changes to ci_script.py or generate_make_tasks.py You can add the needed files here: https://github.com/openstack-k8s-operators/ci-framework/blob/main/zuul.d/edpm.yaml#L52-L60

I am going to rebase in prep for merge (and fixup a nit on readme i just notice) so adding this here and we can merge it

/lgtm


Bulb with Main & MCU v1.1.8 can not patched to OpenBeken

Hello,
I used the profile by Firmware and Version from chip.
I used bk7231n and Main & MCU v1.1.8
Version found in tuya App.
Exploit not working with that profile.
I read, that with lightleak I can try.
Profile "Standard" worked, I have a 2MB "flash.bin" from the bulb.
What are the next steps to make it possible to find the correct profile / or create the correct profile from dump_flash.bin?
Very good work and I am very happy for assistant.
Best regards, Marco

Attach the flash.bin here.

Which file ending should I used?
.bin are blocked?

either zip it up, or just add .zip to the end.

I add the binary. I will add a few information in a few minutes to the product.

Added as Tuya Generic Smart Wall Light v1.1.8, may take a few minutes to show up in the list.

Wow!
You need more information from me?
I will test it later... Is the profile automatically available or should I update / push / pull?
I used ./tuya-cloudcutter.sh

The script pulls the profile list from the API, but the APi takes a few minutes to refresh after a new item is added.  You don't need to pull anything.

Yes, you can review the data at https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/blob/31c77b945e7790f6b30648a1e103c54a8462edba/devices/tuya-generic-smart-wall-light-v1.1.8.json#L160 or https://upk.libretiny.eu/?profile=tuya-generic-smart-wall-light-v1.1.8

I have use this here
https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/blob/master/devices/tuya-generic-smart-wall-light-v1.1.8.json
Put in the OpenBeken WebApp import, reset bulb, but I can not get light from the bulb.

Ah, looks like that configuration came from the firmware and not from the storage (there was not a configuration in storage).  Sometimes the ones in the firmware are the demo configurations, and don't apply.
If nothing came on while testing all modes (cold/warm white, red, green, blue), you probably do not have a PWM light, but probably an LED driver.  Unfortunately, I can't be any further help, you'll probably need to inspect the device to find out what LED driver it has, and trace/guess what pins said driver is on.

I wonder, I press the button for "storage" in the lightleak android app, but I don't get a new file in path.
I have a "little" bigger binary file... Around 130kb... 2,13MB
Should it help?

Based on the firmware class of farylink_soc_hzs_5_light_15155, fary (or usually fairy), usually refers to RGBIC or WS2812b

I'm not sure if OpenBeken has RGBIC, I know ESPHome/LibreTiny is still incomplete.  Luckily, you can serial flash the original bin back, and then just cut it and use it with LocalTuya/TinyTuya as an option.

Mhh, serial cable... I think that is very very tiny chip...

That is a strange module, not a standard Tuya one, so I don't know what those gold pins would map to.  Are those 8 gold pins the only ones, or are there more undder the silicon?
There is a way to do it OTA, but you'll have to dissect your dump, get the app partition, and put it into the format needed for OTA for OpenBeken, I don't fully know that process, but they might be able to help you.  Again, that is if they don't have WS2812b/RGBIC support (I have no idea there).

Yeah, first look, no more big pins under the silicon.
I will try to remove the silicon.
The little chip is the bk7231N

On the other side on that lamp, there is a little sm15155e

That explains 15155 in the firmware name.
http://www.chinaasic.com/chipDetails/detail_273.html
Yeah, that looks like an RGBIC driver.  Assuming it's WS2812b based on the reference in the Tuya firmware, but not certain.  If not, I haven't found a specsheet for that specific driver.
We can see there is just one data pin based on how the module is soldered.

Under the white silicone, there a no more pins...

SM15155 on BK7231N PIN16


[BUG] Error on copy-paste skill chain

Step by step:

Copy existing chain

Paste it (guess it's because of 'Enabled' checkbox for the blank line)

Hit 'Escape' and try to unset 'Enabled' checkbox for the blank line - one more blank line added with 'Enabled' checkbox, error appear again

Fixed. The error resulted from disabling the active gem within a skill, which was being triggered in this case because the gem enable/disable state wasn't being preserved when copying and pasting skills (which is also fixed!).


fixed get /newCompany route and schema

I pulled it and checked it. somewhat arrow function complained in server.js.
so I changed mine
app.listen(process.env.PORT || 3000, () => {
to
app.listen(process.env.PORT || 3000, function() {
now it works. I won't push it yet.


CSS files imported into JS not clickable

VSCode Version: 1.27.2
OS Version: win 7

Steps to Reproduce:

import a css file into a js file
the css file is not clickable (cannot jump to file via ctrl+click)

Does this issue occur when all extensions are disabled?: Yes

@mjbvz , Can i work on this issue?

Tracked upstream by https://github.com/Microsoft/TypeScript/issues/15146


Add timestamps to drafts showing when last modified

Now that we've got this cool new drafts feature, I feel like it'd be useful to show when a given draft was last modified by the user, to help in triaging :)

@sampritipanda this one may be quick for you since you were just adding this feature :)

I think we should also sort it by updatedAt.

Yes, definitely.

As discussed in https://chat.zulip.org/#narrow/stream/design/topic/drafts, we should also probably start with you scrolled to the bottom, so the latest drafts are in view.

@zulipbot claim


Save in the BD

Hi, I need help
My problem is that upload field not save in the db
db:sqlite3
Atte Ernesto De Unanue T
PD Im sorry for my English

I too am a bit confused about wrapping the process with an ORM like ActiveRecord.  Before rolling my own curious if this is supposed to happen automatically.  Thanks!


validate_confirmation_of doesn't support 'with_message' option

Should allow with_message() option for validate_confirmation_of.
Eg. -
  it { is_expected.to validate_confirmation_of(:password).with_message('Password must be longer than 8 characters')

Done. :+1:


Lost 250 GB of Space

After installing Keybase i noticed that my free space of the disk has decremented enormously.
So i run df -h and I noticed a new partition of 250 GB !!!!!!! and I lost 250 GB of space on the Disk.
I uninstalled keybase, but the space has not been reclaimed.

That was not a new partition on your local drive. It is 250 GB of new space that we give you for free, that is stored in the cloud, not locally.

And why if I run df-h i see new partition
/dev/fuse       250G  1,0K    250G   1% /keybase
and the root partition is decremented by 250 GB
/dev/sda2       453G  371G     59G  87% /

The partition is on /dev/fuse, not one of your hard drive devices.  I have no idea what is using the space on /dev/sda2, but Keybase is not the one using it. You can run du -h -d 1 / to figure out which subdirs are using the space.

Thank you for the help!


Release Google.Cloud.RecaptchaEnterprise.V1 version 2.9.0

Changes in this release:
New features

Add an API method for reordering firewall policies (commit 3a8650e)

Documentation improvements

Update comment for AccountVerificationInfo.username (commit 7560af8)

Created release for Google.Cloud.RecaptchaEnterprise.V1-2.9.0


Standardize the implementation of the Color class in dart:ui on flutter and flutter_web

Currently the Color class when running on the web platform has extra toCssString and toCssStringRgbOnly members not present on the version of the Color class in the exposed analyzer summary for the Color class. This means that you have to write code like the following to write a class that implements Color.
The ideal solution is probably to remove these web specific methods from the Color class and write them as extension methods on the Color class.

Fyi @hterkelsen


create code for monte carlo localisation

I would like to create the code for monte carlo locatlisation and was wondering if anyone is currently working on that.
Also, please guide me the way you would like me to structure my work and how exactly would you expect the code to work.(what i mean is like would we require a simulation or just a code that can take inputs and give outputs but can do nothing unless the user provides information)


Replace use of unregister for deregister

As mentioned in Axon Framework issue 2456, the use of unregister is incorrect use of the English language.
Unregister may only be used if something was never registered to begin with.
All occurrences are, however, describing the removal of an existing registration, which should be called deregister instead.
This pull request resolve this predicament for the axonserver-connector-java project.

Unregister seems to be perfectly fine according to https://en.wiktionary.org/wiki/unregister


plugin breaks nested query

I love your plugin- this makes live much easier.
But, I do a nested dateQuery which gives no result when using the mongoose-find-by-reference-plugin
dateCondition = {
     "timestamps.createdAt": {
       $gte: startIsoDate,
       $lt: endIsoDate,
     },
   };

when removing the pluging, the query works.
So maybe check the referenced models at the schema and do the plugins magic only when targeting a referenced model...

checkout this testcase:
`"use strict";
const mongoose = require("mongoose");
const { Schema } = mongoose;
const assert = require("assert");
const { MongooseFindByReference } = require("mongoose-find-by-reference");
run().catch(console.error);
async function run() {
await mongoose.connect("mongodb://test:qq@localhost:27017/test", {
useNewUrlParser: true,
useUnifiedTopology: true,
});
await mongoose.connection.dropDatabase();
const userSchema = new Schema({
client: {
type: mongoose.Schema.Types.ObjectId,
ref: "Client",
},
timestamps: { createdAt: { type: Date } },
});
// userSchema.plugin(MongooseFindByReference);
const User = mongoose.model("User", userSchema);
await User.create({ timestamps: { createdAt: new Date("2022-07-04T09:18:07.647Z") } });
const users = await User.find({ "timestamps.createdAt": { $gte: new Date("1994-01-01T00:00:00Z"), $lte: new Date("2222-01-01T00:00:00Z") } });
assert.equal(users.length, 1);
console.log("Assertions passed.");
}
`

My plugin will turn your inquiries into:
timestamps: {
    createdAt: {
      '$gte': 1994-01-01T00:00:00.000Z,
      '$lte': 2222-01-01T00:00:00.000Z
    }
  }

When I first watched it, there seemed to be no problem, but I solved my doubts with this URL.
I was trying to solve it.

It has been fixed.

Thanks!
This works great.

Hello, I seem to be having this issue, but for a doubly nested query.
        let getDeals = Deal.find(             {             $and : [                 {                 $or:[                     { "customer.basicInformation.name": { "$regex": query, "$options": "i" } }                     ...
which looks like the plugin switches it to
{customer: { "basicInformation" {  "$regex": query, "$options": "i" } } }


num_cpus in parallelization?

Hi,
I have a pretty naive question. I notice that when I run the dmrg function on my laptop it makes use of multiple cores automatically (neat!). I'm now interested in running the same code on a server that has nodes/cores structure. Obviously it would be great to utilize all of the cores on a given node. I couldn't find where in the code this type of parallelization (e.g. num_cpus to use) is specified, so I was wondering if you might be able to point me to where this gets configured.
For reference, in my cluster job, I specify 1 node with 20 cpus, but it doesn't seem to run much faster than a 6 core desktop. It's possible the communication overhead eats into the speedup, but I would like to make sure I'm not missing easy parameters to tweak.
Thanks!

There are two possible sources of parallelization available in ITensors.jl, both external to the package right now. These are:

BLAS/LAPACK multithreading (through whatever flavor you are using, i.e. OpenBLAS or MKL).
The Strided.jl package, which implements a multithreaded array permutation.

The BLAS/LAPACK multithreading can be controlled in the usual way with environment variables, or within Julia. So for example, to control from Julia, you would do:
julia> using LinearAlgebra

julia> BLAS.vendor()  # Check which BLAS you are using
:mkl

julia> BLAS.set_num_threads(4)

julia> ccall((:MKL_GET_MAX_THREADS, Base.libblas_name), Cint, ())
4

julia> BLAS.set_num_threads(2)

julia> ccall((:MKL_GET_MAX_THREADS, Base.libblas_name), Cint, ())
2

(if you are using OpenBLAS, I think you would get the number of threads with ccall((:openblas_get_num_threads, Base.libblas_name), Cint, ()) but I haven't checked).
Alternatively, you can use environment variables, so at your command line prompt you would use:
~ export MKL_NUM_THREADS=4

if you are using MKL or
~ export OPENBLAS_NUM_THREADS=4

if you are using OpenBLAS. We would highly recommend using MKL (you can easily add MKL support to an existing Julia build with https://github.com/JuliaComputing/MKL.jl), especially if you are using an Intel chip. In general, we have not found MKL/OpenBLAS multithreading to help much in the context of DMRG, and I would be very surprised if it scaled to 20 cores. How well it scales would depend highly on the problem you are studying, and would require your calculation to be vastly dominated by matrix multiplications (which is not always the case, especially if you are using QN conservation).
Then, a separate level of mutlithreading could be turned on, which is native Julia multithreading. Right now in ITensors.jl, this would only control array permutation functions we use from Strided.jl. You would set it with the environment variable JULIA_NUM_THREADS, for example:
julia> Threads.nthreads() # By default it is probably off
1

Then if you set export JULIA_NUM_THREADS=4 at your command line, you would see the next time you start up Julia:
julia> Threads.nthreads()
4

Currently, we have not found that using that kind of multithreading has helped either, and I have seen it cause slowdowns, possibly because it is competing with BLAS multithreading (Jutho, the author of the package, is aware of those problems and it will hopefully improve in the future).
On top of that, we hope to incorporate our own multithreading with Julia's native multithreading capabilities, for example to parallelize over block sparse contractions. We have that implemented in the C++ version of ITensor, and it works very well (for certain problems, it did in fact scale up to 20 cores).

Great, thanks for the thorough response!


#1: molecule test environment improved

Pull created by bissquit at 2022-11-03T11:07:44Z

Assignee is {'login': 'ritka-admin'}


ls and rm don't pattern match well.

I'm using rshell and i change the current directory to remote board sd card.
when i type ls it lists the remote sd card. but when i type ls *.txt nothing is listed
/home/phil/git/rshell> cd /red_pyb/sd
/red_pyb/sd> ls
dir1/      dir2/      boot.py    main.py    b.txt      c.txt      output.txt text.txt
/red_pyb/sd> ls *.txt

how ever when i type  ls /red_pyb/sd/*.txt the pattern matches
/red_pyb/sd> ls /red_pyb/sd/*.txt
b.txt      c.txt      output.txt text.txt

similar for rm
/red_pyb/sd> rm *.txt
cannot access '*.txt': No such file or directory
/red_pyb/sd> rm /red_pyb/sd/*.txt
/red_pyb/sd> ls
dir1/   dir2/   boot.py main.py
/red_pyb/sd>

I'm unable to reproduce this on version 0.0.24.
I must have been making a Typo when this was effecting me.


Update bcprov-jdk15on to 1.68

Updates org.bouncycastle:bcprov-jdk15on from 1.67 to 1.68.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.bouncycastle", artifactId = "bcprov-jdk15on" } ]

labels: library-update

Superseded by #35.


[Fixes] Icons

[ ] that we do not have any more icons for countriy flags.
[ ] It seems like the following icons are the same: color vs colors, brand and model, start and arrival, check and check fill
[ ] Is there smth to replace Energy Class icon (attached in :threadplz:) (could it be replaced by Class?), car brand?
[ ] Holidays Garden icon seems to be missing, shall we replace it with Garden?
[ ] Mailbox closed/open Up seem to be missing, can they be replaced with Mail Open Fill and Mail Close Fill?
[ ] Error photo seems to be missing (attached)
[ ] Is there anything to replace Booster , Apparations (attached) ?
[ ] ProOutline does not really look outline :thinking_face:
[ ] We no longer have avatar image (attached), can it be replaced by profile

@MarinaRomanova @turolopezsanabria

Similar icons is because we have same icons for differents verticals. So Color is actually Car Color and Colors is Clothes Colors. But I can merge them to gain space/weight.
Energy Class is now Class
Holidays garden is missing we need to add it in the repo
Mail Open Fill and Mail Close Fill are the new Mailbox closed/openup
Error photo are now NoPhoto
I just made the Appearance and Booster icons (we need to add them in the Repo)
We don't have ProOutline but Pro Square or ProCircle in Figma
I just made the Avatar icon (we need to add it in the Repo)

@mathieuhervouetlbc For the Error photo we need a different one than NoPhoto as it is already used when there's no photo/image to get (like in ad details where there's no image) and Error Photo is used when we couldn't get or display the image (network error, server error or even the image is in a unsupported format)


JVM concat throws if one observable is a single

user> (def numbers (rx/from-coll (range 10)))
#'user/numbers
user> (rx/on-value numbers println)
0
1
2
3
4
5
6
7
8
9
#object[beicon.core$wrap_disposable$reify__264 0x79bd924e "beicon.core$wrap_disposable$reify__264@79bd924e"]
user> (rx/on-value (rx/reduce + 0 numbers) println)
45
#object[beicon.core$wrap_disposable$reify__264 0x2de5e902 "beicon.core$wrap_disposable$reify__264@2de5e902"]
user> (rx/on-value (rx/concat numbers (rx/reduce + 0 numbers)) println)
ExceptionInfo Invalid arguments.  clojure.core/ex-info (core.clj:4617)
user> (rx/observable? numbers)
true
user> (rx/observable? (rx/reduce + 0 numbers))
false
user> (rx/single? (rx/reduce + 0 numbers))
true

I am running beicon 4.1.0 with Clojure 8.0 and JVM 8.  I plan to send a pull request.

#31 Installed support for Flowable.  But it turns out that singles are not observables.  Such is the unfortunate design of RxJava2.  So glad we have beicon to deal with it!

yeah, is clearly a bug

I have pushed the commit https://github.com/funcool/beicon/commit/1fa973628f73e3258135e22fb1de94bcc1505b45 to approach this issue, let me know that you are think about it :D

My only comment is I liked the coercions being public.  It made using other parts of rxjava easy and smooth.  I do not see a reason to make them private.  Their functionality is well defined, and matches rxjava nicely.
(defn group-by-ob
  [f ob]
  (.groupBy ob (rx/as-function f)))

ok, i will make them public again.

thanks!

I think change does a good job of keeping the current approach intact of not trying to wrap the rx-java library into another set of abstractions which would just add a ton of weight and no value.  It is a hassle when these concrete class leak out, but it is the lesser of the evils IMO.  Thanks for the help!


Date Picker: No initial value shown, even if set.

Hello, I'm not sure if this is a bug or feature request, but I noticed (after jumping into development), that the examples in the docs do not display the initial date value inside the  tag that was set in the TypeScript (looking at the single date example for instance). I am doing reactive forms where initial or asynchronous values will need to be set programmatically and displayed, and not all values will be set with the datepicker itself. Is this intentionally set up this way with this functionality unwanted, or perhaps I've made a mistake and this functionality is currently possible (user error). I am able to use the date picker successfully with my form otherwise for dates that I set manually. Thanks!
https://aavanzyl.github.io/ngx-tiny/project/date-picker
Usage tab

@clintonmyers This looks like a bug, I will need to correct this and revert back to you, wont take too long :)
The expected behavior is when setting/changing a date, the display is update. It is updating when setting a new date from the UI, but not from the controller. Will sort this out for you asap

Thanks so much for the quick response!

@clintonmyers I have made the fix and published v10.0.1, please test and let me know if its working on your side as well.

@aavanzyl Yes, that fixed the issue. Thanks!

Actually, another note about this, the date picker isn't picking up my DatePickerOptions for my displayFormat on the initial load, only when I set it manually.

@aavanzyl, wondering if you had a chance to look into this yet? Thanks, again. Clint

@clintonmyers I have deployed version 10.2 to fix the issue you are referring to. Please test and let me know.

Thank you for the help @aavanzyl . Another developer on my team was able to use a short setTimeout to bypass the issue. I will remove the setTimeout and report back.

@aavanzyl The other developer told me that the update did not solve the problem when he removed the setTimeout. I'm going to continue to use the setTimeout for now. Thanks.

I have the same issue, but the value does not display at all when changing externally. I'm using the same example as the last one in the demo, initial value is always set to today and when I'm using two inline calendars with the same value, the other one does not update the view despite the source value is being updated.


Time picker without set and update

Can we have timepicker without set and update button

Having the set btn would be better in terms of validating the time value.


Option to opt-out of telemetry

Would you consider adding functionality to allow users to opt out of the telemetry gathering?

This is a good question. In an enterprise environment critical data is saved within the tool. So, opting out of telemetry is essential (or at least anonymizing that no conclusions can be drawn on persons/projects/companies/content).

Just added this with v5.0.0

Awesome! Thanks so much @keesschollaart81


Update enum_av.py

Works slightly faster.

@bongobongoland which OS versions and with which AV/EDRs did you test this with?

2008, 2012, 2016, 2019
ESET
Kaspersky
Defender
Acronis
Sophos

I have fixed the bug where the module wouldn't inform about non-detection.

Can you give some info on how this is slightly faster and by how much?
Marginally faster. 10% or so. We still have to rely on smb which is the bottleneck. @XiaoliChan will try to improve the speed ;-)

Marginally faster. 10% or so. We still have to rely on smb which is the bottleneck. @XiaoliChan will try to improve the speed ;-)

HMM, I also have no idea how to improve the speed, because I haven't use it before LOL

Marginally faster. 10% or so. We still have to rely on smb which is the bottleneck. @XiaoliChan will try to improve the speed ;-)

HMM, I also have no idea how to improve the speed, because I haven't use it before LOL

@XiaoliChan I mean you have ideas how to improve the speed of SMB

@XiaoliChan I mean you have ideas how to improve the speed of SMB

XD

@XiaoliChan I believe in you!

@XiaoliChan I believe in you!

Don't think we can do improvement in SMB connection, it's really heavy.

Hey, can you also rename the variable “k” to "doKerberos", this is better for human readable.

I'm working on the module to speed things up a bit more. It's still too slow.

Done.

@XiaoliChan I believe in you!

Don't think we can do improvement in SMB connection, it's really heavy.

I still believe in you. No matter what.

Shouldn't it be called not class CMEModule but NXCModule? :)

Shouldn't it be called not class CMEModule but NXCModule? :)

Yeah NXCModule is right

About the AV/EDR detection, I know that drivers rely on an altitude nulmber which is an integer value that identifies a driver and whom it belongs to: https://learn.microsoft.com/en-us/windows-hardware/drivers/ifs/allocated-altitudes#320000---329998-fsfilter-anti-virus
Looking at the range 320000 - 3299998 we would be able to list installed drivers only by requesting a registry key.
What do you think about that ?

About the AV/EDR detection, I know that drivers rely on an altitude nulmber which is an integer value that identifies a driver and whom it belongs to: https://learn.microsoft.com/en-us/windows-hardware/drivers/ifs/allocated-altitudes#320000---329998-fsfilter-anti-virus
Looking at the range 320000 - 3299998 we would be able to list installed drivers only by requesting a registry key. What do you think about that ?

I think it's a brilliant idea. I need to look into it. Because checking for a driver might be significantly slower than checking for a certain service.

Something I quickly noticed, some products are not in the list. For instance, CyNetDrv.sys from cynet isn't there.

Something I quickly noticed, some products are not in the list. For instance, CyNetDrv.sys from cynet isn't there.

Oh wow so that means the list is not updated! I'll take a look at it also :)

cylance is a different company :)
Cynet has 2 drivers: cdrv.sys and CyNetDrv.sys
Only minifilter drivers have altitude numbers.

Oh my bad, I wasn't fully awoken xD
Ok so altitude numbers are not useful unfortunately.

It is useful. Thanks for bringing it up. So far I can only see one product missing from the list. Other AVs\EDRs are pretty much all there.

For the time being, we'll keep the current LsarNameLookup method in place. But I'll keep the altitude method in mind.

Yeah but if you can list running services, there is no need of checking the altitude number aswell. That would just create more IOC's as we'll list both remote services and registry keys. Is it useful to list altitude numbers if you already can list services more accurately ?

The main problem i see with getting the altitude numbers is it has to be queried from the registry right? If so this would require admin privs and therefore kinda defeat the purpose of the module. If there is a way to query these values it would be a really good addition imo

Yes. that is true. You need admin rights. Personally, I have never ever used the module with lower privileges. Always use it as admin.
I like the altitude method because of two things:

it's more universal. in most cases you need only one number to identify a product regardless of its version. with services this can be tricky like in Cisco's EDR where every service has a version number in it's name (I did find a way to identify the product using services tho). You can't use LNL method to lookup partially.

it's faster than LNL. :)

@bongobongoland can you merge in the dev branch and add your changes to the new file in /nxc/modules/enum_av?

done. I think :)

done. I think :)

Did you push the changes? Looks to me as there werent any new commits

"bongobongoland wants to merge 5 commits into Pennyw0rth:develop from bongobongoland:main"
is that correct?


M3-65

It seems like the font color of the unselected should be darker and the background (maybe) should be lighter;
Current

From UI Kit


How to set custom timeout duration?

Describe the issue
I am hitting a timeout error when performing a put request.
I would like to tweak the timeout duration to be much more than 20 seconds.
Steps to Reproduce

Make a put request last more than 20 seconds.

Current behavior
The app crashes
ERROR aws.smithy.kotlin.runtime.http.engine.ktor.KtorEngine - throwing
java.util.concurrent.CancellationException: Timed out waiting for 20000 ms
	at aws.smithy.kotlin.runtime.http.engine.CoroutineUtilsKt$attachToOuterJob$cleanupHandler$1.invoke(CoroutineUtils.kt:39)
	at aws.smithy.kotlin.runtime.http.engine.CoroutineUtilsKt$attachToOuterJob$cleanupHandler$1.invoke(CoroutineUtils.kt:37)
	at kotlinx.coroutines.InvokeOnCancelling.invoke(JobSupport.kt:1457)

AWS Kotlin SDK version used
0.14.0-beta
Platform (JVM/JS/Native)
JVM
Operating System and version
Ubuntu 20.04.3 LTS

@AlexandreBrown is there anymore context around what you are trying to do that you can share? Or a minimal reproduction?
Is this a single put object request to s3 or is this part of some concurrent operation? Is it a large object?

@aajtodd Here is some code sample.
private suspend fun putS3(jsonRequest: SomeKotlinxSerializableDataClass) {
		val bodyJson = Json.encodeToString(SomeKotlinxSerializableDataClass.serializer(), jsonRequest)

		val putRequest = PutObjectRequest {
			bucket = outputS3Bucket
			key = "$outputS3Prefix/myfile"
			body = ByteStream.fromString(bodyJson)
		}

		s3Client.use {
			it.putObject(putRequest)
		}
	}

Was this something that worked before?
Need to dive into which timeout is triggering. To directly answer your question though it depends which timeout we are talking about, not all of them are configurable yet. Some of the HTTP ones are if you configure an http engine explicitly.
A large request shoudn't matter so this feels like a bug to me but need to reproduce.

@aajtodd Sometimes it doesn't work on first try, sometimes it works for 1 requeset but then the next one fails :
Saving predictions result to S3...
19:39:28.865 [DefaultDispatcher-worker-22] DEBUG httpTraceMiddleware - sdkRequestId: 00ae226d-e8cd-4372-8e09-2d95289bbe02; service: S3; operation: PutObject; - HttpResponse: 200: OK
Saving predictions result to S3...
19:39:28.940 [DefaultDispatcher-worker-22] ERROR aws.smithy.kotlin.runtime.http.engine.ktor.KtorEngine - throwing
kotlinx.coroutines.JobCancellationException: Parent job is Completed
Exception in thread "main" kotlinx.coroutines.JobCancellationException: Parent job is Completed; job=JobImpl{Completed}@24569dba

I've been able to reproduce this with a very large upload (1GB). The 20 sec timeout is coming from the retry middleware which is erroneously applying timeouts to the whole request (including upload time).
I'm a little surprised the size document you are dealing with is causing this though. I couldn't reproduce this under 500MB but that could also of course just be differences in upload speed or possibly if you have a highly concurrent environment the request is getting starved.


Proper assertions in MockDB

Use the appropriate assertion methods, conditionally removed from the standalone runtime.

Use the appropriate assertion methods, conditionally removed from the standalone runtime.

Thanks for this fix!!! Awesome to see other devs joining in !
Thanks again :)


how to use this pacakge

i have add this config on my ~/.minemacs.d/config.el
(use-package screenshot
  :straight (:host github :repo "donneyluck/screenshot")
  :config (setq screenshot-upload-fn "upload %s 2>/dev/null"))

when start emacs  press M-x
there is no function screenshot
i have read the source code screenshot.el
function screenshot is an autoload function
i don`t elisp how to load package.
so realy need your help
thanks for your time

Hello @donneyluck,
I've added the same snippet in my ~/.minemacs.d/config.el and I've got the desired behavior:

Try to launch Emacs with MINEMACS_DEBUG=1 emacs, maybe there is an issue in your config.el and it is failing silently.

ok thanks i will try it later


[Design] Address Arch Board Feedback from .NET/Python Reviews

[ ] follow up if there could be something labeled that is not text when thinking of naming for FieldText. Should this be FieldData or alternate naming? Otherwise property/model naming difference between languages is okay => https://github.com/Azure/azure-sdk-for-net/issues/13036
[ ] RequestedOn and CompletedOn should be renamed to TrainingStartedOn and TrainingCompletedOn => https://github.com/Azure/azure-sdk-for-net/issues/13034
[x] possibly add training duration - need to understand if this is something users want/need
[x] KC doesn't like submodels - should we brainstorm naming for the property/model here some more?
[x] KC didn't like CustomFormModel and preferred this to be something like TrainingResult
[x] For receipt samples conversion methods, throw exception instead of returning null => https://github.com/Azure/azure-sdk-for-net/issues/13000
[ ] Rename parameters FromUrl to FromUri =>https://github.com/Azure/azure-sdk-for-net/issues/13034
[ ] Rename parameter accessToken on CopyAuthorization.FromJson as the string contains more information => was pointed out by @ellismg after the meeting => https://github.com/Azure/azure-sdk-for-net/issues/13034
[ ] Reconsider options overload: => https://github.com/Azure/azure-sdk-for-net/issues/12701

Either remove FromUrl from the methods so we have 3 overloads from the same method
Remove the overload that takes options and add options as a parameter to stream and url methods

[ ] need to make sure we do support local file paths for containers

possibly add training duration

We would like to understand more if this is something the user will like to consume before implementing it. Because it will be an additive property, it won't be a breaking change, and therefore we decided not to implement it for P4.

KC doesn't like submodels - should we brainstorm naming for the property/model here some more?

The v-team looked into this and because there isn't a better proposal and UX Study showed that users could navigate the property, we decided to leave it as is

KC didn't like CustomFormModel and preferred this to be something like TrainingResult

v-team looked into this and decided to leave the name CustomFormModel and rename the training specific properties. At the same time, the name customForm is used in the FormRecognizerClient which helps the user understand which method to use and where the modelId comes from.

All remaining issues have an equivalent issue assigned to it, so closing this one


Selection colour of components with custom view models

Fist of all super editor is an amazing tool, thanks for creating it 🚀
User Behavior
I would like to be able to provide a selection colour for my custom components. For the view models provided by package the selection colour seems to be assigned inside a private function _applySelection in SingleColumnLayoutSelectionStyler, but other components do not change colour when selected.  (I also noticed horizontal ruler selection colour differs from the rest. Would be great to be able to override it)
Feature Value
It provides proper feedback to user that the element is selected.
Additional context
If this is achievable already in a different way please let me know 🙏

To make sure that we understand exactly what you're requesting, can you provide a specific UI goal that you're trying to achieve, and let us know what you've tried, and where you're getting stuck?
I understand there's a general desire for selection control, but it would be more effective to work from a specific goal.

I would like for the component to appear selected.
In my button component I added a SelectableBox that accepts selection and selection color.  Selection information  is provided from view model mirroring for example the HorizontalRulerComponent.  From what I found selection is assigned in SingleColumnLayoutSelectionStyler but only to 3 particular ViewModels (Text, Image and HorizotalRuler). I would like there to be a way to pass the information also to custom ViewModels.
  Widget build(BuildContext context) {
    return Stack(
      children: [
        Positioned.fill(
          child: SelectableBox(
            selection: selection,
            selectionColor: selectionColor,
            child: BoxComponent(key: componentKey, child: Container()),
          ),
        ),
        _buildButton(),
      ],
    );
  }```

<img width="577" alt="Button component that is selected but does not appear selected" src="https://github.com/superlistapp/super_editor/assets/13262745/b9406d86-ac5a-403f-b2a8-75d54ac0d243">

Button component that is selected but does not appear selected

@angelosilvestre can you look into this and see if we have an existing extension point for this? I thought we had mechanisms for 3rd party components to render a selection UI, but maybe not.

@matthew-carroll I don't think we have an easy extension point for this.
Our SingleColumnLayoutSelectionStyler looks specifically for TextComponentViewModel, ImageComponentViewModel and HorizontalRuleComponentViewModel.
Developers can add their own SingleColumnLayoutStylePhase to apply selection styling to custom components, but I think it is a lot of work to accomplish a simple task...
Maybe we could introduce something like SelectionAwareViewModelMixin, where we would expose the selection and the selection color. Any thought on this?

With this approach I was able to write a component with a custom view model with selection color support:
https://github.com/superlistapp/super_editor/assets/7597082/b6cf70d1-91b0-4a37-88ec-ab04add715e3

@angelosilvestre I noticed that there's a different selection color in your selectable button. Was that on purpose? Can that component use the standard selection color if it wants? Is the standard selection color obtainable from that component?

@matthew-carroll The SelectableBox automatically applies 50% opacity to the selection color.


Add DataImportCron and DataSource resources

/verified

This code is not fully integrated and in the product.
Add WIP and remove the verify label until we have it in testable code.


Business layer

Somehow I had missed the other reqs, almost all should be added. Working on popup effects soon and should have that done tonight.

A bug I am noticing is selecting a feature when in business mode crashes the app, presumably this is because the point features don't have all the same properties. Not sure if this bug will apply in the real app because points will be made to have the same vs the sample data or if this needs to be addressed somehow.

Ah yeah, that's something else to worry about. When you're on the "Businesses" layer, you can't click on map to select features but you can still select them via the search field. Maybe have map.js's selectFeature() for the map into one of the other layers if you're on the business layer? I'm assuming the crash happens there.

For me it actually crashes when selected via search, was that not happening for you?

For me it actually crashes when selected via search, was that not happening for you?

That's what I mean. When you're on the "Businesses" layer, there's no possible way to fire off selectFeature() by clicking on the map, but you can still do so via the search field, leading to the crash.

Also for showing econ layer when in comparison mode, is it fine to just switch the legend state to econ? This would let me pull in the same stops and not have to hardcode them into map, otherwise I would need to hardcode the econ fill information in map.js to only show in mini/comparison mode.

Sorry, I meant to write the Mobility layer, not Economic. And yeah, that'll be fine.


push your changes to GitHub (0.0.4 is the latest of 4 releases)

https://www.npmjs.com/package/mocha-teamcity-reporter says that latest release is 0.0.4, but on Github it's only 0.0.2. Please push your changes to GitHub

not relevant since v1.0.0 was introduced)


Saturate whites for color dodge

According to https://en.wikipedia.org/wiki/Blend_modes#Dodge_and_burn

Blending any color with white gives white. Blending with black does not change the image. The operation is not invertible due to possible clipping of highlights.

As was written, with an equality, blending with values > 1 produces strange results:
Base:

Blend:

Result (with opacity = 0.5):

Replacing the conditional in line 2 with: blend>=1.0:

Which is kinda cool, but still probably not what is wanted, as the color should saturate at white and opacity = 0.5 here means that at most a 50% grey should be added from the blended image. Finally with line 2 reading (blend>1.0)?1.0:... :

Which is how I believe the blending would work in photo editing software.

There are possibly other blend modes in this repo that don't account for values > 1, I can fix those two if you'd like. That is, if you agree that values > 1 should be handled.


Update 2020-05-04-dvc-3-years-and-1-0-release.md

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.
Please chose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Please do not merge, testing things out...

Ok, pre release is finally out and works https://pypi.org/project/dvc/#history


Add video->bitrate to delegate parameter

Add a new parameter to detectedThroughput delegate
Get the last known actual video rate in the delegate
Can better handle video quality in the delegate !

Alright I did the modification, tell me if it's ok to keep two delegates ;)


[Request-for-external] table 37 "Sales Line" - GetSKU()

GetSKU does not have a reference parameter for the SKU table. And the globale variabel is not protected var.
Can you change GetSKU as suggested in Ref #10827

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


EFS throughput mode

Hi-
Have you ever experienced bursting issues in EFS with Jenkins workplaces living there? I've opened an issue on another repo from what i've seen in the past.
It may be worthy to add the following to the aws_efs_file_system resource in main.tf:
throughput_mode = [var.efs_mode]
provisioned_throughput_in_mibps = [var.efs_provisioned_count]
and then add the corresponding variable options in variables.tf

Hello!
Thank you for commenting.  We have not experienced such issues, but it is a good idea to allow for this as an option, or perhaps default. I am investigating some options now. I'm thinking something like the following should work:
resource "aws_efs_file_system" "master_efs" {
  ...
  throughput_mode                 = var.efs_mode
  provisioned_throughput_in_mibps = var.efs_mode == "provisioned" ? var.efs_provisioned_throughput : null
}

variable "efs_module" {
  default     = "bursting"
  description = "The EFS throughput mode. Options are bursting and provisioned. To set the provisioned throughput in mibps, configure efs_provisioned_throughput variable."
}

variable "efs_provisioned_throughput" {
  default     = 1
  description = "The EFS provisioned throughput in mibps. Ignored if efs throughput mode is set to bursting."
}

What are your thoughts?

Hi,
Looks good - I'd just increase the default efs_provisioned_throughput to at least 3 (in the past, I've deployed it with 5.. which is about $35/mo for the EFS provisioned option).

Resolved with v2.2.0. Thank you!


When URL changes why destroy player vs keep using existing player and loadVideoById?

Hey, I was just wondering why with the url prop changing you choose to destroy the player and create a new one versus keep the existing player and load the new video using the loadVideoById method? I would imagine loadVideoById would be quicker, and if the video is fullscreen, it wouldn't reset the view.

There were a few pain points combining loadVideoById, and the player parameters passed into the component. loadVideoById sucks and completely ignores the autoplay parameter, so that param would have to be tracked internally, and at the time I took it out I was trying to match API compat with the regular iframe API
I'm not against trying to reintegrate it though, would definitely review any PRs for it!


Server Not Found

It seems the page is unable to load and it is showing the error Server Not Found

The Browser I use is Firefox.

sorry for delay, but fixed now

Bro

oh my bad, fixed now

Alright fixed


TASK [cloudera.cluster.os : Disable unnecessary services] - fails due to service missing

Hi,
While deploying CDP Private Base (without -t flag in ansible-playbook command) an error occurred:
failed: [host1.example.com] (item=ip6tables) => {
    "ansible_loop_var": "item",
    "changed": false,
    "invocation": {
        "module_args": {
            "daemon_reexec": false,
            "daemon_reload": false,
            "enabled": false,
            "force": null,
            "masked": null,
            "name": "ip6tables",
            "no_block": false,
            "scope": "system",
            "state": "stopped"
        }
    },
    "item": "ip6tables",
    "msg": "Could not find the requested service ip6tables: host"
}

Task:
TASK [cloudera.cluster.os : Disable unnecessary services]
task path:
 /root/.ansible/collections/ansible_collections/cloudera/cluster/roles/prereqs/os/tasks/main.yml
Temporary solution: (add line)
ignore_errors: yes
Permanent solution to implement:
Errors with services not present/not installed should be ignored.
Best regards,
Jacek Cieslak

"Temporarily" resolved in https://github.com/cloudera-labs/cloudera.cluster/pull/107


Not possible to define location of argv.json

VSCode Version: 1.40.1 (commit: 8795a9889db74563ddd43eb0a897a2384129a619) and insiders<PHONE_NUMBER>
OS Version: Ubuntu 16.04 - Linux x64 4.4.0-168-generic

Steps to Reproduce:

Start vscode with command line options --user-data-dir ~/.config/vscode --extensions-dir ~/.config/vscode/extensions
File argv.json is created in ~/.vscode instead of ~/.config/vscode

Does this issue occur when all extensions are disabled?: Yes
Does this issue occur on insiders version?: Yes

@hajdamak as a workaround, you can use portable mode (https://code.visualstudio.com/docs/editor/portable) and it should put this file at the location you provide, can you try that?

@bpasero Am I missing something? Doesn't portable mode require data directory to be placed inside VSCode directory? I just want to have setup that follows XDG spec where only applicaton config is in .config/vscode . VSCode itself is somewhere else.

@hajdamak we are using os.homedir() from node.js in the end which seems to pick up on these environment variables:

Posix: HOME
Windows: USERPROFILE

Can you not simply change this variable prior to launching VSCode as a workaround? This would even ensure that any code that wants to write into home directory would follow the path you specify.

@bpasero What do you exactly mean by changing os.homedir( )?
From my POV creating argv.json outsisde of --user-data-dir ~/.config/vscode seems like a bug.

Why it was closed?
Isn't it an obvious bug?

@hajdamak
Well technically it's not a bug, it's just a hardcoded path that annoys few users.
I subscribe to the xdg "ideology" as well so for linux I just made myself a handy wrapper, it still uses the classic ~/.config and ~/.cache ( assuming XDG_vars are read ) correctly.
#!/bin/sh
VSCODE_NON_COMPLIENCY_MITIGATION="$HOME/.local/share/code-fakehome"
HOME=$VSCODE_NON_COMPLIENCY_MITIGATION

if [ ! -d $VSCODE_NON_COMPLIENCY_MITIGATION ]; then
	mkdir -p $VSCODE_NON_COMPLIENCY_MITIGATION
fi
nohup /usr/bin/code > /dev/null 2>&1 &

Can you not simply change this variable prior to launching VSCode as a workaround? This would even ensure that any code that wants to write into home directory would follow the path you specify.

Incidentally this workaround doesn't work on Windows. Changing USERPROFILE results in the error "Failed to get 'appData' path".
I'm also perplexed as to why this was closed with no mention of why. Is it not considered a bug? Is it being addressed in another issue? Is VS Code reluctant to support directories other than the hard coded ones?
Giving any reason would be useful even if it might not be what I'd want.

https://github.com/microsoft/vscode/issues/3884

Write protecting your home directory also works. Overriding HOME requires a fair bit of setup because when you open the terminal inside vscode it uses the HOME that you passed to vscode. inb4 the dev team would rather make everything work with a custom home path instead of just following the XDG spec :rofl:. Looks like the file is only written on startup, so could also try a wrapper script that schedules deleting it using at shortly after start.

I've been wondering about this argv issue myself, and now I see why with the overwriting of HOME being offered as a solution. That's not a solution.
XDG defines two user-provided, system-provided separately, or sensible defaults for things being discussed.
$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. [...] a default equal to $HOME/.local/share should be used.
$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. [...] a default equal to $HOME/.config should be used.
My reading of argv.json says it's for user configuration, so that would go under XDG_CONFIG_HOME/code/argv.json as would anything configured with the --user-data-dir (at this time since VS Code doesn't offer proper XDG compliance).
Anything we can configure with --extensions-dir should be configured to go to XDG_DATA_HOME since these are just program data files that are easily re-downloaded from the internet. I'm not sure if the configuration of an extension goes with it but it wouldn't seem it should.
I'm just a new-ish user of code on Linux and frustrated by this lack of proper desktop protocol support.


I cannot use "control click" in VS code to access gdsfactory modules

I cannot use the "control click" method in VS code to access any of the gdsfactory modules. Can anyone give a little guidance for me? Many thanks!

2 things:
(1) Is the Python extension installed?

(2) Is your VSCode file pointing to the right Python environment? This should be at the bottom right of the editor. For instance, mine is called "layout" here (it's a conda environment but should also work with virtualenv)


Expand Memory docs and add examples

Try to thoroughly document unsafety of Memory and how it can be used
safely.
cc #1272

Oops sorry for merging a bit too quickly @sunfishcode, I've incorporated your feedback into https://github.com/bytecodealliance/wasmtime/pull/1360


Default encoding not working for EDMC < 3.5

Default encoding is giving an error
Traceback (most recent call last):
  File "plug.pyo", line 193, in load_plugins
  File "plug.pyo", line 94, in init
  File "C:\Users\jesme\AppData\Local\EDMarketConnector\plugins\DiscordPresence\load.py", line 151, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-10: ordinal not in range(128
)

This is probably what @Poneyy was talking about in https://github.com/SayakMukhopadhyay/EDMC-Discord-Presence/pull/15#issuecomment-584565492

str.encode() by default uses encoding, taken from sys.getdefaultencoding()

Fixed by 335af3f

actually fixed by https://github.com/SayakMukhopadhyay/EDMC-Discord-Presence/commit/20d661f98d6552bfced41aa7867dace3d0ac48ed


fix(auth): Inconsistent auth toggle defaults EE-1958

…fest and stacks

Closes https://github.com/portainer/portainer/issues/6406


upgrades: Remove unsupported partybus migrations

This change:

Removes all migrations that were present as of version 12.0.0. This
effectively makes 12.0.0 the minimum version that we could possibly
upgrade from.

Removes the now-unused schema migration tooling inside partybus. We
now exclusively use sqitch for managing our SQL schema.

Minimum upgrade version of 12.0.0

Removing these migrations makes the minimum version we can upgrade
from 12.0.0. We believe this is acceptable for a few reasons:

Chef Server 13 shipped with documentation indicating that the
minimum upgrade version was 12.17.5. Thus the real minimum version
we can upgrade from is already higher than 12.0.0.

https://github.com/chef/chef-web-docs/pull/2439

Chef Server 11 (Enterprise Chef) hit EOL on December 31, 2018

https://docs.chef.io/versions/#end-of-life-eol-products
https://blog.chef.io/end-of-life-announcement-for-chef-reporting-enterprise-chef-server-11-and-chef-analytics/

Co-authored-by: Marc Paradise<EMAIL_ADDRESS>Signed-off-by: Steven Danna<EMAIL_ADDRESS>

This looks good to me. I added a commit to remove OSC12 upgrade support (~2014); I can split that off if you'd rather merge this as a smaller change.

Thank you for resurrecting this work!
So from our docs site as long as we can do a stepwise update from Chef Server 11 or any Chef Server 12.x version, that is an acceptable path.
Upgrading from older versions to Chef Infra Server 13
=====================================================

**Upgrading from version between 12.0.0 - 12.17.15**

We recommend a stepwise upgrade:
1. Chef Infra Server < 12.17.15 -> Chef Infra Server 12.17.15
2. Chef Infra Server 12.17.15 -> Chef Infra Server 13

**Upgrading from Chef Infra Server 11**

We recommend a stepwise upgrade:
1. Chef Infra Server 11 -> Chef Infra Server 12.3.0
2. Chef Infra Server 12.3.0 -> Chef Infra Server 12.17.15
3. Chef Infra Server 12.17.15 -> Chef Infra Server 13


Update rubocop and enable for Travis build

Pins version to 0.42.x which aligns with the current Sufia versions for rubocop and rubocop-rspec.
Problematic methods were excluded in the rubocop_todo.yml so they could be tackled in future refactorings.
ping @cam156 this is a prelude to psu-stewardship/scholarsphere#598

@awead do the two commits really need to be separate?  Or is this an instance where squashing them would make sense?

@cam156 yeah, I'm going to squash them... I'm still working on it. Let me make a note.


Fix bug that lead to always using the fallback language, if available

There's a bug in the language selection algorithm that makes is always select the fallback if it exists. This commit adds a test fixture exposing the bug and fixes it.
Root cause is that continue is a no-op at the end of a loop, since it means "continue with next iteration of loop". You must have meant break instead :)

Coverage remained the same at 93.401% when pulling 339d664c87446816713b47b53dd5eeec1bf3b76e on ErwinJunge:fallback into e0a3f1e0678f6b7bf7681373264e8d37093cc647 on tatterdemalion:master.

@tatterdemalion I didn't bother creating an issue, if you need me to, please let me know and I'll do it.


Fix 'Permission denied' when creating docker.list file

Describe the proposed changes
Change to the documentation, in https://docs.docker.com/engine/installation/linux/ubuntulinux/
Project version
Docker docs.
Related issue
Related issue or PR in another project
Please take a look
Command was returning 'Permission Denied': "This is a known issue, when you use sudo in this fashion, it won't work right. That is because while the echo command is run as sudo, the >> for append tries to open the file target as a non-sudo user. That is where the permission issue is." See http://askubuntu.com/questions/185268/permission-denied-etc-apt-sources-list

I believe this is a duplicate of #283

It is, my mistake.


Create test helper for tls package

Simply initialize the Service and Ca settings based on the input used for tests.

Are there any follow up reviews proposed using this code?

Are there any follow up reviews proposed using this code?

No, I thought I needed it recently for one operator's functional test, but it's not needed. It's safe to close it. Have you noticed anything useful based on your question?

No use cases seem apparent at this stage.


After last Update - user.split is not a function

Hello.
After upgrading to version 1.5.0, the menu stopped working.
In driver logs, telegraph is such an error:
2020-02-07 00:27:21.510  -  [33mwarn [39m: telegram.0 (10439) TypeError: user.split is not a function
at sendMessage (/opt/iobroker/node_modules/iobroker.telegram/main.js:641:32)
https://pastebin.com/b65xwA7Y

Node.js = v8.15.0
JS controller = 2.2.8
Telegram adapter = 1.5.0

Wich message do you send?

Wich message do you send?

https://pastebin.com/f7C1QHiQ

Wich message do you send?

https://pastebin.com/f7C1QHiQ

Unfortunately I can't see which command is sent. I added in 1.5.2 debug information. Can you give me the logs with debug level?

This is debug info
https://pastebin.com/dpbmJz3c

error due to incorrectly transmitted user.
The user is transferred to the adapter in json format
user = {"firstName":"user1","userName":"user1111"}
but there must be an array or string:
['user1','user2'] or 'user1'


http://localhost:9200/_search works even after auth enabled

I have set up the following code:
curl -XPUT "localhost:9200/_auth/account" -d "{"authenticator":"index","username" : "testuser",    "password" : "test123",    "roles" : ["user", "admin"]}"
But even after this basic http://localhost:9200/_search works and does not ask for authentication.
Please help.

I think that you need to create constraints:
https://github.com/codelibs/elasticsearch-auth#content-constraints

thank you @marevol :+1: ,It works:)


Provide the whl package as part of the release assets

You recently released v1.0.3, but the whl file is missing in the release assets. Do you plan to add it soon? Or do you plan to update the documentation, to provide the build process?

sorry for the late reply. The whl is part of regular releases and will be provded for all releases.


[Suggestion] Add optional argument to tick()

An improvement to the scripting API would be the ability to use something like tick(10) to delay for 10 ticks instead of needing to repeat tick() 10 times

I didn't know you could move issues! Neat!


No container telemetry

Rancher Version:
1.2.0
Docker Version:
1.12.3
OS and where are the hosts located? (cloud, bare metal, etc)
AWS instances running CentOS 7.2
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Rancher single node with external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Start Rancher
Add a dedicated host
Add standalone container or stack with service
Open container details

Results:
Telemetry (CPU, memory etc.) is not displayed, widgets regularly try to connect but fail to display data
Expected:
Telemetry (CPU, Memory etc.) is displayed in real-time

Try a seperate server, I had no ends of issues with a server+host on the same machine.

@joehumphries I did use a dedicated host. I have updated my original comment to clarify

@nicholasdille Not sure. However in my experience the latest version seems to be far less stable and complete than 1.4.0. .Try going back to that and see if it happens. We have about 6+ environments and the two upgraded to 1.2.0 have been nothing but trouble in the last week for so.
I am rolling mine back to 1.4.0, where I have a prod env running pretty much untouched for months.

@joehumphries yeah, we are also not happy with 1.2.0 stability-wise. Good we're still in PoC.

Using ubuntu as the host OS fixes telemetry for container

@nicholasdille Ahh ok, we are using RancherOS. I feel they are just adding more and more features before the core platform is solid and robust, a common mistake. I question how some of this stuff I have seen passes the tests from 1.1.4.
I have set the current version to use across everything (our platforms) as 1.1.4 now.

@joehumphries we are a bit reluctant to pin to 1.1.4. We'd rather extend the PoC and create more issues

I know.. but time and resources..

@nicholasdille are you using upstream docker for the centos hosts? Also wondering if downgrading docker a point version or two fixes this?

Closing due to inactivity.  The graphs work in general so some actionable info about what's different about  your situation is needed, if this is still happening in the current release.