A simple Calculator

Calculator Functions
This facilitates basic operations like addition, subtraction, division, multiplication and modulo operations.
https://user-images.githubusercontent.com/81728503/141723830-cdbfbead-9cf2-4416-a1ae-47a992b517a8.png
Contribution Event
GSSOC22
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


update audio player style

:tada: This PR is included in version 1.2.1-alpha.2 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1-alpha.4 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1-alpha.4 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1-alpha.2 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1-alpha.4 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.1.1-alpha.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adjusted KNX component to Home Assistant's changes to light colors

This is a follow-up on the (closed) PR #16056 - I believe the mentioned concerns have been addressed.

Use HS color instead of RGB.
As HS doesn't include brightness, offer setting brightness for colored lights directly.
Added support for brightness & color being set simultaneously (even though that should be a rare case).
If both brightness_address and color_address are configured then changing the brightness will use the dedicated brightness_address, except if the color is to be changed at the exact same time.
When the light is turned off, KNX devices typically report back #000000 for the RGB color, so the last set color is lost. If there is no dedicated brightness_address configured, then turning the light on via setting a new brightness will cause the color to be reset to white (dimming up from #000000 = black). Future changes can include HSV support, which does not suffer from this problem.

It seems like you have some commits in this branch that are not yours, please clean it up.

@balloob : the commits were mine from the original PR. (And i have signed the license agreement).

I fixed the pylint warning: https://github.com/Julius2342/home-assistant/commit/719092c27ca0407837eb7bdae7f2c291a448ff8a

Added support for brightness & color being set simultaneously (even though that should be a rare case).
This is in fact my case. I have problems changing lights because my light controller interprets rgb_color [5,0,0] as [255,0,0], so I have to send brightness to 5 in order to have the desired results. Thus when I want to adjust the lights I always have to send two commands: one for color and one for brightness. Because of this I cannot make smooth transitions because when color is set, it goes to maximum brightness until the brightness command arrives, resulting in flashes every time I set a color scene.

This PR seems to have gone stale. Closing it.

Still having the issue, I cannot change brightness and colour simultaneously.

Did you test with #19699?

oh, so there's some work still on progress... I saw the merge but since I din't see anything about simultaneous light and brightness mentioned on the new post, I thought it had been left behind. I will wait for further releases then, thanks!


fix(support-bundle): missing informer in cacheSyncs

Fixed missing informer in cacheSyncs.

@mergify backport v1.4.x v1.5.x


doublecmd: 1.1.10 -> 1.1.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/doublecmd/versions.
meta.description for doublecmd is: Two-panel graphical file manager written in Pascal
meta.homepage for doublecmd is: https://doublecmd.sourceforge.io/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.11 in filename of file in /nix/store/jx7db5n2b2n4a61bwqzynq7f0gdqr29y-doublecmd-1.1.11

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
doublecmd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jx7db5n2b2n4a61bwqzynq7f0gdqr29y-doublecmd-1.1.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A doublecmd https://github.com/r-ryantm/nixpkgs/archive/95a793dacbe4dac46182a67467d147321b8e5188.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/95a793dacbe4dac46182a67467d147321b8e5188#doublecmd

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jx7db5n2b2n4a61bwqzynq7f0gdqr29y-doublecmd-1.1.11
ls -la /nix/store/jx7db5n2b2n4a61bwqzynq7f0gdqr29y-doublecmd-1.1.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

doublecmd

Maintainer pings
cc @AndersonTorres for testing.

@NixOS/nixpkgs-merge-bot merge


PV showing values when it shouldn't

I have a GW5000S-BP. There are no PV panels on this inverter. There is another PV inverter which the CT clamps of the Goodwe read for PV generation for battery charging etc..
the integration sensors for PV show values when I think they should not be
Its currently night here so no sun light at all, but the sensors for PV show values (highlighted in red box)

Well, there is absolutely no calculation done at the integration and/or the underlying communication library code related to PV values. They are directly reported by the inverter and presented as is.
They only solution could be to completely remove/hide the PV related values from BPS models, but I'm not really sure I like that idea, so I suggest to accept reality and leave it be ;-)
If you insist on hiding it, please report it to goodwe library repo and I'll see what can be done there...


fix(package): revert Bump the webcomponents js version sha

Turns out there were breaking changes in https://github.com/skatejs/web-components/pull/3 after all :(
This reverts commit 95a2b3abcebd8d66a4eda1055e62d93bba71c655.

I'm just going to merge this since it's breaking the library at the moment, and it's just putting it back in its previous state.

This failed because I merged too quickly, I think.


Modifying adapter method signatures to comply with ed beta.16

- Fix for gh-83
- I'll update the Changelog after merge, with all the  ED related PRs (#74, #77 and this one)

Thanks @benkonrath


Add support for authentication method NULL

Without this commit, the only supported authentication method is via a cookie file.  This is fairly annoying (even though you could argue it’s more secure), especially if you’re just testing.
This PR adds support for the NULL authentication method which will be used as a fallback in case cookie file authentication is not enabled.
We could additionally fall back to NULL whenever COOKIE fails, which would be more complicated but kinda feels more complete.  I decided against it since I think cookie authentication is more secure (However I didn’t research whether it is), so no authentication should really only be used for testing.

Looks good! Do you think this should be something that's added to the test cases?

When I ran the tests, I noticed that the socksPort function doesn’t parse
SOCKSPort config settings with the address: part given correctly.  The
relevant line from tor(1):
SOCKSPort [address:]port|unix:path|auto [flags] [isolation flags]

I fixed this in commit 4a56bad.  The only test left failing was this one:
https://github.com/solatis/haskell-network-anonymous-tor/blob/master/test/Network/Anonymous/Tor/ProtocolSpec.hs#L59-L62
I that test allow NULL authentication as well in commit 58d02bb.


Update spa.po

I had some troubles yesterday trying to make the pull request, but it's now finished. Sorry for making you wait.

Thanks!


search README.md ?

the package descriptions are frequently redundant with the names, and sometimes neither are informative.  would it make sense / be easy to search the documentation too?

+1 for this, at least there should be an option to search package description (many packages names don't reflect their functionality).  Do you want to solve a differential equation?  No luck, because searching for "differential" doesn't return any results.

You can search package descriptions right now - just use the search functionality in your browser.
As for searching READMEs, I don't think its as good an idea as you might think as many important packages don't use their READMEs like that, e.g. https://github.com/JuliaStats/DataFrames.jl

I didn't know it was intentional.  It would be cool if it worked like I described though, I suppose some people (including me) could be mislead this.  And then, why do you need the search function at all when you can find everything using a browser?

I'm thinking of removing the search by name too - it seems fairly redundant.
Theres a more general package discovery problem right now, and the solution isn't so much sorting as categorizing/tagging - theres been some discussion but no one has dedicated the time to getting it off the ground yet.


GLES lenet5 does not work

Platform:
aarch64
Operating System:
android

Problem description:
I am testing non-graph lenet5 example (i.e., LeNet5Network.h)
I compiled with -DARM_COMPUTE_GC flag with cmake.
when all datatype are CL* it works and if all datatype are GC* and GLES lenet5 gives following error:
terminate called after throwing an instance of 'std::runtime_error'
what():  in GLuint arm_compute::GCProgram::compile_shader(const std::string &) src/core/GLES_COMPUTE/GCKernelLibrary.cpp:123: Error: Compiler log:
what is the problem?

Does it work when compiling with SCons ?
The Graph example is the most up to date version of the code, the non-graph version is a legacy test which will be removed soon.

I am not using gles anymore.
Is it possible to use mixed mode (i.e., neoncl_scale_median_gaussian) in graph version of examples?

Currently it might work if you change the target hint mid-stream, but in the next version it won't be supported anymore (That's not something we currently need for our testing and it added unnecessary complexity).

Closing issue. GLES backend is now supported in the graph. Lenet should work through graph examples


Error in dependencies

Hi,
I tried to install node-soap with node v0.6.3 and npm v1.0.106 but Unknown error occurred.
I looked at npm-debug and found out that request 2.0.0 is not compatible with the latest node version I use. So I installed request v2.2.9 and everything is OK now.
I think it's the time to upgrade dependencies in your module:)

updated to use request >=2.2.9


Code quality fix - Array designators "[]" should be on the type, not the variable

This pull request is focused on resolving occurrences of Sonar rule
squid:S1197 - Array designators "[]" should be on the type, not the variable.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1197
Please let me know if you have any questions.
Faisal Hameed

Hi,
Thank you for your patch!
Committed revision 1734442.
Gary


[Build] VSCode "undefined reference to `WinMain@16'"

Hi, I'm new in C programming, I recently found this library, but I don't like the text editor provided by the installer, so I decided to use some template that are in the folder 'Projects', I try with Sublime Text 3 and it doesn't work, now I'm trying to use VSCode, I follow the instructions of the wiki but as soon as I click on 'Debug' - 'Start Debugging', I get the following log:

> Executing task in folder (Project folder): C:/raylib/mingw/bin/mingw32-make.exe RAYLIB_PATH=C:/raylib/raylib <
mingw32-make game
mingw32-make[1]: Entering directory '(Project Directory)'
gcc -o game  -O1 -s -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wl,--subsystem,windows -I. -IC:/raylib/raylib/release/include -IC:/raylib/raylib/src -IC:/raylib/raylib/src/external C:/raylib/raylib/raylib.rc.o -L. -LC:/raylib/raylib/release/libs/win32/mingw32 -LC:/raylib/raylib/src  -lraylib -lopengl32 -lgdi32 -DPLATFORM_DESKTOP
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16'
collect2.exe: error: ld returned 1 exit status
Makefile:312: recipe for target 'game' failed
mingw32-make[1]: *** [game] Error 1
mingw32-make[1]: Leaving directory '(Project Directory)'
mingw32-make.exe: *** [Makefile:308: all] Error 2
The terminal process terminated with exit code: 2
Terminal will be reused by tasks, press any key to close it.

