Hashing array/slice with nightly rustc results in panic

Hashing array/slice with rustc nightly results in panic with message "not implemented".
Code to reproduce:
let random_state = RandomState::with_seeds(0, 0, 0, 0);
let bytes: [u8; 4] = [23, 183, 81, 56];
u32::get_hash(&bytes, &random_state)

Stack trace:
panicked at 'not implemented', /home/houqp/.cargo/registry/src/github.com-1ecc6299db9ec823/ahash-0.7.4/src/fallback_hash.rs:272:9
stack backtrace:
   0: rust_begin_unwind
             at /rustc/b663c0f4f6ff84a8c9df0f708e1f8d628330d973/library/std/src/panicking.rs:515:5
   1: core::panicking::panic_fmt
             at /rustc/b663c0f4f6ff84a8c9df0f708e1f8d628330d973/library/core/src/panicking.rs:92:14
   2: core::panicking::panic
             at /rustc/b663c0f4f6ff84a8c9df0f708e1f8d628330d973/library/core/src/panicking.rs:50:5
   3: <ahash::fallback_hash::AHasherU64 as core::hash::Hasher>::write_usize
             at /home/houqp/.cargo/registry/src/github.com-1ecc6299db9ec823/ahash-0.7.4/src/fallback_hash.rs:272:9
   4: core::hash::impls::<impl core::hash::Hash for usize>::hash
             at /rustc/b663c0f4f6ff84a8c9df0f708e1f8d628330d973/library/core/src/hash/mod.rs:586:21
   5: core::hash::impls::<impl core::hash::Hash for [T]>::hash
             at /rustc/b663c0f4f6ff84a8c9df0f708e1f8d628330d973/library/core/src/hash/mod.rs:696:13
   6: core::array::<impl core::hash::Hash for [T; N]>::hash
             at /rustc/b663c0f4f6ff84a8c9df0f708e1f8d628330d973/library/core/src/array/mod.rs:145:9
   7: <ahash::random_state::RandomState as ahash::BuildHasherExt>::hash_as_u64
             at /home/houqp/.cargo/registry/src/github.com-1ecc6299db9ec823/ahash-0.7.4/src/random_state.rs:247:9
   8: <u32 as ahash::specialize::CallHasher>::get_hash
             at /home/houqp/.cargo/registry/src/github.com-1ecc6299db9ec823/ahash-0.7.4/src/specialize.rs:67:17

Rustc:
✦ at 11:17:43 ❯ rustc --version
rustc 1.54.0-nightly (b663c0f4f 2021-05-29)

Based on /library/core/src/hash/mod.rs:
    impl<T: Hash> Hash for [T] {
        #[inline]
        fn hash<H: Hasher>(&self, state: &mut H) {
            self.len().hash(state);
            Hash::hash_slice(self, state)
        }
    }

I can see why is this happening because it's trying to hash the length of the slice first, which is of type usize. But I don't know why is this not happening with stable rust.

I am guessing this is due to specialize flag being turned on only in nightly in build.rs?
https://github.com/tkaitchuck/aHash/blob/457c7c80897ce61aba71356f45d33e62118ffc84/build.rs#L9

@dandandan suggested that we implement write_usize by converting it to u64 for AHasherU64:
https://github.com/tkaitchuck/aHash/blob/366e4d51ae85db9dd796f8771a4b36dfcda906ae/src/fallback_hash.rs#L270-L273
@tkaitchuck seems like a simple fix?

@Dandandan suggested that we implement write_usize by converting it to u64 for AHasherU64:
https://github.com/tkaitchuck/aHash/blob/366e4d51ae85db9dd796f8771a4b36dfcda906ae/src/fallback_hash.rs#L270-L273
@tkaitchuck seems like a simple fix?

Or something I was thinking of: (self.len() as u64).hash(state)

Or something I was thinking of: (self.len() as u64).hash(state)

Ha, I see. That implementation is from the rust core lib though. To keep it platform agnostic, I think self.len().hash(state); is the right behavior.

Or something I was thinking of: (self.len() as u64).hash(state)

Ha, I see. That implementation is from the rust core lib though. To keep it platform agnostic, I think self.len().hash(state); is the right behavior.

Makes sense 👍

This code:
let random_state = RandomState::with_seeds(0, 0, 0, 0);
let bytes: [u8; 4] = [23, 183, 81, 56];
u32::get_hash(&bytes, &random_state)

is asking for a hasher specialized for hashing u32 primitives, and then using it to hash an slice of u8s.
This doesn't work, because it's not supposed to. If you have a specialized hasher it should only be used to hash items of the type it is specialized for. You can of course use a non-specialized hasher, and invoke it in the normal way and that will work with any type.
So you can write either:
    let random_state = RandomState::with_seeds(0, 0, 0, 0);
    let bytes: [u8; 4] = [23, 183, 81, 56];
    let hash = <[u8]>::get_hash(&bytes, &random_state);

to use specialization or:
    let random_state = RandomState::with_seeds(0, 0, 0, 0);
    let bytes: [u8; 4] = [23, 183, 81, 56];
    let mut hasher = random_state.build_hasher();
    hasher.write(&bytes);
    let hash = hasher.finish();

To use the generic call path. These work differently and will produce different hashes so be consistent in terms of which you use.
The reason you encountered the error on nightly and not on stable, was because stable does not support specialization hence on stable it always use the non-specialized implementation.

Makes sense, thanks @tkaitchuck

I have made this more explicit in the documentation: https://github.com/tkaitchuck/aHash/commit/f468cb620c8998c9acecec1911de06bc61629c51

Ha, I see. Thanks a lot for the detailed explanation. It would be nice if this kind of type error could be caught at build time when specialize feature is turned on.
I am guessing we should always go for specialization whenever possible for better performance? Would it be better if we use u32::from_le_bytes(bytes) with specialization over the generic call path?

If you happen to know that your inputs are exactly 4 bytes, then passing them as:
u32::get_hash(u32::from_ne_bytes(bytes), &random_state)
is faster because it doesn't include a length in to the hash function. (Normally with slices it assumes a variable lengths are possible so it needs to include the length into the hash function and use conditional logic to test how large the length is).
Of course, if your slices are variable length, you don't have that option.

Got it, thanks for the tips. These are for fixed length inputs, more specifically float32 and float64 values: https://github.com/apache/arrow-datafusion/blob/ac9d4ae7c6ecde354fe95a9ecafcb715e943f988/datafusion/src/physical_plan/hash_join.rs#L886.


⚠ ETF has degraded performance

In ed3be96, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 8599 ms

Resolved: 신규상장 performance has improved in fb2285e.


Failure reading single observation h5ads

AnnData doesn't seem to like h5ad files with a single observation:
In [54]: anndata.__version__
Out[54]: '0.6.6'

In [55]: df.shape
Out[55]: (23465, 1)

In [56]: adata = anndata.AnnData(df.values.T, {"cell_names": df.columns.values}, {"gene_names": df.index.values})

In [57]: adata.write("test.h5ad")

In [58]: bdata = anndata.read_h5ad("test.h5ad")
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-58-222d2ae8c407> in <module>()
----> 1 bdata = anndata.read_h5ad("test.h5ad")

~/.local/lib/python3.5/site-packages/anndata/readwrite/read.py in read_h5ad(filename, backed)
    342         # load everything into memory
    343         d = _read_h5ad(filename=filename)
--> 344         return AnnData(d)
    345
    346

~/.local/lib/python3.5/site-packages/anndata/base.py in __init__(self, X, obs, var, uns, obsm, varm, raw, dtype, shape, filename, filemode, asview, oidx, vidx)
    639                 obsm=obsm, varm=varm, raw=raw,
    640                 dtype=dtype, shape=shape,
--> 641                 filename=filename, filemode=filemode)
    642
    643     def _init_as_view(self, adata_ref, oidx, vidx):

~/.local/lib/python3.5/site-packages/anndata/base.py in _init_as_actual(self, X, obs, var, uns, obsm, varm, raw, dtype, shape, filename, filemode)
    758                 raise ValueError(
    759                     'If `X` is a dict no further arguments must be provided.')
--> 760             X, obs, var, uns, obsm, varm, raw = self._from_dict(X)
    761
    762         # init from AnnData

~/.local/lib/python3.5/site-packages/anndata/base.py in _from_dict(ddata)
   1920                     if key in d_true_keys[true_key].dtype.names:
   1921                         d_true_keys[true_key] = pd.DataFrame.from_records(
-> 1922                             d_true_keys[true_key], index=key)
   1923                         break
   1924                 d_true_keys[true_key].index = d_true_keys[true_key].index.astype('U')

~/.local/lib/python3.5/site-packages/pandas/core/frame.py in from_records(cls, data, index, exclude, columns, coerce_float, nrows)
   1267         else:
   1268             arrays, arr_columns = _to_arrays(data, columns,
-> 1269                                              coerce_float=coerce_float)
   1270
   1271             arr_columns = _ensure_index(arr_columns)

~/.local/lib/python3.5/site-packages/pandas/core/frame.py in _to_arrays(data, columns, coerce_float, dtype)
   7493     else:
   7494         # last ditch effort
-> 7495         data = lmap(tuple, data)
   7496         return _list_to_arrays(data, columns, coerce_float=coerce_float,
   7497                                dtype=dtype)

