Try to connect from WampSharp.

Hello. I want to connect to serwer from this bundle through WampSharp.
const string serverAddress = "ws://domaincoml:8080/";
DefaultWampChannelFactory channelFactory =
new DefaultWampChannelFactory();
        IWampChannel wampChannel =
            channelFactory.CreateJsonChannel(serverAddress, "realm1");

        wampChannel.Open().Wait();

I can connect, and I see it in GOS console. However, i have exception {"subprotocol doesn't match"}.
Any ideas?
thanks!

It's because you use the WampV2 protocol, We are using WampV1 protocol, according to the docs your lib support v1.
On my side WebsocketBundle will not support wampV2 protocol because it bring nothing more valuable (just more complexity for nothing).

You use WAMP1 protocol in WampSharp instead of WAMP2, just use the WampSharp.V1 namespace. See this tutorial.
Note that WAMP1 is deprecated, so its unlikely I'll fix WampSharp issues to that protocol version.

Helpful as always. Thank you :)


Improve how customized version of the extension should be made

Currently, the recommended method to extend this project is to create a copy of this repository and extend it.
Having my own copy/fork introduces various challenges, in particular how to keep it up to date with the various changes such as https://github.com/gradle/common-custom-user-data-maven-extension/pull/209
I would like to consume this project as a JAR, and overwrite/update what does not work for me via Java overwrite constructs. Many of the current methods are private/static and do not allow this level of control without the copy you suggested

@yeikel - thanks for the feedback. We have no plans at the moment to make this JAR open for extension. Our recommendation remains to create a fork of the repository, keep only the parts that you need, and add any customization that makes sense for your project(s).
If you are a Develocity customer, please reach out to the team that you work with and we would be happy to assist you with this and discuss this further.


[Proposal] Include stack trace on configurable level

It would be nice if we could collect a stack trace from runtime/debug on certain levels of errors

Closing per the project being put into maintenance mode


Work/group validator

I have a form with a radio group. There is a group validator attribute on the radio fields (data-validator-group).
Radios have required classes.
None of the radios are checked.
When I submit the form, the $.uvalidator.events.FORM_VALID event is fired.
Expected result:
I have required fields that are not filled. I don't want this form to be submitted.

Nice catch, using the already existing (and more appropriate) groupsLen variable!


Audio player mode

Tested on Raspberry 3. Mic mode not tested after the changes.
Self-plays wav files and does not need microphone or any special pulseaudio configuration. Mono files supported only for now.
To run this as a normal user and not root (to access pulseaudio easily), do the following:
sudo chmod a+rw /dev/mem
sudo setcap 'cap_sys_rawio+eip' /usr/bin/python3.7

!!! This does not improve your security as it practically grants root for all users !!!

This worked for me!!!


UMD Distribution Option

Currently, the ReactJsonSchema distribution has to be used in a CommonJS capable environment. It may serve someone benefit for there to be a UMD distribution of ReactJsonSchema.
UMD = Universal Module Definition