I haven't been able to do anything since there's...
Pd: This text was translated by an internet translator, so it's possible that it's misspelled.
Thanks

Thanks for reporting @EtianAM, also tried it myself and got same error.
Unfortunately, I'm not the one that configured VSCode project. Let's wait for someone that could take a look into this issue.

Thanks.

Just been trying to get it working, found multiple errors related to pre-defined paths...
Corrected some paths to work for me on Windows on commit https://github.com/raysan5/raylib/commit/98fee844d1794465d5b327e60b85a5030a8bea62 but that's not a good solution...
I need more time to learn how VSCode json configuration files work to come to a proper build-pipeline solution.

Just to clarify, current solution works. No plans to review VSCode template again at least after Christmas.
You can use current master branch in the meantime.


Decagonal Number

Description of the problem
A decagonal number is a figurate number that extends the concept of triangular and square numbers to the decagon (a ten-sided polygon).
Example of the problem
The n-th decagonal number is given by the formula D(n)=4n2-3n; The first few decagonal numbers are: 0, 1, 10, 27, 52
Assign me in Python @Rohan27s @rish-singhal @tarun26091999 @yasharth291

Please assign this to me in C++

@tarun26091999 @Rohan27s please assign me this issue


[6.x] Added ability for postmark transport to throw errors

I just spent about an hour trying to debug why the postmark driver was not working. All thrown exceptions are currently not handled and fail silently.
By registering the plugin included in https://github.com/wildbit/swiftmailer-postmark package it will allow for exceptions to be thrown when the Postmark API does not deliver a HTTP 200 response.
A minor adjustment with a huge impact when it comes to debugging and actually detecting issue in production.
Perhaps this file is not the ideal candidate to register the plugin in but you get the idea. I hope this will be open for discussion if this is not the ideal solution.