~/.local/lib/python3.5/site-packages/pandas/compat/__init__.py in lmap(*args, **kwargs)
    129
    130     def lmap(*args, **kwargs):
--> 131         return list(map(*args, **kwargs))
    132
    133     def lfilter(*args, **kwargs):

TypeError: 'numpy.int64' object is not iterable

But faking another cell works fine:
In [59]: df2 = pandas.concat([df, df], axis=1)

In [60]: df2.shape
Out[60]: (23465, 2)

In [61]: adata = anndata.AnnData(df2.values.T, {"cell_names": df2.columns.values}, {"gene_names": df2.index.values})

In [62]: adata.write("test.h5ad")

In [63]: bdata = anndata.read_h5ad("test.h5ad")

In [64]: bdata.n_obs, bdata.n_vars
Out[64]: (2, 23465)

I'm guessing this has something to do with _fix_shapes

Ah, yes... thanks for pointing this out... It should work but there is something non-trivial, as the data matrix is cast to a vector when it has a single column or row (just like numpy arrays) so that flattening is unnecessary. I never looked into this on the level of the file, though... We're giving the whole file backing an overhaul anyways and will fix it during that.

i’m very sure i got rid of that behavior at one point and enforced that the data matrix was always 2D.
we should go back to that behavior, mohammad is struggling with problems regarding this as well.

Finally fixed via https://github.com/theislab/anndata/pull/55.
Btw @mckinsel, looking at your call above: You can also init an AnnData directly from a DataFrame (adata = AnnData(df)) since a few weeks.


Custom view under the bubble?

Is it possible to say, pass a  to the bubble and have it render that instead?
Any pointers on which part of the code i should be looking at to implement it?

DEAD LIB


Make the -all-optimized.jar publishable

Feature description
Currently I do not have a way to include the -all-optimized.jar in what Gradle publishes to my Maven Repository.
tasks {
    register<Jar>("optimizedJitJarAll") {
    }
}

Fails. Name already exists!
tasks {
    named<Jar>("optimizedJitJarAll") {
    }
}

Fails. Can't create a task with a name that already exists.
Why does it matter? Because the task is registered lazily (I think). Because the task is registered lazily, I can't reference it in the publishing section.
publishing {
    publications {
        create<MavenPublication>("mavenJava") {
            groupId = "$group"
            artifactId = projectBaseName
            version = version
            from(components["java"])
            artifact(tasks.optimizedJitJar.get())   // <-- Works great!
            artifact(tasks.optimizedJitJarAll.get())    // <-- Very sad!
        }
    }
}

I would of course rather not do any of this work at all. I would rather have the default be that this jar gets published automatically.
Thanks.

In general, we cannot do this by default, because we have absolutely no idea if it's safe to do: the optimized jar is, by definition, specific to the platform it was built on, so it's not necessarily reproducible. Only the developer knows if it's safe or not. You can, however, do something similar to what we've done in Micronaut Test Resources to achieve what you want.

Is there some way to "find" the "optimizedJitJarAll" task? So I can get its output or make something depend on it?

You can, and easiest is to wrap into an afterEvaluate:
afterEvaluate {
     tasks.register("myAwesomeTask", Copy) {
          from(tasks.named("optimizedJitJarAll"))
          ...
     }
}

I wanted to add the jit.jar and the optimized-jit.jar. I can get rid of the .get() though. Thanks.


Isochrones Ranges

I'd like to create isochrones from point layer for foot-walking distances with less than 1 km - e.g. 600m
I get an error with 0.6 and 0,6 creates 6km isochromes, cause the comma is used as a seperator.
How do can I do it correctly?
Thanks
Sebastian

Yes, that's right, the input you give in that field is split by commas and mapped to int() function, which returns integers. Wasn't thinking too much about walking profiles I guess. I'll amend in the next version. If you want to change this as a hotfix, do the following:

Locate the plugin directory on your computer (e.g. via Plugin Manager)
in isochrones.py, change line 50 (in v3.x) from self.access_range_input = list(map(int,self.dlg.access_range.text().split(','))) to self.access_range_input = list(map(float,self.dlg.access_range.text().split(',')))
reload plugin or restart QGIS

That should work just fine. BTW, the isochrones are currently very smooth, so likely that 600 m walking will return pretty much a convex hull. We'll change the alpha value for polygon smoothness soon, see https://github.com/GIScience/openrouteservice/issues/137.

Hi Nils,
thank you very much for your quick response. The change in the code works well for me!
I'm lookin forward to further developments of your plugin.
As for now, the even the smaller diameter polygones work well and are an improvement to circle buffers.

Bye
Sebastian


Async support does not work with Native environment

Hi,
We have been starting to porting existing Flask code to an asyncio based server (Quart).
Part of it makes use of the Jinja Native environment.
The render_async works very well, but not in conjunction with Native.
Here is replicable code in a python -m asyncio console:
from jinja2.nativetypes import NativeEnvironment

def render(s, my_vars):
    native_environment = NativeEnvironment()
    template = native_environment.from_string(s)
    return template.render(**my_vars)

async def render_async(s, my_vars):
    native_environment = NativeEnvironment(enable_async=True)
    template = native_environment.from_string(s)
    return await template.render_async(**my_vars)

global_vars = {}

number_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
global_vars["number_list"] = number_list

out = render("{{35}}", global_vars)
# int: 35

out = await render_async("{{35}}", global_vars)
# str: '35'

out = render("{{number_list}}", global_vars)
# list: [1, 2, 3, 4, 5, 6, 7, 8, 9]

out = await render_async("{{number_list}}", global_vars)
# Traceback (most recent call last):
#   File "/Users/A492YC/.pyenv/versions/3.8.1/lib/python3.8/concurrent/futures/_base.py", line 439, in result
#     return self.__get_result()
#   File "/Users/A492YC/.pyenv/versions/3.8.1/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
#     raise self._exception
#   File "<console>", line 1, in <module>
#   File "<console>", line 4, in render_async
#   File "/Users/A492YC/.virtualenvs/jinja_test-SmX6WV4i/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 65, in render_async
#     return self.environment.handle_exception()
#   File "/Users/A492YC/.virtualenvs/jinja_test-SmX6WV4i/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
#     reraise(*rewrite_traceback_stack(source=source))
#   File "/Users/A492YC/.virtualenvs/jinja_test-SmX6WV4i/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
#     raise value.with_traceback(tb)
#   File "/Users/A492YC/.virtualenvs/jinja_test-SmX6WV4i/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 26, in concat_async
#     return concat(rv)
# TypeError: sequence item 0: expected str instance, list found

Expected:
In Native mode, instead of forcefully concatenating outputs as strings, outputs of the render_async() should be on par with the render()
Environment:

Python version: 3.8.1
Jinja version: 2.11.3

If you have time, I'd appreciate if you could look into fixing this. I'm unlikely to address this any time remotely soon.

Done.
It is my first time contributing so I am not sure I did it properly.
If the code change is acceptable, would you consider having an intermediate version for it, since this is a bug fix?
Thank you

Looks good overall. It will be in 3.0, I'm only doing security fixes for 2.x.

Ok, would you happen to know the timeline for the 3.0?


add Satis Server

Hope it fits this list of awesomeness :)

Hey Lukasz!
Awesome project 👍 Of course, it fits.
I will tweak the description text a bit to make clear that it is a docker container.
Thank you for contributing, Jens


[Question] integration with System.Diagnostics.Metrics

Hey,
Is there any planned integration with the new System.Diagnostics.Metrics package, or is this considered a competing implementation?
Thanks,
Eugene.

I wonder the same thing. We migrated a lot of libraries to System.Diagnostics.Metrics, because it is included by default in .NET 6+. As a consequence, we needed to drop support of App.Metrics and replaced it with OpenTelemetry. I'd be happy to switch back as soon as System.Diagnostics.Metrics is supported.

@dagophil This project is actually quite "dead". The author wrote (#755) that he doesn't have time to support this project and there is no point in doing so since the availability of OpenTelemetry and the impeccable support of System.Diagnostics.Metrics.
Your migration to System.Diagnostics.Metrics, as it should be since it provides a standardized way for collecting metrics in your application/infrastructure code and the .NET framework, meaning your runtime and application metrics reside in the same repository, exported using the same method using the same naming schema.

Oh, I did not know that. Thank you for the clarification.


Optional query parameters in GET async actions

Hi,
At work we're successfully using this library in both a React and React Native project and it saved us a ton of boilerplate code (perhaps you remember me since the previous  compilation issue with react native :-) ).
We're now at the point where we'd like to have a way to set optional query parameters in GET requests to tell our backend how to filter data.
Example:
To my knowledge, the library provides the current options to make a GET request to an example resource ( I added a possible back end expected response on the right based on our current back end behaviour)

Request
BE response

GET resource/
all exams

GET resource/:customParameter
single resource based on customParameter (like id)

I'd like to have a way to add query parameters to the get request, such as:

Request
BE response

GET resource/?exampleFilter=:someCustomFIlter
n resources based on exampleFilter parameter (exampleFilter could be any parameter name and should be parametrized in some way as well as the payload)

We went on with this by duplicating and dispatching different custom actions (each one for every possible query params, since we only have like 3 or 4 combinations and just in some specific cases).
Is there a "smarter" way to do this?
Am I missing something?
Thank you very much, and again, kudos for the great work on this library.

Hey, Glad to know that arc is helping in your project.
When you are doing a GET request, the action payload will become the query parameters.
Eg.
dispatch(creators.list({ exampleFilter: 'filtervalue' }));

Also, you need to configure your asyncTask function to understand that. in this link there's an example using axios:
https://redux-arc.js.org/#async-middleware.
The difference is that we check the method, and if it is get, we use the action payload as the params.
Please, let me know if that works for you.
Thanks :)