These are modules which are capable of working everywhere, be it in the client, on the server or elsewhere.
(https://github.com/umdjs/umd)

I propose we add a the UMD distribution under a new directory, dist/umd. Weback is capable of outputting the additional distribution at build time.

@eiof  Yup. That would be great to integerate with Webpack.


Fix: Logo for dark themes

Currently, when someone visits the GitHub repo with a dark mode theme, the logo does not look nice The black is barely visible.

With the new <picture> tag supported by GitHub, you can specify a logo's for light and dark themes.
I have created a logo with 10% Gray font (fabric-logo-colors-gray.svg and fabric-logo-colors-gray-800.png).
With this pull request the corresponding logo will be displayed.
Dark (with gray font):

Light (with black font):

Caution: Relative paths no longer work. In this pull request is therefore the new path that only works after merge.
The whole procedure also works when someone looks at the README with VS Code.

Thanks for the fix @Cyclenerd!


Ignore numpy version error.

What do these changes do?
numpy is throwing a warning related to differing numpy dtypes after upgrading. We suppress this because it is harmless.

Related issue number
N/A

[x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x] passes black --check modin/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-Performance-PRB/341/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/402/
Test PASSed.


v0.23.1 install broken on OS X

0.23.1 won't install on OSX - I'm using 0.23.0 as a workaround (this works).
See printscreen attached.
I can reproduce, let me know if you need anything else.

@lbighetti I just pushed to fix_releases_url.
From Travis, everything seems right. Can you test, please? before I can merge in master

The default macOS grep is FreeBSD grep. It doesn't support the -P flag.

Hi @marciogm, sorry I only had the time now.
Thanks a lot for the PR and also @jeffhertzler.
It however, still doesn't work for me:

Let me know if I should open a new issue.
Thanks!

@lbighetti curl is trying to resume the download.
Try to delete the temp file and install again.
rm /var/folders/wl/9........../T/crystal-0.23.1-version.tar.gz

@marciogm thanks! you're right. After removing the file i was able to install.
I'm getting this now
crystal -v

[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
Crystal 0.23.1 [e2a1389] (2017-07-13) LLVM 3.8.1

have you seen this before, any idea how to fix ?

@lbighetti 👍
never, but I found it: https://github.com/spyder-ide/spyder/issues/3730
Seems to be an issue with libevent
you can try export EVENT_NOKQUEUE=1 and test again :)

@marciogm wizard, that worked!
I get correct output now from crystal -v

Crystal 0.23.1 [e2a1389] (2017-07-13) LLVM 3.8.1

Still... I'm getting a issue when trying to run crystal files though.
for example, When I try to run the basic http server hello world from Crystal website:
# A very basic HTTP server
require "http/server"

server = HTTP::Server.new(8080) do |context|
  context.response.content_type = "text/plain"
  context.response.print "Hello world, got #{context.request.path}!"
end

puts "Listening on http://<IP_ADDRESS>:8080"
server.listen

I get

Error in app.cr:1: while requiring "prelude": can't find file 'prelude' relative to >'/Users/leandro/ws/littlealchemist.io/exploring/crystal'
require "http/server"
^

The path /Users/leandro/ws/littlealchemist.io/exploring/ is the root of the project. It seems like it's expecting a crystal folder with Crystal source code ?
Because this file is here: https://github.com/crystal-lang/crystal/tree/master/src
or perhaps i need an environment variable linking to crystal asdf installation ?
Thanks a lot!

@lbighetti Yes, you're right! Thank You. 😄
asdf-crystal/commit/a43bb4f0272bf3876b7f9397702b27b9efd84c76
Should work now 👍

I changed the list-all too, but without luck.
It is failing on Travis again, I don't know why

Great! Works like a charm now!
Thanks a bunch @marciogm ! Really appreciate the help! 🙏

Good, Glad to know! 😄


Update release notes for Podman 1.4.2

As the title says

cookies for @mheon LGTM

/hold

/lgtm

LGTM
don't forget the milk and given his day, the cookies should be fresh out of the oven....

It's green.
/hold cancel


improve the main navigation on the index page

All the links need to work appropriately

all visual styles now match and the links work appropriately


Add 'available' option to restaurants

Add an option to the restaurants to set it available or not, so the board can select what restaurants are available to use for the activities.

This ticket requires a migration.


Fix document to install pip IREE packages by building from source.

TF, jax, ptorch requires IREE packages, from pip or build from source.
But the previous extend PYTHONPATH method, will still require to download iree_*.whl even provided build library. Originally from https://github.com/iree-org/iree-jax/issues/70 .

I think like the setup.py require the package are installed
https://github.com/iree-org/iree-jax/blob/838c95088d51415c79695c6c69981c599e853f66/setup.py#L57-L58
source && export method do not satisfiy it.

Closing some old PRs. Current docs for python packages seem to be sufficient.


bintest doesn't work on Visual Studio toolchain

minimal build_config.rb
MRuby::Build.new do |conf|
  if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
    toolchain :visualcpp
  else
    toolchain :gcc
  end

  enable_debug
  conf.enable_bintest
  conf.enable_test

  conf.gembox 'default'
end

On mingw-w64's CLI (toolchain :gcc)
.............
Total: 13
   OK: 13
   KO: 0
Crash: 0
 Time: 0.68 seconds

On Visual Studio's CLI (toolchain :visualcpp)
Total: 0
   OK: 0
   KO: 0
Crash: 0
 Time: 0.0 seconds

Should I add conf.file_separator = '/' on :visualcpp toolchain?

If it works, please send us a pull request.

bintest worked when conf.file_separator = '/' instead of :visualcpp's default conf.file_separator = '\\'.
Is it ideal use case for conf.file_separator with :visualcpp toolchain?

working is better than perfect. but if you want to improve toolchain, it's OK.

@bggd I'm glad you got mruby to build with Visual Studio! Would you be able to teach me how? I'd like to help with future testing/debugging of mruby bugs on Windows.
Thanks!

test/bintest.rb call Dir.glob with a paths from Mruby::Build#run_bintest.
These paths's separator is converted '/' to '\\'(backslash) by Mruby::Build#filename when :visualcpp toolchain.
Dir.glob doesn't work this case.
This patch (#3131) reconvert '\\' to '/' for windows platform with Visual Studio.

May I close this issue?

I forgot to close.


Update schedules upon changing month

I checked the documentation and found the page event but I couldn't find a way to update the current calendar instance with data. How can this be done?

I checked the code, the library doesn't support that.
I ended up reinstantiating the calendar (there is no destroy method) with the new data every time.
Is this library still being maintained?


SafeHaven base image creation/delete test failover clones articles/typos

SafeHaven base image creation.md and delete test failover clones.md -
publish articles/fix typos

Thanks- updating and will keep in mind for future articles.

Changed #### to ### and to mixed case vs. caps per Nathan's earlier comment.


fix recomendation html layouts, remove RFC6350.adoc

#43

#45

Thanks @w00lf , could we fix the Hound issues too?

@ronaldtse how can i run hound locally? When i try to run rubocop it crushes with load error.

@ronaldtse i tried to fix hound warnings as much as i could but there are warnings that can be safely addressed here - class names and nesting, i will need to inspect included gems in order to not break anything, should i sepnd more time on this or is it fine now?

@w00lf then let's skip those for now. Refactoring and cleaning up is hard to complete in a day!
Also, could you help add an example document here so that in RSpec we can test generation to make sure the existing document passes? Thanks!

@opoudjis can you help review and merge this? Thanks.

Is hound and rubocop doing the same thing? @andrew2net reports they still are not.

Also, could you help add an example document here so that in RSpec we can test generation to make sure the existing document passes? Thanks!

Do NO SUCH THING.
Ronald. We made a point of removing documents from the gems last year, because of how long they took to run. There will be no making up testing regimes on the fly. The mn-samples-* repositories are dedicated to testing document generation, and that shall remain the case.

So you're saying that we will run flavor specs against mn-samples-{flavor} prior to release, right? Frankly they are run pretty quick now, so there shouldn't be excuses to not run them.
To do this we will need to add a spec for each flavor to test against samples (and templates).

Frankly they are nowhere near quick enough. Releases still take me 2-3 hours, and will continue to because of the heavy interdependencies. Do not make my life even more unpleasant than it already is.


[refmt] Unnecessary breaks on multi-line functions with explicit type

Desired output:
let f: int => int = (x) => {
  ();
  x
};

Actual output:
let f: int => int =
  (x) => {
    ();
    x
  };

Similar prettier example for reference: https://goo.gl/i6QGmo

The top example is what Prettier does fwiw.


Using more than one form of imports causes multiple copies/identities of Observable

alternative title for SEO: "all operators are undefined, not on the prototype"
RxJS version:
5.5.0
Code to reproduce:
Use two different styles of imports in the same project.
import 'rxjs';
import { Observable } from 'rxjs/Observable';

console.log(Observable.prototype.map);
// undefined

Or
import * as Rx from 'rxjs';
import { Observable } from 'rxjs/Observable';

console.log(Rx.Observable === Observable);
// false

Expected behavior:
They use the same copy of rxjs, so that there is only one Observable identity. Adding operators individually via import 'rxjs/add/operator/map' or import 'rxjs' both patch the same Observable.prototype as import { Observable } from 'rxjs/Observable'
Actual behavior:
They read from different copies of rxjs in the same package so adding operators to one doesn't add them to the other.
This becomes a major issue when dealing with libraries like angular, redux-observable, etc which use import { Observable } from 'rxjs/Observable' but the consuming devs use import 'rxjs'. None of the operators get added because they are not the same Observable.
This was first reported in https://github.com/redux-observable/redux-observable/issues/341 by several users, but I'm also experiencing it as well.
Additional information:
You won't reproduce this using CJS or with Babel. You need a bundler that supports tree shaking via "module". See https://github.com/ReactiveX/rxjs/issues/2984#issuecomment-338351370 for my working theory on the cause.
Workaround
The workaround is to use "rxjs/Rx" instead of "rxjs".
import 'rxjs/Rx';
import { Observable } from 'rxjs/Observable';

console.log(Observable.prototype.map);
// [object Function]

This works because then you won't using the ES modules copy, instead using the default CJS code--this also means you won't get what limited tree shaking you might have gotten, but you didn't get that before 5.5.0 and because operators are on the prototype they are not shaken, so the difference is modest. So using this workaround will behavior identical to how it was in 5.4
Cc/ @jasonaden @IgorMinar @benlesh

@jayphelps What package.json file are you referring to? The one that's distributed with rxjs points to './Rx.js. And the index.js file you're referring to is there in the source code version of Rx. This is what you would get if you did npm install @reactivex/rxjs.
I believe you are depending on rxjs though, right? Not building from source?
Can you send a simple repro case? I'll take a look, and hopefully we can get it fixed quick enough for 5.5.1.

What package.json file are you referring to? The one that's distributed with rxjs points to './Rx.js. And the index.js file you're referring to is there in the source code version of Rx. This is what you would get if you did npm install @reactivex/rxjs

Sorry for jumping the gun. I was quickly checking "what changed" recently and that was just one thing I noticed that seemed highly suspicious. I haven't had the time to truly confirm whether it's related. If your change only relates  to @reactivex/rxjs then it's unrelated indeed, assuming it didn't have any unintended effects with the rxjs package. I've reworded my thoughts to not sound as confident in the cause 👍

I believe you are depending on rxjs though, right? Not building from source?

Yup. Standard rxjs package.

Can you send a simple repro case? I'll take a look, and hopefully we can get it fixed quick enough for 5.5.1.

I'll put something together later tonight. I was able to reproduce it in two my apps (and three people in https://github.com/redux-observable/redux-observable/issues/341) but admittedly I haven't had time to try it in a complete empty project with nothing but rxjs. It's also possible this requires using ES2015 module syntax to reproduce, but I doubt it.

@jayphelps Okay, sounds good. Send it over when you have that ready and I'll take a look. If a problem surfaced here, I definitely want to get it fixed ASAP. There were some renamed operators, but we should be exporting anything renamed as the old name.

Reproduction: https://github.com/jayphelps/rxjs-issue-2984
I figured out the issue though: bundlers that understand the "module" flag in package.json will use a different copy of rxjs than if you use import * as Rx vs operator patching/direct import. i.e. there's a node_modules/rxjs/Observable.js and also a node_modules/rxjs/_esm5/Observable.js.
"module": "./_esm5/Rx.js"

https://github.com/ReactiveX/rxjs/commit/988e1af3c74a1b1865fd0e7a1d8ac93892608aee#diff-e7586ccec757a94ea1ab5c539aa69c3dR35
This is great for tree shaking and obviously done intentionally, but it means you have to use one or the other (or you're stuck with whatever your dependencies like redux-observable choose). Presumably the "es2015" flag + code has the same problem.
It's unclear what the right "fix" or more accurately, choice, should be made. This is definitely a breaking change obviously, so we can revert the behavior for 5.5.1. But for v6 it's unclear if there's a way to make both work. I don't think so.

IIRC, this would not have been a problem in beta.0 as package.json files were used at every level for redirection to _esm2015, etc. However, that effected case-related problem as the previous version's observable directory and the Observable.d.ts file both needed to be represented as directories.
If these conflicts could be addressed, the mechanism used in beta.0 should be fine for v6.

@jayphelps Yes, that makes sense now.
So I’m terms of the breaking change, we could remove the module reference from package.json. But I guess a question would be why both are being used? Deep imports and importing the “kitchen sink” version should generally be mutually exclusive.

Also, considering these two types of imports generally wouldn’t be used together, how would you feel about the recommendation being to just adjust Webpack module loading sequence to go straight to “main” for rxjs?
The problem with removing “module” is it makes it much harder for people using the kitchen sink import to get the benefits of ESM (significant size reduction).

Using both import patterns has been the status quo since v5. It’s been how libraries like angular, redux-observable, ngrx, etc can import Observable directly without also bringing in all of rxjs. Then consumers can choose between patching individual operators or patching the entire kitchen sink. So unfortunately for this issue, they have not been mutually exclusive; in fact, having both was the intent from the get go.

Also, considering these two types of imports generally wouldn’t be used together, how would you feel about the recommendation being to just adjust Webpack module loading sequence to go straight to “main” for rxjs

I’m not sure what you mean, can you clarify?

While we discuss future options, is there any objections by anyone to removing ”module” and releasing 5.5.1?

I think that some consideration needs to be given to the fact not only is this a breaking change, but it's also one that's hard to diagnose. It's only going to effect strange, runtime behaviour.
Just my two cents, but I'd vote for reverting it.

So my argument for not using both is that by importing rxjs/Rx you’re going to get the entire library. Nothing will be treeshakable no matter what you do.
That import should only be used in situations like sample apps where you don’t care about bundle size.

The issue applies to operator patching in general, even individually. This is my understanding: since traditionally rxjs has used prototype-based operators which are not treeshakeable by current bundlers (ignoring Closure Compiler with annotations and unsafe removals) normal tree shaking hasn’t been a priority because the only things it can shake are classes (and likely some random things like some of the schedulers. Removing those kb is meaningful, but most people asking for shaking wanted it to be done on the operators. This is one reason lettable operators were conceived, because then they’re shakeable.
Angular and other libs import Observable directly and then those libraries let you patch all operators with import ‘rxjs' or they might advocate devs patch operators individually. The “patch all” way just calls imports all the individuals for you, but not letting you control size, obviously.
That said, I haven’t been on the core team in a bit so I’ll defer to them to elaborate further and add any new details I haven’t heard of. 🙃

Generally that’s correct. The problem is that by importing rxjs/Rx or rxjs directly, you get every static method for observable, every operator, every scheduler, etc. Essentially you get the entire weight of the library.
Therefore there’s never a scenario where importing from rxjs/Rx as well as going deep imports to pull in operators gives any value.
I’ll ping Ben and OJ on this to weigh in. I’m fine either way. It just means people importing through rxjs/Rx won’t get the advantage of a smaller bundle.
Also, to be clear, even when using the “module” import for the ESM version, nothing is treeshakable. However, there’s a large size difference between CJS modules (the “main” key) and ESM to the tune of 10’s of kb with Webpack 2 and over a hundred with Webpack 3’s scope hoisting. So those are “free” bytes by keeping the “module” key there.

This issue is likely the cause of the problems in #2977, as the project in the related Angular issue includes the following imports (in addition to deep imports):
import { Observable, Subscription } from 'rxjs';
import { Observable } from 'rxjs';
import { Subscription } from 'rxjs';
import { Subscription, BehaviorSubject } from 'rxjs';
import { Observable, Subscription } from 'rxjs';

@cartant Good point on the related Angular issue. I was looking at it from the context of a single project, not the combination of different projects importing different ways.
I’ll push a commit to remove the “module” key.

@jasonaden unfortunately this is a breaking change. We'll need to fix it. The nature of the patching operators has always meant that the expectation is if you import from rxjs/Observable you should get the same reference as you would get from rxjs or rxjs/Rx. They are definitely not mutually exclusive, as I have seen an unfortunate amount of people using both.
We are definitely going to need to fix this.

Good point on the related Angular issue. I was looking at it from the context of a single project, not the combination of different projects importing different ways.

lol this is what I was trying to say. Sorry I wasn’t clear! 😆

Guys, thank you very much for reviewing my issue in Angular project. I hoped it helped to find the issue.

@jayphelps Yeah, sorry... I realized eventually ehats what you were saying. I missed it reading all this on my phone. I’ll send the PR in a few minutes.

// RxJS since 5.5+
import { Observable as Observable1 } from 'rxjs';
import { Observable as Observable2 } from 'rxjs/Observable';
console.log(Observable2 === Observable1); // => false, but expected true

Fix on webpack side:
resolve: {
    alias: {
        rxjs$: 'rxjs/_esm5/Rx.js',
        rxjs: 'rxjs/_esm5'
    }
},

Full config and repo example

Wasn't this fixed in 5.5.1?
On Thu, Oct 26, 2017, 4:01 PM Roman Vasilev<EMAIL_ADDRESS>wrote:

// RxJS since 5.5+
import { Observable as Observable1 } from 'rxjs';
import { Observable as Observable2 } from 'rxjs/Observable';
console.log(Observable2 === Observable1); // => false, but expected true
Fix on webpack side:
resolve: {
alias: {
rxjs$: 'rxjs/_esm5/Rx.js',
rxjs: 'rxjs/_esm5'
}
},
Full config
https://github.com/unlight/webpack-resolve-alias-playground/blob/master/webpack.config.ts
and repo example
https://github.com/unlight/webpack-resolve-alias-playground
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ReactiveX/rxjs/issues/2984#issuecomment-339675892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANM6CHjtoBdmuHJ4gjLvI4pgMtuSVHJks5swJDPgaJpZM4QBQvp
.


[Feature Request] - Accessors

Hi dear mathfu contributors !
I'm happy to use mathfu for hobby project, It works like a charm.
Me and my teammates would request that mathfu Vector.x() and similar operations should work without parenthesis.
So in the current state of mathfu:
vec.x() = 5;
something = vec.x();
What we would like to make mathfu better
vec.x = 5;
something = vec.x;
I didn't looked at the source code, so if you really need to call functions when accessing x, there are several methods to make C# like property accesses for those, with ZERO overhead.
Please take this request seriously, keep up the good work though :)

I didn't notice it's already implemented :)


[Feature] Reduce redundant shuffle for dynamic bucket writes

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Dynamic bucket writing does two shuffles, the first repartitionByKeyPartitionHash seems unnecessary, It seems to be only used to determine assignId. However, assignId can be calculated through partitionHash/keyHash/numParallelism/numAssigners, we do not need to do extra shuffle. Can we remove it?
https://github.com/apache/paimon/blob/e27ceb464244f5a0c2bfa2a7c6db649ca945212b/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/commands/PaimonSparkWriter.scala#L143
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

@YannByron could you please take a look?

it is hard, Perhaps different assigners will have the same bucket data


Fix 'BYTES' field handling on Py3k.

JSON decodes the base64-encoded bits as text, which cannot be passed to 'base64.decodestring' on Py3k.
tox -e system-tests3 was failing for me locally before this patch, and passes with it.

@tseaver: See "but please use the core helper"

@dhermes I updated it (via git commit --amend) to do so.


[chart/redis-ha][REQUEST] change default image tag for haproxy to alpine build image

Is your feature request related to a problem? Please describe.
is there a reason to stick with the non alpine image for ha-proxy ? cant this also be the alpine release image like redis?
Describe the solution you'd like
change default image tag for haproxy to 2.6.9-alpine
Additional context
The alpine image seem to have less security issues

@martijnvdp My only concern would be whether this has any negative impact on the scripts we use to provision things.
Assuming it doesn't (I will check the PR and test) I have no concerns with this.


Add Coder Camps to site

https://www.codercamps.com/

This issue has been marked "beginner friendly"!
To accomplish this task, just follow this simple process (assuming you have git installed):

Fork this repository

Clone your forked copy of the repository

Open the project on your machine, and go to config/code_schools.yaml (here).

Make the edits on any text editor while following the format described in it's comments.

Run the following commands on your terminal, in order:

git add .
git commit -m "Resolve #93"
git push

Once you've pushed the changes to your forked copy, go here and open a new pull request!


Calling make nix_elixir_build_ockly on macos fails to build ockly crate on develop

Observed behavior
Building Ockly with Nix fails on current develop
Steps to reproduce

Checkout to current develop
With Nix installed on system, run the below
make nix_elixir_build_ockly

Desired behavior
Ockly should build fine and produce the required NIF
Ockam Version
ockam_v0.116.0

Closed in https://github.com/build-trust/ockam/pull/7626


Checklisted validation

adds inv validate
first two steps of 40

Codecov Report

Merging #22 (d3764de) into main (1c23cf8) will decrease coverage by 0.12%.
The diff coverage is 98.41%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   99.66%   99.54%   -0.13%
==========================================
  Files          40       43       +3
  Lines        1807     1972     +165
==========================================
+ Hits         1801     1963     +162
- Misses          6        9       +3

Impacted Files
Coverage Δ

sscutils/tests/create_dogshow.py
100.00% <ø> (ø)

sscutils/metadata/datascript/scrutable.py
95.65% <91.11%> (-4.35%)
:arrow_down:

sscutils/validation_functions.py
98.91% <98.61%> (-1.09%)
:arrow_down:

sscutils/artifact_context.py
100.00% <100.00%> (ø)

sscutils/config_loading.py
100.00% <100.00%> (ø)

sscutils/helpers.py
100.00% <100.00%> (ø)

sscutils/invoke_commands.py
100.00% <100.00%> (ø)

sscutils/metadata/bedrock/artifact_metadata.py
100.00% <100.00%> (ø)

sscutils/metadata/bedrock/column.py
100.00% <100.00%> (ø)

sscutils/metadata/bedrock/conversion.py
100.00% <100.00%> (ø)

... and 13 more

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 1c23cf8...d3764de. Read the comment docs.

provides a v1 for #20


Serialize numpy arrays with object types

Summary
Details and comments
Fixes https://github.com/Qiskit-Partners/qiskit-ibm/issues/74

@rathishcholarajan though it looks good to me: can you take a quick look if we can integrate it?

@kt474 the integration test jobs of the CI runs on your fork are still failing due to configuration issues
https://github.com/kt474/qiskit-ibm-runtime/actions/workflows/ci.yml?query=branch%3Ajob-results-stream
Can you check again? Feel free to reach out if you need help. More details are also available at https://github.com/Qiskit/qiskit-ibm-runtime/blob/main/CONTRIBUTING.md#configuration

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
189 unchanged lines in 17 files lost coverage.
Overall coverage decreased (-5.3%) to 58.078%

Files with Coverage Reduction
New Missed Lines
%

qiskit_ibm_runtime/accounts/account.py
1
93.02%

qiskit_ibm_runtime/ibm_backend.py
1
60.0%

qiskit_ibm_runtime/runtime_program.py
1
88.68%

qiskit_ibm_runtime/api/auth.py
2
74.19%

qiskit_ibm_runtime/utils/backend_decoder.py
2
47.54%

qiskit_ibm_runtime/api/clients/base.py
4
88.03%

qiskit_ibm_runtime/utils/converters.py
6
18.97%

qiskit_ibm_runtime/api/rest/program_job.py
9
60.87%

qiskit_ibm_runtime/api/rest/cloud_backend.py
11
37.5%

qiskit_ibm_runtime/api/session.py
11
70.54%

Totals

Change from base Build<PHONE_NUMBER>:
-5.3%

Covered Lines:
2013

Relevant Lines:
3466

💛  - Coveralls

@kt474 Could you please backport this as well to qiskit-ibmq-provider?


Don't use casatasks

import casatasks seems to import matplotlib and initialize a matplotlib plot window, so we should not use anything from casatasks (only casatools).
@astrofrog this means the exportfits trick is off-limits; we need a different option.

Closed by https://github.com/radio-astro-tools/spectral-cube/pull/595/commits/bf31d83320d1233fe1ca9ed6078e51bf7b4f899d


KAFKA-5584: fix integer overflow in Log.size

As described in KAFKA-5584 the integer overflow in Log.size may lead to wrong metrics and broken size-based retention via log.retention.bytes or retention.bytes on rather large topic partitions.

Let me know if you are OK with writing the test or if you need help.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6040/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6025/
Test PASSed (JDK 8 and Scala 2.12).

@ijuma I just pushed the test for log sizes exceeding Int.MaxValue - I am not sure if there is a more clever way to test though :)

@ijuma please bear with me - I haven't used EasyMock before :)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6027/
Test PASSed (JDK 8 and Scala 2.12).


Feature: Option to remove comments.

It would be great if there was an option to remove html comments i.e:

However keeping the browser based comments like the one for IE8 i.e:

@ImranBug Please read at least the top of README before opening new issues.

Ops my bad! Going for (html-minifier)[https://github.com/kangax/html-minifier/issues?utf8=✓&q=comments]

Just in case any one else lands here: set removeComments to true.


Add the regression keyword when filing a crash bug with a non-empty Regressed By filed

I wonder if we could add the keyword in other cases too. E.g. can we detect that a crash is new? In theory if we haven't seen it before it is new, though there are cases where the crash just changes signature, so it's not really a rule.

I agree, but this could be a bit noisy in case of false positives. If the regression got identified manually at some point later, the keyword will be automatically added.


Sticky Header is too tall

Expected behavior
Actual behavior
Steps to reproduce behavior

[10:43 AM] jwise (Guest)
Hey all! Noticing a small design issue on my laptop (small screen). the sticky header is quite tall, it would be an easy fix for me to take care of
[11:07 AM] Julie Cabinaw
Yes, please and thank you!!
[11:08 AM] jwise (Guest)
Julie Cabinaw Carolyn Schmidt is this something you'd like me to fix today at 911 rates or Monday at normal rates? It should take less than hour, but depends on if there are responsiveness issues.
[11:09 AM] Julie Cabinaw
it looks ok on mobile, I would say it can wait until monday rates (smile)
(2 liked)[11:09 AM] Julie Cabinaw
Its cosmetic.
[11:09 AM] jwise (Guest)
Sounds good, I agree it's a fairly small cosmetic issue (smile)

Created a ticket for this issue: TST-228

here is what i see

@monicakarnes can this be closed?


Continuing to press the keys on a TextField with LengthLimitingTextInputFormatter(2) keeps calling onChange

CODE:
TextField(
              inputFormatters: [LengthLimitingTextInputFormatter(2)],
              onChanged: (value){
                print(value);
              },
            )

他会不停的触发打印的方法，但是Value没有变
He keeps printing, but the value doesn't change

Hi @mx4g
does this code represent the issue you are describing?
Could you please provide your updated  flutter doctor -v?
Thank you

Hi @mx4g
does this code represent the issue you are describing?
Could you please provide your updated flutter doctor -v?
Thank you

v1.9.1+hotfix.6 ，does this code represent the issue you are describing? Yes

Hi @mx4g
I'm not sure to understand the issue,
if you run the code I've provided represents your description
running it  you can see that onChange behave as intended.
Can you describe the issue more in details?
Thank you

Hi @mx4g
I'm not sure to understand the issue,
if you run the code I've provided represents your description
running it you can see that onChange behave as intended.
Can you describe the issue more in details?
Thank you

I made a restriction on the lengthlimitingtextinputformatter (2)，When I hit the keyboard onChanged Event will trigger，But the value of the input box does not change

Hi @mx4g
does this code solve your issue?
thank you

Hi @mx4g
does this code solve your issue?
thank you

no solve，When the number of characters I input is equal to 2, continuing to press the keyboard will still print

This issue still exist

flutter doctor -v
[✓] Flutter (Channel dev, 1.18.0-10.0.pre, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-10.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 9b7b9d795e (18 hours ago), 2020-05-05 12:09:51 -0700
    • Engine revision 33d2367950
    • Dart version 2.9.0 (build 2.9.0-5.0.dev 9c94f08410)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.44.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.1

[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.4 19E287
    • Web Server • web-server       • web-javascript • Flutter Tools
    • Chrome     • chrome           • web-javascript • Google Chrome
      81.0.4044.138

• No issues found!

Still reproducible.
Code
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        appBar: AppBar(title: Text("Flutter Issue")),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              TextField(
                inputFormatters: [LengthLimitingTextInputFormatter(2)],
                onChanged: (value){
                  print(value);
                },
              )
            ],
          ),
        ),// This trailing comma makes auto-formatting nicer for build methods.
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.157, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.157 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 4b83be6c23 (6 hours ago), 2020-12-30 02:09:03 -0500
    • Engine revision 0e5a25d779
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • Redmi 5 Plus (mobile)              • 0258ff700005  • android-arm64  • Android 8.1.0 (API 27)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.
Process finished with exit code 0


Terraform provider fails with "key is not in PEM format" but snowsql works perfectly with same key

Terraform CLI and Provider Versions
Terraform v1.7.5
on darwin_arm64

provider registry.terraform.io/snowflake-labs/snowflake v0.87.3-pre

Terraform Configuration
provider "snowflake" {
  authenticator = "JWT"
  user = "ME"
  account = "sssssss"
  private_key = "~/.ssh/snowflake_carmas.p8"
  private_key_passphrase = "xxxxxx"
}

terraform {
  required_version = "> 1.7.4"
}

Expected Behavior
terraform plan
........
Actual Behavior
terraform plan
....
Error: could not retrieve private key: could not parse private key, key is not in PEM format
│
│   with provider["registry.terraform.io/snowflake-labs/snowflake"],
│   on provider.tf line 1, in provider "snowflake":
│    1: provider "snowflake" {
Steps to Reproduce
https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs#example-provider-configuration

Followed the instructions, tested the encrypted key with SnowSQL (snowsql CLI)

How much impact is this issue causing?
High
Logs
No response
Additional Information
https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs#example-provider-configuration
snowsql CLI works with the encrypted keys

the key + passphrase work with snowsql
they key generation was done as recommended:

$ openssl genrsa -out snowflake_carmas 4096
$ openssl rsa -in snowflake_carmas -pubout -out snowflake_carmas.pub
$ openssl pkcs8 -topk8 -inform pem -in snowflake_carmas -outform PEM -v2 aes-256-cbc -out snowflake_carmas.p8

2024-03-23T00:22:33.524-0700 [ERROR] provider.terraform-provider-snowflake_v0.87.3-pre: Response contains error diagnostic: @caller=github.com/hashicorp/terraform-plugin-go@v0.20.0/tfprotov6/internal/diag/diagnostics.go:62 @module=sdk.proto diagnostic_detail="" tf_req_id=1cf7bab5-f93c-739c-9b0a-4b73b7769586 tf_rpc=ConfigureProvider diagnostic_severity=ERROR diagnostic_summary="could not retrieve private key: could not parse private key, key is not in PEM format" tf_proto_version=6.4 tf_provider_addr=registry.terraform.io/Snowflake-Labs/snowflake timestamp=2024-03-23T00:22:33.524-0700
2024-03-23T00:22:33.524-0700 [ERROR] vertex "provider["registry.terraform.io/snowflake-labs/snowflake"]" error: could not retrieve private key: could not parse private key, key is not in PEM format
2024-03-23T00:22:33.525-0700 [INFO]  backend/local: refresh calling Refresh

Hey @carmas. Thanks for reaching out to us.
private_key is not expecting the path to the key but the key itself. You have the deprecated private_key_path but we recommended using private_key with file Function istead.

@sfc-gh-asawicki thank you!
Indeed, the use of file() solved the problem for us, appreciate the help!
thanks again!


No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer

This project is deprecated. Use https://github.com/googlesamples/androidtv-sample-inputs/


Remove overlapping pattern match.

This removes an unreachable pattern match.  It also adds a type signature on a function in a where clause, hopefully making the code more readable.
The following warning occurs without this change:
$ cabal build
...
[ 7 of 36] Compiling SubHask.TemplateHaskell.Deriving ( src/SubHask/TemplateHaskell/Deriving.hs, dist/build/SubHask/TemplateHaskell/Deriving.o )

src/SubHask/TemplateHaskell/Deriving.hs:289:9: Warning:
    Pattern match(es) are overlapped
    In an equation for ‘go’: go qqq = ...

Thanks!  These changes are great!


Slack badge is broken

Add a new one from img.shields.io?

Closing this issue for now because it has not had recent activity. Thank you for your contributions.


interop failure: node:csharp_server:status_code_and_message

https://grpc-testing.appspot.com/job/gRPC_interop_master/1694/console
I1215 19:06:18.718281358     196 socket_utils_common_posix.c:148] Disabling AF_INET6 sockets because ::1 is not available.

assert.js:86
  throw new assert.AssertionError({
        ^
AssertionError: 'Received RST_STREAM err=8' === 'test status message'
    at ClientDuplexStream.<anonymous> (/var/local/git/grpc/src/node/interop/interop_client.js:367:12)
    at ClientDuplexStream.emit (events.js:107:17)
    at /var/local/git/grpc/src/node/src/client.js:557:14

FAILED: cloud_to_cloud:node:csharp_server:status_code_and_message [ret=1, pid=4917]

CC @jtattermusch

Yeah, this is another instance of https://github.com/grpc/grpc/issues/4427. Any ideas what could be wrong? Looks like it's a C core issue.

I think this problem can be tracked sufficiently in #4227.

@murgatroid99  probably a wrong issue number.

I already fixed it.


Embed Canva Presentation

Embed Canva Presentation
Embed the Canva project's presentation within the README.md and/or the web-site. This shall be the project's presentation given at the International Finals.

Realized in 64c3a70.


[Bug] Can't create a section with level bar

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Self-Hosted
Current Behavior
4.0.4 version - I am not able to create a section like Skills, Languages with colored level bars
Expected Behavior
Be able to create a section like Skills, Languages with colored level bars
Steps To Reproduce

Goto a Resume
Create a new section
==> There is no option to have colored level bars

What browsers are you seeing the problem on?
Microsoft Edge
What template are you using?
None
Anything else?
No response

Yes, this ability was there in the previous build, but is missing now. Also, is there a possibility to add a varied scale options instead of 5 to 8. Or make it a decimal level entry.


fixes

Fix mem leak in IntrusivePtr move operator
Use unsetParameter (instead of setting INVALID_HANDLE)

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


Problem E32 when triggering changes to climate.set_temp or climate.hvac_mode through an automation

Bestway device
S100202 Wifi:Airjet v01
Describe the bug
Im getting a spa error "Problem E32" when triggering changes to climate.set_temp or  climate.hvac_mode through an automation also it seems to lose the climate entity, eg dosent relfelect the app.
Logs
Automation setting temp to 20'c
2024-07-09 16:23:47.842 DEBUG (MainThread) [custom_components.bestway.bestway.api] Device list refreshed: {"devices": [{"protoc": 3, "ws_port": 8080, "port_s": 8883, "gw_did": null, "host": "eum2m.gizwits.com", "sleep_duration": 3600, "port": 1883, "mcu_soft_version": "D4H90227", "product_key": "", "state_last_timestamp":<PHONE_NUMBER>, "role": "owner", "is_sandbox": false, "type": "normal", "product_name": "Airjet_V01", "is_disabled": false, "mcu_hard_version": "P4660011", "wifi_soft_version": "04X3000B", "dev_alias": "Lay z spa", "mesh_id": null, "is_online": true, "dev_label": [], "wss_port": 8880, "remark": "25", "did": "", "mac": "", "passcode": "", "wifi_hard_version": "0ESP32C3", "is_low_power": false}]}
2024-07-09 16:23:47.915 DEBUG (MainThread) [custom_components.bestway.bestway.api] New data received for device xxxxxxxxxxxxxxxxxxxxx
2024-07-09 16:23:47.915 DEBUG (MainThread) [custom_components.bestway.bestway.api] Status for device type 'Airjet_V01' returned: {"E19": 0, "E18": 0, "E32": 1, "E31": 0, "E30": 0, "E11": 0, "E10": 0, "E13": 0, "E12": 0, "E15": 0, "E14": 0, "E17": 0, "E16": 0, "word5": 1, "word4": 0, "word7": 37, "word6": 0, "word1": 0, "word0": 0, "E29": 0, "word2": 111, "option6": 10244, "ver": 1126, "E22": 0, "jet": 0, "E23": 0, "power": 1, "Tnow": 36, "option7": 10260, "option4": 0, "option5": 27178, "option2": 0, "option3": 30, "option0": 59940, "option1": 59940, "E24": 0, "E25": 0, "E26": 0, "E27": 0, "E20": 0, "E21": 0, "E08": 0, "E09": 0, "E06": 0, "E07": 0, "E04": 0, "E05": 0, "E02": 0, "E03": 0, "E01": 0, "bit7": 0, "heat": 6, "Tunit": 1, "wave": 0, "word3": 0, "Tset": 40, "filter": 2, "E28": 0, "bit6": 0, "bit5": 0, "bit4": 0, "bit3": 0, "bit2": 1}
2024-07-09 16:23:47.915 DEBUG (MainThread) [custom_components.bestway.coordinator] Finished fetching Bestway API data in 0.306 seconds (success: True)
2024-07-09 16:23:50.052 DEBUG (MainThread) [custom_components.bestway.bestway.api] Setting target temperature to 20
2024-07-09 16:23:50.234 DEBUG (MainThread) [custom_components.bestway.bestway.api] Device list refreshed: {"devices": [{"protoc": 3, "ws_port": 8080, "port_s": 8883, "gw_did": null, "host": "eum2m.gizwits.com", "sleep_duration": 3600, "port": 1883, "mcu_soft_version": "D4H90227", "product_key": "", "state_last_timestamp":<PHONE_NUMBER>, "role": "owner", "is_sandbox": false, "type": "normal", "product_name": "Airjet_V01", "is_disabled": false, "mcu_hard_version": "P4660011", "wifi_soft_version": "04X3000B", "dev_alias": "Lay z spa", "mesh_id": null, "is_online": true, "dev_label": [], "wss_port": 8880, "remark": "25", "did": "", "mac": "", "passcode": "", "wifi_hard_version": "0ESP32C3", "is_low_power": false}]}
2024-07-09 16:23:50.302 DEBUG (MainThread) [custom_components.bestway.bestway.api] Ignoring update for device xxxxxxxxxxxxxxxxxxxxx as local data is newer
2024-07-09 16:23:50.303 DEBUG (MainThread) [custom_components.bestway.coordinator] Finished fetching Bestway API data in 0.146 seconds (success: True)
Automation setting hvac to off
2024-07-09 16:24:19.817 DEBUG (MainThread) [custom_components.bestway.bestway.api] Device list refreshed: {"devices": [{"protoc": 3, "ws_port": 8080, "port_s": 8883, "gw_did": null, "host": "eum2m.gizwits.com", "sleep_duration": 3600, "port": 1883, "mcu_soft_version": "D4H90227", "product_key": "", "state_last_timestamp":<PHONE_NUMBER>, "role": "owner", "is_sandbox": false, "type": "normal", "product_name": "Airjet_V01", "is_disabled": false, "mcu_hard_version": "P4660011", "wifi_soft_version": "04X3000B", "dev_alias": "Lay z spa", "mesh_id": null, "is_online": true, "dev_label": [], "wss_port": 8880, "remark": "25", "did": "", "mac": "", "passcode": "", "wifi_hard_version": "0ESP32C3", "is_low_power": false}]}
2024-07-09 16:24:19.888 DEBUG (MainThread) [custom_components.bestway.bestway.api] New data received for device xxxxxxxxxxxxxxxxxxxxx
2024-07-09 16:24:19.889 DEBUG (MainThread) [custom_components.bestway.bestway.api] Status for device type 'Airjet_V01' returned: {"E19": 0, "E18": 0, "E32": 1, "E31": 0, "E30": 0, "E11": 0, "E10": 0, "E13": 0, "E12": 0, "E15": 0, "E14": 0, "E17": 0, "E16": 0, "word5": 1, "word4": 0, "word7": 37, "word6": 0, "word1": 0, "word0": 0, "E29": 0, "word2": 111, "option6": 10244, "ver": 1126, "E22": 0, "jet": 0, "E23": 0, "power": 1, "Tnow": 36, "option7": 10260, "option4": 0, "option5": 27178, "option2": 0, "option3": 30, "option0": 59940, "option1": 59940, "E24": 0, "E25": 0, "E26": 0, "E27": 0, "E20": 0, "E21": 0, "E08": 0, "E09": 0, "E06": 0, "E07": 0, "E04": 0, "E05": 0, "E02": 0, "E03": 0, "E01": 0, "bit7": 0, "heat": 4, "Tunit": 1, "wave": 0, "word3": 0, "Tset": 20, "filter": 2, "E28": 0, "bit6": 0, "bit5": 0, "bit4": 0, "bit3": 0, "bit2": 1}
2024-07-09 16:24:19.889 DEBUG (MainThread) [custom_components.bestway.coordinator] Finished fetching Bestway API data in 0.280 seconds (success: True)
2024-07-09 16:24:20.361 DEBUG (MainThread) [custom_components.bestway.bestway.api] Setting heater mode to OFF
2024-07-09 16:24:20.611 DEBUG (MainThread) [custom_components.bestway.bestway.api] Device list refreshed: {"devices": [{"protoc": 3, "ws_port": 8080, "port_s": 8883, "gw_did": null, "host": "eum2m.gizwits.com", "sleep_duration": 3600, "port": 1883, "mcu_soft_version": "D4H90227", "product_key": "", "state_last_timestamp":<PHONE_NUMBER>, "role": "owner", "is_sandbox": false, "type": "normal", "product_name": "Airjet_V01", "is_disabled": false, "mcu_hard_version": "P4660011", "wifi_soft_version": "04X3000B", "dev_alias": "Lay z spa", "mesh_id": null, "is_online": true, "dev_label": [], "wss_port": 8880, "remark": "25", "did": "", "mac": "", "passcode": "", "wifi_hard_version": "0ESP32C3", "is_low_power": false}]}
2024-07-09 16:24:20.740 DEBUG (MainThread) [custom_components.bestway.bestway.api] Ignoring update for device xxxxxxxxxxxxxxxxxxxxx as local data is newer
2024-07-09 16:24:20.741 DEBUG (MainThread) [custom_components.bestway.coordinator] Finished fetching Bestway API data in 0.228 seconds (success: True)
Manually changing setpoint to 21'c
2024-07-09 16:24:39.059 DEBUG (MainThread) [custom_components.bestway.bestway.api] Setting target temperature to 21
2024-07-09 16:24:39.395 DEBUG (MainThread) [custom_components.bestway.bestway.api] Device list refreshed: {"devices": [{"protoc": 3, "ws_port": 8080, "port_s": 8883, "gw_did": null, "host": "eum2m.gizwits.com", "sleep_duration": 3600, "port": 1883, "mcu_soft_version": "D4H90227", "product_key": "********************************", "state_last_timestamp":<PHONE_NUMBER>, "role": "owner", "is_sandbox": false, "type": "normal", "product_name": "Airjet_V01", "is_disabled": false, "mcu_hard_version": "P4660011", "wifi_soft_version": "04X3000B", "dev_alias": "Lay z spa", "mesh_id": null, "is_online": true, "dev_label": [], "wss_port": 8880, "remark": "25", "did": "", "mac": "", "passcode": "", "wifi_hard_version": "0ESP32C3", "is_low_power": false}]}
2024-07-09 16:24:39.478 DEBUG (MainThread) [custom_components.bestway.bestway.api] Ignoring update for device xxxxxxxxxxxxxxxxxxxxx as local data is newer
2024-07-09 16:24:39.478 DEBUG (MainThread) [custom_components.bestway.coordinator] Finished fetching Bestway API data in 0.170 seconds (success: True)

if there is anything else i can do to help diagnose, please let me know

Is this problem happening consistently 100% of the time or intermittently?

Is this problem happening consistently 100% of the time or intermittently?

seems fairly consistent

Does using the first-party Bestway app surface any errors or does that work without complaint? Also have you power-cycled the spa at the plug?

The "good" news is that after power cycling with the green button I am now experiencing the exact same E32 on my AirJet V01 on US servers. To answer my previous questions:

No, a hard power cycle does not clear the error.
No, the first-party Bestway app does not surface this error in any way.

Even being able to reproduce the error doesn't really give my any clues however. I am unable to find any documentation anywhere for errors in the E3x range so it's quite the frustrating mystery.

I have done a bit of debugging, the error isn't caused by setting the hvac mode. It's only caused by altering the setpoint.

E32 isn't something I've come across before.
When we get E32, is that only as per the errors sensor in HA? Does the physical spa or app still behave OK?
Are you able to clear E32 in any way?
If it's changing the setpoint that's the issue, I suggest collecting logs while doing this in the app. It should then be possible to spot the property change in the logs and see if anything else changes at the same time.

So apparently, the issue I reported in #76 is linked to this E32 code, which isn't actually an error as I do not see any issues in the Bestway app nor on the pump display.

It seems to clear if I turn off Heat in the Bestway app, and comes back as soon as I re-enable Heat but target temp is already reached.

So FWIW, I've updated my alerting automation to ignore this specific E32 error code.

I believe E32 just means heating is requested, but the heater element isn't actually on because target temperature is already reached.

Well spotted, I'll get this updated


Incompatibility ECU-R pro and ECU-C owners >read this<

If you own an ECU-C or ECU-R with Sunspec logo on the back you will have compatibility issues.

Originally this integration was written based on the standard ECU-R (without SunSpec logo) and happened to be compatible with the ECU-B also. If you own one of these, this integration will work for you but notice this issue when you are running HA 2022.4 or later https://github.com/ksheumaker/homeassistant-apsystems_ecur/issues/62
I know some of you would like to help and make this integration compatible, I do not own an ECU-C or ECU-R with SunSpec logo and that makes it hard to solve your issues. But let's give it a try again... please inform me which ECU type you have and add the log.
Use integration v1.2.11 when installing, the things I'd like to try only work on this version. Also notice that if you're on HA2022.4 or higher you also have to apply these changes https://github.com/ksheumaker/homeassistant-apsystems_ecur/issues/62
In configuration.yaml add these lines:

(You will have to restart HA after each change in Python files or configuration.yaml)
I've seen the "connection reset by peer" error that some of you have. Also empty data is returned (and interpreted which causes an error). So let's try to introduce a time out period (self.sock.settimeout(self.timeout)).
Modify APSystemsSocket.py and add it to lines 91 and 103

Restart HA and look at the log to see any errors. I'll await your feedback.

I also noticed the lack of some data, looks like all the diagnostic data is missing.
I'm not sure if the ECU-R i manage through HA has the logo or not, but probably since it was bought last may.
It's my friends setup so i don't have physical access to check atm.
I don't have time to try what's suggested here for a few days, but i'd be happy to give temporary access to to you if you wanted to look into it HAEdwin?

I do have an ECU-R-Pro  Looks like version 2.0.6010 if I am reading the data correctly.  One thing I noticed while throwing in some debug statements of my own, when I use the inverter command in packetsender it returns a 282 byte response, but the sock.recv() call in read_from_socket is simply returning b'' which bails out of that while loop.  I can get the results from packetsender if that is helpful.
2022-04-15 17:26:39 DEBUG (MainThread) [custom_components.apsystems_ecur.config_flow] Starting config flow class... 2022-04-15 17:26:39 DEBUG (MainThread) [custom_components.apsystems_ecur.config_flow] Starting step_user 2022-04-15 17:26:39 DEBUG (MainThread) [custom_components.apsystems_ecur.config_flow] Returning to show form 2022-04-15 17:26:53 DEBUG (MainThread) [custom_components.apsystems_ecur.config_flow] Starting step_user 2022-04-15 17:26:53 DEBUG (MainThread) [custom_components.apsystems_ecur.config_flow] User Input is not none 2022-04-15 17:26:53 DEBUG (SyncWorker_4) [custom_components.apsystems_ecur.APSystemsSocket] Connecting to ECU on [WiFi IP] 8899 2022-04-15 17:26:54 DEBUG (SyncWorker_4) [custom_components.apsystems_ecur.APSystemsSocket] Connecting to ECU on [WiFi IP] 8899 2022-04-15 17:26:54 DEBUG (SyncWorker_4) [custom_components.apsystems_ecur.APSystemsSocket] Sending ECU query to socket APS1100160001END 2022-04-15 17:26:55 ERROR (MainThread) [custom_components.apsystems_ecur.config_flow] APSystemsInvalidData exception: Error getting checksum int from 'Inverter data' data=b'' Traceback (most recent call last): File "/config/custom_components/apsystems_ecur/APSystemsSocket.py", line 212, in check_ecu_checksum checksum = int(data[5:9]) ValueError: invalid literal for int() with base 10: b'' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/custom_components/apsystems_ecur/config_flow.py", line 45, in async_step_user test_query = await self.hass.async_add_executor_job(ap_ecu.query_ecu) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/apsystems_ecur/APSystemsSocket.py", line 158, in query_ecu data = self.process_inverter_data() File "/config/custom_components/apsystems_ecur/APSystemsSocket.py", line 287, in process_inverter_data self.check_ecu_checksum(data, "Inverter data") File "/config/custom_components/apsystems_ecur/APSystemsSocket.py", line 217, in check_ecu_checksum raise APSystemsInvalidData(error) custom_components.apsystems_ecur.APSystemsSocket.APSystemsInvalidData: Error getting checksum int from 'Inverter data' data=b'' 2022-04-15 17:26:55 DEBUG (MainThread) [custom_components.apsystems_ecur.config_flow] Returning to show form

@nectur Returning b'' is one of the things to focus on. Packetsender does it right indeed so there's got to be something in using the socket. First I'd like to try out the timeout. Do the log results above include the use of the timeout statement?

@HAEdwin I tried it both with and without the timeout, it did not make a difference either way.

What if you remark these lines like this:

and restart.

@nectur If you have an ECU-r-pro (like me), you can try my alternative. It's an adapted version if this integration, based on querying the internal webserver of the ECU. It has been running for 2 months. I have upgraded HA and HACS without problems too.
copy the files from my repo to replace the current one and restart HA
https://github.com/tv3/homeassistant-apsystems_ecur

@tv3 Yup, I have yours currently as a backup.  I had jumped over to it after writing issue #59.  Just trying to help out @HAEdwin with this debugging.
  They are simply setting the timeout value on the socket, so that it if doesn't receive the data within that timeout it returns.  That should only need to be set once per socket.  I am going to attempt it with a time.sleep command instead.  Will let you know.

@nectur It is indeed a timeout on the socket and it is said applies independently to each call to socket read/write operation (https://pyquestions.com/how-to-use-python-socket-settimeout-properly) I've examined the effects closely here: https://github.com/ksheumaker/homeassistant-apsystems_ecur/discussions/50
But nevertheless it seems not to be the issue here.
From what I can see APS1100280002[ECU-ID]END is supposed to read inverter type YC600 and DS3. Does<PHONE_NUMBER>98 indeed reflect your ECU-ID and do you own an YC600 or DS3? It's odd that the ECU does not respond to this query. How does Packetsender respond to APS1100280002216200010298END?

This part is weird

I think line 135 can get remarked it's a duplicate.

From what I remember, closing and opening the socket did help. Maybe alter this part:

to this

closing and reopening before each command seemed to do the trick!

Also noticed that the close socket call in the lifetime energy = 0 case was an incorrect method name, fixed that on my copy.
Added it to the following inverter signal call as well, not sure if it was necessary or not...

Oh I see, self.socket_close() is wrong indeed well noticed! Not sure if self.open_socket should be sock = self.open_socket()
I'm a bit scared for socket exhaustion with this solution so it might break later on. I question myself why this is needed. Looks like the ECU doesn't bind or something.

open_socket() doesn't return anything, so setting it to a local variable won't do anything.
I will give it some run time and see how it looks.  I do have a plug already in the loop that watches for 2 'unavailable' reads in a row and then will reboot the ECU due to the ECU's own stability issues.
Minor item I am seeing already though is for some reason it doesn't seem to have created the extra inverter entities for voltage, frequency, temp, and signal.  Not major for me at all right now.  At some point I might try re-configuring the integration and see if they come back, but I am out of time to play with this for right now.

Indeed the ECU "skips a beat" sometimes but with the interval of 60 seconds that I use, it's not really an issue because the ECU refreshes data once every 5 minutes anyway. With the current HA 2022.4 I can see the last time it skipped.

Strange if the extra inverter entities are missing, does the inverty_qty match with the number of inverters? Anyway, on my part everything is still running on the "older" ECU-R with the addition of closing and opening the port in between the write/read operations. I leave it running for a while. Thanks for your help.

@nectur  Everything still running? No issues here with my standard ECU-R.
Changes we made so far which help the compatibility with the ECU-R with ECU-R pro firmware (SunSpec logo on the back).
https://github.com/HAEdwin/homeassistant-apsystems_ecur/commit/b3a96fd23d73096ed12129e6be86bfd133fc9894

@HAEdwin Looks like 1.2.12 fixes my missing entities issue.  It was the EntityCategory enum change.  I was about to make a pull request for it and noticed that it had already been merged in and my HACS pull of 1.2.11 did not have it.  Thanks!

@nectur I didn't expect you missed #62 anyway, great that Kyle merged and released 1.2.12. I'll close this issue. Should stability issues arise we can open a new issue.

@nectur By the way, how is your ECU-R connected? WiFi or Ethernet, just checking.

@HAEdwin I have it on WiFi right now.  Do you want me to test if it supports ethernet?  I wouldn't mind getting a device off my WiFi if it might work :)

@nectur If you want you could try but I don't expect you to test it. With the older "standard" ECU-R it only works via WiFi so I don't expect the ECU-R with pro firmware will work for this combination Ethernet and Integration.

I'd be happy also to get rid of WiFi so I can test it.
Is there a way to change the IP address after setting up the integration? I renamed the solar panels and it's a lot of work to do again.
I could add a second integration but then it would create new entities and it's not a "tidy" approach.

I did this by editing the core.config_entries file from HA, it contains a section for your ECUR (just search within the file for ecur)
In that section, there is this part:
        "data": {
            "host": "<IP_ADDRESS>",
            "scan_interval": 300
        },

If you change those values, reboot HA and the new values should be used.
Caution: editing these core config files might nuke your HA, so be carefull here.
You find the file in the /config/.storage location

I'd be happy also to get rid of WiFi so I can test it.
Is there a way to change the IP address after setting up the integration? I renamed the solar panels and it's a lot of work to do again. I could add a second integration but then it would create new entities and it's not a "tidy" approach.
Otherwise you use the fork by tv3 which scrapes the web interface and works also on ethernet

@HAEdwin it works just fine also on wired ethernet.
I tried tv3, which in theory should be more reliable with ECU-R PRO, but the current main branch doesn't even return (anymore?) the power of each panel, so I'll be back to this component, and actually I'll switch directly to your fork instead of ksheumaker, since you are the one currently active on the project (can you maybe enable "Issues" on your fork?).


[Feature Request] Cog: Support

I use support for verifying members in my server and mod related things, this usually requires uploading a id for verifying age and screenshots for mod stuff. Therefore it would be nice if support gave the ticket creator attach_files permissions. The ticket category has @everyone with those permissions but the ticket channels don't inherit them. I have implemented a patch on my bot but I do think that those permissions are kind of important for anyone using the tickets for these tasks.

Just added this permission :)


Add BT71 entry to F1155/F1255 and fix for BT74

Hi, i become this error...
i have an F1155
:34.084 WARNING (MainThread) [nibe.nibe.connection.nibegw] Ignoring coil 42439 value ecf9 - failed to decode
2024-12-04 01:01:34.084 WARNING (MainThread) [nibe.nibe.connection.nibegw] Ignoring coil 42447 value aaf4 - failed to decode
2024-12-04 01:01:36.322 WARNING (MainThread) [nibe.nibe.connection.nibegw] Ignoring coil 42437 value b17c - failed to decode
2024-12-04 01:01:36.322 WARNING (MainThread) [nibe.nibe.connection.nibegw] Ignoring coil 42439 value ecf9 - failed to decode
they found a solution...
https://github.com/yozik04/nibe/pull/153
can you help me to find a solution
thanks a lot

My guess is you added these to the LOG.SET file. Please revive them from that file.
The pumps usually fail to send 32 bit values using log set entries.

thanks a lot...
this work for a long time with my FHEM installation... but now ich will change to Hass
so i searched the Problem on the other side...
so it was my mistake in the LOG.SET of the Nibe


Fix context object ref count issues

Resolves #70
By submitting a request, you represent that you have the right to license
your contribution to Apple and the community, and agree that your
contributions are licensed under the Apache License Version 2.0.
For existing files modified by your request, you represent that you have
retained any existing copyright notices and licensing terms. For each new
file in your request, you represent that you have added to the file a
copyright notice (including the year and the copyright owner's name) and the
Calendar and Contacts Server's licensing terms.
Before submitting the request, please make sure that your request follows
the Calendar and Contacts Server's guidelines for contributing
code.

@dreness - gentle ping. It would be great to get this issue resolved.


feat(*): add volcengine cloud provider and clb plugin

Add the volcengine provider to open-kruise-game and add the clb plugin.

Users can declare the required clb id and the corresponding backend pod port in okg's gameserverset resource.

-OKG will automatically help users create corresponding services to implement traffic forwarding
Implementation principle

Through okg, when creating a service, add clb-related anno to the service; then the cloud-controller-manager component in the vke cluster will recognize the clb anno in the service, create a listener on the clb side, and bind the back-end server group , realize traffic forwarding

Details can be found in the README

lgtm

/LGTM


Adjusts the "click" event handler for the JS ModalViewer

Resolves #1472 by adjusting the "click" event handler for the ModalViewer (as discovered by @tpendragon)

Coverage remained the same at 99.41% when pulling addf3760bb13f9028a1c0612d41cc83e8d66e37c on issues-1472-jrgriffiniii-fix-osd-file-manager into 15185efe1e0743a443413ec28a742570c6fdb980 on master.

This is working for me locally or in staging, e.g., https://hydra-dev.princeton.edu/concern/scanned_resources/sv979v500b/file_manager
Are any of the recent changes to e.g., not load an extra copy of jQuery related?

Coverage remained the same at 99.41% when pulling 4e4bac0a136fb08d3b6404d46c75d93a96765f6b on issues-1472-jrgriffiniii-fix-osd-file-manager into 15185efe1e0743a443413ec28a742570c6fdb980 on master.


Creating a project with a number as name gives confusing error

Current Behavior
I was trying various tools and created a folder structure with subfolders named 1, 2, 3, so when I tried tsdx I ran
npx tsdx create 4

and after choosing the basic template I got the error Missing options. Ensure you pass --name flag to tsdx.
Took me a little while to figure out the problem was the number, as running
npx tsdx create test

worked.
Expected behavior
I expect either it to work correctly, or to tell me using a number with npx tsdx create does not work.
Suggested solution(s)

Additional context

Your environment

  System:
    OS: macOS 11.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.05 GB / 16.00 GB
    Shell: 3.1.0 - /usr/local/bin/fish
  Binaries:
    Node: 16.4.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.18.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Browsers:
    Chrome: 91.0.4472.114
    Firefox: 89.0
    Safari: 14.1.1
  npmGlobalPackages:
    typescript: 4.3.4

I don't believe 4 is a valid package name. But PR welcome to make the error more friendly.
I didn't write this code (and don't use create), but I believe that's because create runs a regex replace on the input. In this case it replaces it with an empty string, hence the "Missing" error.


Add timestamps to onhovered highlights

Example:

T… Tensai!?!

This is all going on staging.holodex.net btw

That’s the staging area dev branch deploys to

:NiceDesuNe:


The type or namespace name 'Bind_TOCropViewController' could not be found

Hi Jeff.
Nice to "meet" you.   I started a new thread to keep things tidy.
I'd like to contribute but can't get the source built.  And I'm new to the Nuget creation world.
I have the Nuget installed and running in my (android) app and it's good but I'd like to add a few extra variables.
I downloaded all of the code clean again and I got rid of most of the errors.
I am still getting this weird one though.  It is saying the Bind_TOCropViewController isn't there, when clearly it is.  I added references etc but that only made more errors.  Of course I did 100 Build-Clean-Rebuild, deleted bin - obj etc.
(In the meantime I'll give it another clean download to concentrate on the steps I'm taking)

Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.9.6

I did a clean install and it automagically restored all Nugets.  I ran Rebuild All.  Here is the output: 4 succeeded, 1 failed
(I deleted lots of unnecessary lines from the successful builds.)
Rebuild started at 10:44...
Restored C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Parcelize.Runtime.Maui\Kotlin.Parcelize.Runtime.Maui.csproj (in 10 ms).
Restored C:\Users\mrray\Source\Repos\ImageCropper.Maui3\TOCropView.Maui\TOCropView.Maui.csproj (in 47 ms).
Restored C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Android.Extensions.Runtime.Maui\Kotlin.Android.Extensions.Runtime.Maui.csproj (in 50 ms).
Restored C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\Com.Vanniktech.AndroidImageCropper.Maui.csproj (in 64 ms).
1>------ Rebuild All started: Project: TOCropView.Maui, Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: Kotlin.Android.Extensions.Runtime.Maui, Configuration: Debug Any CPU ------
Restored C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\ImageCropper.Maui.csproj (in 147 ms).
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7129\tools\msbuild\iOS\Xamarin.Shared.targets(1639,3): warning : It's currently not supported to build a binding project from Windows unless a connection to a Mac is available.
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(1723,3): warning : It's currently not supported to build a binding project from Windows unless a connection to a Mac is available.
1>TOCropView.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\TOCropView.Maui\bin\Debug\net7.0-ios\TOCropView.Maui.dll
1>Done building project "TOCropView.Maui.csproj".
1>TOCropView.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\TOCropView.Maui\bin\Debug\net8.0-ios\TOCropView.Maui.dll
2>obj\Debug\net8.0-android\api.xml.class-parse : warning BG8605: The Java type '$' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?)
2>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.52\tools\Xamarin.Android.Bindings.ClassParse.targets(43,5): obj\Debug\net8.0-android\api.xml.class-parse warning BG8605: The Java type '$' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?)
LINES CROPPED OUT
2>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Android.Extensions.Runtime.Maui\obj\Debug\net7.0-android\generated\src\Kotlinx.Android.Extensions.IContainerOptions.cs(190,25,190,33): warning CS0114: 'IContainerOptionsInvoker.ToString()' hides inherited member 'Object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
2>Kotlin.Android.Extensions.Runtime.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Android.Extensions.Runtime.Maui\bin\Debug\net8.0-android\Kotlin.Android.Extensions.Runtime.Maui.dll
2>Kotlin.Android.Extensions.Runtime.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Android.Extensions.Runtime.Maui\bin\Debug\net7.0-android\Kotlin.Android.Extensions.Runtime.Maui.dll
2>Done building project "Kotlin.Android.Extensions.Runtime.Maui.csproj".
2>The package Kotlin.Android.Extensions.Runtime.Maui.<IP_ADDRESS> is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
2>Successfully created package 'C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Android.Extensions.Runtime.Maui\bin\Debug\Kotlin.Android.Extensions.Runtime.Maui.<IP_ADDRESS>.nupkg'.
3>------ Rebuild All started: Project: Kotlin.Parcelize.Runtime.Maui, Configuration: Debug Any CPU ------
3>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Parcelize.Runtime.Maui\obj\Debug\net8.0-android\generated\src\Kotlinx.Parcelize.IWriteWith.cs(112,22,112,28): warning CS0114: 'IWriteWithInvoker.Equals(Object?)' hides inherited member 'Object.Equals(Object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
LINES CROPPED OUT
3>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Parcelize.Runtime.Maui\obj\Debug\net7.0-android\generated\src\Kotlinx.Parcelize.ITypeParceler.cs(194,26,194,34): warning CS0114: 'ITypeParceler.IContainerInvoker.ToString()' hides inherited member 'Object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
3>Kotlin.Parcelize.Runtime.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Parcelize.Runtime.Maui\bin\Debug\net7.0-android\Kotlin.Parcelize.Runtime.Maui.dll
3>Done building project "Kotlin.Parcelize.Runtime.Maui.csproj".
3>The package Kotlin.Parcelize.Runtime.Maui.<IP_ADDRESS> is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
3>Successfully created package 'C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Kotlin.Parcelize.Runtime.Maui\bin\Debug\Kotlin.Parcelize.Runtime.Maui.<IP_ADDRESS>.nupkg'.
4>------ Rebuild All started: Project: Com.Vanniktech.AndroidImageCropper.Maui, Configuration: Debug Any CPU ------
4>obj\Debug\net8.0-android\api.xml.class-parse : warning BG8605: The Java type '$' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?)
4>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.52\tools\Xamarin.Android.Bindings.ClassParse.targets(43,5): obj\Debug\net8.0-android\api.xml.class-parse warning BG8605: The Java type '$' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?)
LINES CROPPED OUT
4>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.52\tools\Xamarin.Android.Bindings.Core.targets(92,5): obj\Debug\net8.0-android\api.xml(3403,8) warning BG8401: Skipping 'Com.Canhub.Cropper.CropImageOptions.Creator' due to a duplicate nested type name. (Java type: 'com.canhub.cropper.CropImageOptions')
4>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\obj\Debug\net8.0-android\generated\src\Com.Canhub.Cropper.CropException.cs(28,35,28,43): warning CS0108: 'CropException.Cancellation._members' hides inherited member 'CropException._members'. Use the new keyword if hiding was intended.
LINES CROPPED OUT
4>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\Additions\CropImageActivityBinding.cs(20,47,20,78): warning CS8604: Possible null reference argument for parameter 'input' in 'Intent CropImageContract.CreateIntent(Context context, CropImageContractOptions input)'.
4>Com.Vanniktech.AndroidImageCropper.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\bin\Debug\net8.0-android\Com.Vanniktech.AndroidImageCropper.Maui.dll
4>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.95\tools\Xamarin.Android.Bindings.ClassParse.targets(43,5): obj\Debug\net7.0-android\api.xml.class-parse warning BG8605: The Java type '$' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?)
4>obj\Debug\net7.0-android\java-resolution-report.log : warning BG8606: Some types or members could not be bound because referenced Java types could not be found. See the 'java-resolution-report.log' file for details.
LINES CROPPED OUT
4>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\Additions\CropImageActivityBinding.cs(20,47,20,78): warning CS8600: Converting null literal or possible null value to non-nullable type.
4>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\Additions\CropImageActivityBinding.cs(20,47,20,78): warning CS8604: Possible null reference argument for parameter 'input' in 'Intent CropImageContract.CreateIntent(Context context, CropImageContractOptions input)'.
4>Com.Vanniktech.AndroidImageCropper.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\bin\Debug\net7.0-android\Com.Vanniktech.AndroidImageCropper.Maui.dll
4>Done building project "Com.Vanniktech.AndroidImageCropper.Maui.csproj".
4>The package Com.Vanniktech.AndroidImageCropper.Maui.<IP_ADDRESS> is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
4>Successfully created package 'C:\Users\mrray\Source\Repos\ImageCropper.Maui3\Com.Vannikteck.AndroidImageCropper.Maui\bin\Debug\Com.Vanniktech.AndroidImageCropper.Maui.<IP_ADDRESS>.nupkg'.
5>------ Rebuild All started: Project: ImageCropper.Maui, Configuration: Debug Any CPU ------
5>C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.7\Sdk\BundledVersions.targets(85,5): warning MA002: Starting with .NET 8, setting  true  does not automatically include NuGet package references in your project.  Update your project by including this item:  .  You can skip this warning by setting  true  in your project file.
5>C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.7\Sdk\BundledVersions.targets(85,5): warning MA002: Starting with .NET 8, setting  true  does not automatically include NuGet package references in your project.  Update your project by including this item:  .  You can skip this warning by setting  true  in your project file.
5>C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.7\Sdk\BundledVersions.targets(85,5): warning MA002: Starting with .NET 8, setting  true  does not automatically include NuGet package references in your project.  Update your project by including this item:  .  You can skip this warning by setting  true  in your project file.
5>Done building project "Kotlin.Parcelize.Runtime.Maui.csproj".
5>Done building project "ImageCropper.Maui.csproj".
5>ImageCropper.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\bin\Debug\net8.0\ImageCropper.Maui.dll
5>ImageCropper.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\bin\Debug\net7.0\ImageCropper.Maui.dll
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(18,13,18,33): error CS0246: The type or namespace name 'TOCropViewController' could not be found (are you missing a using directive or an assembly reference?)
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(22,42,22,62): error CS0246: The type or namespace name 'TOCropViewController' could not be found (are you missing a using directive or an assembly reference?)
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(26,42,26,62): error CS0246: The type or namespace name 'TOCropViewController' could not be found (are you missing a using directive or an assembly reference?)
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(80,13,80,54): warning CA1422: This call site is reachable on: 'iOS' 16.1 and later, 'maccatalyst' 16.1 and later. 'UIApplication.KeyWindow' is obsoleted on: 'ios' 13.0 and later (Should not be used for applications that support multiple scenes because it returns a key window across all connected scenes.), 'maccatalyst' 13.0 and later (Should not be used for applications that support multiple scenes because it returns a key window across all connected scenes.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
5>Done building project "ImageCropper.Maui.csproj" -- FAILED.
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(18,13,18,33): error CS0246: The type or namespace name 'TOCropViewController' could not be found (are you missing a using directive or an assembly reference?)
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(22,42,22,62): error CS0246: The type or namespace name 'TOCropViewController' could not be found (are you missing a using directive or an assembly reference?)
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(26,42,26,62): error CS0246: The type or namespace name 'TOCropViewController' could not be found (are you missing a using directive or an assembly reference?)
5>C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs(80,13,80,54): warning CA1422: This call site is reachable on: 'iOS' 17.2 and later, 'maccatalyst' 17.2 and later. 'UIApplication.KeyWindow' is obsoleted on: 'ios' 13.0 and later (Should not be used for applications that support multiple scenes because it returns a key window across all connected scenes.), 'maccatalyst' 13.0 and later (Should not be used for applications that support multiple scenes because it returns a key window across all connected scenes.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
5>Done building project "ImageCropper.Maui.csproj" -- FAILED.
5>ImageCropper.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\bin\Debug\net7.0-android\ImageCropper.Maui.dll
5>ImageCropper.Maui -> C:\Users\mrray\Source\Repos\ImageCropper.Maui3\ImageCropper.Maui\bin\Debug\net8.0-android\ImageCropper.Maui.dll
========== Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========
========== Rebuild completed at 10:45 and took 50.122 seconds ==========

I tried opening the Demo project and I'm not sure about the results...

Hi! Sorry for delay.. I didn't get notified for this new issue.. but did for the old issue..
I think I know what your issue is.. the nuget package TOCrop results in really really long file paths.. which can end up being over the 260 that Windows allows by default.. and if your base path is longer than like.. 15 characters.. it will end up going over if you install the NuGet from Visual Studio.. I tried fixing this by making the NuGet package name smaller.. but I have squeezed all I can out of it, and it still has this issue for some people.. But fret not there is a solution:
To work around it on Windows, you can use 'dotnet restore' on the solution from the CLI, and it gets around this limitation.. See if this fixes this current issue :).

🤔
Hi Jeff.
I think we're in different timezones - I'm in Dublin GMT so no worries on delayed responses.
I moved the project to "c:\ic3" giving path lengths of about 110 chars,  and I ran the "dotnet restore" and anything else I could think of with no success so far.  So ruling that out.
C:\\ic3\\TOCropView.Maui\\TOCropViewController.xcframework\\ios-arm64_x86_64-simulator\\TOCropViewController.framework\\en.lproj\\TOCropViewControllerLocalizable.strings" = 162 chars.
Nuget automagically goes here:
C:\Users\mrray\.nuget\packages
I moved the ImageCropper.Maui solution to here:
C:\ic3  ...(TOCropView.Maui\TOCropViewController.xcframework)
Looking at the errors:
Update your project by including this item:  <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.7" />   In your .csproj it is set to "8.0.14"  so I tried updating mine and changing yours etc but still I can't get this to go away (on any of the installs).
I am zoning in on the iOS side of things now and possibly my setup regarding this.
The file with the reported errors is .\ImageCropper.Maui\Platforms\iOS\PlatformImageCropper.cs
I opened ImageCropper.Maui properties and unselected "Target iOS" and it built !

Mine:
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
Yours:
<TargetFrameworks>net8.0;net7.0;net8.0-android;net7.0-android;net8.0-ios;net7.0-ios</TargetFrameworks>
5>Successfully created package 'C:\Users\mrray\source\repos\ImageCropper.Maui\Com.Vannikteck.AndroidImageCropper.Maui\bin\Debug\Com.Vanniktech.AndroidImageCropper.Maui.<IP_ADDRESS>.nupkg'. ========== Rebuild All: 5 succeeded, 0 failed, 0 skipped ==========
I'm looking into Macatlyst now.   I saw that popup on the radar somewhere along the way.   I am assuming your setup is primed for iOS development while I've never tried yet it on my laptop.


[BUG]: delete_many does not return deleted_ids

In MongoDelete
we have
result = collection.delete_many()
result.deleted_ids

but, deleted_ids property does not exist in result

fixed by #1853


Retry middleware

Introduce middleware with retry logic to automatically retry failed requests. Things to consider:

Backoff strategy
Accept some predicate function that will determine whether we want to retry or not.

Implemented in #93


Its NOT Running

https://imgur.com/a/vCgtmbD

@Maharsh17  You need to install OpenCV. To install OpenCV using pip type pip install opencv-python.

@Maharsh17  You need to install OpenCV. To install OpenCV using pip type pip install opencv-python.


[Linux] adb: error: cannot stat '/usr/local/bin/scrcpy-server.jar': No such file or directory

I built and installed scrcpy (git tag v1.9) on Fedora 30 following the instructions from the readme but, when I tried to start it, I got this error:
$ scrcpy
adb: error: cannot stat '/usr/local/bin/scrcpy-server.jar': No such file or directory
ERROR: "adb push" returned with value 1

Looks like that ninja is installing scrcpy-server.jar in /usr/local/share/scrcpy/scrcpy-server.jar but scrcpy is looking for it in /usr/local/bin/scrcpy-server.jar.
Symlinking it didn't work:
$ scrcpy
adb: error: cannot stat '/usr/local/bin/scrcpy-server.jar': Too many levels of symbolic links
ERROR: "adb push" returned with value 1

A workaround is to provide a copy of the sever on that path:
$ sudo cp /usr/local/share/scrcpy/scrcpy-server.jar /usr/local/bin/scrcpy-server.jar

You need few commits after v1.9. Just git pull.
See #583

Yep, can confirm that current master is working :+1:

scrcpy
INFO: scrcpy 1.10 https://github.com/Genymobile/scrcpy
adb: error: cannot stat '/usr/local/share/scrcpy/scrcpy-server.jar': No such file or directory
ERROR: "adb push" returned with value 1
os - deepin linux distro

How did you install it?
It seems the file is not there:
ls -l /usr/local/share/scrcpy/

i installed it using sudo snap install scrcpy
then core 18 error was coming so i installed core by sudo snap install core
then again downloaded scrcpy it got installed
now when i am running scrcpy
INFO: scrcpy 1.10 https://github.com/Genymobile/scrcpy
adb: error: cannot stat '/usr/local/share/scrcpy/scrcpy-server.jar': No such file or directory
ERROR: "adb push" returned with value 1
this error is coming

scrcpy
INFO: scrcpy 1.10 https://github.com/Genymobile/scrcpy

daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 6705
--- adb starting (pid 6705) ---
adb I 11-10 02:59:49  6705  6705 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 11-10 02:59:49  6705  6705 main.cpp:57] Version 1:8.1.0+r23-5~18.04
adb I 11-10 02:59:49  6705  6705 main.cpp:57] Installed as /snap/scrcpy/174/usr/lib/android-sdk/platform-tools/adb
adb I 11-10 02:59:49  6705  6705 main.cpp:57]
error: could not install smartsocket listener: Permission denied