And how to go if someone (implicitly) depends on the old behaviour?
Maybe it should be done via a config (and have the sane default to enable it, exceptions shouldn't be silent in such case).
But maybe this change in behaviour should rather target 7

And how to go if someone (implicitly) depends on the old behaviour?

Perhaps I don't see the downsides but I can not really think of a way in which this would negatively impact an application.
The only thing this would be doing is providing an exception where there should be one because there is also no other way to currently detect anything going wrong in this process.
Especially when you have set up error reporting in the form of something like Sentry this would be a massive help.
Setting the target to 7 it also being too precautious because I have already wasted time on this black box which shows no errors and I can imagine other have done or will do the same.

I wonder if this means that previously, email sent on a queued job that failed on the Postmark end wouldn't end up re-running because no exception was thrown - the job would just finish and the email lost. Makes sense to me that an exception would be thrown so that the job would be attempted again.

I definitely think throwing an exception is the expected behavior. I didn't know they were being silenced.


[DNM] Integration test for aggregated extern "C" patches

This non-mergeable branch contains separated patches to address issue #17997 for all non-HAL headers.  Once it passes integration testing individual patches can be separated into chunks to be reviewed by domain experts.

All component commits queued in other PRs.


HttpOverHttp2Test.missingPongsFailsConnection failing in JDK 12

https://circleci.com/gh/square/okhttp/3612?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
missingPongsFailsConnection[h2] - okhttp3.internal.http2.HttpOverHttp2Test

org.junit.runners.model.TestTimedOutException: test timed out after 5 seconds
	at java.base@12.0.1/sun.security.ssl.SSLSocketImpl$AppInputStream.deplete(SSLSocketImpl.java:921)
	at java.base@12.0.1/sun.security.ssl.SSLSocketImpl.bruteForceCloseInput(SSLSocketImpl.java:615)
	at java.base@12.0.1/sun.security.ssl.SSLSocketImpl.duplexCloseInput(SSLSocketImpl.java:583)
	at java.base@12.0.1/sun.security.ssl.SSLSocketImpl.close(SSLSocketImpl.java:484)
	at app//okhttp3.internal.Util.closeQuietly(Util.kt:490)
	at app//okhttp3.internal.connection.Transmitter.maybeReleaseConnection(Transmitter.kt:285)
	at app//okhttp3.internal.connection.Transmitter.noMoreExchanges(Transmitter.kt:257)
	at app//okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:192)
	at app//okhttp3.RealCall.execute(RealCall.kt:66)
	at app//okhttp3.internal.http2.HttpOverHttp2Test.missingPongsFailsConnection(HttpOverHttp2Test.java:1244)

Seems like a deadlock problem? Probably related issue was resolved and fixed in JDK 13.
JDK-8219658 Deadlock in sun.security.ssl.SSLSocketImpl

This custom branch helped me to produce debug log (I'm attaching - openjdk.debug) where I discovered this SSL issue.
In the end of that log you can see that in some usecases SSLSocketImpl$AppInputStream.read()
method may hold inner class intrinsic lock when SSLSocketImpl$AppInputStream.deplete() method is being called
and thread invoking that deplete() method will never succeed with inner class intrinsic lock acquisition.

Should also be fixed in 12.0.2? https://bugs.openjdk.java.net/browse/JDK-8219991

Any further action on this?

https://app.circleci.com/jobs/github/square/okhttp/6691
okhttp3.internal.http2.HttpOverHttp2Test > missingPongsFailsConnection[h2] FAILED
    java.lang.AssertionError: Queue still active after 1000ms

Closing out as 12 isn't somewhere we should focus on, works in 11 and 13.


Browser support

This PR replaces the Buffer dependency with vanillajs when used in the mcl library.
This change allows the library to maintain browser compatibility.

Thank you for the PR, per our offline discussion we now  maintain a general purpose package to support browsers and wallet usage. Please see: https://www.npmjs.com/package/@thehubbleproject/bls


Enable PTS for remaining "normal" tests

We don't remember why we disabled PTS for the kotlin-dsl and configuration-cache subprojects. Let's enable it there and see what happens.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Ignore any version of Go, when it is a dependency of a bottle

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

As discussed in https://github.com/Homebrew/homebrew-core/pull/29040#issuecomment-397704661, this is needed for bottles that pin a specific version of Go as their dependency.
I'm happy to write tests, if that's required for a trivial change like this, and if there are tests covering this code path already.

cc @ilovezfs

This looks good to me although we may want to settle on exactly what regex to use for @ formulae. See also
https://github.com/Homebrew/brew/blob/32fa773cf87c744f2d630efa1d702880d34bc01d/Library/Homebrew/rubocops/lines_cop.rb#L293
https://github.com/Homebrew/brew/blob/32fa773cf87c744f2d630efa1d702880d34bc01d/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb#L10

I haven't spent too much time on the regex, was really the simplest one
that worked for 'go' and<EMAIL_ADDRESS>but didn't work for 'go@' etc.
I think kibana one is a good match, let me know what your preference would
be.
Also, the test coverage
On Sat, 16 Jun 2018, 12:29 am ilovezfs<EMAIL_ADDRESS>wrote:

This looks good to me although we may want to settle on exactly what regex
to use for @ formulae. See also
https://github.com/Homebrew/brew/blob/32fa773cf87c744f2d630efa1d702880d34bc01d/Library/Homebrew/rubocops/lines_cop.rb#L293
https://github.com/Homebrew/brew/blob/32fa773cf87c744f2d630efa1d702880d34bc01d/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb#L10
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Homebrew/brew/pull/4348#issuecomment-397794058, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPWS9gVPmGMIW3cumnJFo0nrqu2Y22Jks5t9LPVgaJpZM4Up_NV
.

@ilovezfs personally, I don't see a good reason why my version is unsatisfactory, but maybe we should check with the maintainer(s) of go formula – WDYT?

@ilovezfs thank's for the review! how does merging work here?

I'll let some other maintainers comment on what regex they prefer but then we should be good to go. @woodruffw pointed out on Slack

I'd prefer unescaped @, although the lines_cop regex is more correct strictly speaking
since the formula_cellar_checks one will match a nonsense version like php5.

So I suspect the one from kibana will be better (though without case-insentivity) so that we don't match nonsense versions like<EMAIL_ADDRESS>Also, it would be best if the Cellar path worked for devel versions too like go 1.10rc2 (meaning the complete version may have alpha characters), although admittedly devel bottles aren't very common.

I've made these regex consistent with an accessory function.

Thanks so much for your first contribution!  You rock, @errordeveloper!

🎉 thanks @ilovezfs & @MikeMcQuaid, this is awesome!

Am I understanding correct that for these change to take effect the kubernetes-cli (and any other formulae that depend on<EMAIL_ADDRESS>would have to get rebottled? Is there a way to do force the CI to do this before those formulae get updated or some change to the formula would be required?

fyi https://github.com/Homebrew/homebrew-core/commit/4fe6716ea22392f682e8d457cbd8173aaa03c692
so brew reinstall kubernetes-cli and you're good to ... go

brilliant, it worked!


Add constraints to dl.variable.

To mimic TensorFlow:
https://www.tensorflow.org/api_docs/python/tf/Variable#constraint

This issue was moved to tensorflow/tfjs#130


supports shared libraries - no

I cannot compile gsl library because
configure:9010: checking whether the /emsdk_portable/sdk/emcc linker (/emsdk_portable/sdk/emcc) supports shared libraries \ configure:10163: result: no \ configure:10403: checking dynamic linker characteristics configure:10914: /emsdk_portable/sdk/emcc -o conftest     conftest.c  >&5 configure:10914: $? = 0 configure:11140: result: GNU/Linux ld.so configure:11247: checking how to hardcode library paths into programs configure:11272: result: unsupported configure:11812: checking whether stripping libraries is possible configure:11817: result: yes configure:11852: checking if libtool supports shared libraries configure:11854: result: no configure:11857: checking whether to build shared libraries configure:11878: result: no configure:11881: checking whether to build static libraries configure:11885: result: yes
i am trying to build ubuntu version to chceck if this also happens

solved it by:
WORKDIR /emsdk_portable/
RUN emsdk install latest
RUN emsdk activate latest
RUN /bin/bash -c "source /emsdk_portable/emsdk_env.sh && emconfigure ./configure"

Hi I will look into it. Can you please tell me which image do you use? Is it "latest"? Definitely it looks like a bug in configuration.

i was trying with many images, like 1.37.18, 1.38.18, i tried slim and normal

It should be finenext release that is 1.38.20 will include this fix. Currently it can be tested with incoming tag as below:
➜ docker run --no-cache -v `pwd`:/gsl -w /gsl --rm -it trzeci/emscripten-slim:sdk-incoming-64bit bash -c "emconfigure ./configure"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /bin/sed
checking whether make sets $(MAKE)... (cached) no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... /emsdk_portable/sdk/emcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /emsdk_portable/sdk/emcc accepts -g... yes
checking for /emsdk_portable/sdk/emcc option to accept ISO C89... none needed
checking for style of include used by make... none
checking dependency style of /emsdk_portable/sdk/emcc... none
checking how to run the C preprocessor... /emsdk_portable/sdk/emcc -E
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /emsdk_portable/sdk/emcc... /emsdk_portable/sdk/emcc
checking if the linker (/emsdk_portable/sdk/emcc) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /emsdk_portable/llvm/clang/bin/llvm-nm
checking the name lister (/emsdk_portable/llvm/clang/bin/llvm-nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /emsdk_portable/sdk/emcc option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... no
checking for ranlib... /emsdk_portable/sdk/emranlib
checking command to parse /emsdk_portable/llvm/clang/bin/llvm-nm output from /emsdk_portable/sdk/emcc object... ok
checking for sysroot... no
./configure: line 6598: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /emsdk_portable/sdk/emcc supports -fno-rtti -fno-exceptions... yes
checking for /emsdk_portable/sdk/emcc option to produce PIC... -fPIC -DPIC
checking if /emsdk_portable/sdk/emcc PIC flag -fPIC -DPIC works... yes
checking if /emsdk_portable/sdk/emcc static flag -static works... yes
checking if /emsdk_portable/sdk/emcc supports -c -o file.o... yes
checking if /emsdk_portable/sdk/emcc supports -c -o file.o... (cached) yes
checking whether the /emsdk_portable/sdk/emcc linker (/emsdk_portable/sdk/emcc) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
....

Thank you for reporting!


File system gets corrupted during the normal use

Sometimes performing regular actions - like writing to files or unlinking them leads to file system corruption.
It seems like directory entries are still there, but the inodes are already gone.
Here is how the ls output looks like for a directory with corrupted files:
$ ll
ls: cannot access print_file: No such file or directory
ls: cannot access track_fds.c: No such file or directory
ls: cannot access track_fds.c~: No such file or directory
total 4
drwxrwxrwx 2 root root 0 Nov 13 22:52 ./
drwxrwxrwx 2 root root 0 Nov 18 00:29 ../
-????????? ? ?    ?    ?            ? print_file
-????????? ? ?    ?    ?            ? track_fds.c
-????????? ? ?    ?    ?            ? track_fds.c~

ls successfully gets dentries:
getdents(3, /* 5 entries */, 32768)     = 136
But cannot stat any files:
lstat("track_fds.c", 0x2483ec0)         = -1 ENOENT (No such file or directory)
Unlinking such files also fails with NOENT:
unlinkat(4, "print_file", 0)            = -1 ENOENT (No such file or directory)
Sometimes "broken" files automagically disappear after a certain amount of time. Other times they persist between reboots.
I couldn't find a reliable way to reproduce this issue. It seems to happen randomly.
Files are located on an NTFS partition.
Microsoft Windows [Version 10.0.14393]

@nkakuev - Would it be possible to provide some reproduction steps how you got into this state?

Let me guess, were you opening files in LXSS with Win32 applications?

@benhillis I cannot reliably reproduce the issue. Last time it happened I issued a simple rm command:
rm -rf CMakeCache.txt CMakeFiles/ cmake_install.cmake compile_commands.json  Makefile TidyTest
@fpqc Both times this happened I was either mving or rming files.

We have fixed a myriad of issues since 2016, if you continue to experience this issue please reopen.


feat(backend): remove duplicate mutualaid.wiki markers

Description
To go in after #539
This PR removes any duplicates markers that may occur due to multiple asynchronous executions of the mutualaid.wiki sync function.
I've deployed and run abe3833 on prod to successfully remove 153 duplicates.

I'm just gonna simplify this by rebasing...

@s0 Idk if you can override the merge, but I think those actions failed to start :)


[BUG] Custom properties added with addTelemetryInitializer are ignored for first PageVisitTime track event

Description/Screenshot
When I set autoTrackPageVisitTime to true in the ApplicationInsights configuration, the first payload for PageVisitTime does not contain any custom parameters that I added using the addTelemetryInitialiser method.

Steps to Reproduce
init telemetry with custom properties:
const appInsights = new ApplicationInsights({
      config: {
        appId: 'test-bug-report',
        connectionString: this.connectionString,
        autoTrackPageVisitTime: true,
      },
    });
    appInsights.loadAppInsights();
    appInsights.trackPageView();
    appInsights.addTelemetryInitializer(this.enrichTelemetry);

    ///

   enrichTelemetry = (item: ITelemetryItem): void => {
      if (item.tags == null) {
        item.tags = [];
      }
      item.tags['ai.cloud.role'] = 'test-bug-report-roleName';
      item.tags['ai.cloud.roleInstance'] = 'test-bug-report-roleInstance';
    };

then visit your application and see on first track request in network section.

OS/Browser:
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36'
SDK Version [e.g. 22]:
"@microsoft/applicationinsights-web": "^3.0.4"
How you initialized the SDK:

Expected behavior
Additional context
Add any other context about the problem here.

Yes, this is because you are adding the telemetry initializer "AFTER" you are triggering the page view
flip the order of these 2 functions
    appInsights.trackPageView();
    appInsights.addTelemetryInitializer(this.enrichTelemetry);

to
    appInsights.addTelemetryInitializer(this.enrichTelemetry);
    appInsights.trackPageView();

Thanks. That helps


How add a company who offers commercial support?

My comapny (Gter srl - Italy) currently uses QGIS / QGIS server / QGIS Web Client and offers training courses on QGIS. How it is possible add us on the commercial support website?
http://www.qgis.org/it/site/forusers/commercial_support.html#qgis-commercial-support
Thanks in advanced
R

@rmarzocchi84 what's the current status of this issue? Do you still plan to add your company and follow steps provided above or should we close this issue report?
Thanks.


pushing a possible fix

Codecov Report

Merging #304 into master will decrease coverage by 2.77%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
- Coverage   64.64%   61.87%   -2.78%
==========================================
  Files          16       16
  Lines       29278    27874    -1404
  Branches      138      138
==========================================
- Hits        18926    17246    -1680
- Misses      10274    10576     +302
+ Partials       78       52      -26

Impacted Files
Coverage Δ

modules/ng2-tag-input.module.ts
85.18% <ø> (-0.53%)
:arrow_down:

modules/components/tag-input.ts
49.83% <0%> (-27.1%)
:arrow_down:

...omponents/dropdown/tag-input-dropdown.component.ts
48.9% <0%> (-21.17%)
:arrow_down:

modules/components/helpers/accessor.ts
67.56% <0%> (-13.52%)
:arrow_down:

modules/components/tag/tag.component.ts
56.81% <0%> (-11.37%)
:arrow_down:

modules/components/tag/tag-ripple.component.ts
60% <0%> (-6.67%)
:arrow_down:

...ponents/tag-input-form/tag-input-form.component.ts
75.38% <0%> (-6.16%)
:arrow_down:

spec-bundle.js
61.99% <0%> (-2.38%)
:arrow_down:

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 fe074d8...8ccdd4d. Read the comment docs.


Remove gci linter because it breaks import comments

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Removes gci from the linter-settings golangci-lint's config because it's does nothing. This reverts #2069.
Special notes for your reviewer:
Adding gci to linters-settings has no effect. This can be checked by running golangci-lint in verbose mode (see "Active 14 linters"):
❯ golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/Oleksandr_Redko/src/github.com/kubernetes-sigs/kueue /Users/Oleksandr_Redko/src/github.com/kubernetes-sigs /Users/Oleksandr_Redko/src/github.com /Users/Oleksandr_Redko/src /Users/Oleksandr_Redko /Users /]
INFO [config_reader] Used config file .golangci.yaml
INFO [lintersdb] Active 14 linters: [copyloopvar dupword errcheck ginkgolinter gocritic goimports gosimple govet ineffassign loggercheck misspell staticcheck unconvert unused]
INFO [loader] Go packages loading at mode 575 (compiled_files|exports_file|files|imports|name|deps|types_sizes) took 893.271667ms
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 28.035667ms

To enable gci, it's needed to extend linters.enable list:
linters:
  enable:
    - ...
    - dupword
    - gci
    - ginkgolinter
    - ...

However, enabling gci can lead to some problems. gci removes the comments // +kubebuilder:scaffold:imports. This can be confirmed by running golangci-lint run --enable=gci --fix and observing the diff. Additionally, we already use goimports, which is also designed to sort imports.
Does this PR introduce a user-facing change?
NONE

/ok-to-test

I agree it does not make sense to keep the configuration for GCI if we are not enabling it.
However, I'm yet wondering about the pros and cons of GCI vs goimports. Maybe we could configure GCI so that there is no issue with removing // +kubebuilder:scaffold:imports?

@mimowo, you're absolutely correct. Initially, I attempted to configure gci to prevent it from removing the comments. However, due to the bug https://github.com/daixiang0/gci/issues/135, this was impossible.

I see, in that case I'm ok to drop the config for now (as it makes the impression this is enabled).
We can return to re-enabling once the issue is fixed and the new version of gci is available.
/lgtm
/assign @tenzen-y

Could you dedicate an issue to keep track of GCI issues?

Created #2198


Avatar is slightly moved up on the new header

It should be aligned with the logo.

Minor, of course

https://github.com/CartoDB/cartodb/commit/f3fc403354e7e82004015cb98d0e10a37dff7b8a


"TypeError: Reflect.getPrototypeOf called on non-object" with local plugins

Hi,
I'm getting an error during the registration of this plugin with chart.js 3.4.1 and vue 2.6:
TypeError: Reflect.getPrototypeOf called on non-object

For the registration of the plugin I followed the doc here
You can replicate the issue with this sandbox
I've opened the issue here because I think that it depends on this plugin (but I'm not sure, correct me if I'im wrong) as If you comment line 9 and line 28 the error does not seems to appear

There is indeed an issue but it's not related to the datalabels plugin, which works correctly (you can actually see labels on points).
This issue can be reproduced with an empty (local) plugin: plugins: [{}] so I guess it's a bug in the core lib.
Probably related on how proxied options fallback to local plugins.

Could not reproduce wihtout Vue

Making the chart non-reactive resolves the problem: https://codesandbox.io/s/headless-wave-p8jpi?file=/src/App.vue

Making the chart non-reactive resolves the problem: https://codesandbox.io/s/headless-wave-p8jpi?file=/src/App.vue

Yes, you're right. I guess for now I will use something like this: https://codesandbox.io/s/compassionate-hooks-yu3n2?file=/src/App.vue
Thank you very much

I have the same with ng2-charts for Angular

I did some digging. This is appears to be due to how Vue observes the chart object. I suspect this would occur with plugins registered globally as well. The error occurs when Vue is trying to observe Chart._plugins._init[6].options. The plugin has no scopes, and as a result this code calls Reflect.getPrototypeOf(undefined). A simple solution here might be to guard the scope passed in as const scope = scopes[0] || {} to ensure that no falsy values get passed.
getPrototypeOf() {
  return Reflect.getPrototypeOf(scopes[0]);
},


Select 2 - Multiple selection back space key is not working

Select 2 - Multiple selection back space key is not working
for example : To Email text box back space give means it will delete smoothly but using this plugin backspace is not smooth.
and need to use it in modal popup JQuery it should be work in all browsers
Expecting solution as early as possible.

Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
Can you reproduce this issue on any of the examples in the docs?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guide contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it.  The creation of an isolated test case would also be useful.

Hi Kevin,
I am using this select2 Jquery plugin in customize mail modal popup window. If selected multiple mail id’s and using delete or back space key given means need to delete that text but it is not properly working.
It should be work in all browsers.
Expected Outcome:
For Example – any mail compose window works smooth delete when backspace given like gmail, outlook and etc.,
Thanks and Regards,
Divya Vadivelu
From: Kevin<EMAIL_ADDRESS>Sent: 29 May 2020 06:25
To<EMAIL_ADDRESS>Cc: Divya<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [select2/select2] Select 2 - Multiple selection back space key is not working (#5868)
Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
Can you reproduce this issue on any of the examples in the docshttps://select2.org/?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guidehttps://github.com/select2/select2/blob/master/.github/CONTRIBUTING.md#asking-for-help contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it. The creation of an isolated test casehttps://css-tricks.com/reduced-test-cases/ would also be useful.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/select2/select2/issues/5868#issuecomment-635694876, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APXUVS5SMYBY52IKZHUOQGDRT4BWLANCNFSM4NMCXKVQ.

Hi Kevin,
Kindly fix this issue as soon as possible
Thanks and Regards,
Divya Vadivelu
From: Divya<EMAIL_ADDRESS>Sent: 29 May 2020 10:22
To<EMAIL_ADDRESS>Cc: Sampath<EMAIL_ADDRESS>Maria Antony<EMAIL_ADDRESS>Subject: RE: [select2/select2] Select 2 - Multiple selection back space key is not working (#5868)
Hi Kevin,
I am using this select2 Jquery plugin in customize mail modal popup window. If selected multiple mail id’s and using delete or back space key given means need to delete that text but it is not properly working.
It should be work in all browsers.
Expected Outcome:
For Example – any mail compose window works smooth delete when backspace given like gmail, outlook and etc.,
Thanks and Regards,
Divya Vadivelu
From: Kevin<EMAIL_ADDRESS>Sent: 29 May 2020 06:25
To<EMAIL_ADDRESS>Cc: Divya<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [select2/select2] Select 2 - Multiple selection back space key is not working (#5868)
Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
Can you reproduce this issue on any of the examples in the docshttps://select2.org/?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guidehttps://github.com/select2/select2/blob/master/.github/CONTRIBUTING.md#asking-for-help contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it. The creation of an isolated test casehttps://css-tricks.com/reduced-test-cases/ would also be useful.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/select2/select2/issues/5868#issuecomment-635694876, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APXUVS5SMYBY52IKZHUOQGDRT4BWLANCNFSM4NMCXKVQ.


Place the nav bar open image in configuration and provide proper colored and sized image.

Added https://github.com/codefoundries/UniversalRelayBoilerplate/blob/master/configuration/app/images/drawer_open.png


simple rename, typos

renaming title, taking ownership of article, fixing typos

Hi @mlearned, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@mlearned : Thanks for your contribution to the Azure documentation! The author, @mlearned, has been notified to review your proposed change.

Hi @mlearned, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@mlearned  - Hey, please work in the private repo - see https://microsoft.sharepoint.com/teams/azurecontentguidance/article-author-working-in-the-public-repo

Ok yea sorry, I clicked on edit in git hub on my nav there ☹
From: Tyson Nevil<EMAIL_ADDRESS>Sent: Thursday, June 2, 2016 10:19 AM
To: Azure/azure-content<EMAIL_ADDRESS>Cc: Micheal Learned<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-content] simple rename, typos (#6733)
@mlearnedhttps://github.com/mlearned - Hey, please work in the private repo - see https://microsoft.sharepoint.com/teams/azurecontentguidance/article-author-working-in-the-public-repohttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmicrosoft.sharepoint.com%2Fteams%2Fazurecontentguidance%2Farticle-author-working-in-the-public-repo&data=01|01|mlearned%40microsoft.com|ed375f6c55574446d11108d38af944fc|72f988bf86f141af91ab2d7cd011db47|1&sdata=NPhNEPO%2FeE4zNTd0Jm%2FhK9EpkSB83d0PGEqCmluCVMA%3D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-content/pull/6733#issuecomment-223324783, or mute the threadhttps://github.com/notifications/unsubscribe/AQha7kSOty7aAj0E7V49beEFggMVa5O1ks5qHvR0gaJpZM4IscJ9.


[Feature Request] AuthService to allow propagating all headers.

Please describe your use case / problem.
Our auth mechanism depends on headers list that is not known ahead of time. But the AuthService's allow_request_headers requires a fixed list.
Describe the solution you'd like
Allow wildcard in allow_request_headers, such that all the headers from the original request is passed to external auth service. Something like allow_request_headers: "*"
Describe alternatives you've considered
We considered using proto:grpc but our external auth service does not support grpc.

I think this is still relevant.

still want it

ding!


hassio lockout

on 110b3 release
complete none start of hassio - not even recovery system
had to start a docker bash prompt and use vi to remove the ecowit: configuration from configuration.yaml
can you please test on lastest beta and post how to fix
installed via hacs
thanks

Did you get any messages from ecowitt in the logs, if so, could you post them?  Also, did you have your device setup to send messages to the instance? (this should not impact, just wondering)
I don't run hassio.. not sure how to test unless you can post logs?

I run a standard home assistant supervisor docker image on a hp i5 pc
The problem occurs after restart to start component listening to port
I had not yet configured ecowit device to talk to custom endpoint
There were no relevent logs in log file at default warning level did not try debug
It looks like it got to initialising the custom components and froze at your component

You do hint at this because you say that about long startup on slow updates from ecowit
I would not find a integration that has to have data from external device to allow rest of system to boot as usable

The way it's setup right now it might not start without the device connecting.  I'll dig in and see if I can rewrite it slightly to do so.

I don't really have a problem if it just took out that integration  but to stop the whole system starting is not good
I will try again when I got time and configure the ecowit device first

having configured the ecowitt weather station to send requests to the server the system does startup
some minor  improvements
get the following logs
2020-05-20 01:08:33 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type maxdailygust
2020-05-20 01:08:33 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type hourlyrainin
2020-05-20 01:08:33 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type totalrainin
it would make finding sensor quicker if you added an instance name to start of sensor name ie "sensor.ecowit_totalrainin"  this makes it easy to understand where data is coming from
for some reason the sensors do not show in the unused entity list in Lovelace - which makes adding them a lot more difficult for some users

Can you tell me the make/model of your system, just curious.  I'll add those sensor types when I look at the code to try to fix the startup, also, will note in readme.  thx.

Wh3000se
Sent from Mail for Windows 10
From: Tim Rightnour
Sent: 20 May 2020 14:19
To: garbled1/homeassistant_ecowitt
Cc: scooper1; Author
Subject: Re: [garbled1/homeassistant_ecowitt] hassio lockout (#2)
Can you tell me the make/model of your system, just curious. I'll add those sensor types when I look at the code to try to fix the startup, also, will note in readme. thx.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I'm having the same issue where HA will not start when ecowitt is listed in configuration.yaml, however I can't tell the cause.  I have configured the ecowitt wifi gateway as instructed prior to adding 'ecowitt' to configuration.yaml.  Installed the component from HACS.

arch
x86_64

chassis
vm

dev
false

docker
true

hassio
true

host_os
HassOS 4.8

installation_type
Home Assistant

os_name
Linux

os_version
5.4.43

python_version
3.7.7

supervisor
226

timezone
America/New_York

version
0.110.4

virtualenv
false

I'm getting this in the log when I start HA:
`2020-06-03 10:13:32 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/pyecowitt/ecowitt.py", line 181, in handler
weather_data = self.convert_units(data_copy)
File "/usr/local/lib/python3.7/site-packages/pyecowitt/ecowitt.py", line 117, in convert_units
data["temp1c"] = self.ftoc(data["temp1f"])
AttributeError: 'EcoWittListener' object has no attribute 'ftoc'
HassIO
`

Oops, there was a bug in pyecowitt regarding one of the temperature conversions..  I'll need to publish a new pyecowitt version with that fix.. will try to do later tonight.. sorry!

Oops, there was a bug in pyecowitt regarding one of the temperature conversions.. I'll need to publish a new pyecowitt version with that fix.. will try to do later tonight.. sorry!

No trouble at all.  Please don't apologize, I appreciate you working on this custom component!!

Fix for the ftoc problem should be in master, try that please.

Looks like that worked!  It would be great if an issue w/ this integration didn't prevent the whole home assistant application from starting, but I understand you are already looking for a way to do that.  Thanks a lot!

home-assistant.log
tcpdump and docker.txt
Included log output and also tcpdump and docker ps.
I can see packets coming in to docker host running hassio but then not sure if hassio is seeing the packets as it is not listening on port 4199.

I have an ecowitt GW1004 kit on the way (should arrive later this week).
I'm trying to wrap my head around some of the details of the Home Assistant API - a lot of things are very unclear/not very well documented (such as being able to find any details on async_load_platform), but I did have one question:
Where is the requirement to fire off async_load_platform() within async_setup() stated?  Or was this requirement assumed/determined by experimentation?
I'm guessing hassio is hanging waiting for async_setup() to complete - so why not fire off the async_load_platform() discovery event on the first execution of _async_ecowitt_update_cb() instead of within async_setup()?

Hrmm.. Good question.. Maybe I'll just try that?  I don't recall anymore if I found that was absolutely required or not.  I'll give it a go this weekend.

I might take a look myself this weekend if I don't have family visiting.  (But I probably will.)
I took a look through the MQTT integration code to see how they do dynamic discovery...  And they don't seem to use any of the load_platform calls for discovery?  I might take a look at the ZHA integration for some hints/learning experience next since that also does automatic discovery.

As a side note, what's your workflow for keeping your home assistant custom_components folder synced while you are developing?  A symlink from config/custom_components/ecowitt to custom_components/ecowitt in a git repo elsewhere on the filesystem, or is there another easier trick?
There are a couple of features I'd like to take a crack at adding (ability to set the force_update property, virtual dewpoint sensor similar to what Tasmota does in https://github.com/arendst/Tasmota/blob/development/tasmota/support.ino#L642 ) in addition to taking a look at this issue here.

Yeah, I usually just do the symlink trick.. the hacs tree format makes it harder than if it's just a flat directory.

The only thing I know of that does a similar thing to what I'm doing here, is the greeneye_monitor integration.  It also sets up a listener, which is sort of the key here.  In it's case, what it does is require the config to be filled out manually in the file, so it doesn't have to wait for the device to tell it what objects it has...  I was trying to avoid that..

I think this fixes it?  I'm just not sure if it works for a system the very first time we hook up an ecowitt.  It works fine for mine with existing entities.


Bump node-sass dependency to 4.13.1

node-sass ~4.9.4 will fail on certain environments. This will simply bump the version to node-sass@latest (4.13.1) which corrects the issue.
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (72)

I saw the approval a few times. I can't merge this.

Can we get this merged? Really painful having to manually bump this dependency

+1! Now<EMAIL_ADDRESS>Older versions won't install on WSL.

tracking here: #2466


Missing tracelog/error line

What is the expected behavior?
Jest prints out the tracelog, especially points to the correct line number in the code.
Current behavior?
In our project there's no tracelog or line number where the error has happend.
We are using CircleCI for CI testing and there the tracelog is visible!
We searched for months now, what is wrong with our setup, but now it looks there's something wrong with our machines?
I hope someone can point me here in the right direction!
Result on my machine:

Result on CircleCI:

Link to the CircleCI PR: https://circleci.com/gh/sulu/sulu/1173?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Please provide your exact Jest configuration
Everything is open source:
https://github.com/sulu/sulu/blob/develop/package.json#L65
Tested on different machines:
Linux:
npx: installed 1 in 2.626s

  System:
    OS: Linux 4.15 Ubuntu 18.04 LTS (Bionic Beaver)
    CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  Binaries:
    Node: 8.10.0 - /usr/bin/node
    npm: 6.0.0 - /usr/local/bin/npm
  npmPackages:
    jest: ^22.4.0 => 22.4.3

OSX:
npx: Installierte 1 in 3.31s

  System:
    OS: macOS High Sierra 10.13.2
    CPU: x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  Binaries:
    Node: 9.3.0 - /usr/local/bin/node
    Yarn: 1.3.2 - /usr/local/bin/yarn
    npm: 5.6.0 - /usr/local/bin/npm
  npmPackages:
    jest: ^22.4.0 => 22.4.3

I ran this on my mac, and it works.

What's your PWD locally?

Ok, looks like it has something todo with the length of the path?
/home/patrick/Sandbox/sulu2/vendor/sulu/sulu

When I'm moving it to /home/patrick/Sandbox/sulu it works.

I wonder if we do something clever with vendor

Yup: https://github.com/facebook/jest/blob/ffdca976a0518792fb2bf366c7d988901cf2a904/packages/jest-message-util/src/index.js#L51

Hmm.. ok.. what does this means for us?
Can we change this somewhere?
This naming comes from composer...

@cpojer should we stop stripping out vendor from the trace?

Oh yeah, for sure. The only reason we had that was because previously jasmine was in a vendor folder.

I guess it's a remnant from before #3147, so it should be completely safe to remove now

So we can/should make a PR?

PR very much welcome! 🙂


Document --checkpoint flag

Document --checkpoint flag in stage add and other commands. @jorgeorpinel @pmrowla @skshetry

--checkpoint flag in stage add and other commands

Adding to #2242 @dberenbaum but I can only find that flag in stage add.

Wait. It's in the code base, but not coming up in stage add -h yet. Maybe it's hidden? We could find the core issue that will enable it instead, and manage the docs from there.
https://github.com/iterative/dvc/blob/cf1070a531456a267c3b57a35d17795397437699/dvc/command/stage.py#L253-L259

See https://github.com/iterative/dvc/pull/5263#pullrequestreview-609171552

Thanks @jorgeorpinel. Looks like it's suppressed. I can open a core issue to get that sorted.


Communication error with Nuki Bridge

I installed the integration with HACS and tried to add the integration "Nuki Lock" but i get a communication error.
I have not found any logs or something to solve this error.
Both IP addresses are prefilled and correct - so it auto detects the bridge
The port in the Nuki http API is standard set to 8080
The API token is 10 digits long
When I try the normal "Nuki" Integration which is preinstalled in Home Assistant, I can add the bridge but my Nuki Lock appears as unavailable.
For this repo i have tried the version 3.8 3.9 and 3.10
My Home Assistant setup:
Home Assistant 2021.12.10
Python-Version | 3.9.7

The port in the Nuki http API is standard set to 8080
The API token is 10 digits long

you mean the Bridge API, right? Don't confuse the bridge token with the Web API token, double-check that. Can you show a screenshot of the error?

you mean the Bridge API, right?

Yes, it is the Bridge API configured in the mobile app.

Are you sure HA and the bridge can communicate?

Yes, I can ping the Bridge from other devices and HA uses other Network devices.

Do you use proxies/vlans, etc.?

No, just a simple local network with IP range <IP_ADDRESS>/24
If i type in http://192.168.178.xx:8080/auth and press the button on the Bridge I get
{"success": true, "token": "xxxxxxx"}
I also made a ping entity in HA to check if the Bridge is reachable - It is

I have found the error
in
https://github.com/kvj/hass_nuki_ng/blob/361ce9d0f1f6f36f60bcf5540eaee346fd53b241/custom_components/nuki_ng/config_flow.py#L39-L41
I added an opener a few days ago that does not have a name yet.
Maybe add the ID as name if no name is provided.
The error log message is also missleading.
The integration is now working, but I think an unconfigured device is not foreseen.
Error setting up entry Opener for nuki_ng
File "/config/custom_components/nuki_ng/nuki.py", line 343, in init
webhook.async_register(
TypeError: async_register() got an unexpected keyword argument 'local_only'

One thing:

Home Assistant 2021.12.10

Not sure that current nuki_ng should work on that version. It's heavily outdated

Yes you are right.
I've updated HA to 2022.8.7 and now everything is working.
Thanks everyone!
Nevertheless I would suggest this change -- https://github.com/kvj/hass_nuki_ng/issues/98#issuecomment-1232492370

@domdal
I seem to have the same problem. However, Home Assistant is on the latest version for me. I have set the API token in the bridge and inserted it in Home Assistant. I have already checked the values several times.

Home Assistant is on version 2022.9.7


new style det and batch_det function

This PR implements new style det, batch_det function.
This PR includes redundant error check code.  Needs to be revised once #3770 is merged. (done)
Needs tolerance adjustments. (done)

Adjusted test data generation and tolerance, confirmed 10000 repeats.

LGTM!


Use bump allocator for keys

Should not reallocate on every keys
Before
> hyperfine 'target/release/countwords < ../../kjvbible.txt'
Benchmark #1: target/release/countwords < ../../kjvbible.txt
  Time (mean ± σ):      60.7 ms ±  11.8 ms    [User: 53.3 ms, System: 7.5 ms]
  Range (min … max):    43.9 ms …  74.8 ms    44 runs

After keys arena
> hyperfine 'target/release/countwords < ../../kjvbible.txt'
Benchmark #1: target/release/countwords < ../../kjvbible.txt
  Time (mean ± σ):      47.7 ms ±  11.5 ms    [User: 41.2 ms, System: 6.5 ms]
  Range (min … max):    37.4 ms …  70.0 ms    48 runs

After bufwriter
> hyperfine 'target/release/countwords < ../../kjvbible.txt'
Benchmark #1: target/release/countwords < ../../kjvbible.txt
  Time (mean ± σ):      46.7 ms ±  13.5 ms    [User: 43.4 ms, System: 3.3 ms]
  Range (min … max):    29.9 ms …  63.9 ms    43 runs

Follow up of https://github.com/benhoyt/countwords/pull/1#issuecomment-799584798
cc @BurntSushi

By the way, I used buffered writer for standard output. So it became faster again slightly. 60ms -> 50ms -> 45ms
The dependencies is just
├── bumpalo v3.6.1
└── fxhash v0.2.1
    └── byteorder v1.4.3

Still need to see whether @benhoyt allows this, bump allocator is not available in the standard library and probably cannot be written without unsafe, but it makes sense to use it here since we shouldn't allocate on every new key insert. Still, using a bump allocator is kinda cheating in a way since that will allocate a huge buffer, well GC languages does that too. So fair right?
If we want to cheat we can just do it at constant time, like https://blog.mgattozzi.dev/oxidizing-the-technical-interview/

Ah yeah, I see, using a Vec<u8> is problematic because the code wants to borrow it in the hashmap and mutably at the same time.
Dunno. I could go either way.  Like, yeah, maybe that's what GC languages do. But then again, that's their advantage. It's hard to draw the line. That's probably why it was just originally "no third party libs."

or use ahead of time HashMap capacity allocation, but we didn't.

I tried that but couldn't see a difference. But that's a fair optimization if it matters I think.

Yeah, I'd like to stick as closely to the stdlib as possible, given the constraints I set. I think it's useful to show what a language can do "out of the box". Like you say, you could just copy the bump allocator code in here, though it looks like a reasonable amount of code, and I don't really think this is in the spirit of the constraints anymore. So closing this one. Thanks anyway!

@BurntSushi I am even more surprised that I hear you are surprised by me. I thought you should have already heard of these. :D
@benhoyt Sure, let me look into that.

Yeah, I've know about bumpalo. Just never used it or happened to stumble across it solving a problem so elegantly in isolation like this.


Lazy load  ?

Got some MP4s that I load in the video tag.
Can the downloading of this mp4 be delayed just like with pictures?

Try to switch preload="none" to preload="". Maybe there is already a plugin, but with the documentation you should be able to do it yourself.


Feature/873 : Landing Page Update

Task 1. Landing Page
I've completed the task of designing the new landing page for english and french, where I've added descriptions that are displayed on the picture slider.
English

French

Task 2. Get Started Button update.
Change the current font for “get started” button shades

Task 6 Colours consistency
Remove orange, update top navigation bar to blue with yellow text for current display and white for others. Change “X” icon and “close” button from orange to yellow.

@pulkitarora001
The close button modification also changed the close button the feedback popup in this PR . Refer to the screenshot I have posted here and the feedback screenshot from the test app.


An error occured while starting the kernel

Description
Starting the kernel when using Spyder via Anaconda Navigator does not work. Numerous forums have been searched, updates installed. The source of the error is unknown.
What steps will reproduce the problem?

uninstall anaconda
reinstall anaconda
update conda and spyder

Traceback
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\site‑packages\spyder\plugins\ipythonconsole\plugin.py", line 1497, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle,
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\site‑packages\jupyter_client\manager.py", line 337, in start_kernel
kernel_cmd, kw = self.pre_start_kernel(**kw)
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\site‑packages\jupyter_client\manager.py", line 286, in pre_start_kernel
self.write_connection_file()
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\site‑packages\jupyter_client\connect.py", line 466, in write_connection_file
self.connection_file, cfg = write_connection_file(self.connection_file,
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\site‑packages\jupyter_client\connect.py", line 136, in write_connection_file
with secure_write(fname) as f:
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\contextlib.py", line 117, in __enter__
return next(self.gen)
File "C:\ProgramData\Anaconda3\envs\spyder‑env\lib\site‑packages\jupyter_core\paths.py", line 458, in secure_write
fd = os.open(fname, open_flag, 0o0600)
FileNotFoundError: [Errno 2] No such file or directory: '\\\\nas.tu‑clausthal.de\\win‑home$\\bkl15\\rzconfig\\Anwendungsdaten\\jupyter\\runtime\\kernel‑ecbcb87c98af.json'

## Versions

* Spyder version: 5.0.3
* Python version: 3.9.5
* Qt version: 5.9.7
* PyQt5 version: 5.9.2
* Operating System: Windows 10

### Dependencies

Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  1.6.0 (OK)
cookiecutter >=1.6.0          :  1.7.2 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.6.0               :  7.22.0 (OK)
jedi =0.17.2                  :  0.17.2 (OK)
jsonschema >=3.2.0            :  3.2.0 (OK)
keyring >=17.0.0              :  23.0.1 (OK)
nbconvert >=4.0               :  6.0.7 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
paramiko >=2.4.0              :  2.7.2 (OK)
parso =0.7.0                  :  0.7.0 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.8.0 (OK)
pygments >=2.0                :  2.9.0 (OK)
pylint >=1.0                  :  2.8.3 (OK)
pyls >=0.36.2;<1.0.0          :  0.36.2 (OK)
pyls_black >=0.4.6            :  0.4.6 (OK)
pyls_spyder >=0.3.2;<0.4.0    :  0.3.2 (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.1.10 (OK)
qtawesome >=1.0.2             :  1.0.2 (OK)
qtconsole >=5.1.0             :  5.1.0 (OK)
qtpy >=1.5.0                  :  1.9.0 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=39.0.0           :  52.0.0.post20210125 (OK)
sphinx >=0.6.6                :  4.0.1 (OK)
spyder_kernels >=2.0.3;<2.1.0 :  2.0.3 (OK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3;<2.0.0      :  1.0.2 (OK)
zmq >=17                      :  20.0.0 (OK)
Optional:
cython >=0.21                 :  None (NOK)
matplotlib >=2.0.0            :  None (NOK)
numpy >=1.7                   :  None (NOK)
pandas >=1.1.1                :  None (NOK)
scipy >=0.17.0                :  None (NOK)
sympy >=0.7.3                 :  None (NOK)

Hi @bastieffzeh thanks for the feedback, that the kernel started you on previous versions? Also, seems like the connection file that you are trying to use is inside network drive?
Any other information is greatly appreciated :)

@dalthviz even with previous versions Spyder did not work. Other users on the same computer have no problems. The file (don't know their background) is supposed to be on a network drive, but is not there.

@bastieffzeh maybe then is an issue regarding your account accessing the file and the network drive. Are you sure you have access with the account you are running Spyder to the network drive and the file for the connection that should be in that network drive?
If your Windows account doesn't have access to the network drive then there is not much we can do sorry :/
Let us know!

Closing due to lack of response


Update cvtt to GIT 2022

Another third-party library update mentioned on that tracker.
I wonder if this deserves its own commit, since the update on GIT is a single commit that updates a single file.
Maybe it's important since it claims to fix a bug.

Thanks!


Adding simple array item update code action

This PR adds a code action to replace simple illegal array item updates with a copy-and-update expression.  This currently includes single-dimension arrays where the index is on a single line.
Examples include:
set arr[0] = 1              -> set arr w/= 0 <- 1
set array[0] = ("", 1.)     -> set arr w/= 0 <- ("", 1.)
set arr[0] = new Int[10]    -> set arr w/= 0 <- new Int[10]
set arr[0] = (new 'T[1])[0] -> set arr w/= 0 <- (new 'T[1])[0]
set arr[i * j] = 1          -> set arr w/= i * j <- 1

 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.:x: sw23 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add the support for gradle

We may want to support Gradle for the flacocobot experiment, bumping this up.
CC @dginelli


tf.signal.inverse_stft has inconsistent results with or without @tf.function

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
tf 2.10
Custom Code
No
OS Platform and Distribution
Ubuntu 18.04.4 LTS (x86_64)
Mobile device
No response
Python version
3.7.6
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
N/A
GPU model and memory
No response
Current Behaviour?
tf.signal.inverse_stft has inconsistent results with or without @tf.function for the following input

Standalone code to reproduce the issue
# Colab Link: https://colab.research.google.com/drive/1MhNfkZgltqQqHw8kKG2zQi8ivwvKfRoj?usp=sharing

import tensorflow as tf
import numpy as np

print(tf.__version__)

input = {'frame_step': 29343, 'frame_length': 61, 'stfts': np.array([[]], dtype=np.complex64)}

output1 = tf.signal.inverse_stft(**input)

@tf.function
def fun_wrapper(x):
    return tf.signal.inverse_stft(**x)

output2 = fun_wrapper(input)

print(np.allclose(output1, output2))

### Relevant log output

```shell
2.10.0
False

@sachinprasadhs I was able to replicate the issue, please find the gist here. Thank you!

Could you please refer the comment here. Thanks!


Unable to avoid logging on console

QAF Version - 2.1.14

Note: only the latest version is supported

Steps To Reproduce
1. Create a Project using QAF Blank Maven Project and Add qaf-support-ws
2. Add Scenarios for Web Services & Try to execute them
3. Disable/remove log4j.properties or change the root category to ERROR/FATAL

Expected behavior
Console log should print only ERROR logs
Actual behavior
Console log is printing ALL THE LOG VERBOSE
Is the issue reproducible on runner?

[ ] QAS
[x] Maven
[ ] Gradle
[ ] Ant
[ ] Eclipse

Test case sample

Please, share the test case (as small as possible) which shows the issue

For older version of qaf (below 3.1.0) there is log4j1.x dependency from framework.  There may be other logging libraries taking control of logging instead of log4j. You should try to find out which logging implementation takes control and configure accordingly. Check similar questions in users group and stack overflow

QAF | Switch off logging to console
disable INFO com.qmetry.qaf.automation.ui.WebDriverCommandLogger loging

From qaf version 3.1.0 qaf doesn't include log4j dependency. User can add and configure any library of their choice for logging refer release-notes


As a user I would like to receive an email with instructions about resetting my password in case I forget it

[x] Send email with unique link
[x] Create page with form to change password
[x] Password validation
[x] Update in database
Story point: 3
-Time estimation: 8hr


I Can’t Install It at All

In one-click-installers-tts-6.0, when I start start_windows.bat, the cmd opens and closes abruptly.
I tested it with the ai fix:
`@echo off
cd /D "%~dp0"
echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which cannot be silently installed under a path with spaces. && goto end
set PATH=%PATH%;%SystemRoot%\system32
@rem config
set INSTALL_DIR=%cd%\installer_files
set CONDA_ROOT_PREFIX=%cd%\installer_files\conda
set INSTALL_ENV_DIR=%cd%\installer_files\env
set MINICONDA_DOWNLOAD_URL=https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Windows-x86_64.exe
set conda_exists=F
@rem figure out whether git and conda need to be installed
call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" --version >nul 2>&1
if "%ERRORLEVEL%" EQU 0 set conda_exists=T
@rem (if necessary) install git and conda into a contained environment
@rem download conda
if "%conda_exists%" == "F" (
echo Downloading Miniconda from %MINICONDA_DOWNLOAD_URL% to %INSTALL_DIR%\miniconda_installer.exe
mkdir "%INSTALL_DIR%"
call curl -Lk "%MINICONDA_DOWNLOAD_URL%" -o "%INSTALL_DIR%\miniconda_installer.exe" || ( echo. && echo Miniconda failed to download. && goto end )

echo Installing Miniconda to %CONDA_ROOT_PREFIX%
start /wait "" "%INSTALL_DIR%\miniconda_installer.exe" /InstallationType=JustMe /NoShortcuts=1 /AddToPath=0 /RegisterPython=0 /NoRegistry=1 /S /D=%CONDA_ROOT_PREFIX%

@rem test the conda binary
echo Miniconda version:
call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" --version || ( echo. && echo Miniconda not found. && goto end )

)
@rem create the installer env
if not exist "%INSTALL_ENV_DIR%" (
echo Packages to install: %PACKAGES_TO_INSTALL%
call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" create --no-shortcuts -y -k --prefix "%INSTALL_ENV_DIR%" python=3.10 || ( echo. && echo Conda environment creation failed. && goto end )
)
@rem check if conda environment was actually created
if not exist "%INSTALL_ENV_DIR%\python.exe" ( echo. && echo Conda environment is empty. && goto end )
@rem activate installer env
call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" activate "%INSTALL_ENV_DIR%" || ( echo. && echo Miniconda hook not found. && goto end )
@rem setup installer env
call python webui.py
echo.
echo Done!
:end
pause
`
but it didn't work.

I'm not a senior programmer btw sussy baka.

Hi the new one click installers are within the repository as
"start_tts_webui.bat".
I removed the old installers but people still keep finding them. I will try
to add warnings that they are out of date.
On Thu, Sep 26, 2024, 10:10 PM Rodoxdexts @.***> wrote:

I'm not a senior programmer btw sussy baka.
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/383#issuecomment-2377728659,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI6BUAURVFHFZDFH5RLZYRLVXAVCNFSM6AAAAABO5U7LOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXG4ZDQNRVHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Now it ran, but there was 1 error, I ran start_tts_webui.bat as administrator and it showed me this in cmd:
Transcription started, output file is
C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\output. log
"Checking if the Micromamba/Conda environment is already installed."
"Micromamba/Conda environment already installed in C:\WINDOWS\system32\installer_files\env, skipping installation"

Starting init app (version: 0.0.6)...

Checking conda installation...
>conda --version
conda 24.7.1
Pulling updates from tts-generation-webui
There was a problem while pulling updates. Aborting...
ENOENT: no such file or directory, open 'C:\WINDOWS\system32\.git\refs\heads\main'
Failed to init the app, exiting...
Press any key to continue. . .

Try without admin, it changes the directory. Did it not work without admin?
On Fri, Sep 27, 2024, 1:09 AM Rodoxdexts @.***> wrote:

Now it ran, but there was 1 error, I ran start_tts_webui.bat as
administrator and it showed me this in cmd:
Transcription started, output file is
C:\Users(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\output. log
"Checking if the Micromamba/Conda environment is already installed."
"Micromamba/Conda environment already installed in C:\WINDOWS\system32\installer_files\env, skipping installation"
Starting init app (version: 0.0.6)...
Checking conda installation...

conda --version
conda 24.7.1
Pulling updates from tts-generation-webui
There was a problem while pulling updates. Aborting...
ENOENT: no such file or directory, open 'C:\WINDOWS\system32.git\refs\heads\main'
Failed to init the app, exiting...
Press any key to continue. . .

image.8.png (view on web)
https://github.com/user-attachments/assets/7aa04bf4-b8a5-47e2-bf7f-b49b679ed9b8
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/383#issuecomment-2378023324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXIYIT7LIFHWDQSPQDF3ZYSA3HAVCNFSM6AAAAABO5U7LOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZYGAZDGMZSGQ
.
You are receiving this because you commented.Message ID:
@.***>

no, just a message saying it can't run on my computer like this

Quando rodo com admin, ele para nessa seção do installer_scripts -> root.ps1 ->
& "$PSScriptRoot\init_app.bat"
if ($LASTEXITCODE -ne 0) {
    Write-Host "Failed to init the app, exiting..."
    exit 1
}

cmd:
"Checking if the Micromamba/Conda environment is already installed."
"Micromamba/Conda environment already installed in C:\WINDOWS\system32\installer_files\env, skipping installation"

Starting init app (version: 0.0.6)...

Checking conda installation...
>conda --version
conda 24.7.1
Pulling updates from tts-generation-webui
There was a problem while pulling updates. Aborting...
ENOENT: no such file or directory, open 'C:\WINDOWS\system32\.git\refs\heads\main'
Failed to init the app, exiting...
Press any key to continue. . .

I created the main folder that
ENOENT: no such file or directory, open 'C:\WINDOWS\system32\.git\refs\heads\main'
was asking, and this appeared:
Transcription started, output file is C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\output.log
"Checking if the Micromamba/Conda environment is already installed."
"Micromamba/Conda environment already installed in C:\WINDOWS\system32\installer_files\env, skipping installation"

Starting init app (version: 0.0.6)...

Checking conda installation...
>conda --version
conda 24.7.1
Pulling updates from tts-generation-webui
There was a problem while pulling updates. Aborting...
EISDIR: illegal operation on a directory, read
Failed to init the app, exiting...
Press any key to continue. . .

Thanks for all of the info!
I'm encountering this for the first time.
What kind of windows is this?
And if I understand correctly, when it says "can't run this app on your PC"
it also gives the errors, right?
The core issue appears to be that there's no "curl" command, which should
have been available.
On Fri, Sep 27, 2024, 2:15 AM Rodoxdexts @.***> wrote:

I created the main folder that
ENOENT: no such file or directory, open
'C:\WINDOWS\system32.git\refs\heads\main'
was asking, and this appeared:
Transcription started, output file is C:\Users(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\output.log
"Checking if the Micromamba/Conda environment is already installed."
"Micromamba/Conda environment already installed in C:\WINDOWS\system32\installer_files\env, skipping installation"
Starting init app (version: 0.0.6)...
Checking conda installation...

conda --version
conda 24.7.1
Pulling updates from tts-generation-webui
There was a problem while pulling updates. Aborting...
EISDIR: illegal operation on a directory, read
Failed to init the app, exiting...
Press any key to continue. . .

—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/383#issuecomment-2378103430,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI7HKR4HEZJW7RSBTZTZYSIPNAVCNFSM6AAAAABO5U7LOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZYGEYDGNBTGA
.
You are receiving this because you commented.Message ID:
@.***>

It's Windows 10 pro in portuguese😅
I read the start_tts_webui.bat file to see where the error was leading (and also because I'm paranoid about viruses), and it took me to installer_scripts -> root.ps1, and I edited it with the Windows Powershell editor

and compared it with the cmd errors.
Yeah, it gives errors
Transcription started, output file is C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\output.log "Downloading micromamba from https://github.com/easydiffusion/ easydiffusion/releases/download/v1.1/micromamba.exe to C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\mamba\micromamba.exe" There is already a subfolder or a file C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\mamba.
'curl' is not recognized as an internal or external command, an operable program, or a batch file.
"There was a problem downloading micromamba. Cannot continue."
Press any key to continue. . .
The system cannot find the path specified.
'node' is not recognized as an internal or external command, operable program or batch file.
Failed to init the app, exiting...
Press any key to continue...

It's Windows 10 pro in portuguese😅
I read the start_tts_webui.bat file to see where the error was leading (and also because I'm paranoid about viruses), and it took me to installer_scripts -> root.ps1, and I edited it with the Windows Powershell editor  and compared it with the cmd errors.
Yeah, it gives errors
Transcription started, output file is C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\output.log "Downloading micromamba from https://github.com/easydiffusion/ easydiffusion/releases/download/v1.1/micromamba.exe to C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\mamba\micromamba.exe" There is already a subfolder or a file C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\mamba.
'curl' is not recognized as an internal or external command, an operable program, or a batch file.
"There was a problem downloading micromamba. Cannot continue."
Press any key to continue. . .
The system cannot find the path specified.
'node' is not recognized as an internal or external command, operable program or batch file.
Failed to init the app, exiting...
Press any key to continue...

Good Job!

By the way, if you are interested in AI projects and you want to feel safer, you can try out Docker options. You'll need to learn a little about docker, but you'll have a 'VM' that greatly increases the separation between the app and your OS. I don't know what the performance difference would be, but not a huge one since most of the time is spent on the GPU not on the CPU.
As for installing this project the one-click-way:
I see that you don't have 'curl', could you verify that with a simple powershell/cmd terminal to type curl --help and show what the output is? It's possible everyone installing the webui until this point had curl installed, so I assumed that it comes preinstalled with windows, but maybe I got it from git or wsl.
Also thanks for debugging this project, even if this does not give an immediate solution, maybe this will provide better stability 2-3 steps in the future.
Last, but not least, depending on your skill level/dedication you might do a manual install:
https://github.com/rsxdalv/tts-generation-webui?tab=readme-ov-file#manual-installation-not-recommended
All the project needs to run is python 3 (highly recommended 3.10.11) with the dependencies - pytorch, and requirements files.
The more you install successfully the more will run. Virtual environments are highly encouraged and not using a venv might break your webui at some point. Automatic updates won't happen though.

I did curl --help and it gave:
PS C:\Users\(User)> curl --help
curl : The remote name could not be resolved: '--help'
On line:1 char:1
+ curl --help
+ ~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

I did curl --help and it gave:
PS C:\Users\(User)> curl --help
curl : The remote name could not be resolved: '--help'
On line:1 char:1
+ curl --help
+ ~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Thanks, this means that powershell does have the curl alias for Invoke-WebRequest. In that case - please do cmd.exe to open the classic terminal and once again curl --help (for example powershell > cmd.exe > curl --help)

Also, assuming, just assuming that curl is the only problem that will happen, you can also just download manually the micromamba.exe and save like this:
tts-generation-webui-main\installer_files\mamba\micromamba.exe
You can probably use any recent micromamba version, but this is the micromamba.exe that the webui uses: https://github.com/easydiffusion/easydiffusion/releases/download/v1.1/micromamba.exe

I did curl --help and it gave:
PS C:\Users\(User)> curl --help
curl : The remote name could not be resolved: '--help'
On line:1 char:1
+ curl --help
+ ~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Thanks, this means that powershell does have the curl alias for Invoke-WebRequest. In that case - please do cmd.exe to open the classic terminal and once again curl --help (for example powershell > cmd.exe > curl --help)

He gives me this:
PS C:\Users\(User)> C:\WINDOWS\system32\cmd.exe
Microsoft Windows [version 10.0.19045.4894]
(c) Microsoft Corporation. All rights reserved.

C:\Users\(User)>curl --help
'curl' is not recognized as an internal or external command, operable program or batch file.

these links give different files:

These links give different files. Are they different versions for each dev's purposes?

Also, assuming, just assuming that curl is the only problem that will happen, you can also just download manually the micromamba.exe and save like this:
tts-generation-webui-main\installer_files\mamba\micromamba.exe
You can probably use any recent micromamba version, but this is the micromamba.exe that the webui uses: https://github.com/easydiffusion/easydiffusion/releases/download/v1.1/micromamba.exe
edit: micromamba releases can be found here https://github.com/mamba-org/micromamba-releases/releases (they lack the .exe extension and need to be renamed manually, i.e. micromamba-win-64 -> micromamba.exe),

now it says:
Start-Transcript : Transcription cannot be started.
No C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_scripts\root.ps1:2
caractere:1
+ Start-Transcript -Path $logFile
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Transcript], PSInvalidOperationException
    + FullyQualifiedErrorId : CannotStartTranscription,Microsoft.PowerShell.Commands.StartTranscriptCommand

"Checking if the Micromamba/Conda environment is already installed."
"Micromamba/Conda environment already installed in C:\Users\Matheus\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env, skipping installation"
'DOSKEY' is not recognized as an internal command or external, an operable program or a batch file.

Starting init app (version: 0.0.6)...

Checking conda installation...
>conda --version
conda 24.7.1
Pulling updates from tts-generation-webui
>git pull
Already up to date.
No updates found, skipping...
'DOSKEY' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
Traceback (most recent call last):
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\server.py", line 11, in <module>
    import gradio as gr
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env\lib\site-packages\gradio\__init__.py", line 3, in <module>
    import gradio._simple_templates
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env\lib\site-packages\gradio\_simple_templates\__init__.py", line 1, in <module>
    from .simpledropdown import SimpleDropdown
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env\lib\site-packages\gradio\_simple_templates\simpledropdown.py", line 6, in <module>
    from gradio.components.base import Component, FormComponent
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env\lib\site-packages\gradio\components\__init__.py", line 1, in <module>
    from gradio.components.annotated_image import AnnotatedImage
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env\lib\site-packages\gradio\components\annotated_image.py", line 9, in <module>
    import PIL.Image
  File "C:\Users\(User)\Downloads\tts-generation-webui-main\tts-generation-webui-main\installer_files\env\lib\site-packages\PIL\Image.py", line 100, in <module>
    from . import _imaging as core
ImportError: DLL load failed while importing _imaging: Não foi possível encontrar o módulo especificado.
""
""
App exitted or crashed.
Starting command prompt for user to run commands in case of failure...
""
cmd' is not recognized as an internal or external command, operable program or batch file.
Press any key to continue. . .

This part baffles me - 'DOSKEY' is not recognized as an internal command or external, an operable program or a batch file.
It really seems like there's something unorthodox about this Windows system that does not have many tools.
This error should not happen, the installer is made to prevent it from happening.
ImportError: DLL load failed while importing _imaging: Não foi possível encontrar o módulo especificado.
Specifically, the installer installs pillow==10.3.0 to prevent it from happening.
I'm leaning towards recommending Docker.

This part baffles me - 'DOSKEY' is not recognized as an internal command or external, an operable program or a batch file. It really seems like there's something unorthodox about this Windows system that does not have many tools.
This error should not happen, the installer is made to prevent it from happening. ImportError: DLL load failed while importing _imaging: Não foi possível encontrar o módulo especificado.
Specifically, the installer installs pillow==10.3.0 to prevent it from happening.
Estou inclinado a recomendar o Docker.

I'll test docker and get back to you later, thanks for the tip

This part baffles me - 'DOSKEY' is not recognized as an internal command or external, an operable program or a batch file. It really seems like there's something unorthodox about this Windows system that does not have many tools.
This error should not happen, the installer is made to prevent it from happening. ImportError: DLL load failed while importing _imaging: Não foi possível encontrar o módulo especificado.
Specifically, the installer installs pillow==10.3.0 to prevent it from happening.
I'm leaning towards recommending Docker.

I'm almost giving up on this, docker is too complicated

There's also WSL. I am still wondering why are there so many differences in your system. Maybe it's not just you, but you are the first one to report these in more than a year.
WSL is like having linux inside of your windows. I've heard some surprising comments that WSL has better performance than pure windows, but again, it's something to learn.
By the way, would you be interested in having this webui be accessible as a website?

Thank to God it worked!

Great job! For more day-to-day assistance, feel free to join the discord.

There's also WSL. I am still wondering why are there so many differences in your system. Maybe it's not just you, but you are the first one to report these in more than a year.
WSL is like having linux inside of your windows. I've heard some surprising comments that WSL has better performance than pure windows, but again, it's something to learn.
By the way, would you be interested in having this webui be accessible as a website?

                                                                              👆
                                                                            yes

Great job! For more day-to-day assistance, feel free to join the discord.

Thanks


Content Audit

Description
Audit all content on the Elemental Selenium website, including the landing page and tip archive  table of contents.
Relevant Links
Audit spreadsheet: https://docs.google.com/spreadsheets/d/10UpvsSHY0NH48FafkUV8ZKYbYTHlGbAuG8UUpq54rpo/edit#gid=0
Acceptance Criteria

[ ] All tips have all relevant fields filled out in the spreadsheet listed above
[ ] Landing page and tip archive table of contents have also been audited for:
[ ] Typos
[ ] Vernacular
[ ] Linguistic Consistencies
[ ] Navigation Consistencies

Hi @Globnartheexquisite!
I see this issue in the review. Can you attribute someone to review it, please?

@discombobulateme
Sure thing, just added Janackeh

@janackeh can you please review this issue?

Content audit completed, final findings visible in the spreadsheet.


Refactoring for an extensible Index API

What is the context for this pull request?

Tracking Issue: #441
Parent Issue: N/A
Dependencies: N/A

What changes were proposed in this pull request?

Introduce common interfaces for indexes with which Hyperspace can
manage various types of indexes.
Adjust IndexStatistics so that implementation-specific fields can be
added. For instance, included columns are one of such fields now.
Actions work with generic indexes, not just covering indexes which are
the only type we support at the moment.
Existing rules only work with covering indexes. New rules will be
added along with new index types.

Does this PR introduce any user-facing change?

Serialization format of CoveringIndex is changed.
IndexConfig is now a trait. To create a covering index, use
CoveringIndexConfig.
The format of IndexStatistics is changed. It means the format of the
dataframe returned by Hyperspace.indexes is also changed.

Before:
hs.createIndex("myindex", IndexConfig(...))
After:
hs.createIndex("myindex", CoveringIndexConfig(...))
How was this patch tested?

With existing unit tests

This is very big PR with lots of changes and mixed concerns. I tried to cover it as best as I could.
Could you split it in multiple PRs?
I suggest at least create a separate PR for Python code. There are also the changes related to additional stats that can be a separate PR.
WDYT?

I tried to split, but changes for Python code and additional stats are too small (< 100 lines) so it didn't make this PR much smaller. Also, to extract Python changes, the renaming of IndexConfig to CoveringIndexConfig should be done together. But it creates more changes than needed because every occurrence of IndexConfig should be changed unless there is the IndexConfig trait which is only in this PR.

@clee704
A PR with 100 lines is the perfect PR to review 😁.
Anyway, I understand that is hard to split and I'll try harder to understand the changes. In the mean time could you at least mark the pieces of code that were just moved from a place to another with some comments? Thanks.

@clee704
A PR with 100 lines is the perfect PR to review 😁.
Anyway, I understand that is hard to split and I'll try harder to understand the changes. In the mean time could you at least mark the pieces of code that were just moved from a place to another with some comments? Thanks.

Actually, ~20 lines and ~60 lines respectively, and the main point was it didn't reduce the size of this PR much. It's like making 1100 lines of changes to 1000 lines.
I'll add some comments to help reviewers.

Decided to keep IndexConfig and renamed the IndexConfig trait to IndexConfigTrait. Names might be changed in v1.0.

Sorry, there were comments I've missed. Resolved some outdated comments regarding existing/moved code.