Man, that's great, exactly what I was hoping for!
I've been putting null as first parameter in every GET request dispatch, using the url string to manually compose the query string inside createActions...how silly!
It all makes sense now.
Well, time to refactor a whole bunch of code... :-)
Thanks a lot!


cargo-mommy: init at 0.1.1

Description of changes
Okay, first of all, sorry if it isn’t fit for merge, I’d totally understand. I’m not sure what’s the policy on small half-joke packages are, but I’m pretty sure someone will use it if it’s merged.
This is a simple cargo wrapper command that prints encouragements at the command line after the command itself, praising the user if the command is successful and supporting them if it’s not.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux (in CI)
[x] x86_64-darwin (in CI)
[x] aarch64-darwin (in CI)

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

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

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

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

[x] Fits CONTRIBUTING.md.

Rust package contains an integration test that’d been run in CI on all platforms now.

Result of nixpkgs-review pr 207398 run on x86_64-linux 1

1 package built:

cargo-mommy

Thank you for your contribution and welcome to the maintainer list :)


Honour StreamField blank flag and add StreamBlock required flag

Most of the work happens in the StreamBlock since this is what the StreamField uses under the hood (instead of duplicating the check in the clean method of the StreamField).
Fix #2236, although I think #2514 could be tackled in the same PR (having a field required means that the minimum number of child is 1, which is half of the work done for this other issue). Thoughts?
I haven't updated the documentation yet as I wanted to make sure you agree with the approach first.

Umm the non-field-error display will need some love. The error will stay in place when you add a block. Should it disappear?

@loicteixeira IMHO when the first block is added the error should disappear. Even if the field is still empty, having a block already should be enough for the Streamfield to validate as "having content".

Thanks @loicteixeira! Merged in 4a5f3072bd9fa8d56c02cefcfe9c747d2b22d04d (with some minor tweaks - required is now managed as a Meta property, which simplifies the logic a bit and allows it to be set at the class level when subclassing StreamBlock).


[Content] srtool guide and/or tutorial

Content request
Synopsis of builders' program conversation about breaking Wasm builds below:

Parity generally  uses srtool and are super careful before upgrading its toolchain.
For instance, atm we are still at 1.53.0. 1.54.0 did not taste that good. 1.55 works but there was no good reason yet to upgrade (and bother everyone upgrading).
Details can be found:
https://github.com/paritytech/srtool/blob/master/Dockerfile#L6-L33
https://github.com/paritytech/srtool/blob/master/scripts/build#L72-L109
IMO builders should focus on the important stuff and just throw srtool-actions in their CI to get things done. That also allows their users to verify the runtimes "at home".
For now the resources are:
https://www.chevdor.com/?q=srtool
https://github.com/paritytech/srtool/blob/master/README_src.adoc
https://github.com/chevdor/srtool-actions/blob/master/README_src.adoc
https://github.com/chevdor/srtool-cli/blob/master/README_src.adoc
https://github.com/chevdor/srtool-app/blob/master/README.adoc
That's already quite some reading :)
Are you willing to help with this request?
Maybe (please specify)

Seminar on the topic: https://www.crowdcast.io/e/substrate-seminar/43


rancher v2.4.12 not in helm chart repo?

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
helm repo list
NAME            URL
rancher-stable  https://releases.rancher.com/server-charts/stable
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "rancher-stable" chart repository
Update Complete. ⎈Happy Helming!⎈
helm upgrade -n cattle-system --version v2.4.12 -f helm_values.yaml rancher rancher-stable/rancher --dry-run
Result:
Error: failed to download "rancher-stable/rancher" at version "v2.4.12" (hint: running helm repo update may help)
Other details that may be helpful:
2.5.5 is in, but not 2.4.12
helm search repo --versions
NAME                  	CHART VERSION	APP VERSION	DESCRIPTION
rancher-stable/rancher	2.5.5        	v2.5.5     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.4        	v2.5.4     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.3        	v2.5.3     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.2        	v2.5.2     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.11       	v2.4.11    	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.10       	v2.4.10    	Install Rancher Server to manage Kubernetes clu...
...
Environment information
helm version
version.BuildInfo{Version:"v3.5.0", GitCommit:"32c22239423b3b4ba6706d450bd044baffdcf9e6", GitTreeState:"clean", GoVersion:"go1.15.6"}
(helm 3.2.4 also fails with same issue)
helm -n cattle-system list
NAME   	NAMESPACE    	REVISION	UPDATED                                	STATUS  	CHART         	APP VERSION
rancher	cattle-system	23      	2020-12-16 18:04:54.829687998 +0100 CET	deployed	rancher-2.4.11	v2.4.11

Now rancher 2.4.12 is available in the helm chart repo rancher-stable https://releases.rancher.com/server-charts/stable
I could install the version.
helm search repo --versions
NAME                  	CHART VERSION	APP VERSION	DESCRIPTION
rancher-stable/rancher	2.5.5        	v2.5.5     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.4        	v2.5.4     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.3        	v2.5.3     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.2        	v2.5.2     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.12       	v2.4.12    	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.11       	v2.4.11    	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.10       	v2.4.10    	Install Rancher Server to manage Kubernetes clu...
Thank you for the quick fix and I close the issue.

Now rancher 2.4.12 is available in the helm chart repo rancher-stable https://releases.rancher.com/server-charts/stable
I could install the version.
helm search repo --versions
NAME                  	CHART VERSION	APP VERSION	DESCRIPTION
rancher-stable/rancher	2.5.5        	v2.5.5     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.4        	v2.5.4     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.3        	v2.5.3     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.5.2        	v2.5.2     	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.12       	v2.4.12    	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.11       	v2.4.11    	Install Rancher Server to manage Kubernetes clu...
rancher-stable/rancher	2.4.10       	v2.4.10    	Install Rancher Server to manage Kubernetes clu...
Thank you for the quick fix and I close the issue.


add development index

add a page so that when you open localhost:8081 for development you actually know how to get to the ipfs.io landing page instead of being confronted with 'not found'
if you're not planning to add more websites to this repository, it might make sense to just move ipfs.io into the root of src

Great! thanks!

if you're not planning to add more websites to this repository, it might make sense to just move ipfs.io into the root of src

SGTM. it was previously part of https://github.com/protocol/websites/ hence the division


Can't log in?

Hi guys I'm a new user to Cloud Commander. It's installed on my Synology NAS and seemed to be working well.
It was installed into Portainer using this guide: https://mariushosting.com/how-to-install-cloud-commander-on-your-synology-nas/
I wanted to edit the \etc\hosts file and I had thought I'd done it correctly. However on a reboot the changes I'd made were overwritten. I posted the problem on the Synology forum and they advised that I needed to be logged in as the root user to get the changes to stick.
I went into the settings and clicked on authentication. I now get prompted for a user and a password. The issue is any accounts I try to log in with fail. I've tried:

'root' using the 'Admin' account password.
'admin' using the 'Admin' account password.
my 'usual admin account

And none of them work. Each time I try and access Cloud Commander I hit the log in prompts so I'm somewhat stuck.
Any assistance would be greatly appreciated.

Wrong Cloud Commander. You want to log your issue here: https://github.com/coderaiser/cloudcmd/issues


yo @microsoft/azure-devops-extension fails

When I run yo @microsoft/azure-devops-extension it fails with the following error:
AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist<EMAIL_ADDRESS>
After creating manually a .gitignore file in the C:\Users\johndoe\AppData\Roaming\npm\node_modules@microsoft\generator-azure-devops-extension\app\templates folder I could create the scaffolding for the Extension.
Stefan [msft]

Good catch! It seems npm renames .gitignore to .npmignore when it installs the package. Should be fixed by microsoft/azure-devops-extension-yeoman-generator#2 (published in version 1.0.1)


GetListing returns wrong name