failed to start daemon
adb: error: failed to get feature set: cannot connect to daemon
ERROR: "adb push"

error: could not install smartsocket listener: Permission denied

https://github.com/Genymobile/scrcpy/issues/667

adb: error: cannot stat '/usr/local/share/scrcpy/scrcpy-server.jar': No such file or directory
not able to fix this
please help deepin os

~/scrcpy$ ninja -Cx
ninja: Entering directory `x'
[1/1] Generating scrcpy-server with a custom command.
FAILED: server/scrcpy-server.jar
/home/amanjay/scrcpy/server/./scripts/build-wrapper.sh /home/amanjay/scrcpy/server server/scrcpy-server.jar release
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':server'.

The SDK directory '/home/amanjay/android/sdk' does not exist.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 805ms
ninja: build stopped: subcommand failed.

The SDK directory '/home/amanjay/android/sdk' does not exist.

The problem is explicit.

@marineramanjay If you just want to build the client, you can use the prebuilt server instead (so that you don't have to build the Android part).

i have downloaded this jar many times step by step but at this point i am not able to find the error
meson x --buildtype release --strip -Db_lto=true \

-Dprebuilt_server=/path/to/scrcpy-server.jar

Error during basic setup:
Neither directory contains a build file meson.build.

Neither directory contains a build file meson.build.

You must execute this command from the directory where you git clone the repository.

amanjay@MarinerPC:~$ git clone https://github.com/Genymobile/scrcpy
fatal: destination path 'scrcpy' already exists and is not an empty directory.
amanjay@MarinerPC:~$ cd scrcpy
amanjay@MarinerPC:~/scrcpy$ meson x --buildtype release --strip -Db_lto=true
Directory already configured, exiting Meson. Just run your build command
(e.g. ninja) and Meson will regenerate as necessary. If ninja fails, run ninja
reconfigure to force Meson to regenerate.
If build failures persist, manually wipe your build directory to clear any
stored system data.
To change option values, run meson configure instead.
amanjay@MarinerPC:~/scrcpy$ ninja -Cx
ninja: Entering directory `x'
[1/1] Generating scrcpy-server with a custom command.
FAILED: server/scrcpy-server.jar
/home/amanjay/scrcpy/server/./scripts/build-wrapper.sh /home/amanjay/scrcpy/server server/scrcpy-server.jar release
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':server'.

The SDK directory '/home/amanjay/android/sdk' does not exist.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 860ms
ninja: build stopped: subcommand failed.
amanjay@MarinerPC:~/scrcpy$ ^C
amanjay@MarinerPC:~/scrcpy$

Thanks a lot @rom1v  for all ur help finally got my mistake corrected .


Use a more reliable mirror for MNIST dataset

It looks like we are occasionally rejected from accessing the MNIST dataset from yann's website
https://travis-ci.org/tensorflow/cleverhans/jobs/416187998#L1223
Some possible options ordered by goodness:

find a more reliable mirror of the dataset
find a way to give the file to travis as a data asset
upload the MNIST resource to gcs and make the bucket public

One potential mirror is archive.org. For instance: https://web.archive.org/web/20150906081542/http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz

This problem hasn't occurred again so I'm closing the issue.

Is a problem today.

Thanks for letting us know @orlp. How can we replicate this problem that you encountered? Could you provide more details so we can further investigate it?

@tejuafonja Well I don't use this particular software package, but I got a similar root cause today when Google landed me here, so I thought I'd let you know. The URL http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz is giving out 503s sporadically today.

Thanks for reporting this @orlp. We'll make the necessary changes.