celery and django-celery version do not match,show syntaxError

Traceback (most recent call last):   File "manage.py", line 22, in <module>     execute_from_command_line(sys.argv)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line     utility.execute()   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/django/core/management/__init__.py", line 413, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/djcelery/management/commands/celery.py", line 23, in run_from_argv     ['{0[0]} {0[1]}'.format(argv)] + argv[2:],   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/celery.py", line 793, in execute_from_commandline     super(CeleryCommand, self).execute_from_commandline(argv)))   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/base.py", line 311, in execute_from_commandline     return self.handle_argv(self.prog_name, argv[1:])   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/celery.py", line 785, in handle_argv     return self.execute(command, argv)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/celery.py", line 717, in execute     ).run_from_argv(self.prog_name, argv[1:], command=argv[0])   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/worker.py", line 179, in run_from_argv     return self(*args, **options)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/base.py", line 274, in __call__     ret = self.run(*args, **kwargs)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/worker.py", line 194, in run     pool_cls = (concurrency.get_implementation(pool_cls) or   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/concurrency/__init__.py", line 29, in get_implementation     return symbol_by_name(cls, ALIASES)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/kombu/utils/__init__.py", line 96, in symbol_by_name     module = imp(module_name, package=package, **kwargs)   File "/home/www/miniconda3/envs/funasr/lib/python3.7/importlib/__init__.py", line 127, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import   File "<frozen importlib._bootstrap>", line 983, in _find_and_load   File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 728, in exec_module   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/concurrency/prefork.py", line 20, in <module>     from celery.concurrency.base import BasePool   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/concurrency/base.py", line 21, in <module>     from celery.utils import timer2   File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/utils/timer2.py", line 19     from kombu.async.timer import Entry, Timer as Schedule, to_timestamp, logger                    ^ SyntaxError: invalid syntax
my environtment show the same question
python 3.7.16
celery 3.1.26
django-celery 3.3.1
kombu 3.0.37
how to fix this problem

Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/djcelery/management/commands/celery.py", line 23, in run_from_argv
    ['{0[0]} {0[1]}'.format(argv)] + argv[2:],
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/celery.py", line 793, in execute_from_commandline
    super(CeleryCommand, self).execute_from_commandline(argv)))
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/base.py", line 311, in execute_from_commandline
    return self.handle_argv(self.prog_name, argv[1:])
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/celery.py", line 785, in handle_argv
    return self.execute(command, argv)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/celery.py", line 717, in execute
    ).run_from_argv(self.prog_name, argv[1:], command=argv[0])
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/worker.py", line 179, in run_from_argv
    return self(*args, **options)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/base.py", line 274, in __call__
    ret = self.run(*args, **kwargs)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/bin/worker.py", line 194, in run
    pool_cls = (concurrency.get_implementation(pool_cls) or
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/concurrency/__init__.py", line 29, in get_implementation
    return symbol_by_name(cls, ALIASES)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/kombu/utils/__init__.py", line 96, in symbol_by_name
    module = imp(module_name, package=package, **kwargs)
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/concurrency/prefork.py", line 20, in <module>
    from celery.concurrency.base import BasePool
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/concurrency/base.py", line 21, in <module>
    from celery.utils import timer2
  File "/home/www/miniconda3/envs/funasr/lib/python3.7/site-packages/celery/utils/timer2.py", line 19
    from kombu.async.timer import Entry, Timer as Schedule, to_timestamp, logger
                   ^
SyntaxError: invalid syntax

this is an unsupported package please migrate to django-celery-results and django-celery-beat

ok,thank you


[Enhance]: Copy the selected text to the link creation form

I'm submitting a

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Enhancement
[ ] Feature request
[ ] Documentation issue or request

Description
It is common to create a link on an existing text. The usual way to do it is to select the text to link and click on the button to create link.
The improvement that I propose is to check if there is a selected text and it is included in the form to create the link.
Version Information
ngx-editor: 3.3.0-rc.13
angular: 5.2.10

Browser

[x] Chrome - x.x.x
[x]  Mozilla Firefox - x.x.x
[x] Opera - x.x.x
[x] Microsoft Edge - x.x.x

I am sorry. I don't exactly understand the enhancement. Can you elaborate?

When we click on the button insert link, the form that is presented is the
same with a selected text that without it. I propose that if there is a
selected text it is copied in the form to create the link.
2018-05-02 7:12 GMT+02:00 Sibiraj<EMAIL_ADDRESS>
I am sorry. I don't exactly understand the enhancement. Can you elaborate?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sibiraj-S/ngx-editor/issues/112#issuecomment-385866756,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKCp8vX7L74AqY6JqLCAPbIQNqHYrXOjks5tuUAwgaJpZM4Tk6_W
.

If you want I can try to make the modification, although I am a novice in
angular this would be useful for me to learn.
2018-05-02 7:12 GMT+02:00 Sibiraj<EMAIL_ADDRESS>
I am sorry. I don't exactly understand the enhancement. Can you elaborate?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sibiraj-S/ngx-editor/issues/112#issuecomment-385866756,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKCp8vX7L74AqY6JqLCAPbIQNqHYrXOjks5tuUAwgaJpZM4Tk6_W
.

Exactly, that is. In my experience, most users fill everything with a
copy / paste from other sources, word processors such as Word.
When pasting as plain text, it is necessary to reacer styles and
links. That is why it is very useful to do so.
2018-05-02 10:23 GMT+02:00 Sibiraj<EMAIL_ADDRESS>
Oh that means if you have selected some text already, It could be filled
in the form's text field while opening it. rite?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sibiraj-S/ngx-editor/issues/112#issuecomment-385901319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKCp8iv-EJLgDozuTCL3kkoUyxhOgDjsks5tuWzrgaJpZM4Tk6_W
.

In other editors there is a button that allows copying as plain text. We
have solved this using angular, but maybe it is also an improvement to take
into account. We solve it like this:
HTML TEMPLATE
<app-ngx-editor #ngxEditor (paste)="onPaste($event)" [config]="config"
formControlName="texto">
COMPONENT
import { DOCUMENT } from '@angular/platform-browser';
constructor(@Inject(DOCUMENT) private document: any) {
}
public onPaste(e){
e.preventDefault;
e.stopPropagation();
let texto= e.clipboardData.getData('text/plain');
this.document.execCommand('insertText',false,texto);
return false;
}
2018-05-02 10:23 GMT+02:00 Sibiraj<EMAIL_ADDRESS>
Oh that means if you have selected some text already, It could be filled
in the form's text field while opening it. rite?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sibiraj-S/ngx-editor/issues/112#issuecomment-385901319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKCp8iv-EJLgDozuTCL3kkoUyxhOgDjsks5tuWzrgaJpZM4Tk6_W
.

I propose to add these changes in ngx-editor-toolbar.component.ts
import { Component, Input, Output, EventEmitter, OnInit, ViewChild, Inject } from ....
...
import { DOCUMENT } from  '@ angular/platform-browser';
...
constructor(@Inject(DOCUMENT) private document: any,
private _popOverConfig: PopoverConfig,
....
buildUrlForm(): void {
const text = (this.document.getSelection()).toString();
this.urlForm = this._formBuilder.group({
urlLink: ['', [Validators.required]],
urlText: [text, [Validators.required]],
urlNewTab: [true]
});

More simplex using Utils.saveSelection():
buildUrlForm(): void {
const text = (Utils.saveSelection() || '').toString();
this.urlForm = this._formBuilder.group({
urlLink: ['', [Validators.required]],
urlText: [text, [Validators.required]],
urlNewTab: [true]
});
return;
}

Ok. Thanks.

🍻

Sorry for the big delay. I am not working with angular anymore nor I don't have the time. I do stuff at the the spare time I get. Finally Fixed in v5.alpha.9.


Update silencer-lib, silencer-lib_2.13.6, ... to 1.7.17

About this PR
📦 Updates

com.github.ghik:silencer-lib
com.github.ghik:silencer-lib_2.13.6
com.github.ghik:silencer-plugin

from 1.7.10 to 1.7.17
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.ghik" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.ghik" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #254.


Provide shortcut methods for add cookie in {Request, Response}Headers Builder

Motivation:

Provide a way to conveniently add Cookies using {Request,Response}HeadersBuilder.
Issue #3388.

Modifications:

Add cookie method to RequestHeadersBuilder.
Add setCookie method to ResponseHeadersBuilder.

Result:

Users can easily set cookie and set-cookie header using these shortcuts.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Could you also add getters that return Cookies to HttpHeaderGetters and its subtype?

Cookies

Could you also add getters that return Cookies to HttpHeaderGetters and its subtype?

Could you check it?
And how do you think about move cookie and setCookie setter to HttpHeadersBuilder? I think that's more natural than split it to request builder and response builder because we already make a getter in HttpHeaderGetters. How do you think about it? 🤔

Cookies

Could you also add getters that return Cookies to HttpHeaderGetters and its subtype?

Could you check it?

Sorry. HttpHeaderGetters is also used for an HTTP trailers which is not commonly used for cookies.

Could you add the getters to ResponseHeaderGetters and RequestHeaderGetters?
I think we don't use setCookie() for the getter name. How about using cookies() for both ResponseHeaderGetters and RequestHeaderGetters.

And how do you think about move cookie and setCookie setter to HttpHeadersBuilder? I think that's more natural than split it to request builder and response builder because we already make a getter in HttpHeaderGetters. How do you think about it? 🤔

setCookie is only used for an HTTP response header. It is not suitable for HttpHeadersBuilder. Because HttpHeadersBuilder can be used for a request headers, a response headers and a response trailers.


CY8CKIT_064S0S2_4343W: Correct PKCS#11 build

CY8CKIT_064S0S2_4343W: Correct PKCS#11 build
Description
Errors in afr.mk that is causing MTB Windows builds to fail.
Signed-off-by: Raymond Ngun<EMAIL_ADDRESS>Checklist:

[x ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks


cargo test --all ignores different feature sets for different members in a workspace

Hello, here is a minimal example for this issue.
https://github.com/alekseysidorov/rust_bugs/tree/master/cargo_test_all
Core crate toml:
[package]
name = "core"
version = "0.1.0"
authors = ["Aleksey Sidorov<EMAIL_ADDRESS>
[dependencies]

[features]
default = []
crazy = []

First dep toml
[package]
name = "dep_first"
version = "0.1.0"
authors = ["Aleksey Sidorov<EMAIL_ADDRESS>
[dependencies]
core = { path="../core", features=["crazy"] }

Second dep toml with different features
[package]
name = "dep_second"
version = "0.1.0"
authors = ["Aleksey Sidorov<EMAIL_ADDRESS>
[dependencies]
core = { path="../core"}

And try to run cargo test --all in workspace root.
cargo test --all --verbose
   Compiling core v0.1.0 (file:///Users/aleksey/develop/rust_bugs/cargo_test_all/core)
     Running `rustc --crate-name core core/src/lib.rs --crate-type lib --emit=dep-info,link -g --cfg 'feature="default"' --cfg 'feature="crazy"' -C metadata=39d9f125bda27c50 -C extra-filename=-39d9f125bda27c50 --out-dir /Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps -L dependency=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps`
     Running `rustc --crate-name core core/src/lib.rs --emit=dep-info,link -g --test --cfg 'feature="default"' --cfg 'feature="crazy"' -C metadata=e54347fe71e91065 -C extra-filename=-e54347fe71e91065 --out-dir /Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps -L dependency=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps`
   Compiling dep_second v0.1.0 (file:///Users/aleksey/develop/rust_bugs/cargo_test_all/dep_second)
   Compiling dep_first v0.1.0 (file:///Users/aleksey/develop/rust_bugs/cargo_test_all/dep_first)
     Running `rustc --crate-name dep_second dep_second/src/lib.rs --emit=dep-info,link -g --test -C metadata=da6a2289e18e3cde -C extra-filename=-da6a2289e18e3cde --out-dir /Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps -L dependency=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps --extern core=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps/libcore-39d9f125bda27c50.rlib`
     Running `rustc --crate-name dep_first dep_first/src/lib.rs --emit=dep-info,link -g --test -C metadata=a681b278103164c3 -C extra-filename=-a681b278103164c3 --out-dir /Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps -L dependency=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps --extern core=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps/libcore-39d9f125bda27c50.rlib`
     Running `rustc --crate-name dep_first dep_first/src/lib.rs --crate-type lib --emit=dep-info,link -g -C metadata=f059f03ca4bbbcf6 -C extra-filename=-f059f03ca4bbbcf6 --out-dir /Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps -L dependency=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps --extern core=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps/libcore-39d9f125bda27c50.rlib`
error[E0425]: unresolved function `core::i_am_normal`
 --> dep_second/src/lib.rs:9:9
  |
9 |         core::i_am_normal();
  |         ^^^^^^^^^^^^^^^^^ no resolution found

error: aborting due to previous error

Build failed, waiting for other jobs to finish...
error: Could not compile `dep_second`.

Caused by:
  process didn't exit successfully: `rustc --crate-name dep_second dep_second/src/lib.rs --emit=dep-info,link -g --test -C metadata=da6a2289e18e3cde -C extra-filename=-da6a2289e18e3cde --out-dir /Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps -L dependency=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps --extern core=/Users/aleksey/develop/rust_bugs/cargo_test_all/target/debug/deps/libcore-39d9f125bda27c50.rlib` (exit code: 101)

It seems that the core has not been rebuilt with the feature set for second dependency

Due to the way Cargo's architected right now, this is going to be extremely difficult to fix, if at all. In general though this is where Cargo requires crates to have features be additive for them to be composable.

There's two problems here:

Not enough documentation telling the user that features are additive and trying to use them in any other way will only result in pain and suffering. There are many crates out there that don't respect this, including -sys crates that use features to choose how a given native library is compiled.
There isn't any system in cargo that allows for non-additive configuration of a dependency, thus causing people to incorrectly use the closest thing they can, which is features.

@alexcrichton

Due to the way Cargo's architected right now, this is going to be extremely difficult to fix, if at all. In general though this is where Cargo requires crates to have features be additive for them to be composable.

May be then introduce virtual crates for that?
For example if crateX has Cargo.toml like this:
[breaking-features]
change_everything = []

And if somebody enable change_everything feature for crateX,
then cargo add to dependency tree not "crateX", but crateX\0change_everything,
and other all cargo code works as previous?

We ran into this as well, but totally with open source deps
Here is a concrete minimal example
One crate in workspace
[package]
name = "eitherwrap"
version = "0.1.0"
authors = ["Nipunn Koorapati<EMAIL_ADDRESS>
[dependencies]
either = "1.1"
itertoolswrap = {path = "../itertoolswrap"}

Second crate in workspace
[package]
name = "itertoolswrap"
version = "0.1.0"
authors = ["Nipunn Koorapati<EMAIL_ADDRESS>
[dependencies]
itertools = "0.6.0"

If you alternate between running cargo test in each of the crates separately, it forces a rebuild each time because of the difference in features (itertools requests no-default-features from either).
nipunn-mbp:featuresworkspace nipunn$ cd eitherwrap/ ; cargo build ; cd ..
   Compiling either v1.1.0
   Compiling itertools v0.6.2
   Compiling itertoolswrap v0.1.0 (file:///Users/nipunn/src/rust_play/featuresworkspace/itertoolswrap)
   Compiling eitherwrap v0.1.0 (file:///Users/nipunn/src/rust_play/featuresworkspace/eitherwrap)
    Finished dev [unoptimized + debuginfo] target(s) in 1.67 secs
nipunn-mbp:featuresworkspace nipunn$ cd itertoolswrap/ ; cargo build ; cd ..
   Compiling either v1.1.0
   Compiling itertools v0.6.2
   Compiling itertoolswrap v0.1.0 (file:///Users/nipunn/src/rust_play/featuresworkspace/itertoolswrap)
    Finished dev [unoptimized + debuginfo] target(s) in 1.49 secs
nipunn-mbp:featuresworkspace nipunn$ cd eitherwrap/ ; cargo build ; cd ..
   Compiling itertools v0.6.2
   Compiling itertoolswrap v0.1.0 (file:///Users/nipunn/src/rust_play/featuresworkspace/itertoolswrap)
   Compiling eitherwrap v0.1.0 (file:///Users/nipunn/src/rust_play/featuresworkspace/eitherwrap)
    Finished dev [unoptimized + debuginfo] target(s) in 1.42 secs
nipunn-mbp:featuresworkspace nipunn$ cd itertoolswrap/ ; cargo build ; cd ..
   Compiling itertools v0.6.2
   Compiling itertoolswrap v0.1.0 (file:///Users/nipunn/src/rust_play/featuresworkspace/itertoolswrap)
    Finished dev [unoptimized + debuginfo] target(s) in 1.30 secs

We have a workspace with 70 crates in it.
The dependency crates we are using do have additive features, but it causes the code to recompile.
Our CI effectively has a loop which effectively runs
for crate in workspace:
    cd crate ; cargo test ; cd -

Since some random subset of our crates ask for either with features and some don't, running tests for all crates forces us to recompile deps repeatedly, which hurts. Especially since itertools is such a low level dep, it's tough. Our CI feels a lot of pain recompiling the same libraries many times.
Looking at our log, for a workspace with 70 crates, we have to recompile itertools 10 different times (which kicks off a chain of recompiles)
Any advice on how to improve the situation?

I think if we included the hashes of all the deps into the metadata for the compiled library, that would improve our problem. At least then the deps would get compiled a max of 2 times in our case, rather than back-n-forth
To illustrate, here are the commands for itertools in the two cases (added newlines for readability and redacted some absolute paths)
Running `rustc --crate-name itertools itertools-0.6.2/src/lib.rs
--crate-type lib --emit=dep-info,link -C debuginfo=2
-C metadata=4ed3e3cf3bc8df3d -C extra-filename=-4ed3e3cf3bc8df3d
--out-dir target/debug/deps
-L dependency=target/debug/deps
--extern either=target/debug/deps/libeither-f93178e8a5af0b1d.rlib
--cap-lints allow`

vs
     Running `rustc --crate-name itertools itertools-0.6.2/src/lib.rs
--crate-type lib --emit=dep-info,link -C debuginfo=2
-C metadata=4ed3e3cf3bc8df3d -C extra-filename=-4ed3e3cf3bc8df3d
--out-dir
target/debug/deps
-L dependency=
target/debug/deps
--extern either=target/debug/deps/libeither-4dcab0f19fb09534.rlib
--cap-lints allow`

I don't believe the metadata for itertools should be identical in these two cases because they are clearly linking against different versions of libeither (compiled with different features)
This won't help the cargo test --all issue, but it does seem closely related.

Here is the repro I was working with https://github.com/nipunn1313/cargoissue3620

If this is about mutually exclusive features, should we close this in favor of #2980
Marking as "propose to close" just so we don't lose track of this in case no one comes back with clarification on that.

I think this is more like a general usability issue of feature unification, such as #4463.
I believe the documentation is way better than it was in 2017, which now it even talks about mutual-exclusive features.
https://github.com/rust-lang/cargo/issues/5210 is an issue looking into this problem from the other way round. Should we close all of them and point to #4463 or #2980 instead?

I think we should merge all of the feature unification issues.  Its something I was already planning on doing as part of my sweep through the issues but you are welcome to it.

close as per discussion above


KMP algorithm for pattern searching

Is your feature request related to a problem? Please describe.
KMP algorithm is used for pattern searching .
we used pattern searching in our daily life for any file search in our Desktop sytem,
we used in google search also example of pattern search
Describe the solution you'd like
I implemented KMP algorithm in C++ language with example how its actually work
Plz assign me this issue to contribute me

sir, please assign this issue to me


Reexport FFI functions that were made private for no reason

This change is

We either make them public again, or we need massive changes in cocoa, which I was only trying to update to get rid of more bitflags duplicate versions.

@bors-servo r+

:pushpin: Commit e7d15ea has been approved by jdm

:hourglass: Testing commit e7d15ead28fdaabd4b90884071ebb6e98c590a78 with merge 956f58d595acaa67a564e379cc116bcdf3cec7b3...

:sunny: Test successful - status-travis
Approved by: jdm
Pushing 956f58d595acaa67a564e379cc116bcdf3cec7b3 to master...


Error while pulling collection: Modal was not registered with the app

Expected Behavior
When Pulling a Collection, it should work correctly.
Actual Behavior
The following error shows, and the collection is not pulled:

I tried more times and now it just keeps spinning but doesn't work
Reproduction Steps

Have a collection
Be unable to pull or push, for some unknown error
Delete collection
Try to pull collection again

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
Team id: team_4f09017da485413f8d62e849b64d8b71
Collection: Payment Gateways
I had been unable to pull or push to that collection for some months now. I only now tried this to fix it.
Other collections work well
Insomnia Version
2022.2.1
What operating system are you using?
macOS
Operating System Version
macOS Monterrey 12.3
Installation method
Download from insomnia.rest
Last Known Working Insomnia version
No response

Will do!

We are having the same problem

We are having the same problem

@DanielSoCra we ended up contacting their support email, and fixed it by deleting the collection from my insomnia data directory


Fancy Zone: Setting to change area size between two zones were both zones are targeted (for mouse only use)

In Fancy Zones you can now snap to any number of zones in FancyZones holding Shift+Ctrl while dragging a window.
You can also snapp to two zones, when you move the cursor between these two zones.
Wish:
I would like to be able to adjust the size of this 'snap to both zones'. I imagine the control as similar to the 'Space around zones' setting, were you can change the size by just typing the value in a text box.
Why is this useful?
I use fancy zones mainly with the mouse, therefore, I try to avoid using the keyboard. This 'snap to both zones' area enables me to use multiple zones with just the mouse.
But deepening on the screen resolution and number of zones I feel the wish to change the 'snap to both zones' area size. It's sometimes too small. But I think others may like it relatively small, like now. Therefore, it would be great to be able to adjust the size of the 'snap to both zones' area.

Closing this in favor of https://github.com/microsoft/PowerToys/issues/6437
The PR to implement this feature is currently under review https://github.com/microsoft/PowerToys/pull/6554


Windows Desktop App Editing Time Entry - Date Issue

A user has reported that when they edit time entries through the desktop app and change the date on an entry, the entry takes on the date of the day before the actual date.
When the issue was reported the user was on Win 7, in the process of our correspondence they upgraded the laptop and the OS to Win 10, they have a fresh install and the same thing happens.
We've checked with the user if their Toggl timezone setting matches their device timezone - the user confirms that it does.
Backoffice shows that the users' latest known location was "Dallas, Texas, US" and that their time zone is "Australia/Adelaide" - I've asked about this, the user travelled to Dallas earlier this year but is now in Australia, not sure if this can be the cause of the issue (latest known location not updating in our system to his current location when he traveled back to Australia).
Case: 672501
I've asked the user to select a different timezone, save the change, then change back to the correct timezone and save again to see if that will somehow affect things, but no result.
Version: [Latest Stable, released at (05-03-2018)]  7.4.122
Let me know if you need anything else.

Probably his timezone changes isn't what's causing this. I'm facing the same issue.
OS: win10
Toogl version 7.4.184 stable
Timezone: UTC -3 Brazil


replace the exact version requirement for DNSClient with a from requirement

replaces the exact version requirement for DNSClient with a from requirement, as described in #331 .

thanks for merging! i suggest tagging a patch version 7.8.1, as this should allow SPM users who are also using the DNS library to use a newer version.


Why texture on plane is displayed as a mirror image of texture on mesh?

I'm following the E05, and i found that issue.

Go to the material being used by the flat preview "Map" GameObject.
Set the following:
Tiling: X: -1 Y: 1
Offset: X: 1 Y: 0
Also, for future reference, the offset part only needs to be set because the TextureWrapMode of the texutre being used is set to TextureWrapMode.Clamp (see the TextureGenerator.TextureFromColourMap method).


UI lags significantly when selecting folders in the left panel with a large library

i was using a library of 1000~ songs when noticing the issue

This has been around for a while. FYI to whomever picks it up: it has to do with how the middle view is filtered. It currently does a recursive check on each song to see which ones belong to the treeview's selected items, but there's clearly some inefficiency there.


METRON-795: Install Metron REST with Ambari MPack

Contributor Comments
This PR adds the metron-rest module to the Ambari MPack.  This can be tested by building the rpms and mpack and spinning up full-dev-platform.  Once the ansible script has finished, navigate to "Ambari > Services > Metron" and there should be an additional "Metron REST" component in the Summary.  The "Quick Links" tab will have a link to the REST Swagger UI that should be functional if the service is running.  All the Ambari lifecycle commands should work.  I also tested starting/stopping the service with the "service metron-rest start/stop" commands and verified Ambari correctly reports status.
I ran into an issue with rpmlint complaining about missing chkconfig calls:
The package contains an init script but doesn't contain a %post with a call to
chkconfig

I believe this is benign because Ambari managements the REST application lifecycle but I can't figure out how to suppress them yet.  Also considering adding a couple lines to the metron-rest README that references the MPack install path.  Credentials for the REST app are "user/password" (will also add that to the metron-rest README).
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron (Incubating).
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root incubating-metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
bin/generate-md.sh
mvn site:site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommened that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

Just merged in master and pushed changes out to address the feedback so far.
One question I have:  which account should this service run as?  My assumption would be the "metron" user but then we would likely need to update the permissions in HDFS which may be out of scope for this PR.  As it stands now it runs as root but I don't think this is correct.  Thoughts?

@merrimanr I'm pretty confident that is going to collide unpleasantly with https://github.com/apache/incubator-metron/pull/518 (The MPack should function in a kerberized cluster).
I haven't thought through the details, but do you think it's potentially sufficient to make this component optional (cardinality 0+, rather than 1)?  It's an extra step for the user, but it's only selecting it on the component list.  At that point, we say the REST API + UI is only supported on non-kerberized clusters (which is true anyway), and we (hopefully) don't break Kerberizing the core components.

"confident this PR", not "confident that".  In retrospect, it sounds like I'm referring to your last comment, not just in general.

Just pushed out a commit that runs the REST service as the metron user and added configurable log and pid directories.
@justinleet, I tried setting cardinality 0+ and changed the component to a Slave.  While this did make it optional, it feels a little awkward for it to be listed as a 1/1 Slave component and the quick link no longer works.  Still not sure how we handle this.  I see 3 options:

we hold this PR up until the REST kerberos work is done
we include it but document that it's not supported in a kerberized environment
we continue investigating ways to make it optional

@merrimanr , do I understand correctly that the problem is:

metron-rest should be a service, not a slave
but as such, if it isn't installed the Metron as a whole says it isn't completely installed, because metron-rest is specified as a  of Metron.
Then it seems metron-rest should be a service dependent on Metron, but not vice versa.
Have you tried putting metron-rest at the  level as a peer to Metron, in that same metainfo.xml file?

That's a really good idea @mattf-horton!  I think that would work but It's probably a moot point now.
The PR that kerberizes the REST application will be going up soon so making it optional won't be necessary anymore.

@merrimanr , since METRON-859 / PR#535 just went in, will this be going in too?  Thanks.

Matt,
METRON-795 is ready for review but it's substantial and I imagine it will
take some time to make it through the process.
Ryan
On Wed, Apr 26, 2017 at 7:33 PM, Matt Foley<EMAIL_ADDRESS>wrote:

@merrimanr https://github.com/merrimanr , since METRON-859 / PR#535
just went in, will this be going in too? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-metron/pull/500#issuecomment-297578633,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATCeLGmodIWjOjP9V43l1vv0eCjzUmdks5rz-JQgaJpZM4Mu6Qz
.

I was able to run this up in a nonkerberized cluster, and then set up Kerberos.  Mostly things worked, but I spun out two tickets from this, METRON-909 and METRON-910.
909 is an entirely separate bug (one of the Storm calls references METRON_HOME and fails).
910 is more relevant, and could potentially be solved here if we want, but the REST API can't hit the Kafka endpoints in a Kerberized cluster, because of the user not having Kafka ACLs setup.
I'm not inclined to consider either of these blockers for getting this in (since they're preexisting), however, I would like to see if anyone has any other opinions.

@justinleet, METRON-909 and METRON-910 have both been addressed in the latest commit.

The Ambari example you gave worked perfectly.  Should be good for a review now.

+1 pending Travis, thanks for taking care of the various comments and fixes here.

This is the best.  I just tested my new rest functions through it, and it was awesome.  Great job

Thanks @ottobackwards!


Reformulate to new Gufe Structure

check base classes and refactor them to new gufe!

@RiesBen let's discuss what this entails in our meeting on monday.


is it possible to search keyword within webview?

Hello,
I have not a issue, but a question.
Is it possible to search for a user-defined keyword within the contents of the webview like the search functions in browser?

Closing due to inactivity. Please provide a reproduction / PR and we'll investigate 👍


Add Bader for charge analysis

I missed the bader stuff in the requirements. However, it is of course not a python code and cannot be traced by the requirements and dependabot.  Afterwards I checked if there is a new version and I initiated a conda-forge feedstock update (https://github.com/conda-forge/bader-feedstock/pull/2)
There are some compile errors I did not yet fix.
Thus, I will just merge the old version into cmti env this week if I do not manage to build the new one and we may update once the new version is on conda-forge.

@niklassiemer can this be merged?

Sure, I forgot to check the update here...


PCR values do not match those at build time

The PCR values we receive in the token do not match those generated at eif build time.

All of the PCRs are zero except PCR[4].
According to: https://docs.aws.amazon.com/enclaves/latest/user/set-up-attestation.html
PCR[4] is the hash of the parent instance. this is not very helpful.
If I disable --debug-mode=true when launching the enclave, PCRs 0, 1, 2, and 4 are non-zero. It looks like (but I've found no documentation on it) that in debug mode, the PCRs are mostly zeroed out.
The PCRs I am seeing in the token with Debug mode disabled match the values I'm seeing at eif build.
I think this answers the question. I'd like to find where this is documented, though.

Found the documentation here: https://docs.aws.amazon.com/enclaves/latest/user/getting-started.html

Enclaves booted in debug mode generate attestation documents with PCRs that are made up entirely of zeros<PHONE_NUMBER>00000000000000000000000000000000000000).


Flow diagram overview of all stages of webpack

For people coming into making plugins a flow diagram of the webpack process would be invaluable, e.g:
Compiler -> (All pipelines, parse, compile, optimize and order in which they happen) -> Emit

cc @TheLarkInn

I ended up here from a google search for: Webpack flow diagram.   Even for regular users trying to configure webpack (not only plugin developers), having a flow diagram would be very helpful to get a big picture view of how webpack works.  This is needed because it's really unclear to beginners (and maybe to non-beginners too!) how webpack, babel, loaders, plugins, code in config files, etc. relate to each other and what happens when.
Unfortunately, the usual ways that newbies can figure out what's going on don't work well with webpack:

running webpack under the debugger is not helpful in understanding data flow because so many calls are async. You can't look up the call stack and understand what's going on because the call stack is like a tiny, incomplete window into the overall data flow.
using search in GitHub to search the webpack source code for a particular option is also challenging because so much webpack code lives in different npm packages, so you need to search across all of GitHub instead of looking in just one package.

For example, today I'm trying to debug sourcemap generation in my React app. I have a node_modules sourcemap (e.g. /node_modules/foo/dist/index.js.map) that refers to another sourcemap with a relative URL (e.g. ../src/bar.js.map). One of my node_modules dependencies emits sourcemap URLs using the default, namespaced format, e.g. webpack://foo/../src/index.js. This format is not being handled properly by source-map-loader. But source-map-loader doesn't seem to be run for every map file. So now I need to figure out what part of webpack (including all loaders and plugins, notably including source-map-loader and babel) is transforming URLs like webpack://foo/../src/index.js into the URLs bundled in the final bundle's merged sourcemap. It sure would be easier if there was a guide that would show me where those sourcemap URLs were being transformed!

I ended up here from a google search for: Webpack flow diagram. Even for regular users trying to configure webpack (not only plugin developers), having a flow diagram would be very helpful to get a big picture view of how webpack works. This is needed because it's really unclear to beginners (and maybe to non-beginners too!) how webpack, babel, loaders, plugins, code in config files, etc. relate to each other and what happens when.

lol I did the same. Most diagrams are manyfileshere -> *magic* -> bundle.js

Here is the screenshot from Sean's talk

Here is one flow diagram here as well
These are the top-level diagram. A detailed diagram is not available as of now I guess


Feature request: Price alerts

Hi,
Would it be possible to add support for the BEST coin?
https://www.coingecko.com/en/coins/bitpanda-ecosystem-token
Also, would it be easy to implement price alerts?
E.g. indicating price alerts on the graph by a horizontal line would already be nice.
Then, alerting the user somehow if an alert was triggered would be a plus.

Increased the number of page results that coingecko returns so it should show the BEST coin now in the v1.4.6 release
The price alerts feature is something I'd love to implement but don't have enough time. Always open to accepting pull requests.

Basic alert functionality has been added and available on the main branch.

Closed by https://github.com/miguelmota/cointop/commit/cba53fe5d40d74c11daa68b172b282cbce9117c5

@miguelmota I can't find the documentation/shortcut about how to configure/view price alerts

The help menu is always available at '?' key.

show_price_alert_add_menu
A toggle_price_alerts

But yes, this feature is not well documented.


[IMPROVE] Realtime counters

This PR will add real-time growth counters to this project.

In addition to that, I have created .env.development to add defaults for some variables.
Vars defined in .env.local will eventually override the vars defined in .env.development
Since real-time counters need to fetch API that uses auth, some vars need to be defined in .env.local
RC_HOST=
RC_USER_ID=
RC_PERSONAL_ACCESS_TOKEN=

The personal access token should belong to a user with view-statistics permission
Fixes #2

Thanks for another great contribution  (another full-stack component!)
Please add the standalone harness/template for data fetch in your next PR 🙏


Change user-agent string for release

Currently controller logs show it still reports v2.0.0-dev:
INFO Not scaling RC webbed-traverse-v2-cmd in Namespace webbed-traverse to 0 replicas. Already at desired replicas
<IP_ADDRESS> "POST /v2/apps/webbed-traverse/config/ HTTP/1.1" 201 242 "Deis Client v2.0.0-dev"
<IP_ADDRESS> "GET /v2/apps/webbed-traverse/config/ HTTP/1.1" 200 230 "Deis Client v2.0.0-dev"
<IP_ADDRESS> "GET /v2/apps/webbed-traverse/ HTTP/1.1" 200 173 "Deis Client v2.0.0-dev"

https://github.com/deis/controller/blob/master/rootfs/deis/__init__.py

@helgi yes this needs to be done in the controller as well, but I think @mboersma is referring to https://github.com/deis/workflow-cli/blob/7283e7c775938e0f61e9670515ef62d1fdab0076/version/version.go#L4

@bacongobbler @mboersma do you think it's worth pulling the version into a linker flag?

https://github.com/deis/workflow-cli/blob/master/version/version.go#L11 is already a linker flag. We just need to use this variable for the user-agent string.


fix: remove unneeded created_by selector from K8S service

https://github.com/ansible/eda-server/issues/858
Remove the unneeded created-by: eda selector from the created service, so it has valid endpoints in the list, like:
» kubectl get endpoints -n aap-eda
NAME           ENDPOINTS                             AGE
aaa            <IP_ADDRESS>:5555,<IP_ADDRESS>:4444   4h59m
bbb            <IP_ADDRESS>:5555                     8m22s
eda-api        <IP_ADDRESS>:8000                     5h9m
eda-postgres   <IP_ADDRESS>:5432                     5h9m
eda-redis      <IP_ADDRESS>:6379                     5h9m
eda-ui         <IP_ADDRESS>:443                      5h9m

@hsong-rh, Top notch thanks for the quick work and your time!!!!
I can confirm, however failed to place in the ticket; that removing the selector tag as mentioned in OP, does infact enable kubernetes to create the endpoint.


AWS profile support

I work with many AWS accounts everyday and exporting my AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY every time I is not plausible.  Adding --profile NAME support would make this tool usable.

Duplicate of #33. Fixed by 999c979c4559f. It will be in release 0.0.14


sinkv2(cdc): fix some bugs about pull-based sink

Signed-off-by: qupeng<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #5928
What is changed and how it works?
Fix some bugs about pull-based sink, introduced in some latest PRs.
Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/merge

/merge

/run-engine-integration-test


HiMapKeys doesnt seem to work

I am using Neovim v9.0.1
I am trying to unset all default keys.
In ~/.config/nvim/lua/core/plugins_config/vim-highlighter.lua, I have the following:
vim.cmd([[
  let HiMapKeys=0
]])

Hitting f and <CR> still triggers the default for HiSet. Am I missing something?

Hi, I think that's the correct setting.
Could you try the following code to see if that part of the code is actually called?
vim.cmd([[
  let HiMapKeys=0
  echomsg "==Here=="
]])

And then we can check it using :mes[sage] command, after restarting or opening another nvim.

And the desired sequence is to set this variable 'HiMapKeys' somewhere at startup, so that it can be referenced later when the  plugin is actually loaded.

Typing :mes, returns:
All parsers are up-to-date!
==Here==

And the desired sequence is to set this variable 'HiMapKeys' somewhere at startup, so that it can be referenced later when the plugin is actually loaded.

Does this mean it should be in the nvim after directory?

Looks good!  It means that now we only need to adjust the loading order.
It needs to be set before loading the plugin. So can we try setting it somewhere else before loading the plugin?
And if you prefer Lua, you can also use the following line:
vim.g.HiMapKeys = 0

Perfect! That works!

Great!  I hope you find this tool useful. 😄 Thanks!


Remove implicit sized bound on device generics

The generic is only ever accessed through a reference and so it doesn't have to be sized.
Signed-off-by: Klim Tsoutsman<EMAIL_ADDRESS>

I want to do something like so:
impl smoltcp::phy::Device for dyn Nic {}

where Nic is my own trait.


Incompatible with sodium 0.5.0

Describe the Bug
[20:13:09] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/render/chunk/data/ChunkRenderData$Builder (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/render/chunk/data/ChunkRenderData$Builder)
[20:13:09] [main/WARN]: @Mixin target me.jellysquid.mods.sodium.client.render.chunk.data.ChunkRenderData$Builder was not found flywheel.mixins.json:instancemanage.SodiumChunkRenderDataMixin from mod flywheel
[20:13:09] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/render/chunk/tasks/ChunkRenderRebuildTask (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/render/chunk/tasks/ChunkRenderRebuildTask)
[20:13:09] [main/WARN]: @Mixin target me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask was not found flywheel.sodium.mixins.json:ChunkRenderRebuildTaskMixin from mod flywheel
Reproduction Steps
Install flywheel and sodium
Expected Result
No mixin errors
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
N/A
What is your GPU?
N/A
Mod Version
0.6.9
Minecraft Version
1.20.1
Loader Version
0.14.21
Other Mods
No response
Additional Context
No response

also ive noticed in game many non full blocks like chest and bells have a lot of Z fighting with flywheel and sodium 0.5.0

Developers from create-fabric have stated that the issue is known and exploring more wouldn't help with a fix, that's fine, but can someone who knows what this issue is enlighten the rest of us possible contributors?
I don't see why if you know what the issue is you'd hold it instead of adding it as information to the issue for someone else to work on.

Sodium 0.5.3 is out! Is sodium is working now with flywheel and create??

Without support for newer sodium (0.5.3, ect) this mod is unfortunately not usable for modern minecraft. Sad that this hasn't been fixed yet : (

acording to @PepperCode1 once bc4fd1e is merged it will work

It seems to me that https://github.com/Jozufozu/Flywheel/commit/bc4fd1e95524347ae851b67bd80b0185e7bef8b9 is merged to 1.20/dev and 1.20/fabric/dev. Are we waiting for a Create build to verify the fix?

It seems to me that bc4fd1e is merged to 1.20/dev and 1.20/fabric/dev. Are we waiting for a Create build to verify the fix?

it isn't in 1.20/fabric/dev.

it isn't in 1.20/fabric/dev

My bad, I saw a merge commit from 1.20/dev to fabric and assumed 😅

it isn't in 1.20/fabric/dev

My bad, I saw a merge commit from 1.20/dev to fabric and assumed 😅

https://modrinth.com/mod/create-fabric-sodium-fix use this for now

Has there been any progress on the Fabric patch for this?

hello
Any progress on the official sodium 0.5 patch?
The unofficial fork seems to be poorly optimized, so much so the game becomes almost unplayable whenever i start actually building things.
Can you estimate how long the development's gonna take?

I can attest to this I have had a lot of crashes with this fix.


Foundation css

Find a css template that fits into a brain and plays well with whitespace.  Or just NIH to start off.

Some to look in to:
Reset
Pure
PocketGrid
Skeleton
Semantic UI


Windows 98 fell into black screen after start screen

I find a interesting project https://github.com/felixrieseberg/windows95 which wrap v86 into electron recently. And I forked the repo and want to make it work for windows98(https://github.com/liudonghua123/windows98), But after some modifications this app did not always work as expected. It did work some times, but it fell into black screen after the start screen more times, I went through the code but could not found the problems.
I really hope my project could works so I wrote this issue here, hope someone could help me to fix this problem, anyone could try this app via downloading it on https://github.com/liudonghua123/windows98/releases/tag/v1.3.0

https://drive.google.com/file/d/1lAE9sl-acN4vc3_ovFZKU9oaHHTtC0gG/view
i was trying to reboot windows 98  and i wont reboot it just stays at the screen saying windows is shutting down


64bit register interface

I am looking at setting default regwidth=64 and implement a 64bit register bank for a processor I am using.
When I set the regwidth=64 there are two additional signals added to the decoder, I can't find doco as to how these are to be hooked up, is there any?
The additoinal signals are shown below, how do I use them?
h2d_pio_dec_trans_size
d2h_dec_pio_trans_size

The interface allows access of different sized registers in the address space (max range is 1 to 16 times the min_data_size value).   Default min_data_size is 32b, so in your case with a max reg width of 64b, 2 values are allowed (if all regs are same size, the input can be tied off).   The d2h_dec_pio_trans_size output indicates the size of the register at the specified address and can be used to detect an error where say a 32b write is attempted on a 64b reg.  See https://github.com/sdnellen/open-register-design-tool/wiki/SystemVerilog-IO-descriptions#parallel-processor-interface for more info.


OpenAPI NonBodyParameter replacement?

I upgraded to Swashbuckle v5, and was trying to update a project that uses the Microsoft.AspNetCore.Mvc.Versioning. It uses an operation filter like such:
 public void Apply(Operation operation, OperationFilterContext context)
        {
            var apiDescription = context.ApiDescription;

            operation.Deprecated = apiDescription.IsDeprecated();

            if (operation.Parameters == null)
            {
                return;
            }

            // REF: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/412
            // REF: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/413
            foreach (var parameter in operation.Parameters.OfType<NonBodyParameter>())
            {
                var description = apiDescription.ParameterDescriptions.First(p => p.Name == parameter.Name);

                if (parameter.Description == null)
                {
                    parameter.Description = description.ModelMetadata?.Description;
                }

                if (parameter.Default == null)
                {
                    parameter.Default = description.DefaultValue;
                }

                parameter.Required |= description.IsRequired;
            }
        }

With SwaggerDocument no longer used in v5, I couldn't find a NonBodyParameter equivalent in OpenAPI model.
Can anyone tell me the appropriate class to use for that in OpenAPI?

In OpenAPI v3, body parameters are split out into a separate property called RequestBody. So, I think you may be able to remove OfType filter entirely as all values in the collection are "non-body"

Yup, it did work w/o the OfType. However, the OpenAPI doesn't allow you to set a default value. I think the MS API Version maintainer will have to setup the API versions as a OpenAPI options list value, and then pick the default. I punted on this for now, and just went with version-in-url pattern.

Yup, it did work w/o the OfType. However, the OpenAPI doesn't allow you to set a default value. I think the MS API Version maintainer will have to setup the API versions as a OpenAPI options list value, and then pick the default. I punted on this for now, and just went with version-in-url pattern.

How did you change your code with RequestBody?

	// Overwrite description for shared response code
	operation.Responses["400"].Description = "Invalid query parameter(s). Read the response description";
	operation.Responses["401"].Description = "Authorization has been denied for this request";

I found that for a successful response, the "operation.Responses" dictionary only contains an item for "200".
So I think a slightly more defensive code is needed, like this:
            // Overwrite description for common response codes
            var statusBadRequest = StatusCodes.Status400BadRequest.ToString(CultureInfo.InvariantCulture);
            if (operation.Responses.ContainsKey(statusBadRequest))
            {
                operation.Responses[statusBadRequest].Description = "Invalid query parameter(s). Read the response description";
            }

            var statusUnauthorized = StatusCodes.Status401Unauthorized.ToString(CultureInfo.InvariantCulture);
            if (operation.Responses.ContainsKey(statusUnauthorized))
            {
                operation.Responses[statusUnauthorized].Description = "Authorization has been denied for this request";
            }

This may be relevant
https://github.com/Microsoft/aspnet-api-versioning/issues/429

So not cool that you decided to break everything


Version 1.52 does not work with fish shell -- redirection problem

OS: Pop_os! 20.04 (similar to Ubuntu)
VSCode version:  1.45.1
Extension version: 1.52
Toolchain version: rustc 1.45.0-nightly (a74d1862d 2020-05-14)
Build target: nightly-x86_64-unknown-linux-gnu (default)
Python version:3.8.2
Shell:  fish
When I start the debugger with F5, it gets an error in the terminal:
<<>>  /home/jmurray/.vscode/extensions/vadimcn.vscode-lldb-1.5.2/adapter/codelldb terminal-agent --port=43223
fish: Expected a command, but instead found a redirection
<<>>  /home/jmurray/.vscode/extensions/vadimcn.vscode-lldb-1.5.2/adapter/codelldb terminal-agent --port=43223
This did not happen on 1.50 or 1.51.

Checking for updates and installing v1.5.3 fixed this for me!


Template for directive 'rzslider' must have exactly one root element. rzSliderTpl.html

I have added the minified JS and CSS versions to my project and I am trying to execute the demo example:
 <rzslider rz-slider-model="minSlider.value"></rzslider>
However i get the following error:

http://errors.angularjs.org/1.4.5/$compile/tplrt?p0=rzslider&p1=rzSliderTpl.html

Error: $compile:tplrt
Invalid Template Root
Template for directive 'rzslider' must have exactly one root element. rzSliderTpl.html

I am not a very experienced webdeveloper and it might be something really simple, however I cannot find anything to help me correct it. Any help would be appreciated! Thank you and regards.

Hi @lirad, welcome!
Where did you take the minified version from? NPM? Directly from this project sources?
Here's a minimal working demo if it can helps: http://jsfiddle.net/cwhgLcjv/

Hello @ValentinH. I managed to make it to work adding the 'rzSliderTpl.html' file to the angular-slider folder and setting the 'templateUrl' to use an absolute path instead of relative one.
Thank you so much for this project and for your support.
Best regards,

You should not have to do this. Just using the dist files should be fine.


reading TAP data from stdin

Just updated tap to 10.something  Running on windows 10.  Node v4.4.7
Running npm test on log4js project at https://github.com/nomiddlename/log4js.git
I get: Reading TAP data from stdin (use "-" argument to suppress)
does this just mean I need to update package.json scripts test to have "-"?

Update: just added - to end up test script:
  "scripts": {
    "clean": "find test -type f ! -name '*.json' ! -name '*.js' ! -name '.eslintrc' -delete && rm *.log",
    "lint": "eslint lib/ test/",
    "prepush": "npm test",
    "commitmsg": "validate-commit-msg",
    "posttest": "npm run clean",
    "pretest": "eslint lib/**/*",
    "test": "tap 'test/tap/**/*.js' -",
    "coverage": "tap 'test/tap/**/*.js' --cov",
    "codecov": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
  },

but tap still pausing waiting for stdin

issue seems to be the single quotes surrounding the path spec
whats the correct cross platform way to do this?

Reading TAP data from stdin (use "-" argument to suppress) will happen if no tests are run. Since you had single quotes before, glob (internally) wasn't working as intended (it would unpack in the shell before passing to tap) and thus tap wasn't finding your tests. Since you switched to double quotes, the full string ("test/tap/**/*.js") gets passed to tap and tap can now find your tests.


Remove the line number in logging statements (it is very expensive)

and replace with calling thread.
Quote from the javadoc:

WARNING Generating caller location information is extremely slow and should be avoided unless execution speed is not an issue.

:+1:


Issue : Black Jack

If you bet and lose everything it still shows you have money.

That's intentional.


Add test for size-based threadhold

Resolved by https://github.com/Chase-Camerer/Threadster/commit/3cbee32529bc5ce6e9736e4c81f911790e7bf56d


moranthomas_181120_102007.094

Type: Incorrect
Summary:
VALID test
Details:
test
Resolution:
test
Affected definitions:

shellany 2.6.0

You can review the change introduced to the full definition at ClearlyDefined.


Implement pagination in sql with testing

Description
Implement pagination in sql with testing
Status

[ ] Changelog updated
[x] Ready to go

Thanks!


Enable Travis publishing of gem to rubygems.org

What
This configures Travis to publish the gem to rubygems.org
This contains the encrypted API key for the gds-paas rubygems.org user
(creds in the high cred store).
This is configured to only publish on git tags. This will result in a
workflow where we tag master when we're ready to publish a version.
It's necessary to pin to a specific ruby version, otherwise Travis will
attempt to publish multiple times for each tag push (once for each ruby
version sub-build).
How to review
I'm not sure the best way to review this without testing publishing a gem for real.
Some things that could be tested:

read the Travis docs on deploying, and verifying that this matches.
Verify that Travis doesn't attempt to publish from this PR branch build.

I've used config like this on some of my gems (eg https://github.com/alext/rack_strip_client_ip) which can be used for comparison.
Who can review
Not me.

LGTM now. Merging.


Battery telemetry raw current values

Hi,
In the current version 1.3.1 battery telemetry only contains battery id, voltage and remaining capacity percentage.
Is there a way to get the raw current readings, too, as the MAVLINK battery message does contain it, and if not can it be included in later versions of MAVSDK?
Thanks in advance.

It is defined here. I think you could try to add it to the proto file, generate the code and implement it in telemetry_impl.cpp (that you pointed above).
If you open a PR with that, we'll be happy to review and help :blush:


Investigate Bitsdojo package for app window frame and management

https://github.com/bitsdojo/bitsdojo_window

It looks like Bitsdojo package is not maintained anymore, so we are not going to use it in Flet.
Instead, frameless window was successfully implemented with already used window_manager page. Closing this issue.

This is an example of Flet app that removes system title bar and uses it's own controls to move and close window: https://flet.dev/docs/controls/windowdragarea#app-window-without-a-title-that-can-be-moved


Support more types

Fixes #2

Hello, thank you for this PR, are you able to add more test cases to cover all the new logic?

Hi, thanks for the quick response. I was thinking about the tests: For some reasons they are hanging on my laptop. I think this could be because using a deepEqual on the (now considerably larger) output takes too long.
Also, I am not sure about the API itself:

This tagging scheme allows developers to read in the element tag table and then randomly access and load into memory only the information necessary to their particular software application. Since some instances of profiles can be quite large, this provides significant savings in performance and memory.
— ICC.1:2001-04 section 0.5

So maybe it would be better to define a on-demand getTag() functon instead of eagerly parsing all tags.
I am still thinking about what is the best approach here. So you can consider this a work in progress. I wanted to push as ealy as possible to get your opinion on it.

Another thing I am thinking about: Some of these tags describe functions. I think it would be very useful to consumers of this library to not just parse the raw data, but also to convert that data in to a javascript function. But I have no (good) idea for an API for that either.

I read up on icc and the different versions (the version I implemented is ICC2 which is still in wide use, but it is from 2001 and to newer versions of the spec are available). I must say I am a bit discouraged to work on all of that.
I think this library without my additions is already very useful. My additions would widen the scope considerably. I am not sure this makes sense without providing much more functionality on top. Any idea what would need to be done to make this a complete feature but still limit the scope?

I like the idea of exposing the A2B and B2A tags as functions. In terms of this PR, shall we focus on exposing these tables as Buffers for now then think about how to extend the API later?
The unit tests are failing as the expected whitepoint values differ from actual, e.g.:
  1) Parse valid ICC profiles sRGB:
      AssertionError [ERR_ASSERTION]

   "whitepoint": [
-    0.964202880859375
+    0
     1
-    0.8249053955078125
+    0
   ]

It looks like http://www.color.org/probeprofile.xalter could be added to the test fixtures, which would then cover a lot of the new logic being introduced here.
At the moment a Buffer containing the whole ICC profile is required so everything is already in memory. Exposing a WritableStream-based approach could work, but let's look at this in a separate change.


Transition sarama ownership

Shopify's Streaming team has decided to shift away from native Kafka libraries (such as sarama or ruby-kafka), and to favour bindings of librdkafka (e.g. confluent-kafka-go and rdkafka-ruby) instead. As a result we don't believe that Shopify is the best positioned to act as an effective steward of sarama in the long term. Therefore, we would like to begin the process of finding a new owner for this popular and widely adopted project.
In the coming days and weeks our team will reach out to the most active sarama contributors and some of its largest adopters to discuss options for a smooth transition of ownership. We also welcome volunteers' expression of interest in the comments below! Our goal is to execute this handover in a way that minimizes disruption for existing users, and ensures the level of continued support that the project deserves.

@dmariassy what was the reason to move towards librdkafka and confluent-kafka-go? I know the confluent go library was not that performant as compared to sarama

Hi @ninadingole, the tl;dr is that we have a number of C-style languages that our platform team needs to support (Go, Ruby, Python, Rust), and so zeroing in on a C engine (librdkafka) provides us with economies of scale.

hi @dmariassy , may I know if there is any update on this one?
In my company Shopee, I have built an enhanced Kafka client library on top of Sarama, and ensuring the stability and continuity of Sarama is of utmost importance to us.
While our company may not have the resources to fully take over the project, I personally have a strong interest in contributing as an one of the individual maintainers. I have participated in the Sarama community, submitting several pull requests over the past year, and I'm committed to supporting and improving the project going forward.

Hi @napallday , I should be able to share more details on this soon but it looks like we're on track to secure the future of the project 🤞🏻

https://github.com/IBM/sarama ✅

Congrats @dnwe and thank you @IBM!


Bump section_testing to 0.0.5

This also reverts commit 3a816b208f2340232b40e7eef86d26b6b3affd74, which suppressed the warnings which section_testing 0.0.4 produced. section_testing 0.0.5 fixed the warnings, so suppression is no longer necessary.
Fixes #1480.
Nothing controversial here, so I'll merge once CI is green.

Coverage remained the same at 58.712% when pulling 8b101076b1e5a58f469e49a23cd8d8321ca0b8c6 on feature/update-section_testing into 7445755d54a09c346345dfd5f84374222f0c2da2 on master.

Thanks for taking a look!


Impossible to extend

I personally am a fan of newing objects myself rather than using helpers "de facto", because it allows some flexibility, like for example extending the classes (the Collection in this casae).
However, currently it is not possible as the only exported function is the helper.
Would it be possible to add the Collection class to the exported list? Something like
module.exports = collect;
module.exports.collect = collect;
module.exports.default = collect;
module.exports.Collection = Collection;

This way, it would allow users to extend the Collection with custom methods:
import Collection from 'collect.js';

Collection.prototype.whateverMethod = require('./myCustomMethod');

let customCollection = new Collection(myArray);
let whateverResult = customCollection.whateverMethod(item => doSomething(item));

Hi, @Garanaw
Have you tried extending with the macro() method?

Hi @ecrmnn
Thanks for the suggestion, it's definitely something I didn't think about, and that might solve the part of extending the collections.
However, that approach would still leave a couple of holes:

Validation: we're not able to do something instanceof Collection.
Extension: When using in combination with this package you cannot override the newCollection method in your models to wrap each type in custom collections, which is the Laravel-ish way.

Still, I think that'd be possible by using classes, not sure if the package can be extended when using functions

I'd also like for Collection to be exported. I'm currently working on a project that uses collect.js and would like to check in my tests that some properties are indeed an instance of Collection. My tests obviously won't fail without these checks, but that little OCD voice in my head is certainly complaining ;)

I'm open to merging a PR with this. Make sure to include tests and documentation 👍


Long Standing Issue: Add a New Category

##Long Standing Issue: Add a New Category
Note: Any number of people can work on this issue, so it will remain open and won't be assigned. If you'd like to comment with what category you're going to work on, that would be helpful to stop people doing the same thing.
Add a brand new category to be used by the API. This involves adding a new class with a list of strings in a given category. Details can be found in CONTRIBUTING.md
Contributions from beginners are very welcome!

Hello, can I work on this as a part of hacktoberfest?

Hey @gabrielbarker I would like to contribute on this, can you please assign this to me?

Hey @gabrielbarker, I would like to work on this. Can you assign it to me?

@MRaahulVignesh @mephi007 @srshobhit72
I've updated the issue description to say that basically this issue will never be 'closed', and so all of you are encouraged to contribute. I won't assign anyone to this so as not to discourage others
Thank you guys for being interested in this, I can't wait to see what you contribute!
Also if you have any suggestions on a better way to manage this project then I'm all ears

Hello @gabrielbarker , i would like to contribute on this. can you assign it to me ? thank you.

Hey @aldinaufal21 , I'd be very happy for you to contribute. As you can see in the description of this issue, I'm not assigning it to anyone as it will remain permanently open. However please just contribute anyway and reference this issue in your PR
🙂

Hey @gabrielbarker I am new to Hackathons and I was wondering if I could contribute to this issue?

Hey @christya95 , of course you can! Thanks for asking. There's no need to assign this issue to you, just make your contribution and raise a PR for it and I'll review it 🙂

Closing this issue and reopening with a clone so that people can continue to find this repo during Hacktoberfest


💡[FEATURE] Make repo Arduino library compatible

Hi hi, I am trying to get pico-pio-usb working with arduino platform, basically with

https://github.com/earlephilhower/arduino-pico
https://github.com/adafruit/Adafruit_TinyUSB_Arduino

It is actually quite easy to make this repo compatible with Arduino IDE. We only need to

add library.properties
rename example to examples (plugrals)
also included generated usb_rx/tx.pio.h since we probably don't have access to cmake pico_generate_pio_header
Finally registry to arduino indexer https://github.com/arduino/library-registry

Another gotcha that Arduino IDE will recursive compiles all the files/folders under src, but I think we are good with it, just need to pay attention to this in the future PRs. But we could add an ci to verify that it build with arduino just fine.
Let me know what you think, since I have done a decent amount of work with Arduino library, I could help making all of these.
@ladyada

LGTM

thanks, I will put things together and make an PR when it is ready.

https://github.com/adafruit/Adafruit_TinyUSB_Arduino/releases/tag/1.11.0
1.11.0 - Updated tinyusb to support rp2040 pio usb host

No, that is part of the auto release schedule of adafruit in weekly basic. There are a few PRs need to merge first, along with adding this library to arduino lib indexer.

Really looking forward to see this work along with arduino-pico

implemented by #35

I'm really keen to make a Pico based generic USB comms cable for use between 2 computers (I.E. my car's touch screen which I can write software for, and a raspberry pi running Libreelec/kodi - which unfortunately doesn't support the Pi-Zero & Pi-4B gadget mode drivers for a CDC device).  This would present as a COM port 'device' on both machines and data could be written and read as needed for them to communicate.  My thoughts are, to configure my Pico W (which just arrived today) for TinyUSB Serial using the earlephilhower/arduino-pico platform (that's actually working quite well, in the 2 hours I've been playing with it) and add another Serial device using the Pico-PIO-USB support now added there.
It seems I may be a bit early though on this sort of project - so I was wanting to ask for any advice on how I could progress the PIO half of what I have in mind?  I've played a bit with the low-level TinyUSB CDC example (bypassing the buffering) and it would seem like an easy thing for the Pico to just read USB packets and write them "as-is" to the other device - making this very efficient...  But I'm a bit lost at the moment how to progress it all?
Anyway, thanks for the inspiration on this, it's all very interesting.

Well, I got it to compile with a lot of effort, then link with a bit more effort, then run (not @ 120MHz, but only @ 240MHz) where it falls over fairly quickly once I transmit a 64 byte packet in both directions in sequence (device returns what data it gets, being 64 bytes in this test case).  I might try 8 byte packets later some time, that seems to work (based only on what I see when the config/mount stuff is happening when it's plugged in).


Missing apt add repository

OCD run https://ocd.appscale.com:8080/job/Daily Build/2055/. A manual build on docker will be needed to test this one.

https://ocd.appscale.com:8080/job/Create-Docker-Container/1209/


scenarios: force new http connection for evey RPC call

This modification to the bitcoin test framework prevents re-using old HTTP connections for new RPC calls. I believe this will prevent "broken pipe" errors in long-running scenarios.

I can understand the code but haven't faced the same issue. Tests pass and I can't see a big downside so if it fixed something for you then happy to merge.


bug: First-line inner attribute item is regarded as shebang

Did you check existing issues?

[X] I have read all the tree-sitter docs if it relates to using the parser
[X] I have searched the existing issues of tree-sitter-rust

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)
tree-sitter 0.20.8
Describe the bug
If the first (non-blank / non-comment) line starts with #!, even if it should be parsed as an inner_attribute_item, it is regarded as a shebang.
Steps To Reproduce/Bad Parse Tree
(source_file [0, 0] - [3, 0]
  (shebang [0, 0] - [0, 27])
  (function_item [2, 0] - [2, 12]
    name: (identifier [2, 3] - [2, 7])
    parameters: (parameters [2, 7] - [2, 9])
    body: (block [2, 10] - [2, 12])))

Expected Behavior/Parse Tree
(source_file [0, 0] - [3, 0]
  (inner_attribute_item [0, 0] - [0, 27]
    (attribute [0, 3] - [0, 26]
      (identifier [0, 3] - [0, 8])
      arguments: (token_tree [0, 8] - [0, 26]
        (identifier [0, 9] - [0, 25]))))
  (function_item [2, 0] - [2, 12]
    name: (identifier [2, 3] - [2, 7])
    parameters: (parameters [2, 7] - [2, 9])
    body: (block [2, 10] - [2, 12])))

Repro
#![allow(unused_variables)]

fn main() {}

Thanks, fixed on master

Thanks for the quick fix!


New framework: goyave

https://github.com/go-goyave/goyave

Goyave discussion: https://github.com/go-goyave/goyave/discussions/164

Closing for now


Simplify packing

:wait: this requires upgrading to CLI RC4 because of  https://github.com/NuGet/Home/issues/4321

Yup - this is in the gate branch. I'm trying to build CoreCLR using rc4 and this would let us validate if changing this allows us to pick up the new CLI.


Pom.xml

There is no pom.xml at the directory bookshelf directory. So running mvn as stated from bookshelf directory is not working.

We'll be updating the instructions once #151 releases.


Document the new pipelined renderer

This is a squash-and-rebase of @Ku95's documentation of the new renderer onto the latest pipelined-rendering branch.
Original PR is #2884.

bors r+

bors r+


Fix warning args warning

The warning below is still shown when KOIN_USE_COMPOSE_VIEWMODEL arg is used.
w: [ksp] [Deprecated] 'USE_COMPOSE_VIEWMODEL' arg is deprecated. Please use 'KOIN_USE_COMPOSE_VIEWMODEL'
w: [ksp] Activate Compose ViewModel for @KoinViewModel generation

I see the USE_COMPOSE_VIEWMODEL is to be deprecated after Koin 4.0, so I am not sure if this PR is really viable...we can close it if not.

Yes, that was a bit dummy :D Thanks @kibettheophilus


PMIx support for slurm

The current build of slurm
$ rpm -q slurm
slurm-17.11.13-1.el7.x86_64

Has support for
$ srun --mpi=list
srun: MPI types are...
srun: openmpi
srun: none
srun: pmi2

Running an openmpi3 job on the management node works
$ module load mpi/openmpi3-x86_64
$ wget https://raw.githubusercontent.com/wesleykendall/mpitutorial/gh-pages/tutorials/mpi-hello-world/code/mpi_hello_world.c
$ CC=mpicc make mpi_hello_world
mpicc     mpi_hello_world.c   -o mpi_hello_world
$ mpirun -np 2 ./mpi_hello_world
Hello world from processor mgmt, rank 0 out of 2 processors
Hello world from processor mgmt, rank 1 out of 2 processors

But running it from inside a slurm job gives
start
0: --------------------------------------------------------------------------
0: The application appears to have been direct launched using "srun",
0: but OMPI was not built with SLURM's PMI support and therefore cannot
0: execute. There are several options for building PMI support under
0: SLURM, depending upon the SLURM version you are using:
0:
0:   version 16.05 or later: you can use SLURM's PMIx support. This
0:   requires that you configure and build SLURM --with-pmix.
0:
0:   Versions earlier than 16.05: you must use either SLURM's PMI-1 or
0:   PMI-2 support. SLURM builds PMI-1 by default, or you can manually
0:   install PMI-2. You must then build Open MPI using --with-pmi pointing
0:   to the SLURM PMI library location.
0:
0: Please configure as appropriate and try again.
0: --------------------------------------------------------------------------
0: *** An error occurred in MPI_Init
0: *** on a NULL communicator
0: *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
0: ***    and potentially your MPI job)
0: [vm-standard2-2-ad1-0001:18312] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

This will be fixed by #27

This appears to have raised its head again.   On a fresh install (following the tutorial) on GCP:
[citc@mgmt-social-marlin ~]$ srun -n 2 --pty /bin/bash
[citc@social-marlin-n1-standard-4-0001 ~]$ rpm -q slurm
slurm-20.02.5-1.7.x86_64
[citc@social-marlin-n1-standard-4-0001 ~]$ rpm -q openmpi
openmpi-4.0.3-3.el8.x86_64
[citc@social-marlin-n1-standard-4-0001 ~]$ /usr/lib64/openmpi/bin/mpirun hostname
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    no-plugins
But I couldn't open the help file:
    /usr/share/pmix/help-pmix-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
[citc@social-marlin-n1-standard-4-0001 ~]$ srun --mpi=list
srun: MPI types are...
srun: cray_shasta
srun: none
srun: pmi2
srun: pmix
srun: pmix_v3
[citc@social-marlin-n1-standard-4-0001 ~]$

Using MPICH's mpirun and srun works.
If an MPI application is compiled with OpenMPI, it will not run via either mpirun or srun:
[citc@social-marlin-n1-standard-4-0001 ~]$ srun -n1  ./a.out
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    no-plugins
But I couldn't open the help file:
    /usr/share/pmix/help-pmix-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
[social-marlin-n1-standard-4-0001:09172] OPAL ERROR: Out of resource in file ext2x_client.c at line 112
--------------------------------------------------------------------------
The application appears to have been direct launched using "srun",
but OMPI was not built with SLURM's PMI support and therefore cannot
execute. There are several options for building PMI support under
SLURM, depending upon the SLURM version you are using:

  version 16.05 or later: you can use SLURM's PMIx support. This
  requires that you configure and build SLURM --with-pmix.

  Versions earlier than 16.05: you must use either SLURM's PMI-1 or
  PMI-2 support. SLURM builds PMI-1 by default, or you can manually
  install PMI-2. You must then build Open MPI using --with-pmi pointing
  to the SLURM PMI library location.

Please configure as appropriate and try again.
--------------------------------------------------------------------------
*** An error occurred in MPI_Init
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
[social-marlin-n1-standard-4-0001:09172] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!
srun: error: social-marlin-n1-standard-4-0001: task 0: Exited with exit code 1

This appears to have raised its head again.   On a fresh install (following the tutorial) on GCP:
[citc@mgmt-social-marlin ~]$ srun -n 2 --pty /bin/bash
[citc@social-marlin-n1-standard-4-0001 ~]$ rpm -q slurm
slurm-20.02.5-1.7.x86_64
[citc@social-marlin-n1-standard-4-0001 ~]$ rpm -q openmpi
openmpi-4.0.3-3.el8.x86_64
[citc@social-marlin-n1-standard-4-0001 ~]$ /usr/lib64/openmpi/bin/mpirun hostname
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    no-plugins
But I couldn't open the help file:
    /usr/share/pmix/help-pmix-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
[citc@social-marlin-n1-standard-4-0001 ~]$ srun --mpi=list
srun: MPI types are...
srun: cray_shasta
srun: none
srun: pmi2
srun: pmix
srun: pmix_v3
[citc@social-marlin-n1-standard-4-0001 ~]$

Using MPICH's mpirun and srun works.
If an MPI application is compiled with OpenMPI, it will not run via either mpirun or srun:
[citc@social-marlin-n1-standard-4-0001 ~]$ srun -n1  ./a.out
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    no-plugins
But I couldn't open the help file:
    /usr/share/pmix/help-pmix-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
[social-marlin-n1-standard-4-0001:09172] OPAL ERROR: Out of resource in file ext2x_client.c at line 112
--------------------------------------------------------------------------
The application appears to have been direct launched using "srun",
but OMPI was not built with SLURM's PMI support and therefore cannot
execute. There are several options for building PMI support under
SLURM, depending upon the SLURM version you are using:

  version 16.05 or later: you can use SLURM's PMIx support. This
  requires that you configure and build SLURM --with-pmix.

  Versions earlier than 16.05: you must use either SLURM's PMI-1 or
  PMI-2 support. SLURM builds PMI-1 by default, or you can manually
  install PMI-2. You must then build Open MPI using --with-pmi pointing
  to the SLURM PMI library location.

Please configure as appropriate and try again.
--------------------------------------------------------------------------
*** An error occurred in MPI_Init
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
[social-marlin-n1-standard-4-0001:09172] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!
srun: error: social-marlin-n1-standard-4-0001: task 0: Exited with exit code 1


Pylance fails in v2023.18.0

Environment data

Language Server version: v2023.18.0
OS and version: PopOS 20.04
Python version (& distribution if applicable, e.g. Anaconda): 3.8 via poetry

Description

Latest version of pylance fails to show the Go to command  definition|type definition|References when right-click on a Python variable in VSCodium 1.82.2
Falling back to v2023.16.0 works fine.

Dupe of https://github.com/microsoft/pylance-release/issues/4747
Pylance only works in official builds of VS Code.
If using an official build isn't an option, you could try using Pyright instead. It doesn't have as many features as Pylance, but it works in any editor that supports LSP.


Potential whitelisting/replacements/etc name conflicts

We use namespace mangled names for name checking, but these could conflict with other real names of things.
For example, if I wanted to whitelist only one or the other struct here, how would I do that? --whitelist-type JS_Foo is how you would refer to both of these types, but both would match, so you couldn't single one out.
namespace JS {
  struct Foo { };
}

struct JS_Foo { };

Not sure what to do here. Perhaps name checking should work on C++ names w/ namespaces? So JS::Foo would be the first struct and JS_Foo would be the second.
This is a mess...
Thoughts @emilio ?

To recapitulate what was discussed on IRC yesterday... Yes, I'm all-in to allow only --enable-cxx-namespaces, but I need to be sure its state is suitable for stylo at least.
With that, we can probably allow whitelisting with JS::Foo, for example, and use the canonical path to match those.

What if we only support --enable-cxx-namespaces? I think this is what we want 99.9999% of the time anyways...
WDYT @emilio ?

Err... I thought this was abotu name clashes in the codegen. We use JS::Foo names for whitelisting and all that now, so this issue can close.


Experiment forcing State loss to be expected in widget tests

A prototype PR for discussion for forcing all State losses to be expected in widget tests.

Issue: https://github.com/flutter/flutter/issues/29077


How to share data between fragments with multiple ViewModels?

communicating between fragments using different ViewModel

i was googling some time earlier for a similar question and this thing popped up
https://twitter.com/gpeal8/status/1163819677220405249

all fragments that use the same viewmodel must come from the same activity" ?
Yes, the latter is definitely true. The whole app doesn't have to be one activity but collections of related fragments always are.

This can help as well
https://github.com/airbnb/MvRx/pull/287
I'm going to close this for now since it's not directly actionable.


[Feature Request]: Support myCLI

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting: http://mycli.net/
I guess the effort to bring this for the workspace container is little. If you think that is a good idea I can work on it.

I have this on my back burner to add in a future version.   Just need to find the time to get this added.  It is really quite simple to install manually in the meantime.
One of the things that need to be handled is copying over the ~/.myclirc as well during installation (I have my pretty customized).  Again, this could be done manually.
I have a number of other enhancements I plan to incorporate during this time as well.
Time is precious ;-)

@luciano-jr Maybe I will find some time this weekend to get this added :-)


"General Location" is buggy

Seems like any person that I add always have general location set to "Pasir Panjang, Hong Leong Garden, Clementi New Town".

This could be because you were always adding with the postal code of 123311. We will look into further clarifying how the general locations work in the documentation.
Thank you :)


ImOpenPayloadResponse and ImListPayloadResponse objects missing 'ims' and 'channel' info

ImListPayload:
API Response:
Array
(
    [ok] => 1
    [ims] => Array
        (
            [0] => Array
                (
                    [id] => D0HKRRWQP
                    [is_im] => 1
                    [user] => USLACKBOT
                    [created] =><PHONE_NUMBER>
                    [is_user_deleted] =>
                )

            [1] => Array
                (
                    [id] => D0HKV684X
                    [is_im] => 1
                    [user] => U029ETG96
                    [created] =><PHONE_NUMBER>
                    [is_user_deleted] =>
                )
        )
)

ImListPayloadResponse Object:
CL\Slack\Payload\ImListPayloadResponse Object
(
    [channels:CL\Slack\Payload\ImListPayloadResponse:private] =>
    [ok:CL\Slack\Payload\AbstractPayloadResponse:private] => 1
    [error:CL\Slack\Payload\AbstractPayloadResponse:private] =>
)

ImOpenPayload:
API Response:
Array
(
    [ok] => 1
    [no_op] => 1
    [already_open] => 1
    [channel] => Array
        (
            [id] => D0HKLBTL4
        )
)

ImOpenPayloadResponse Object:
CL\Slack\Payload\ImOpenPayloadResponse Object
(
    [noOp:CL\Slack\Payload\ImOpenPayloadResponse:private] => 1
    [alreadyOpen:CL\Slack\Payload\ImOpenPayloadResponse:private] => 1
    [ok:CL\Slack\Payload\AbstractPayloadResponse:private] => 1
    [error:CL\Slack\Payload\AbstractPayloadResponse:private] =>
)

thanks for reporting this, will look into this after catching up with PRs


eh-certification test : Install azure-iot-cli-extension if not found for IOT tests

Signed-off-by: Surender Singh Malik<EMAIL_ADDRESS>Description
azure-iot-cli-extension is required for the IOT devise test cases.
The installation of the same is enabled via azure-iot extension without prompt.
https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview
https://github.com/Azure/azure-iot-cli-extension
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

/ok-to-test

/ok-to-test


WIP high contrast mode - improve accessibility

don't merge
in this PR, normal mode:

@304NotModified I have a question about this PR, and how the app will look once it is merged. I am quite fond of the default, VS2010-like styling of the application. While I understand the importance of a minimalist theme for accessibility purposes, I will never need to use it myself. In addition, I think that the default WPF themes are horrendously ugly, so I was very pleased to see alternative styling used in this application.
My bottom line is this: Will the current theme still be supported in the app once this PR is merged? There is an API to detect whether or not high-contrast mode is enabled. Would it be possible to use this API to dynamically select which theme to use at app launch time? Thanks!

Hi @wjk
I have created this PR to see the changes, but I won't merge this one. This has to much impact on the current GUI and AFAIK the issue is solved with the fork.
Would be great to support high contrast in this repo, but I haven't found time to fix that (including the check). If you would like to help us with that, that would be great!


Project sync and view

This should be partially working. Unfortunately it currently only works when you opened the project page before connecting and it also doesn't work after you already added projects. This is because the remote wants to access your projects but we need to tell the "awesome" tool scala-loci that we can actually provide these projects to the remote. I don't want to implement this in this pull request because I don't want to make this pull request even larger.

I'm not absolutely sure what you mean by "partially working" and tbh I don't really see a difference between opening the project page before or after connecting.
But what happened is the missing sync of projects if you already added a project before connecting.
And there is still this issue with taking over the input values i guess

I'm not absolutely sure what you mean by "partially working" and tbh I don't really see a difference between opening the project page before or after connecting.
But what happened is the missing sync of projects if you already added a project before connecting.

Yeah thats probably caused by the issue I meant. There probably also is a yellow error message in the browser console.

And there is still this issue with taking over the input values i guess

Which issue exactly? I thought that worked.


Change requests/diagnostics system update

XRTK - Mixed Reality Toolkit Change Request
Overview
I refactored the events to match the pattern found in the rest of the toolkit.
Target of the change:
Is this enhancement for:

Core (core framework, interfaces and definitions)

TODO:

[ ] Just need to finish up the actual text assignments on the console window
[ ] Ensure pin/unpin button works

One thing I don't like about this solution is how in the end, everything is again piped through the MixedRealityDiagnosticsSystem.

Well something has to do the event routing.

The previous implementation allows to simply create a new diagnostics data provider and it's respective handler and then you'd just have to register it the diagnostics system in the inspector and it's ready. Now after creating a new type of data provider you basically have to modify the diagnostics system itself to support the events you need for the new data provider. Makes sense?

Not exactly. We want developers to know what kind of events to expect from these systems. That's mainly why we utilize the interfaces and profiles, to help define the shape of the API and navigate through the implementation to where the problem exists when debugging by following the proper flow of the data from low level data provider, to the platform agnostic service, then to the applications UX.

I see some cases where fields and properties appear in between methods / constructor etc. I usually prefer having private fields, const etc. then properties, then constructor and then methods. Is that not a convention in XRTK?

Mainly I've been organizing the classes by their interface implementations using regions

Alright. Thanks for clarifying. Are we going to wait for @SimonDarksideJ  to review before merging this into my feature branch?

Nevermind. Forgot you have some open Todos.

Please wait to merge this after I've completed the two items in my todo, thanks :)

I've also got some changes I should probably break out into separate PRs as well


What is the situation now?

Can we use it now?
@howl-anderson
Thank you!

@guotong1988 Thank you for your attention. Currently (2018-06-07), it's not ready for production using, please visit todo-list in Chinese or todo-list in English for more detailed info. Also can I know what's the function or feature do you want most in SpaCy Chinese model? I want know which is the most important feature for down-stream developers.
To community:
Since many people interested in this project, I will spend more time on this project. If the community can provide more suggestions or resources on corpus, it certainly will accelerate this progress.

@guotong1988 Good News: this project is beta ready, OOV and NER issue is fixed. Welcome to try the v2.0.3 model.