FTP OS: OS/400 is the remote operating system.
FTP Server: IBMOS400FTP
Computer OS: Windows 10
FluentFTP Version: 40.0.0
Framework: .NET 6
Hi - we have a problem with an specific FTP Server. When we do an GetListing("remote directory) - the resulting file names contains the directory name - and so an download fails because the directory name is wrong (doubled)
Here the ftp server contains an directory "download" - the GetListing shows correctly all files - but the Name contains the directory name - and the FullName shows the wrong directory because "download" is now 2 times in the path?

Filezilla:

Logs :

# AutoConnect()

# AutoDetect(True, False)

# Connect()
Status:   Connecting to ***:21
Response: 220-QTCP at holter.ad.holter.at.
Response: 220 Connection will close if idle more than 5 minutes.
Status:   Detected FTP server: IBMOS400FTP
Command:  AUTH TLS
Response: 431 Requested security mechanism not available at this time.
Command:  USER ***
Response: 331 Enter password.
Command:  PASS ***
Response: 230 *** logged on.
Command:  FEAT
Response: 211-Feature listing follows:
Response: AUTH TLS
Response: AUTH GSS
Response: CCC
Response: PBSZ
Response: PROT
Response: ADAT
Response: ENC
Response: MIC
Response: CONF
Response: 211 End of feature listing.
Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command:  OPTS UTF8 ON
Response: 501 OPTS unsuccessful; specified subcommand not recognized.
Command:  SYST
Response: 215  OS/400 is the remote operating system. The TCP/IP version is "V7R4M0".
Status:   Listing parser set to: IBMOS400

# GetListing("download", Auto)
Command:  PWD
Response: 257 "/kundenftp/KU0021235" is current directory.
Command:  TYPE I
Response: 200 Representation type is binary IMAGE.

# OpenPassiveDataStream(PASV, "LIST /kundenftp/KU0021235/download", 0)
Command:  PASV
Response: 227 Entering passive mode (212,183,28,50,158,96).
Status:   Connecting to ***:40544
Command:  LIST /kundenftp/KU0021235/download
Response: 125 List started.
+---------------------------------------+
Listing:  MARKUSP          8192 16.03.30 09:00:51 *DIR       download/datanorm/
Listing:  SICHERN          2865 22.09.01 04:36:04 *STMF      download/B0220831.013
Listing:  SICHERN           504 22.09.02 04:37:50 *STMF      download/B0220902.001
Listing:  SICHERN           320 22.09.02 04:37:50 *STMF      download/B0220902.002

I see what's going wrong. I will investigate.

thank you ✌

Ok. I have got some observations and questions, after doing some research.

Does this work with a FluentFTP version prior to V.40?

It seems to me, that by listing a directory, the output download/B0220831.013 is taken as a filename and appended to the listing path, giving a double downloads. This means that as a "quick" fix you could SetWorkingDirectory to download and then GetListing("", FtpListOption.NoPath). Does this work for you?

Hi - no - it is the same also prior V.40 - we simply updated to V.40 today to test if it is already fixed probably.

yes - that seems to work as workaround.

sorry - i dont not fully understand your suggestion :)

we currently have this problem only with one specific ftp server - most other do not have this problem?

Thanks for your answer.

Good, I was worried that something had broken in the transition to V40.

If that "quick" fix works, as you say, then: I can see where the problem lies. Please use that approach for the time being. Can this problem then be considered as being solved?

Number three was created by the text editor by mistake. It was a continuation of number 2. I was trying to say: In the code, the case that you reported as an issue is not catered for. It never worked. So, for now, please use the quick fix as described in Number 2.

That being said: One could consider this scenario, that you discovered, to be a needed "enhancement" to the way OS400 FTP servers are handled.

most other do not have this problem?

I do not know. Maybe they are all using the CWD - GetListing with NoPath method?

I do not know. Maybe they are all using the CWD - GetListing with NoPath method?

no - i meant we serve many different ftp server - to be more specific - our customers specify many different ftp server - we always use the same code - but only this specific server has this problem.
all other we have seen so far work perfect with the original code?

Ok. I understand.
To make this "same same" code work for OS400 the server specific handler for IBMZOS400 needs to be "enhanced" to accept this szenario you reported.
So from a develpment standpoint:

YOU check for this specific server in your code and take a separate code path
YOU check fullname for slashes and take only the filename
FluentFTP fixes this problem and you don't need to change your code

If you help me in testing any changes, maybe 3. is possible.

ok - fully understand and many thanks for your fast help and replies! have to say this library is really amazing!
we can for sure do 1 and 2 - but i can also help of course for 3 - we test any changes with this specific server!
thank you 🤝

@robinrodricks As a first step could you put this on the todo list? With the help of @noxe I think this can be done within a sensible timeframe

Thanks for handling this @FanDjango , added.

@noxe  I am worried that perhaps many users have encountered this flaw in the IBMOS400 server handler and have already "programmed around it". I assume that you also have somehow been living with this until finally reporting it? Or have you just recently discovered this?
So a fix would cause some consternation among users that would then need to change their code. I believe it would be best to fix the problem but would like the owner @robinrodricks to chime in on this.

@noxe
Can you use a SITE command to interrogate the current LISTFMT and NAMEFMT settings on that FTP server?
See this

I am worried that perhaps many users have encountered this flaw in the IBMOS400 server handler and have already "programmed around it". I assume that you also have somehow been living with this until finally reporting it? Or have you just recently discovered this?

Hi - no - we did not. we used ftpwebrequest for years - and we switched to fluentftp just recently. we rolled out an update now to our customers and got some bug reports back - one of this was this one :)

Can you use a SITE command to interrogate the current LISTFMT and NAMEFMT settings on that FTP server?

Hi - i hope i have done this correctly - i used filezilla and send a custom command:
Befehl:	SITE LISTFMT
Antwort:	250 Directory listing format (LISTFMT) option set to 0.
Befehl:	SITE NAMEFMT
Antwort:	250  Now using naming format "1".

@noxe When you have some time, could you use the SITE command as above and set LISTFMT to 1, then do the GetListing in your programm?
i.e. use client.Execute("SITE LISTFMT 1")) prior to your client.GetListing(...)
I would like to see the difference.

@FanDjango - hey - yes indeed - this makes an difference - after that the Name and FullName are correctly.

@noxe I would therefore recommend you use that as the best solution:
Something like this:
Pseudocode:
if (client.Servertype is OS400) client.Execute(.....)
in front of GetListing

This code will then work for all your users.

ok - thank you very much for your infos and help!

Ok, I have updated the Wiki to mention SITE LISTFMT 1 as a possible workaround. Please feel free to issue again if you need more.


Also doesn't work. 🙃


Revisit client module for the per route connection pooling in config in cluster/load balance/discovery environment.

As service is discovered and IP is not known during configuration, should we just remove per route configuration or leave it to support static lookup services?

The issue is resolved by upgrading the client to Http2Client so that connection pooling is not necessary as HTTP 2.0 protocol supports multiplex. The user have two options in term of cache connection:

If you client will be calling service very frequently, then get the connection info from cluster and create a connection and cache it and reuse it. However, the cached connection might be disconnected from the server side(server down etc.) you need to check the connection state before using it. Follow these tutorial to see how it is used.

https://networknt.github.io/light-rest-4j/tutorial/ms-chain/
https://networknt.github.io/light-rest-4j/tutorial/discovery/
Also there is an example client here.
https://github.com/networknt/light-example-4j/tree/master/client

The other option is to create a new connection for each request and close the connection after the request. This pattern is suitable for infrequent calls to services as it doesn't make sense to hold the resource. Take a look at the example client to see how this is done.

https://github.com/networknt/light-example-4j/tree/master/client


Platform-agnostic test suites

Expected Behavior
With the jvm-test-suite standard Gradle plugin , we get the ability to easily define test suites. The naming implies a tight coupling with JVM.
I believe that the ability to register a platform-agnostic test suite would be beneficial for Kotlin multiplatform users.
Current Behavior (optional)
Currently one could try it by:
testing {
   suites {
      val functionalTest by registering(TestSuite::class) {
         // Omitted
      }
   }
}

But this will fail due to
Could not create domain object 'functionalTest' (TestSuite)
Cannot create a TestSuite because this type is not known to this container. Known types are: JvmTestSuite

Context
I'm a fan of Kotlin multiplatform and contributor to Kotest which supports multiplatform testing. I think this is something that will facilitate better testing of Kotlin multiplatform.

Thank you for your interest in Gradle!
This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

Thanks @Kantis, we're actively working on improvements to testing and the goal is to eventually have something easily extensible that you could add to the test suite container.  So although you might not add a TestSuite to the container, you could easily create your own TestSuite implementation, register it with the container, and then add test suites of that type.  We're not quite there yet, so I can't give you anything more concrete at the moment, but we're actively working towards this.


Command listing SCT tools with brief description

For exemple:
sct list or sct tools or sct_tools
would display something like this:
sct_propseg                    Robust, fast and automatic spinal cord segmentation
sct_register_to_template       Registration to MNI-Poly-AMU template
sct_warp_template              Warp template on a given image
sct_register_multimodal        Co-registration of two images
etc...

Ideally, this script would generate this list automatically so we don't need to update it frequently.
It would use a new field in the parser, containing a short description of each script.

Command list available right now on Sourceforge, will become in documentation/sphinx/source/command-line.rst, and it doesn't seem like a concern, so closing.


Not able to scroll to element using winapp driver and linking of selenium web driver with winapp driver

Hi,
I am new to winapp driver and using java as a language. I am trying to automate siebel application using winapp driver. I have few questions.

Initially i was using both selenium and winapp driver to automate. I was launching browser using selenium and then using desktopCapabilities.setCapability("app", "Root") syntax to link my selenium driver and winapp driver. So that i can switch to either one of them depending on my requirement. But the performance degraded very badly with this approach. Any though here ?

Is there is any way in winapp driver using which i can scroll to an element using java. Behavior is like XML page source is loaded for the selected portion of the page only when i will scroll then remainning page source will be loaded.

I tried javascript but its not working. Getting command not implemented error
I also tried action class movetoelement method but the element to which i need to scroll will appear when i will scroll down in my application. Please suggest any approach here.

Hi there,
Can anyone please provide the code for scroll bar.
Cheers

@bheemab03
Interesting, I ran into this issue even while using c#, I simply clicked on scroll down button until I saw the element is wanted to interact with. Not very elegant, but it worked. Hope below helps,
var scrollBarRightArrow = _driver.FindElementByAccessibilityId("xxx").FindElementByAccessibilityId("DownButton");
                while (!element.Displayed)
                {
                    scrollBarRightArrow.Click();
                    Thread.Sleep(150);
                    if (element.Displayed)
                        break;
                }
                element.Click();
                element.SendKeys(Value);
                element.SendKeys(Keys.Tab);


Templates and Volumes

Codecov Report

Merging #10 into master will increase coverage by 0.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   74.96%   75.17%   +0.21%
==========================================
  Files          31       31
  Lines        1294     1297       +3
==========================================
+ Hits          970      975       +5
+ Misses        324      322       -2

Impacted Files
Coverage Δ

aioclustermanager/nomad/caller.py
72.58% <ø> (ø)
:arrow_up:

aioclustermanager/k8s/caller.py
71.13% <ø> (ø)
:arrow_up:

aioclustermanager/manager.py
87.69% <ø> (ø)
:arrow_up:

aioclustermanager/tests/test_nomad.py
100% <100%> (ø)
:arrow_up:

aioclustermanager/nomad/job.py
67.9% <0%> (+2.46%)
:arrow_up:

Continue to review full report at Codecov.

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


Analysis Server InterfaceTypeImpl.typeArguments exception

Analyzer Feedback from IntelliJ
Version information

IDEA IC-181.4203.550
2.0.0-edge.42f295ece52db767c22c902761bbae9d0fcd3dab
IC-181.4203.550, JRE 1.8.0_152-release-1136-b20x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.6 unknown, screens 1920x1200

Exception
Appended the contents of:
file:///private/var/folders/dg/b5sjdc0150nfdybn23gn8svw003j4w/T/
report246.txt
Dart analysis server, SDK version 2.0.0-edge.42f295ece52db767c22c902761bbae9d0fcd3dab, server version 1.20.5, error: Captured exception
NoSuchMethodError: The method 'call' was called on null.
Receiver: null
Tried calling: call()
#0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:48:5)
#1      InterfaceTypeImpl.typeArguments (package:analyzer/src/dart/element/type.dart:1399:26)
#2      InterfaceTypeImpl.appendTo (package:analyzer/src/dart/element/type.dart:1435:27)
#3      TypeImpl.toString (package:analyzer/src/dart/element/type.dart:2507:5)
#4      _StringBase._interpolateSingle (dart:core/runtime/libstring_patch.dart:801:17)
#5      StringBuffer.write (dart:core/runtime/libstring_buffer_patch.dart:64:24)
#6      _ParameterElementImpl

Same as https://github.com/dart-lang/sdk/issues/33477, which has an example, and can be reproduced.


How to append search_form values in kartik grid filter.

I used form and grid filter together.
In form Date range field is present to get particular data on that date and in filter I used filter form
to search other than date.
When I search in filter it only send filter form data but I also want to filter the search from data.
How to append it.
grid expand button [page/all] also not working correctly in this. So Please to know how to use search form with kartik grid?
What do you get instead?
Additional info

Q
A

Yii version
2.0.?

PHP version

Operating system

My issue is in kartik gridview. is there any options like requestParams in  kartik grid view as like in export manager.

No idea. This is not kartik repository. Ask there.


Add metastore resilience for corrupt views

Recently we've seen a few SQL² pretty printer bugs cause the entire metastore to become corrupt despite most mounts and views being unaffected.  Ideally we'd issue a warning and skip mounting the corrupt view rather than giving up on the entire metastore.

Metastore corruption related issues ->

https://github.com/quasar-analytics/quasar/issues/1910
https://github.com/quasar-analytics/quasar/issues/2294


.htaccess file added

.htaccess file added for better Leverage browser caching, which increases the page speed by a good amount.

Note: The difference in fully page load is differing because of the hosted server.

Hey @realabbas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: ca506190-d703-11e9-82ee-13bec588d4b8

Hey @realabbas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: bb9bd6a0-d787-11e9-b57f-f7c3bbd28520

I guess it makes sense to remove the sections that don't apply at all.

Okay yes, it does make sense. I have made an amendment to the file, removing the unnecessary sections

Hey @realabbas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 64f235f0-d788-11e9-b57f-f7c3bbd28520

Seems reasonable now that the media types make sense for Postwoman.
Would certainly like @NBTX's re-review as well though.

Yeah, waiting for @NBTX reviews


setting max allowed choices, validating dates in frontend

Adds radio button to survey creation to choose if respondents will need to prioritize every choice
Adds radio button to survey creation to choose if respondents will have the right to deny being allocated to some groups
If denying is allowed, at creation input is added to set the quantity of groups a respondent can deny
Adds allowed_denied_choices column to surveys table to accommodate above feature
Validates that end date is not before start date
Validates that end date is not during the ongoing day of survey creation

NOTE: needs schema change


Fix OS::has_feature() skipping custom features

Resolves #99850
Previously, #98862 introduced a regression where OS::has_feature() would always skip ProjectSettings::get_singleton()->has_custom_feature(p_feature) once OS::has_server_feature_callback was set. This PR reverts the code-change to OS::has_feature(), restoring the original functionality.
Also due to #98862, OS::has_feature() printed a warning when called before OS::has_server_feature_callback was set. Unfortunately, this always printed in debug builds run with verbose logging due to OS-specific features that were always checked (e.g., "macos"). On platforms without those features, the check "fell-through" until they hit the warning before the final return false. Since this is a reasonable use-case for OS::has_feature() and it is not possible to differentiate between general feature checks and server feature checks, this PR removes the warning.

Thanks!


[Discussion]  How do I fine-tune?

Hello.
please tell me how to fine-tune pretrained model. Can I do fine-tune with train.py?
Thank you.

请问你finetune成功了吗

No, I have not done fine-tune yet.
I pre-trained my own dataset with train.py. Then can I do fine-tune?
please tell me how to do.


[BUG]

pulsar KOP通过kafka java客户端无法正常消费
kafka java客户端使用Flume的kafkaSource进行消费，通过kafkaSink可以正常生产数据
To Reproduce

准备环境：
kop version：0.3.0；pulsar version： 2.6.1；kafka client version：2.0.5
kafka java客户端使用Flume的kafkaSource进行消费，
flume.conf配置如下
a1.sources =  r1 a1.sinks =  s1 a1.channels = c1 a1.sources.r1.topic = test a1.sources.r1.type = org.apache.flume.source.kafka.KafkaSource a1.sources.r1.brokerList = localhost:9092 a1.sources.r1.groupId = cousumer_group_lsl a1.sources.r1.batchSize = 2 a1.sources.r1.queue_size = 10 a1.sources.r1.batchDurationMillis = 1000 a1.sources.r1.threads = 1 a1.sources.r1.pollTimeOut = 1000 a1.sources.r1.auto.commit.enable = true a1.sources.r1.kafka.session.timeout.ms = 10000 a1.sources.r1.kafka.max.poll.interval.ms = 300000 a1.sources.r1.kafka.connections.max.idle.ms = -1 a1.sources.r1.channels = c1 a1.channels.c1.type = memory a1.channels.c1.capacity = 200 a1.channels.c1.transactionCapacity = 100 a1.sinks.s1.type = null a1.sinks.s1.channel = c1

向topic[test]中生产消息以供kafka jave客户端消费，
bin/kafka-console-producer.sh --broker-list localhost:9092  --topic test

kafka java客户端开启debug日志级别，日志信息如下
[2020-12-11 11:05:08,278] DEBUG (main-kakfa-source-0-test org.apache.kafka.clients.consumer.internals.Fetcher 212) Fetch request to <IP_ADDRESS>:9092 (id: 782843879 rack: null) for partitions [test-0] failed org.apache.kafka.common.errors.UnsupportedVersionException: The broker is too new to support FETCH version 3

查看pulsar的broker.log日志
10:31:11.165 [pulsar-web-42-80] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [11/Dec/2020:10:31:11 +0800] "GET /admin/v2/persistent/public/default/test/partitions HTTP/1.1" 200 16 "-" "Pulsar-Java-v2.6.1" 2 10:31:49.922 [pulsar-load-manager-3-1] INFO  org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl - Only 1 broker available: no load shedding will be performed 10:31:52.426 [pulsar-timer-52-1] INFO  org.apache.pulsar.client.impl.ProducerStatsRecorderImpl - [public/__kafka/__consumer_offsets-partition-0] [pulsar-cluster-1-0-0] Pending messages: 0 --- Publish throughput: 0.20 msg/s --- 0.00 Mbit/s --- Latency: med: 3.000 ms - 95pct: 3.000 ms - 99pct: 3.000 ms - 99.9pct: 3.000 ms - max: 3.000 ms --- Ack received rate: 0.20 ack/s --- Failed messages: 0

Expected behavior
FLume kafkaSource能够正常消费
Additional context
使用kafka脚本bin/kafka-console-consumer.sh可以正常消费该topic

@BewareMyPower @jiazhai Please help with this issue.

The description is a little confused.

pulsar KOP通过kafka java客户端无法正常消费

使用kafka脚本bin/kafka-console-consumer.sh可以正常消费该topic

Do you mean topics cannot be consumed by Flume Kafka source but not Kafka Java client? And Kafka Client 2.0.x doesn't have 2.0.5, did you mean 2.5.0.
Also it would be helpful to know your flume version so that I can check the version of Kafka Client and what Flume Kafka source does.

Also, You can add following config code to conf/log4j.yaml:
      - name: io.streamnative.pulsar.handlers.kop
        level: debug
        additivity: false
        AppenderRef:
          - ref: Console

Then KoP's debug logs would be printed to logs/pulsar-broker-xxx.out. And make sure immediateFlush is true in conf/log4j.yaml so that logs can be flushed to files immediately.

我这里的Kafka Java client使用的是Flume里的Kafka source组件（http://flume.apache.org/releases/content/1.9.0/FlumeUserGuide.html#http-sink），2.0.5指的是flume服务里引用的kafka-client.jar的版本。当然现在flume官网提供的最新flume版本是引用的以下kafka-client版本
然后我刚尝试自己写个demo引用kafka-clients 2.0.0去测试消费，是可以正常消费的。怀疑是flume里引用的kafka版本问题，但具体原因还不确定
在 2020-12-11 11:58:38，"Yunze Xu"<EMAIL_ADDRESS>写道：
The description is a little confused.
pulsar KOP通过kafka java客户端无法正常消费
使用kafka脚本bin/kafka-console-consumer.sh可以正常消费该topic
Do you mean topics cannot be consumed by Flume Kafka source but not Kafka Java client? And Kafka Client 2.0.x doesn't have 2.0.5, did you mean 2.5.0.
Also it would be helpful to know your flume version so that I can check the version of Kafka Client and what Flume Kafka source does.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

From my tests, the flume 1.9 works well with Pulsar 2.6.1 + KoP.
I downloaded flume 1.9 from http://www.apache.org/dyn/closer.lua/flume/1.9.0/apache-flume-1.9.0-bin.tar.gz. The Kafka Client's version is 2.0.1. You can find these libs in lib directory:
$ ls lib | grep kafka-cl
kafka-clients-2.0.1.jar

And my config file is a little different
a1.sources = r1
a1.sinks = s1
a1.channels = c1
a1.sources.r1.topic = my-topic
a1.sources.r1.type = org.apache.flume.source.kafka.KafkaSource
a1.sources.r1.brokerList = localhost:9092
a1.sources.r1.groupId = cousumer_group_lsl
a1.sources.r1.batchSize = 2
a1.sources.r1.queue_size = 10
a1.sources.r1.batchDurationMillis = 1000
a1.sources.r1.threads = 1
a1.sources.r1.pollTimeOut = 1000
a1.sources.r1.auto.commit.enable = true
# 1. the previous brokerList config doesn't work, so I configured kafka.bootstrap.servers here
a1.sources.r1.kafka.bootstrap.servers = localhost:9092
a1.sources.r1.kafka.session.timeout.ms = 10000
a1.sources.r1.kafka.max.poll.interval.ms = 300000
a1.sources.r1.kafka.connections.max.idle.ms = -1
a1.sources.r1.channels = c1
a1.channels.c1.type = memory
a1.channels.c1.capacity = 200
a1.channels.c1.transactionCapacity = 100
# 2. Sink the output to file under logs directory
a1.sinks.s1.type = file_roll
a1.sinks.s1.channel = c1
a1.sinks.s1.sink.directory = logs

Then run:
./bin/flume-ng agent -c ./conf -f ./conf/flume.conf -name a1 -property flume.root.logger=INFO

Then I wrote some messages to topic my-topic by Kafka Client. Here're the files under logs:
$ ls logs/160767*
logs/1607677724209-1 logs/1607677724209-2 logs/1607677724209-3 logs/1607677724209-4 logs/1607678152540-1 logs/1607678152540-2 logs/1607678152540-3
$ cat logs/160767*
hello-kop
hello-kop-0
hello-kop-1
hello-kop-2
hello-kop-3
hello-kop-4
hello-kop-5
hello-kop-6
hello-kop-7
hello-kop-8
hello-kop-9

Now I have changed my flume config,  a1.sinks.s1.type = file_roll, then I can alse see the consumed data from pulsar.
But I have another problem,  if you config your flume by using kafkaSource and kafkaSink , making consumed data from pulsar(topicA) to another topic(topicB) of pulsar, is that ok? Is there data inside topicB of pulsar ?
eg:
`a1.sources =  r1
a1.sinks =  s1
a1.channels = c1
[source]
a1.sources.r1.kafka.topics = test101
a1.sources.r1.type = org.apache.flume.source.kafka.KafkaSource
a1.sources.r1.kafka.bootstrap.servers = localhost:9092
a1.sources.r1.kafka.consumer.group.id = cousumer_group_lsl
a1.sources.r1.batchSize = 2
a1.sources.r1.queue_size = 10
a1.sources.r1.batchDurationMillis = 1000
a1.sources.r1.threads = 1
a1.sources.r1.pollTimeOut = 1000
a1.sources.r1.auto.commit.enable = true
a1.sources.r1.kafka.session.timeout.ms = 10000
a1.sources.r1.kafka.max.poll.interval.ms = 300000
a1.sources.r1.kafka.connections.max.idle.ms = -1
[source channel]
a1.sources.r1.channels = c1
[memory channel]
a1.channels.c1.type = memory
a1.channels.c1.capacity = 200
a1.channels.c1.transactionCapacity = 100
[sink]
a1.sinks.s1.type = org.apache.flume.sink.kafka.KafkaSink
a1.sinks.s1.threadpoll_timeout_ms = 6000
a1.sinks.s1.threads = 1
a1.sinks.s1.kafka.bootstrap.servers = localhost:9092
a1.sinks.s1.kafka.key.serializer = org.apache.kafka.common.serialization.StringSerializer
a1.sinks.s1.kafka.topic = test102
a1.sinks.s1.kafka.queue_size = 100
a1.sinks.s1.batchSize = 5
a1.sinks.s1.kafka.producer.batch.size = 500000
a1.sinks.s1.kafka.producer.buffer.memory=536870912
a1.sinks.s1.kafka.producer.max.request.size=20971520
a1.sinks.s1.kafka.producer.linger.ms=50
a1.sinks.s1.kafka.producer.acks=1
a1.sinks.s1.kafka.retries=2147483647
a1.sinks.s1.kafka.producer.request.timeout.ms=60000
a1.sinks.s1.kafka.producer.metadata.max.age.ms=600000
a1.sinks.s1.kafka.producer.max.in.flight.requests.per.connection=1
a1.sinks.s1.value.serializer = org.apache.kafka.common.serialization.StringSerializer
a1.sinks.s1.channel = c1`

It should be OK. You can make a test and dump the messages from topicB to verify it.


Fix typo in Tabs doc.

I don't know enough about grammar to say why the "ing" suffix is
correct, but I'm reasonably sure it is :)

Thanks!

Cherry-picked for 3.2.4.


"comment out the "Exercises in progress" section on the "/vacancies" page"- Jeremys Request

https://judicial-appointments.slack.com/archives/CLV1P6D6J/p1601924140006800

@londonprojects suggest you review this


Options window for bfme1 is flickering

I think the title tells the whole story. When you open the bfme1 options the window is flickering for a short amount of time.

https://learn.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-reduce-graphics-flicker-with-double-buffering-for-forms-and-controls?view=netframeworkdesktop-4.8
Need to check if Form is already double buffered, if not, we will use it.

Improved it with commit 595f9ec562803cb8e262ab345c448fca7e62366a
Should be way smoother now.

I'll take a look today at it

Haven't seen any other reports of it, seems fixed


How to place toastr

How can I place the toastr in the top center or bottom center

hi @EbeyH! You should use the NbToastrService to have a possibility to build toast notifications. It looks like NbToastrService.show(message, title, config). NbToastrService accepts three params, title and config are optional. Our attention is paid to config param.
First of all, you need to Import NbToastrModule.forRoot() to your app module. Than use  NbToastrService.show(...) to render new toast. Config accepts some options, one of them is position.
Position determines where on the screen toast will be rendered. The default is top-end. But you can choose the top center or bottom center.
Nebular also provides the capability to choose the color and icon of the toast, time after which the toast will be destroyed and etc. More detail info you can find here https://akveo.github.io/nebular/docs/components/toastr/overview#nbtoastrservice.


Release notes point to INSERT_VERSION_HERE on how to deploy

Report
No response
Expected Behavior

Actual Behavior

Steps to Reproduce the Problem
Click link in https://github.com/kedacore/keda/releases/tag/v2.7.1 with text "Learn how to deploy KEDA by reading our documentation."
You get sent to https://keda.sh/docs/INSERT-CORRECT-VERSION/deploy/
Possibly should automate that? :)
Logs from KEDA operator
example

KEDA Version
No response
Kubernetes Version
No response
Platform
No response
Scaler Details
No response
Anything else?
No response

Fixed, thanks for reporting!


[DRAFT] [MB-16989] Label/prefix service item dates

MB-16989
Summary
Adds clarity to the date displayed alongside MTO service items
Remaining before removing from draft state:

[ ] Refine MB-16989 and prepare for sprint
[x] Add unit tests confirming concatenation of prefix and date to RequestedServiceItemTable.test.jsx

Verification Steps for the Author
These are to be checked by the author.

[x] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Create an MTO shipment with several service items. There are several SIT related test harness scenarios that can quickly accomplish this
Approve and reject some as the TOO to see all 3 statuses simultaneously, updating in real time

Alternatively, use Storybook:

yarn storybook
go to http://localhost:6006/?path=/story/office-components-requestedserviceitemstable--default

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Screenshots
Requested:

Approved:

Rejected:

I'm reading this code as needed for MB-16987 and MB-16988 work (I know we haven't gone over these tickets as a whole team yet, but I read through them) and that this work needs merged in before those 1st day and destination tickets' work; or those need to branch off of your branch. Is that accurate they will build on this? Thanks and great job on this and the discovery work in general!

I'm reading this code as needed for MB-16987 and MB-16988 work (I know we haven't gone over these tickets as a whole team yet, but I briefly read through them) and that this work needs merged in before those 1st day and destination tickets' work; or those need to branch off of your branch. Is that accurate? Thanks and great job on this and the discovery work in general!

@mandaem The actual story-related app changes are not required for the other work within the epic, however I did make some changes to the test harness in this PR which will make testing the other work easier as well.
So I'd say the work is independent, but I do recommend merging these changes (or basing off of them) purely so that the updated test harness functions can be used to test MB-16987 and MB-16988


The automatic installation of missing plugins on startup doesn't work in terminal Vim.

The automatic installation of missing plugins works well in MacVim, but fails in terminal Vim. I don't know whether it's related to vim-plug or some other plugins. Could you give it test?

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar  7 2017 17:26:06)
MacOS X (unix) version
Included patches: 1-413
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +cmdline_hist    -ebcdic          -gettext         +listcmds        +mouse_sgr       +persistent_undo +smartindent     +textobjects     +wildmenu
+arabic          +cmdline_info    +emacs_tags      -hangul_input    +localmap        -mouse_sysmouse  +postscript      +startuptime     +timers          +windows
+autocmd         +comments        +eval            +iconv           +lua             +mouse_urxvt     +printer         +statusline      +title           +writebackup
-balloon_eval    +conceal         +ex_extra        +insert_expand   +menu            +mouse_xterm     +profile         -sun_workshop    -toolbar         -X11
-browse          +cryptv          +extra_search    +job             +mksession       +multi_byte      -python          +syntax          +user_commands   -xfontset
++builtin_terms  +cscope          +farsi           +jumplist        +modify_fname    +multi_lang      +python3         +tag_binary      +vertsplit       -xim
+byte_offset     +cursorbind      +file_in_path    +keymap          +mouse           -mzscheme        +quickfix        +tag_old_static  +virtualedit     -xpm
+channel         +cursorshape     +find_in_path    +lambda          -mouseshape      +netbeans_intg   +reltime         -tag_any_white   +visual          -xsmp
+cindent         +dialog_con      +float           +langmap         +mouse_dec       +num64           +rightleft       -tcl             +visualextra     -xterm_clipboard
-clientserver    +diff            +folding         +libcall         -mouse_gpm       +packages        +ruby            +termguicolors   +viminfo         -xterm_save
+clipboard       +digraphs        -footer          +linebreak       -mouse_jsbterm   +path_extra      +scrollbind      +terminfo        +vreplace
+cmdline_compl   -dnd             +fork()          +lispindent      +mouse_netterm   +perl            +signs           +termresponse    +wildignore
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -L/usr/local/lib  -L/usr/local/lib -o vim        -lm  -lncurses -liconv -framework Cocoa  -L/usr/local/lib -llua -fstack-protector  -L/System/Library/Perl/5.18/
darwin-thread-multi-2level/CORE -lperl  -L/Users/xlc/anaconda3/lib/python3.5/config-3.5m -lpython3.5m -framework CoreFoundation  -lruby.2.0.0 -lobjc

Type:

[x] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[ ] Linux
[x] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[ ] GVim
[ ] Neovim

If you mean that it works in the gui but not in the terminal, well that's likely a limitation of terminal Vim. Try it with Neovim instead if vim-plug has to run in a terminal.


Fix #539 : Update sentry.gradle

Fix provided by @icfr for issue #539
cf. https://github.com/getsentry/react-native-sentry/issues/539#issuecomment-460583113

When I run a ./gradlew clean build, my terminal complains about this:
The TaskInternal.executer property has been deprecated and is scheduled to be removed in Gradle 5.0. There are better ways to re-use task logic, see https://docs.gradle.org/4.4/userguide/custom_tasks.html#sec:reusing_task_logic.
        at sentry_c79fxbhuascug468f001tukcq$_run_closure1$_closure6.doCall(/Users/danale/Projects/engage-application.mobile/node_modules/react-native-sentry/sentry.gradle:19)

I upgraded to the latest version you guys have, it seems gradle does not like this line:
  def props = bundleTask.getProperties() is there a fix or workaround for this?


Witch version of .NET do i need?

I tried to open the program but is says i need to install .net before i can use it, help?

This project requires .NET 5.0. (https://dotnet.microsoft.com/en-us/download/dotnet/5.0)


feat: releases

Why
People using TPM are forced to follow the main branch or fork, we try to avoid breaking changes but they are needed from time to time (and sometimes mistakes happen and they slip trough).
By adding release you can follow a tag instead of the main branch:
set -g @plugin 'catppuccin/tmux#v0'

Multiple tags

v<major>.<minor>.<patch>: pin to a specific release
v<major>.<minor>: follow fixes
v<major>: follow feat updates
vlatest: follow the latest release, not happy with the name feedback welcome
main branch: "dev"

TODO

[ ] Add description to the README
[ ] Add CONTRIBUTING.md for commit style/scopes

Can you request me for review when you're finished making changes here?


Could I use this project wihout  build?

I want to build it, but failed in the make command.
pine64% make
go build -o ./pastedown
pastedown.go:21:2: cannot find package "github.com/cespare/blackfriday" in any of:
        /usr/lib/go-1.7/src/github.com/cespare/blackfriday (from $GOROOT)
        /home/debian/go/src/github.com/cespare/blackfriday (from $GOPATH)
pastedown.go:22:2: cannot find package "github.com/cespare/go-apachelog" in any of:
        /usr/lib/go-1.7/src/github.com/cespare/go-apachelog (from $GOROOT)
        /home/debian/go/src/github.com/cespare/go-apachelog (from $GOPATH)
pastedown.go:23:2: cannot find package "github.com/gorilla/pat" in any of:
        /usr/lib/go-1.7/src/github.com/gorilla/pat (from $GOROOT)
        /home/debian/go/src/github.com/gorilla/pat (from $GOPATH)
Makefile:10: recipe for target 'build' failed
make: *** [build] Error 1
pine64% go env
GOARCH="arm64"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/debian/go"
GORACE=""
GOROOT="/usr/lib/go-1.7"
GOTOOLDIR="/usr/lib/go-1.7/pkg/tool/linux_arm64"
CC="gcc"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build208212704=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
pine64%

Could I use this project just within run?

You need to obtain the dependencies (usually by go geting this package).
I just pushed a change that vendors the dependencies, so this won't be necessary. But you'll still need a Go environment set up (so pastedown needs to be located within GOPATH).

I'm going to close this because I don't think there is any bug here. Let me know if you're still having trouble.


Nuget CSS and js files deployed to default ASP.NET packages folder

Add nuspec file targets for more recent ASP.NET project configurations.

Fixed.


Changing the language should also change the time representation

In German AM / PM isn't used. Instead we use the normal 24-hour clock. (21:00 instead of 9:00 p.m.)

Hi! Can you clarify? I don't see any references to times in the summaries themselves---we prefer saying things like "morning" or "afternoon" instead of saying "10:00 AM" or anything like that.

Huh.. maybe I incorrectly reported this here. This is about the website darksky.net. For example, for Berlin, there are a lot of AM and PM:

Ah! The website is unrelated to this project. I'll copy your issue there for the relevant team to look into. Thanks!


Wagtail needs a YouTube screencast video by a secretary for secretaries

Hello,
NEED:  Wagtail needs one specific screencast video on YouTube.  In the video, a simple office worker whose knowledge of IT is limited to Word and Excel, sits down and creates or modifies complex content pages on a large site using wagtail.    The person should only use the GUI admin.  The person should never change code in wagtail files via a Linux console.  The video should be oriented to newbie-wagtail office workers such as secretaries.
WHY?:  I think developers want to attract large clients.   Well after a site is up and running, one purpose of a CMS is so that lower salaried office workers can be creative in developing the content part of the site.  Pages such as Marketing, Pricing, About, Terms of Use, FAQ, etc.  What good is a CMS if wagtail pros need to be hired every time content pages and structure needs to be altered?  This runs up cost.
Might as well just use html only.
CURRENT SITUATION:  Every wagtail screencast video I watch on YouTube, is by a wagtail pro.  And always involves editing code in some wagtail core files with the cursor flying around.  So this just kills one of the main reasons for using a CMS, versus an html only site.  I've seen no demonstration, that a secretary can sit down, and fairly easily start being productive modifying the site content pages.  And to demonstrate how to create content pages starting with simple to complex.
MY SITUATION:  I'm looking to contract out the build of a fairly complicated Real Estate site based on Linux, PostgreSQL, Python 3, Nginx, etc.  I'm examing Wagtail.  I want to maintain my site as cheap as possible afterwards.  As the site matures, I will want to keep improving on the non-programmed content pages.  But every wagtail demonstration I watch, makes it look like a CMS for coders only.  At the end of the day, a site needs to be turned over to non-coders.
Regards

Hey @gz1968, thank you for the feedback. The intro video from the wagtail.io homepage is akin to what you are after: https://vimeo.com/8671978. The official editor guide is also worth mentioning: http://docs.wagtail.io/en/stable/editor_manual/index.html. It's not a screencast (those are too expensive), but is meant for exactly what you describe.
Does this help?
The main reason why there isn't more of those comes down to focus/strategy, and cost. Wagtail generally doesn't have resources available for marketing beyond what partner organisations are willing to dedicate (see http://madewithwagtail.org/developers/). Talking from my experience, as an organisation willing to attract large clients we would rather demonstrate "what we can achieve with Wagtail" rather than "what Wagtail can achieve" in a broader sense. In terms of strategy, from my perspective it makes perfect sense to want to appeal to developers – they are the ones most aware of the CMS landscape, and often the decision makers.
At this stage, the most likely provider of such screencasts would be the broader Wagtail community, so I'm not sure it's worth keeping this issue open, but let's see whether others have more thought to add to this.

I understand the sentiment but I remain unconvinced that there is value in keeping track of this in an issue in this repo. This is a marketing matter, I don't see what change to what's in this repo would "resolve" this so I'll close this issue.
For the lack of screencasts specifically, I'll paraphrase myself: The main reason why there isn't more of those comes down to focus/strategy, and cost. Wagtail generally doesn't have resources available for marketing beyond what partner organisations are willing to dedicate. In my experience, to convince client it's much more effective to have an in-person workshop / demo than any screencast will ever be, no matter how good.


Failed To Start Controller Stream

when i click color calibration, it tells me that it failed to start controller stream
I looked in the log/console and it said "requesting controller stream start for ControllerID: 0" but my controller id's for my ps moves are ID:1 and ID:2, there is no Controller id: 0 in my situation.
how to i change my ps moves controller id? I need to change it to ID: 0
here is my log
ERROR [OpenVRContext::startup] Failed to initialize OpenVR: Hmd Not Found Presence Failed (126)!
INFO [App::init] Failed to initialize OpenVR!
INFO [Renderer::init()] Initializing Renderer Context
[INFO] ClientNetworkManager::start_tcp_connect - Connecting to: <IP_ADDRESS>:9512...
[INFO] ClientPSMoveAPI - Successfully initialized ClientPSMoveAPI
[ERROR] ClientNetworkManager::handle_tcp_connect - TCP Connect error: No connection could be made because the target machine actively refused it
[ERROR] handle_server_connection_open_failed - Failed to connect to service: No connection could be made because the target machine actively refused it
[ERROR] handle_server_connection_open_failed - Failed to connect to service: A socket operation was attempted to an unreachable host
[INFO] ClientNetworkManager::start_tcp_connect - Connecting to: <IP_ADDRESS>:9512...
[INFO] ClientPSMoveAPI - Successfully initialized ClientPSMoveAPI
[INFO] ClientNetworkManager::handle_tcp_connect - Connected to <IP_ADDRESS>:9512
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 1
[INFO] ClientNetworkManager::handle_tcp_connection_info_notification - Got connection_id: 0
[INFO] ClientNetworkManager::send_udp_connection_id - Sending connection id to server over UDP: 0
[INFO] ClientNetworkManager::handle_udp_write_connection_id - Successfully sent UDP connection id
[INFO] ClientNetworkManager::handle_udp_read_connection_result - UDP Connect Success!
[INFO] handle_server_connection_opened - Connected to service
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] start_controller_data_stream - requesting controller stream start for ControllerID: 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] stop_controller_data_stream - requesting controller stream stop for ControllerID: 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 4
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] start_controller_data_stream - requesting controller stream start for ControllerID: 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] stop_controller_data_stream - requesting controller stream stop for ControllerID: 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 6
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 5
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received notification type 3
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] start_controller_data_stream - requesting controller stream start for ControllerID: 1
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] stop_controller_data_stream - requesting controller stream stop for ControllerID: 1
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] get_tracker_list - requesting tracker list
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 7
[INFO] start_tracker_data_stream - requesting tracker stream start for TrackerID: 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] SharedMemory::initialize() - Opening shared memory: tracker_view_0[INFO] start_controller_data_stream - requesting controller stream start for ControllerID: 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 9
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] stop_tracker_data_stream - requesting tracker stream stop for TrackerID: 0
[INFO] get_tracker_list - requesting tracker list
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 7
[INFO] start_tracker_data_stream - requesting tracker stream start for TrackerID: 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] SharedMemory::initialize() - Opening shared memory: tracker_view_0[INFO] start_controller_data_stream - requesting controller stream start for ControllerID: 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 9
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] stop_tracker_data_stream - requesting tracker stream stop for TrackerID: 0
[INFO] get_tracker_list - requesting tracker list
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 7
[INFO] get_controller_list - requesting controller list
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2
[INFO] start_controller_data_stream - requesting controller stream start for ControllerID: 1
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] get_tracker_list - requesting tracker list
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 7
[INFO] start_tracker_data_stream - ## requesting tracker stream start for TrackerID: 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] SharedMemory::initialize() - Opening shared memory: tracker_view_0[INFO] stop_controller_data_stream - requesting controller stream stop for ControllerID: 1
[INFO] stop_tracker_data_stream - requesting tracker stream stop for TrackerID: 0
[INFO] get_tracker_list - requesting tracker list
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 0
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 7
[INFO] ClientNetworkManager::handle_tcp_read_response_header - Received Message Header
[INFO] ClientNetworkManager::handle_tcp_read_response_body - Received Response Body
[INFO] ClientNetworkManager::handle_tcp_response_received - Received response type 2

I'm getting this error too. :/

@HexCuber If a controller is turned off then back on while PSMoveService is running it will be set to a new ID (ie. ID 0 then 1 then 2 and so on). Try either restarting PSMoveService or restarting your Bluetooth device by either unplugging it or by disabling and re-enabling it in the Device Manager (to make sure no "phantom" PSMoves are connected).

@zlemon64 I've been doing this same thing, but whenever I go to use PSMoveService and I disconnect my USB from my controller, I get a Paired controller In Bluetooth that I can't remove before the computer assigns IDs to the controllers, making this fake one always 0.

@zelmon64  but how do i change the actual controller id, is there a config file that contains the controller id, or is it in my actual controller or dongle, or is it in the registry somewhere...
can you tell me where it is...

@zelmon64 could there be something wrong with my ASUS BT-400 dongle?

@orangy57 try restarting your bt adapter so that no "phantom" PSMoves are connected, start PSMoveService then press the PS button to connect one PSMove via bt. Hopefully then you should see the following in the log:
DeviceTypeManager::update_connected_devices - Device device_id 0 (PSMove) opened

Actually thinking about it, in you log what do you see get registered as Device device_id 0?
@HexCuber I don't believe the IDs are stored anywhere. I think the're just assigned on connection to PSMoveService. If the controllers are turned on while PSMoveService is running the IDs are assigned incrementally as each is connected. On the other hand, if PSMoveService is started with all the controllers already connected I think the IDs are assigned in the order the computer stores them in (alphabetically with their mac addresses probably). I'm inferring this from the behaviour of connecting multiple controllers in these scenarios.

@zelmon64 so what should i do?

@zelmon64 I even Did a factory reset a few hours ago on my pc but i still have the same problem.

@HexCuber I'm not sure what log file you posted earlier but could you please run PSMoveService with your PSMove controllers connected via bt and copy that log and post it? (PSMoveService doesn't currently save the log which is why you have to manually copy and paste it)

thats kinda weird because no my controller id is 0... strange?

but thankyou so much for the support

@zelmon64 i will let you know if i have any more problems...

Sorry I should have chimed in sooner. As always, thanks for the support @zelmon64.
Some background: There is no controller order PSMoveService defines anywhere. Basically the service just asks the OS (via HIDAPI) to give us a list of controllers that match the PSMove Controller HID/VID identifiers. HIDAPI gives back a list of bluetooth and USB connected controllers in some random order. PSMoveService assigns controllers an ID in the order it they appear in this returned controller list (0 for the first, 1 for the second, ...). There IS config data stored per controller in %appdata%\PSMoveService\<controller_bluetooth_id>.json, but nothing in there remembers the assigned controller ID. On a regular interval we repoll this controller list to see if controllers were added or removed. This means if a bad controller entry is stuck in there, this is an issue at the OS/Bluetooth Driver level.
I have sometimes seen windows hold on to previously opened controllers even though they have since been disconnected. Usually in most cases simply removing and reconnecting the bluetooth adapter fixes the issue. In the worst case there is a way to force rip out a controller entry out of the registry, but I prefer only to tell people about that as a last resort.

I figured out a fix, but it might not help you. What was happening to me was that the controller would be detected as ID 0, or there was a dummy controller somewhere that my Bluetooth tack had recognized. It would probably help to let Windows 10 handle your Bluetooth connections and to make sure to uninstall your current Bluetooth driver if you have one. That seemed to work for me and my Bluetooth no longer says I have a controller connected when it isn't.

@orangy57 Ah that's a good point about using the windows default bluetooth driver. I should add a not to the troubleshooting wiki about that.
I'm going to mark this issue as resolved for tracking purposes, but if the issue comes up again please feel free to re-open it.

@HexCuber @zelmon64 @orangy57 FYI CircuitLord suggested we setup a forum for helping people with trouble shooting. After some discussion we settled on a Google Group for PSMoveService:
https://groups.google.com/forum/#!forum/psmoveservice
When you guys get a chance you should head over there and request an invite. I would send invites, but I don't have your e-mail address.