Do not repeat the assets mount point directory name.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary
Ensure the assets mount point directory name (i.e. "installer") is only specified in a single place.
In addition, modify the grub install functions so that the assets directory is a param instead of being a static path. This allows those functions to be useful in more scenarios (e.g. creating a fake image file in a unit test).
Change Log

Do not repeat the assets mount point directory name.
Make grub install functions more generic.

Does this affect the toolchain?
NO
Test Methodology

I'd like to get @Camelron 's review on this as well.


Makefile: added clean, install, uninstall rules

let me know if i did something wrong.

How about using $(RM) instead of rm

Not my project, so up the maintainer to merge.
I would also consider renaming your DESTDIR variable.
I may be nit picking at this point, since it's just a small file.
DESTDIR is usually for staging installs, not actual installs.
I would use a combination of:

prefix
bindir
DESTDIR

The prefix variable should default to /usr/local.
The bindir variable should default to $(prefix)/bin
The DESTDIR variable should be used in the Makefile like this:
install:
  cp $(TARGET) "$(DESTDIR)$(bindir)"

uninstall:
  $(RM) "$(DESTDIR)$(bindir)"/$(TARGET)

References:

https://www.gnu.org/prep/standards/html_node/Directory-Variables.html#Directory-Variables
https://www.gnu.org/prep/standards/html_node/DESTDIR.html#DESTDIR

"Compliant" Makefiles are tricky things.

rm should be called directly; it is in a list of safe commands, alongside things like cp and mkdir.
Installation should be done with install which should be referenced as INSTALL or INSTALL_PROGRAM.
prefix, exec_prefix, bindir, DESTDIR are expected in normal usage.

I have replaced the stub Makefile with one better suited for deployment and am closing this pull request.

no problem, at least i learnt some stuff about makefiles.
but is all this stuff really necessary ? the basic makefile was working just fine....

If the project is picked up by a package maintainer for a Linux or BSD distribution, then the extended Makefile will better serve their efforts in creating packages.


ERROR: Unrecognized option: --define=key=value

I'm trying to setup ibazel to work with my current bazel workspace. I have a toos/bazel.rc that looks like this:
common --define=key=value --workspace_status_command=./tools/build/status.bash

Then I run ibazel run //mytarget and I get the following error:
State: QUERY
Querying for BUILD files...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'query' from /dev/myproject/tools/bazel.rc:
  Inherited 'common' options: --define=key=value --workspace_status_command=./tools/build/status.bash
ERROR: Unrecognized option: --define=key=value
Error running Bazel exit status 2

Is there anything I'm doing wrong? Thanks

What happens when you run bazel run //mytarget?

It runs fine. I set my workspace using bazel, and now I'm trying to set ibazel as a convenience for developers.
Do you need any bazel log/output?

What do you mean by you set your workspace using bazel? ibazel is a wrapper around bazel that just repeatedly invokes it on the command line for you. I guess I'm confused by this because ibazel and bazel should emit the same errors (generated by bazel in the first place). Is there anything else abnormal about your system? How are you invoking ibazel? How are you installing ibazel? What version is installed? If it isn't the latest version, does it still behave this way? What if you use build --define key=value and what about common --define key=value?

Sorry if I wasn't clear. What I meant to say is that I'm using regular bazel and it works fine. I downloaded the latest release from github, built with the bazel command from the docs, and then copied the binary into my path.
I'll try to change the bazel.rc settings as you suggest and see if that works.

Any luck with the bazel.rc changes?

Yes, I changed it to look like this:
build --define key=value --workspace_status_command=./tools/status.bash

And it's working!
I'm confused however on how does the system knows what the value of key while runing. Just in case I've tried to clean the workspace and then run ibazel again, and it still works fine.
Thanks!

Not actually an expert here, but I hypothesize that the run is just a build command followed by invoking the produced binary. Since the --define keyword is set on build, the produced binary has the appropriate definitions and when you run it either manually or through the run command, it works.


Support docker install from package repository

Proposed changes

Docker files for deb/rpm/apk style package managers now support installing the latest agent release via repository
Install integration test updated to use repository

Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING document
[x] I have run make install-tools and have attached any dependency changes to this pull request
[x] If applicable, I have added tests that prove my fix is effective or that my feature works
[x] If applicable, I have checked that any relevant tests pass after adding my changes
[x] If applicable, I have updated any relevant documentation (README.md)
[x] If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@5974615). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #354   +/-   ##
=======================================
  Coverage        ?   67.10%
=======================================
  Files           ?      113
  Lines           ?    12714
  Branches        ?        0
=======================================
  Hits            ?     8532
  Misses          ?     3609
  Partials        ?      573

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Quota Page needs updating

I believe there's tribal knowledge on being able to increase the # of cores and memory for each revision when opening a support ticket. Are we able to standardize what the upper limits for these requests might be? We have a pipeline of customers that are eager to embrace the easier learning curve for ACA vs AKS.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 79eb2c12-e84d-a4a6-86ae-907e6196ad67
Version Independent ID: 75ec0744-1ce8-4b51-7b29-0ae95c856f39
Content: Quotas for Azure Container Apps
Content Source: articles/container-apps/quotas.md
Service: container-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@MarcosMMartinez
Thanks for your feedback! We will investigate and update as appropriate.

#assign:cebundy

Thanks for your feedback and your contribution to Azure docs.
Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.
To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.
#please-close


Add display block for print styles

fixes issue #190

I've used the approach suggested by @sirleech.
It would be good to have an image showing what the issue is as the change I made does not make a major difference when tested in chrome emulating print styles. So I can't say if this fixes it.


fix os.cpus is not a function

as mentioned in #150

Great! Do you want to update the package.json and changelog.md as well please?

after yarn outdated, packages need upgrade
@types/node
@types/resolve
chai
css-loader
mocha
mock-require
sinon
ts-loader

after yarn outdated, packages need upgrade

Don't worry - we'll handle that later

I'm really sorry but for some reason the CI refuses to trigger and GitHub won't let me merge (not even manually).  Could you try resubmitting this change please?  I figure that should work okay.

Unblocked and merged. Thanks!


Metrics with empty labels

Looks like metrics has empty labels
http://<IP_ADDRESS>:9114/metrics
litespeed_req_rate_tot_reqs{core="",hostname=""} 7.459172e+06

I think these could be removed, hostname label is probably the same as "instance" label added by prometheus, so no need to duplicate it.

These are filled if the exporter is run with the litespeed.metrics-by-core, litespeed.req-rates-by-host flags. Core indicates the report filename for a specific core (eg. .rtreport.2, .rtreport.3), hostname indicates which vhost the metric is for. Example of how it would look like: https://github.com/hostinger/litespeed_exporter/blob/master/testdata/some_filtered_by_host.metrics

These are filled if the exporter is run with the litespeed.metrics-by-core, litespeed.req-rates-by-host flags. Core indicates the report filename for a specific core (eg. .rtreport.2, .rtreport.3), hostname indicates which vhost the metric is for. Example of how it would look like: https://github.com/hostinger/litespeed_exporter/blob/master/testdata/some_filtered_by_host.metrics


2 different errors while installing

when ever I try to install raw accel from the installer.exe in the signed folder i get errors such as VCRUNTIME140_1.dll was not found and MSVCP140.dll i have tried a bunch of things to fix these and do not know how to. i had to reinstall windows so i thought i would move to raw accel instead of the interaccel one which i used before i reinstalled windows. i would like any help to fix this and maybe your guide looks a little outdated because it doesn't have new download links and the guide doesn't line up with what I'm seeing. any help or advice anyone could give me so i can get raw accel working would be great. thank you.

i fix from this video https://www.youtube.com/watch?v=ZwTCtrTEob0


Fixing indexes issue on Travis OSX

I was looking at the class Coordinates. The initial values are not properly stored in the class. We might need to refactor this class.


Sensor charts load most recent beliefs by default

This PR represents a significant speed-up for loading charts of sensors with many beliefs, such as charts for power actuators whose planned schedules are updated many times before actuation.

Because that would have been a breaking change to the function signature of Sensor.search_beliefs. I do agree it would be a sensible default, though. Shall I make another ticket for that?

Yes that seems like a good idea.


fix some C# interop_matrix v1.0.1 tests

I locally patched the v1.0.1 interop images and pushed to GCR. Now both csharp and csharpcoreclr build fine.
csharpcoreclr tests are passing, I'm still getting some errors for csharp, but as far as I can tell, they are also present when building C# v1.0.1 from scratch manually. (so they don't have to do with the interop_matrix framework).
Unhandled Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`3[T1,T2,TResult] selector) [0x0000d] in <521f3fe476f34ea88748e97b3b984d05>:0
  at CommandLine.Core.Tokenizer.ExplodeOptionList (RailwaySharp.ErrorHandling.Result`2[TSuccess,TMessage] tokenizerResult, System.Func`2[T,TResult] optionSequenceWithSeparatorLookup) [0x00014] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Core.Tokenizer+<>c__DisplayClass5_0.<ConfigureTokenizer>b__0 (System.Collections.Generic.IEnumerable`1[T] arguments, System.Collections.Generic.IEnumerable`1[T] optionSpecs) [0x00083] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Parser.Tokenize (System.Collections.Generic.IEnumerable`1[T] arguments, System.Collections.Generic.IEnumerable`1[T] optionSpecs, CommandLine.ParserSettings settings) [0x00017] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Parser.<ParseArguments>b__11_0[T] (System.Collections.Generic.IEnumerable`1[T] arguments, System.Collections.Generic.IEnumerable`1[T] optionSpecs) [0x00000] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Core.InstanceBuilder+<>c__DisplayClass0_0`1[T].<Build>b__7 () [0x00005] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Core.InstanceBuilder.Build[T] (CSharpx.Maybe`1[T] factory, System.Func`3[T1,T2,TResult] tokenizer, System.Collections.Generic.IEnumerable`1[T] arguments, System.StringComparer nameComparer, System.Boolean ignoreValueCase, System.Globalization.CultureInfo parsingCulture, System.Collections.Generic.IEnumerable`1[T] nonFatalErrors) [0x0015a] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Parser.ParseArguments[T] (System.Collections.Generic.IEnumerable`1[T] args) [0x00075] in <3a51da4303d24d9087548524f226a533>:0
  at Grpc.IntegrationTesting.InteropClient.Run (System.String[] args) [0x00006] in <7769ed40adc44dc3a2895bd00dd0ea48>:0
  at Grpc.IntegrationTesting.Client.Program.Main (System.String[] args) [0x00001] in <53e672eeb86441af8251ff4286f59d21>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`3[T1,T2,TResult] selector) [0x0000d] in <521f3fe476f34ea88748e97b3b984d05>:0
  at CommandLine.Core.Tokenizer.ExplodeOptionList (RailwaySharp.ErrorHandling.Result`2[TSuccess,TMessage] tokenizerResult, System.Func`2[T,TResult] optionSequenceWithSeparatorLookup) [0x00014] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Core.Tokenizer+<>c__DisplayClass5_0.<ConfigureTokenizer>b__0 (System.Collections.Generic.IEnumerable`1[T] arguments, System.Collections.Generic.IEnumerable`1[T] optionSpecs) [0x00083] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Parser.Tokenize (System.Collections.Generic.IEnumerable`1[T] arguments, System.Collections.Generic.IEnumerable`1[T] optionSpecs, CommandLine.ParserSettings settings) [0x00017] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Parser.<ParseArguments>b__11_0[T] (System.Collections.Generic.IEnumerable`1[T] arguments, System.Collections.Generic.IEnumerable`1[T] optionSpecs) [0x00000] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Core.InstanceBuilder+<>c__DisplayClass0_0`1[T].<Build>b__7 () [0x00005] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Core.InstanceBuilder.Build[T] (CSharpx.Maybe`1[T] factory, System.Func`3[T1,T2,TResult] tokenizer, System.Collections.Generic.IEnumerable`1[T] arguments, System.StringComparer nameComparer, System.Boolean ignoreValueCase, System.Globalization.CultureInfo parsingCulture, System.Collections.Generic.IEnumerable`1[T] nonFatalErrors) [0x0015a] in <3a51da4303d24d9087548524f226a533>:0
  at CommandLine.Parser.ParseArguments[T] (System.Collections.Generic.IEnumerable`1[T] args) [0x00075] in <3a51da4303d24d9087548524f226a533>:0
  at Grpc.IntegrationTesting.InteropClient.Run (System.String[] args) [0x00006] in <7769ed40adc44dc3a2895bd00dd0ea48>:0
  at Grpc.IntegrationTesting.Client.Program.Main (System.String[] args) [0x00001] in <53e672eeb86441af8251ff4286f59d21>:0
FAILED: csharp__csharp_v1.0.1:csharp:grpc-test4:client_streaming [ret=1, pid=196278, time=1.0sec]

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

I think they were, but it's >1 years back so I'm not sure to be honest
(could have been some last minute breakage we didn't notice at that time).
Also it might have to do with mono runtime versions and/or nuget package
versions (both changed many times since then).
On Thu, Nov 16, 2017 at 7:03 PM, adelez<EMAIL_ADDRESS>wrote:

Thank you for creating the build but we cannot enable it if tests are
failing. Do you know where this bug exist? In the client or in the
integration with prod? I suppose they passed when we released 1.0.1?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/13416#issuecomment-345007208, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJeq5NBreFEqJGu7-sbnHCN-KCoOXmp-ks5s3HjugaJpZM4QgYlq
.

--
Jan

Sorry for the long delay. I totally missed this PR.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

C#  interop tests are now passing on v1.0.1, but they hang on the shutdown it seems (the csharpcoreclr tests are passing though).
Not sure if I can do anything about it.
running server_streaming
Passed!
TIMEOUT: csharp__csharp_v1.0.1:csharp:grpc-test4:server_streaming [pid=27905, time=60.0sec]

running cancel_after_begin
Passed!
TIMEOUT: csharp__csharp_v1.0.1:csharp:grpc-test4:cancel_after_begin [pid=27915, time=60.0sec]

running cancel_after_first_response
Passed!
TIMEOUT: csharp__csharp_v1.0.1:csharp:grpc-test4:cancel_after_first_response [pid=27928, time=60.0sec]

running timeout_on_sleeping_server
Passed!
TIMEOUT: csharp__csharp_v1.0.1:csharp:grpc-test4:timeout_on_sleeping_server [pid=27938, time=60.0sec]
FAILED: Some tests failed

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

@adelez   I rewrote the PR, PTAL
A few remarks:

I've added a patch that enables building the C# v1.0.1 interop images.
I realized that the create_matrix_images.py and  tools/interop_matrix/run_interop_matrix_tests.py  are not intuitive to use and also would really need some refactoring (the code is way to complex for what it's doing) - I made a few changes and also added comments to places in the code where refactoring would be useful.
I've rebuilt and uploaded C# v1.0.1 images.

Currently, both csharp and csharpcoreclr v1.0.1 tests are passing reliably if I use --server_host grpc-test.sandbox.googleapis.com, but I'm getting some errors when running with --server_host <IP_ADDRESS>
(which is the default setting) - can you please retest and advise what to do next? There's really nothing more I can do on the C# side to make these pass I believe.
this one passes reliably:
tools/interop_matrix/run_interop_matrix_tests.py -l csharp --release v1.0.1 --server_host grpc-test.sandbox.googleapis.com
this one shows some errors:
tools/interop_matrix/run_interop_matrix_tests.py -l csharp --release v1.0.1

[trickle] No significant performance differences

I tried running tools/interop_matrix/run_interop_matrix_tests.py -l csharp --release v1.1.4 locally and I'm getting the same errors as with v1.0.1. Because v1.1.4 is generally green on the kokoro grpc_interop_matrix suite, I assume it's something about my testing environment  and C# v1.0.1 test should also pass on kokoro one this PR gets merged.

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

LGTM


Input box filled wrongly

fill_in(text_field("User"), with: "123456") may fill User with '12456', especially with a long text.

@QwertyJack can you give me an example of long text that isn't working? Does this happen for all text input fields? Is there any javascript involved? What browser are you using?

@QwertyJack Just wanted to see if you were still having issue with this.

I think the js is so heavy that input is filled with error text.


x/vgo: incorrect go.mod causes panic

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
$ vgo version
go version go1.10 darwin/amd64 vgo:2018-02-20.1
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="darwin"
What did you do?
In a new directory, created a malformed go.mod, all it contains is a comment line, ran vgo build.
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
mkdir n
cd n
echo '//' > go.mod
vgo build
What did you expect to see?
Expected to see an error about a malformed go.mod file or message that the module path cannot be determined, as when there is no go.mod, the go.mod is empty, or the go.mod has something other than just a comment line.
What did you see instead?
$ vgo build
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x13721a0]
goroutine 1 [running]:
golang.org/x/vgo/vendor/cmd/go/internal/vgo.InitMod()
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/internal/vgo/init.go:143 +0x370
golang.org/x/vgo/vendor/cmd/go/internal/vgo.ImportPaths(0xc4200b6010, 0x0, 0x0, 0xc4201fa390, 0x1, 0x1)
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/internal/vgo/load.go:68 +0x38
golang.org/x/vgo/vendor/cmd/go/internal/load.ImportPaths(0xc4200b6010, 0x0, 0x0, 0x1012359, 0x10452cf, 0x43)
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/internal/load/pkg.go:1485 +0x4f
golang.org/x/vgo/vendor/cmd/go/internal/load.PackagesAndErrors(0xc4200b6010, 0x0, 0x0, 0xc4201d9aa0, 0x103469b, 0x43)
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/internal/load/pkg.go:1457 +0xac
golang.org/x/vgo/vendor/cmd/go/internal/load.PackagesForBuild(0xc4200b6010, 0x0, 0x0, 0x10, 0x10, 0x14b5e80)
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/internal/load/pkg.go:1499 +0x5d
golang.org/x/vgo/vendor/cmd/go/internal/work.runBuild(0x17b4780, 0xc4200b6010, 0x0, 0x0)
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/internal/work/build.go:301 +0x85
golang.org/x/vgo/vendor/cmd/go.Main()
/Users/frank/x/go/src/golang.org/x/vgo/vendor/cmd/go/main.go:155 +0x82e
main.main()
/Users/frank/x/go/src/golang.org/x/vgo/main.go:37 +0x25

I'm working on it.

I'm working on it.


View is empty

Hello
I'm quite beginner but I have followed installation described in Setup from local .aar file.
Now I have in my build.gradle (app) : compile project(':MathView-0.0.6')
The class MathView seems to be recognized in my activity (after import io.github.kexanie.library.MathView)
The layout shows a webview but it indicates that :
The following class could not be instantiated io.github.kexanie.library.MathView
Someone could help me please ?

Hey,
a lot of people are having similar problem, but if you try to run emulator, it works fine.
or, try this: https://github.com/owsega/MathView/commit/26b3a73789f3cb3683bd18da1aabbc419ad68c52
However:
Webview -in my case- causes also plenty of errors in runtime, such as EGL: bad display... Hope somebody knows a solution...


Don't add ellipses for names under 8 characters in Chart.js

In order to squeeze long names onto the charts I seem to have restricted all names to 8 characters and added ellipses, this looks silly for names under 8 characters.

The updated version of Chart.js deals with these labels more intelligently! Issue resolved.

Now have the opposite problem that some names are too long and no ellipses are added, causing the charts to become squashed on small screens (phones etc.)

Not relevant to the theme anymore, stats page has move to separate plugin


Roll Engine from f86b83010d6c to cb8dfdb2940b (4 revisions)

https://github.com/flutter/engine/compare/f86b83010d6c...cb8dfdb2940b
2020-08-03<EMAIL_ADDRESS>Roll Skia from 8e77631a80f0 to a6df9da28963 (17 revisions) (flutter/engine#20202)
2020-08-03<EMAIL_ADDRESS>Roll Skia from 7225788b9070 to 8e77631a80f0 (8 revisions) (flutter/engine#20184)
2020-08-03<EMAIL_ADDRESS>Roll Dart SDK from c59cdee365b9 to ad9c73cb3270 (1 revision) (flutter/engine#20201)
2020-08-03<EMAIL_ADDRESS>Roll Dart SDK from 2d98d25e71c3 to c59cdee365b9 (1 revision) (flutter/engine#20200)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


fetchUserAttributes() throws an error ResourceNotFoundException: IdentityPool 'us-west-1:xxx-xxx-xxx' not found.

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
React
Amplify APIs
Authentication, GraphQL API
Amplify Version
v6
Amplify Categories
auth
Backend
Amplify CLI
Environment information

# Put output below this line
System:
    OS: macOS 14.2.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 167.40 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.5.1 - /usr/local/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
  Browsers:
    Chrome: 120.0.6099.234
    Safari: 17.2.1
  npmPackages:
    @aws-amplify/ui-react: ^6.0.6 => 6.0.6
    @aws-amplify/ui-react-internal:  undefined ()
    @cloudscape-design/components: ^3.0.465 => 3.0.465
    @cloudscape-design/global-styles: ^1.0.20 => 1.0.20
    @storybook/addon-essentials: ^7.6.5 => 7.6.5
    @storybook/addon-interactions: ^7.6.5 => 7.6.5
    @storybook/addon-links: ^7.6.5 => 7.6.5
    @storybook/addon-onboarding: ^1.0.10 => 1.0.10
    @storybook/blocks: ^7.6.5 => 7.6.5
    @storybook/react: ^7.6.5 => 7.6.5
    @storybook/react-vite: ^7.6.5 => 7.6.5
    @storybook/test: ^7.6.5 => 7.6.5
    @types/react: ^18.2.43 => 18.2.45
    @types/react-dom: ^18.2.17 => 18.2.18
    @vitejs/plugin-react-swc: ^3.5.0 => 3.5.0
    aws-amplify: ^6.0.7 => 6.0.7
    aws-amplify/adapter-core:  undefined ()
    aws-amplify/analytics:  undefined ()
    aws-amplify/analytics/kinesis:  undefined ()
    aws-amplify/analytics/kinesis-firehose:  undefined ()
    aws-amplify/analytics/personalize:  undefined ()
    aws-amplify/analytics/pinpoint:  undefined ()
    aws-amplify/api:  undefined ()
    aws-amplify/api/server:  undefined ()
    aws-amplify/auth:  undefined ()
    aws-amplify/auth/cognito:  undefined ()
    aws-amplify/auth/cognito/server:  undefined ()
    aws-amplify/auth/server:  undefined ()
    aws-amplify/datastore:  undefined ()
    aws-amplify/in-app-messaging:  undefined ()
    aws-amplify/in-app-messaging/pinpoint:  undefined ()
    aws-amplify/push-notifications:  undefined ()
    aws-amplify/push-notifications/pinpoint:  undefined ()
    aws-amplify/storage:  undefined ()
    aws-amplify/storage/s3:  undefined ()
    aws-amplify/storage/s3/server:  undefined ()
    aws-amplify/storage/server:  undefined ()
    aws-amplify/utils:  undefined ()
    eslint: ^8.55.0 => 8.56.0
    eslint-plugin-react: ^7.33.2 => 7.33.2
    eslint-plugin-react-hooks: ^4.6.0 => 4.6.0
    eslint-plugin-react-refresh: ^0.4.5 => 0.4.5
    eslint-plugin-storybook: ^0.6.15 => 0.6.15
    plop: ^4.0.1 => 4.0.1
    plop-example:  undefined ()
    plop-example-action-failure:  undefined ()
    plop-example-add-action:  undefined ()
    plop-example-prompts-only:  undefined ()
    plop-example-wrap:  undefined ()
    prop-types: ^15.8.1 => 15.8.1
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    react-router-dom: ^6.21.0 => 6.21.0
    storybook: ^7.6.5 => 7.6.5
    vite: ^5.0.8 => 5.0.10
  npmGlobalPackages:
    @aws-amplify/cli: 12.10.0
    corepack: 0.22.0
    npm: 10.2.3

Describe the bug
I've added name as a standard attribute in Cognito sign up user pool and have set read/write permissions properly.
When a user registers, the name value (when selected) appears in the Cognito console.

However, when I call getCurrentUser(), the only properties in the object are userId, username, and signInDetails.  signInDetails contains a loginId and an authFlowType.
I would like the front end React app to have access to the standard name attribute.  Documentation here seems to indicate that using fetchUserAttributes() will provide this data.
However, I get this error in my console:

I do not use identity pools.  I am trying to get a standard attribute from a user pool.
Expected behavior
When calling fetchUserAttributes(), the method should return an object containing any standard or custom attributes in my Cognito user pool.
Reproduction steps

Set up Cognito to use one or more standard attributes like name, given name, family name, etc. in your user pool.
Confirm in the AWS console that Cognito has captured this data in your user pool on Sign Up.
Use fetchUserAttributes() in your front end code to try to retrieve the values of these standard attributes.

Code Snippet
// Put your code below this line.
import { getCurrentUser, fetchUserAttributes } from "aws-amplify/auth";

  const getUserData = async () => {
    try {
      const currentUser = await getCurrentUser();
      console.log("currentUser", currentUser); // this logs an object with a userId and username.   No attributes are included.
      const attributes = await fetchUserAttributes(); // <-- This line throws an error
      console.log("attributes", attributes);
    } catch (error) {
      console.log("error", error);
    }
  };

Log output

// Put your logs below this line

aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response

Hey @mark-carlson, had a quick question, was the identity pool created by Amplify CLI removed on the AWS Cognito console?
we can just create a user pool without an identity pool, by utilizing the following on update/add auth on the following option.
 Do you want to use the default authentication and security configuration? Manual configuration
 Select the authentication/authorization services that you want to use: User Sign-Up & Sign-In only (Best used with a cloud API only)

On each push/pull amplify regenerates the amplifyconfiguration.json or aws-exports.js files

I ran into this as well and can confirm that removing the aws_cognito_identity_pool_id line from my amplifyconfiguration.json seems to have fixed it.

Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue


PingFederate: does not seem to respect LICENSE_DIR

Describe the bug
I am setting the LICENSE_DIR but the pingfederate does not seem to use it.
To Reproduce
Steps to reproduce the behavior:

set LICENSE_DIR to a nondefault value
Run docker container
View logs

Expected behavior
I would expect that the license file directory would be expected or at least copied to /opt/out/instance/server/default/conf/
Logs (redacted some lines for brevity)
----- Starting hook: /opt/staging/hooks/03-build-run-plan.sh
Missing SERVER_ROOT: /opt/out/instance
################################################################################
#    Docker Image Information
################################################################################
                     IMAGE_VERSION : pingfederate-alpine-az11-10.2.0-210112-4797
                     IMAGE_GIT_REV : 4797657ce77b559f4576a2df671b3e818b5a9057
################################################################################
#    Directory Variables
################################################################################
                       LICENSE_DIR : /blah
################################################################################
#    License Key Info
################################################################################
                 LICENSE_FILE_NAME : pingfederate.lic
                LICENSE_SHORT_NAME : PF
                   LICENSE_VERSION : 10.2
         MUTE_LICENSE_VERIFICATION : --- empty ---

----- Starting hook: /opt/staging/hooks/17-check-license.sh
Verifying license with a network query to https://license.pingidentity.com.
You may opt out of this setting environment variable 'MUTE_LICENSE_VERIFICATION=yes'.
   License File: /blah/pingfederate.lic
        License: redacted
----- Starting hook: /opt/staging/hooks/80-post-start.sh
INFO: waiting for healthy admin before post-start..
2021-01-29 22:43:44,646  WARN  [org.sourceid.util.license.PingLicense]
**********************************************************
No license found for this server (/opt/out/instance/server/default/conf/pingfederate.lic)
You do not have a valid license configured. To obtain a valid license, please contact your vendor's Customer Support.
**********************************************************
----- Starting hook: /opt/staging/hooks/83-configure-admin.sh
PingFederate running...
INFO: new server found, must create admin
**********************************************************
No license file was found.
You do not have a valid license configured. To obtain a valid license, please contact your vendor's Customer Support.
**********************************************************
{
  "resultId": "invalid_license",
  "message": "The license for this PingFederate instance is missing or invalid."
}
error attempting to create admin
CONTAINER FAILURE: Error running 83-configure-admin.sh

Environment:
AWS, EKS, pingfederate:2012-alpine-10.2.0
**Additional Details: **
> printenv | grep LICENSE
LICENSE_FILE_NAME=pingfederate.lic
LICENSE_DIR=/blah
LICENSE_SHORT_NAME=PF
LICENSE_VERSION=10.2

> ls /blah/
pingfederate.lic

> cat /blah/pingfederate.lic
ID=redacted
WSTrustSTS=true
OAuth=true
SaasProvisioning=true
Product=PingFederate
Version=10.2
EnforcementType=redacted
Tier=redacted
IssueDate=redacted
ExpirationDate=redacted
DeploymentMethod=redacted
Organization=redacted
SignCode=redacted
Signature=redacted

Jira https://jira.pingidentity.com/browse/GDO-682 filed for this issue.

Temp Workaround
/opt/in/hooks/50-before-post-start.sh.pre
#!/usr/bin/env sh
set -x
# https://github.com/pingidentity/pingidentity-devops-getting-started/issues/180
echo "Hack for GDO-682: Copy License to /opt/out/instance/server/default/conf/"
mkdir -pv /opt/out/instance/server/default/conf/
cp -p "${LICENSE_DIR}/${LICENSE_FILE_NAME}" "/opt/out/instance/server/default/conf/${LICENSE_FILE_NAME}"

Hey @coryasilva,
right, this is one way to do it.
but, what's the reason for not using the default license dir?
As background, the $LICENSE_DIR/$LICENSE_FILE_NAME variable is really just to point to a location where the container will validate the license, not the product. This purpose is to help the container know if it needs to pull an eval license.
so the concept is:

container starts, looks for $LICENSE_DIR/$LICENSE_FILE_NAME validates that it exists and is not expired.
during startup, if /opt/out doesn't exist /opt/staging is copied over. this is is how a regular license would make it to the location where PF looks for it.
PF starts and looks for the license.

I am thinking, you may have had trouble getting the license to the right spot because of step 2? since /opt/out existed it didn't copy over the license? I don't know if this should need overwriting the variables though

@samir-gandhi I am passing the license in through a k8s secret volume mount. The default secrets directory is /run/secrets/ which is where kubernetes mounts its service account creds
so I am using a subfolder to stop the secret mount from wiping out the SA token.
The reason I am not simply mounting the secret to /opt/in is because that is a docker layer and I cannot mount a (readonly) secret volume to a docker layer.  There is some esoteric reason that I half understand...

Got it, thanks for the additional context.

We probably don't document this well enough but the LICENSE_DIR environment variable is not meant to tell the server where to pick up a license file. Rather, it lets our container automation know where to expect the license so it can check the license is present before the server startup is even attempted. It is also used by so that we can drop a temporary license obtained against the devops license service in the correct location for each of our products.
In short, it's not really up for user modification.

@arnaudlacour While I understand your stance on that, it is a little incongruent with the PingData containers which do respect the configuration of LICENSE_DIR.
On a slight tangent, you all should reconsider validating the license in such a way; it seems like a mixed concern.  Why does my OS (container) care about my application license?
And while on the topic of unsolicited feedback; I also think these containers would benefit from an approach that valued composition over inheritance.
I appreciate all the work you and your team have done here and thank you all for being so responsive!

The container checks for the license to fail fast.
The idea is to be able to wipe a container very quickly for anything obviously untoward.
Scaffolding a whole JVM up only to realize after the process is up that we can't process any requests because of a missing license file seems like an easy optimization.
100 on Composition over Inheritance.
We're moving in that direction in a "docker release near you" later this year. We refer to these as Mark II images and they are in the design stage at the moment.
thanks for the feedback, solicited or not, we're here to make it incremental easier/faster/better for you ultimately.

@coryasilva , your comments are well founded and taken with respect to the PingData containers respecting the location of the LICENSE_DIR, but PF/PA not.  Unfortunately, those products require a very specific location for that license to be present in.  I don't see that requirement changing in the near future, from what I can tell.

@arnaudlacour Failing fast makes sense; I had not considered that.  Also, looking forward to the mark II images.
@tsigle Fair enough, I posted my silly hack in case people run into it.  How are other people accomplishing this in kubernetes given the constraints I explained above?


french translation

Hi !
I have translated the files to french and managed to upload them here (I am a newby on github).
All the best.

Thanks for your contribution!

I'm glad to contribute… My pod address is<EMAIL_ADDRESS>Thanks.


Update vhosts.conf to latest 2.1.3 version

I updated nginx to work with latest version of magento, it seems it does not load some of the files with current conf. I had a 404 on some files including requirejs-config.js.
Thanks!
cc @punkstar

Thanks, @avra911! Saved me from probably hours of debugging my install!


Format code with 'cargo fmt'

@davidbarsky @mitsuhiko can you please merge this pull request so it can be a base for others.


Cdx 1267

DO NOT REVIEW
will be splitting this PR into smaller PRs for readability

Split into 3 PRs

#239
#240
#241


Question 39 -wrong type structure.

According ECMA-262 we don't have primitive types.
We have primitive values  https://tc39.es/ecma262/#sec-primitive-value
and types : boolean, null, undefined, bigint, number, string, symbol, object  . https://tc39.es/ecma262/#sec-type (4.4.5 primitive value)
In ECMA there isn't any word about primitive types. Check it in ECMA  menu 4.4

I think it mentions it. It explains that a primitive value is a member of any built-in type. Built-in types are Boolean, Number, Null, Undefined, String, Bigint, Symbol...


Add notice about lack of Windows support in the README intro

I added a notice about lack of Windows support in the README intro, as it's easily missed, and I've seen posts online recommending it without noting this.

I was an avid linux user, recently I switched back to windows, I didn't have a choice, it was required by an instatution to wich I belong to. Open source developers maybe les than half, but Microsoft has been a major player in the development of some big technologies, (including Azure & VSCode), in the past 5 years. Windows has a lot of perks for companies to use, and I doubt it ever fell below half IMO. I think the point here is Windows is getting popular again, and Windows 11 releases in a few days. Also, even if only 20% of devs used it, thats a high enough number to make sure they are aware that this project is not somthing they can use unless the use a VM or WSL.

I was an avid linux user, recently I switched back to windows, I didn't have a choice, it was required by an instatution to wich I belong to. Open source developers maybe les than half, but Microsoft has been a major player in the development of some big technologies, (including Azure & VSCode), in the past 5 years. Windows has a lot of perks for companies to use, and I doubt it ever fell below half IMO. I think the point here is Windows is getting popular again, and Windows 11 releases in a few days. Also, even if only 20% of devs used it, thats a high enough number to make sure they are aware that this project is not somthing they can use unless the use a VM or WSL.

@W3Dojo the tagline of the repo says "POSIX-compliant bash script", the install instructions say to use curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash which windows doesn't have, https://github.com/nvm-sh/nvm#about explicitly mentions Windows WSL.
What if instead of modifying this sentence, we changed "Windows WSL" so it linked to the https://github.com/nvm-sh/nvm#important-notes section?

The Windows platform is in use by 53.1% of developers according to the StackExchange 2020 survey. I would still like to see a clearer message in the intro.
I don't think the majority of developers would know the meaning of "POSIX-compliant shell", nor would immediately know what WSL is.
But I suppose a link to the section further down is better than nothing.

@SimonEast the percentage that would be relevant is the percentage of node developers, but fair.


Access request body from route handler

I think we should we able to provide access to the request body in the request handler:
let server = KakapoServer()

server.get("/user", (request) {
  return request.body
}

I don't get it

@zzarcon ping

@MP0w sorry for the delay, basically I think we should provide a way to access to the request body in the request hadnler - http://www.w3schools.com/tags/ref_httpmethods.asp
Usually when you define a post handler, you want to create something in your db. In order to know what to create you have to inspect the request body. Abstract example:
let server = Server();

server.post('/users', (request, db) => {
  //Imagine the body is parsed somehow
  let user = request.body.user;

  db.create(User, {
    id: user.id,
    firstName: user.first_name
  });
});

testing gh integration

@zzarcon @MP0w I thought we said the client don't have access to db externally, but we rather build a facade from the server around it

Yeah, sorry, we can just return the server there

But that would be pointless, the client has already an instance to it

Ah got it now, yes NSURLRequest must be passed


Consider how a moderator might be able to reject being added to a store

It seems that when a moderator turns off their services, they publish the change to their profile, but any nodes which get an old version of the profile continue to attempt adding that moderator to their store. And the moderator's node continues to accept the add, despite moderation being turned off.
A node should check whether they have moderation enabled and have some way to reject the add by the vendor, both informing them that their "MODERATOR_ADD" attempt failed as well as maybe republishing their "I AM NOT MODERATING" state to the network. Additionally, this probably requires some UX consideration to talk through.

In consideration of the problem, from @jjeffryes:

I think we discussed how it could be a pretty serious problem, and concluded there was nothing we could do about it because this is how decentralized data works. So either we need to make it so moderator profiles are never cached, or we’d have to have a way to switch moderators or turn off moderation in the middle of an order.

Given our infrastructure has improved since we first looked at this problem, I'm interested in revisiting how we might improve this.


Concurrent visdiff rendering

I've tried a lot of things to fix the intermittent missing images issue, and the only thing that has worked so far is increasing the timeout length.
The idea here is to saturate all available CPUs with concurrently rendering browser windows, so that even if there's a sleep fudge factor for images/fonts/etc to load, we're still maximizing the throughput of the visdiff. Higher concurrency doesn't seem to negate the effect of the sleep fudge factor. From my experimentation, this is a pretty big win -- over 2x rendering speed on my dev machine, and the CPU utilization is much higher.
The only visdiff here should be input components being defocused, since it turns out my previous fix for that wasn't working.
Most of these visdiff changes are expected. Lots of inputs being deselected; this was supposed to already be the case, but an earlier change I made wasn't working.
There's still some flakiness on Windows, but it doesn't seem to be more than before. I'd hoped to address some of it with these changes, but it looks like there's still work to be done.

👍


Tests broken on main

npm run test fails on main.
Oddly it appears they are failing in the build too, but the build is not bailing out, see the test step here

Ok. I must confess, I was relying on that now. I had problems (timeout) locally that they take so long and blamed it on my 10 year old computer.

Ya it was because commander calls process.exit during --version. Fixed in #149

Thanks for fixing it. I plan to spend more time with the unit tests in the near future. The whole project currently has a little imbalance that I don't like. For example, imports with @/... only work in the unit test section. Babel understands the notation, esbuild does not yet. And I need to build in a meaningful watch that I can run while developing.


Build Process

I run the build-nethersx2.bat from the NetherSX2-builder.zip and it downloads and patches the APK.
Then I copy the 15210-v1.5-4248-noads.apk from the PatchedAPK folder to my device and install.
What I am noticing is that there are still ads in the app and RetroAchievement notifications are still broken (I got the achievement but no notification on screen)
Have I patched it correctly?
My device is Android 14 (POCO X6 PRO)
Thanks

As a workaround, I did the patching on my device using UniPatcher which worked fine. I can no longer see the ads in app

I suspect that AetherSX2 was still installed when you tried to install NetherSX2, which made it fail. Previous versions of AetherSX2 needs to be uninstalled for NetherSX2 to properly install itself. It's one of the annoying issues with NetherSX2 currently


GreenTunnel Support for OpenWRT

It would really Awsome if we can use GreenTunnel with OpenWRT since this will allow the whole network to bypass DPI. This way many smart home device like Smart TV etc will able to access DPI blocked sites. An OpenWRT Web Version App would be really nice.

you can install npm and run it but it will use too much space for router (even current snap use 12MB)

Yes a package would be really great!


Fix: release note don't use editor style

This PR fixes #114667

@mjbvz Hi, I have added a new css rule for code block, please check it. Thanks.

@mjbvz Hi, I have added a new css rule for code block, please check it. Thanks.

Thanks!

Thanks!


:sparkles: Copy singleton label from the workload object

Summary
New pluggable transport introduced by PR https://github.com/kubestellar/kubestellar/pull/1765 will add the singleton label to the workload object instead of the ManifestWork object.
This PR is a preparation for the new pluggable transport and it will propagate the singleton label from the workload object to the WorkStatus.
This is not a breaking change, the singleton label from the ManifestWork is still propagated.
Related issue(s)
Fixes #

/cc @pdettori
the change looks good to me.
@pdettori can we merge this or do you have any comment?

/lgtm
/approve
Thanks!


MSI file installation fails

Expected behavior
.msi files corresponding to toolCommandlets should get installed just fine.
Actual behavior
msi exit code 1639, something is wrong with command line arguments passed to msiexec.
Steps to reproduce

try to install toolCommandlet that uses .msi files

Comments:
The command line arguments should use single "/" instead of "//". For example: /a instead of //a
Affected version:

OS: Windows

Fixed with PR #88


fix(QuickButton): convert QucikButtonPanel to vue component

#Proof of work for GSoC'23
Fixes # convert QuickButtonPannel to vue component
Describe the changes you have made in this PR -

[x] convert full component to vue remove eventlisteners and direct most
[x] remove jQuery for modern javascript
[x] typescript integration of vue component
[x] add scoped style locally in components
[x] remove duplicate functions which provide the same result

Screenshots of the changes (If any) -
N/A
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

done in #175


elasticsearch-hadoop connector: Client-only routing specified but no client nodes with HTTP-enabled available

This is a duplicate from this forum topic: https://groups.google.com/forum/#!topic/search-guard/XMgKAbWVvDA
I'm trying to load data from the Hadoop HDFS to Elasticsearch with the official elasticsearch-hadoop connector. All my nodes are protected by searchguard, but I have disabled the REST API on all of them apart one, the client node <IP_ADDRESS>.
It seems that the node does not communicate to the connector that the cluster is ready to accept data.

It seems I've found the problem:

[2015-08-18 16:26:44,579][WARN ][com.floragunn.searchguard.filter.SearchGuardActionFilter] cannot determine types for indices:admin/exists (class org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsRequest) due to types method not found

Every time the job is started, it queries elasticsearch to verify that the indices are already created but searchguard doesn't respond.
It might be the same thing as #16


Help retrieving vertex and adjacent vertices

First of all, thanks for your library, this is really of great help.
So far I have been able to use the library with success to retrieve a vertex. Now I'm trying to retrieve a vertex and its adjacent vertices in one query and I'm confused on how to do that.
So first question, is this supported? If so, is there a special way to construct the gremlin query to enable this?
Here are more details about my example:
The data model is made of Receipe and Ingredient. A Receipe has a List of Ingredient and the relationship between receipe and ingredient is modeled with an edge.
When I perform the following query: g.V('receipe334455').outE('ingredient').inV().path() the deserialization never completes.
Thanks in advance for any insight.

Closed due inactivity


React.js example for Harp.gl

hey! :) I think this is already done but I am unaware of the status, so I am asking again if the harp.gl has a downloadable example based on React.js? I asked for this some weeks ago, at least more than a month and I don't know where to find the react example or if there is one, if there is, that would be great and also great job on the new documentation and guide

hey @sirakc , we have it, but it is not yet ready to be officially released, sorry about that. Hopefully we can make some progress soon, however we have a lot of internal work, so it may be slow unfortunately.
In the mean time, have you seen: https://github.com/slaylines/harp.gl-react-example ?


Cannot Delete Connection

I am having an issue with deleting a connection.
I select the connection I wish to delete by clicking on the trash can.
I tried selecting "YES" and typing in "YES'
But the connection still remains.
I am on version 1.6.0

Same issue here.

Thanks feedback. 1.6.1 has been fix.


Error in Prefix-tuning

System Info
When i use prefix tuning with int8,
Who can help?
@pacman100
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
peft_config = PrefixTuningConfig(task_type=TaskType.SEQ_2_SEQ_LM, inference_mode=False, num_virtual_tokens=20)
model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint,load_in_8bit=True)
model = prepare_model_for_int8_training(model)

model = get_peft_model(model,peft_config).to(DEVICE)
model.print_trainable_parameters()

Expected behavior
And the error is
RuntimeError: The size of tensor a (100) must match the size of tensor b (120) at non-singleton dimension 3

Got a similar error. Did you manage to find a fix?

Nope, but if you donot set "load_in_8bit=True", it might be worked.
And as the author said that "the effect of prefix tuning is not as good as lora". So i just  change the peft to lora.

I did some debugging and found out that this seems to occur for encoder decoder model. When it's doing decoder forward pass, it seems to concat prefix to decoder tokens too.

Yes, i found that when i use "load_in_8bit", the parameter "gradient_checkpointing" is set to "True". And then the mask mismatch the position_bias. Probably that's the reason.


About ASN reproduction

Hi @trqminh !
Sorry to bother you again,I notice that you reproduced the ASN's code,I'm struggleing on it now,the environment of ASN is too old,I'm not sure how to set the envirment,is it convenient for you to release the reproduced code?A requirments.txt will also help!Thanks !!!!!!!

Hi @ZitengXue ,
Actually I didn't rerun their code but reimplemented it on the current detectron2 version to reproduce. That code is quite a mess right now and I intend to clean it up and publish it to this repo of ais methods, or you can also refer on some other method that I reimplement there to reproduce ASN.
Hope this help!

I see!! very very very thank you for your reply！！！！(^▽^)


Add AMCREST_POLL_STORAGE option

Added an option amcrest_poll_storage to allow a user to skip polling storage information. This is helpful for when a device doesn't have any storage.
This would avoid #17

Hi Ben, I've implemented it in a slightly different way by adding a STORAGE_POLL_INTERVAL environment variable which can be set to 0 to disable the polling, but thank you for your PR, it's much appreciated.


[Pending Resolution] GET_ALL_OPEN_TRADES_() Bug > 18 trades

Hi,
DWX_MTX_GET_ALL_OPEN_TRADES() doesnt return anything when there are more than 18 trades opened.
Any workaround ?

I have the same problem i do not know how to solve!!
Did you find the solution?
Thanks!

This is due to a mql string limitation. The return response is too long.
I simply created another DWX_GetOpenOrders function with a new InformPullClient and shrinked the "zmq_ret"  response as much as possible. I can successfully pull around 130 opened trades.

I simply created another DWX_GetOpenOrders function with a new InformPullClient and shrinked the "zmq_ret" response as much as possible. I can successfully pull around 130 opened trades.

Could you share the new function that you developed? It would be very useful. Thanks.

Great stuff @kkhanh ! 🙂
We'd be super grateful if you could share your solution here? 🙏
It would be benefit the rest of the user community + we would of course patch the code and credit you with the solution!
Many thanks.

Finally I did something similar, creating a new function in mql and its counterpart in python to call it. Curiously I also reached the 130 open trades, but for that I had to replace the dictionary by a list, saving the space that the keys take, then when receiving the message python is responsible for displaying the list in a dictionary to maintain compatibility.
But to reach that limit I had to eliminate several fields of information, like magic number, comment, stop loss, take profit,... but only because in our system they are not necessary. So I think it's not an adequate general solution, and it raises the limit a lot, but the limit still exists.
Although I have not implemented it, I consider that a suitable general solution would be to divide the information in several messages, or even a message by trade, but for it a protocol must be established that allows the receiver to check the integrity of the information, that does not lose messages of trades. Perhaps with an initial message detailing the number of messages that follow it, and a defined numbering for each subsequent message.

I have a solution for this. I just paginate the trade collection. Here is the code example :
`
void getTrades()
{
int totalTrades = PositionsTotal();
int pages = totalTrades / ITEM_PER_PAGE + 1;

for (int p = 1; p <= pages; p++)
{
	string trades = "[";
	int groupOrderCount = totalTrades - (p - 1) * ITEM_PER_PAGE > ITEM_PER_PAGE ? ITEM_PER_PAGE : totalTrades - (p - 1) * ITEM_PER_PAGE;

	for (int i = 0; i < groupOrderCount; i++)
	{
		int index = (p - 1) * 10 + i;
		ulong ticket = PositionGetTicket(index);
		if (!PositionSelectByTicket(ticket))
			continue;

		trades += StringFormat(TRADE_FORMAT,
							   PositionGetString(POSITION_SYMBOL),
							   ticket,
							   PositionGetDouble(POSITION_VOLUME),
							   (int)PositionGetInteger(POSITION_TYPE),
							   PositionGetDouble(POSITION_PRICE_OPEN),
							   (int)PositionGetInteger(POSITION_TIME),
							   PositionGetDouble(POSITION_SL),
							   PositionGetDouble(POSITION_TP),
							   PositionGetDouble(POSITION_PROFIT),
							   PositionGetString(POSITION_COMMENT));
		if (i < groupOrderCount - 1)
		{
			trades += ",";
		}
	}
	trades += "]";

	PublishMessage(StringFormat(MSG_FORMAT,
								SYNC_TRADE,
								StringFormat(SYNC_TRADE_FORMAT,
											 pages,
											 p,
											 trades)));
}

}
`


uptake websocket in place of a socket in atLookup

Is your feature request related to a problem? Please describe.
To improve performance
Describe the solution you'd like
To enhance the communication mechanism by using a WebSocket-based connection
Describe alternatives you've considered
No response
Additional context
No response

Note we don't want to replace, but to enhance by providing the option when using AtLookup to create and use websocket connections rather than plain socket connections

Changes can be found in the branch [us_Version2].
The current issue is that the client closes the WebSocket connection prematurely, without waiting for the server's response. Need to find the root cause for the same.
The same code changes work fine when implemented with Python, but in the Dart implementation (branch [us_Version2]), the client closes the WebSocket connection prematurely, without waiting for the server's response.
https://gist.github.com/purnimavenkatasubbu/31bc98d9c4460a53372ae5bbb89f8e13

A working version has been pushed to the branch ws_version.
We are currently working on optimizing the design and have documented three potential approaches in detail
Approaches

A new approach has been implemented and changes are pushed to the branch ws_approach1

changes are done and PR is ready for review #709

Had a call with @gkc , during which Gary suggested refactoring the code by completely removing the outbound connection-related classes and their implementations. I’ve already made the changes and will be raising a new PR to reflect them.


KAFKA-5832: add Consumed and change StreamBuilder to use it

Added Consumed class.
Updated StreamBuilder#stream, StreamBuilder#table, StreamBuilder#globalTable

@guozhangwang - by return values do you mean the getters?
I'm not entirely happy with it either. One way around it would be to make the option classes interfaces without them and then have internal impls that have the getters. The downside of this is that we then have to internally cast to the impl which would fail if anyone ever passed in their own implementation. Which i think defeats the purpose of having an interface.

@dguy LGTM after you fixed the getters and rebased. Feel free to merge after that.

@guozhangwang - it is probably worth doing one last pass over this since i added the ConsumedInternal class. Thanks

Merged to trunk


feat: add Response option & new custom headers

IMPORTANT: Please do not create a PR without creating an issue first!
(Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request).
Summary

Explains the information and/or motivation for making this changes...
Proposed of changes
This PR fixes/implements the following bugs/features:

Bug 1
Bug 2
Feature 1
Feature 2
Breaking changes

How has this been tested?
Proof:

Closing issues
Fixes #
Checklist:

[x] My code follows the code style of this project.
[x] My changes successfully ran and pass linters locally (run make lint).
[x] I have written new tests for my changes.

[x] My changes successfully ran and pass tests locally.

[x] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

TODO:

[ ] Update Response interface usage.

Codecov Report
Patch coverage: 92.50% and project coverage change: +0.66% :tada:

Comparison is base (e9bd7b4) 71.78% compared to head (8d0ee23) 72.44%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   71.78%   72.44%   +0.66%
==========================================
  Files           5        5
  Lines         964      998      +34
==========================================
+ Hits          692      723      +31
- Misses        227      229       +2
- Partials       45       46       +1

Files Changed
Coverage Δ

teler.go
67.24% <81.25%> (+0.49%)
:arrow_up:

handler.go
88.23% <100.00%> (+4.90%)
:arrow_up:

utils.go
87.59% <100.00%> (+0.39%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add some features and remove replication of code

Description: This application is working and has two version. This application could be extend more by add multiple features.

Hello, I'd like to contribute to this project if that's okay!

You are most welcome.

@jakepatzer  if you wanna contribute simply fork and clone the repo. After that made some changes which think good for this repo. Then simply commit and send a pull request I am waiting for your response.

Is it possible to take a glance, perhaps? :)


Separate UI front end and monitoring/uploading backend

See title

May or may not be necessary, it involves changing all the calls from synchronous to asynchronous call. For this particular program, may not be a big deal (not able to do anything on the UI while uploading.


rclone sync tries to delete from source

Output of rclone version
rclone v1.45
Describe the issue
I have a job that syncs file from one google drive to another (server side copy). I have added the source drive to the destination drive as a view only folder, so the remotes are "gdrive1:RemoteCopy" and "gdrive1:LocalCopy"
At the end of a rclone sync-job, rclone tries to delete files from the remote copy. The folder is added as "view only", so this of course fails, but why would rclone try to delete from source in the first place:
commandline is:
rclone -vvv --drive-impersonate<EMAIL_ADDRESS>sync "gdrive1:RemoteCopy" gdrive1:LocalCopy"
I am using a service account on gdrive to impersonate<EMAIL_ADDRESS>

Any update on this?

Sorry your email went missing.  Found it now!
All the errors look like this
2019/01/24 18:40:58 ERROR : remote/XXX/YYY: Couldn't delete: googleapi: Error 403: The user does not have sufficient permissions for this

According to your command line you were running rclone sync "dom-01:remote" "dom-01:"
What it looks like is that your source and destination overlap.  So sync is trying to make the source look the same as the destination - it is therefore trying to remove files which don't belong in the destination.  Since this includes the source "remote" directory, then that explains what you are seeing.
So I think the bug here is that rclone isn't warning you that the source and destination overlap like it should.

Hm, that is a bit confusing. I thought my command-line would make the destination-directory look like the source-directory, without touching source. I.e, some kind of one-way sync.

Lost all my files due to this. rclone deleted all files on my local storage, not the destination.

Ooooh, now I think I see the error of my ways
I have the remote drive mounted on my destination, and since that remote drive isn't mounted on source it would be deleted, yeah

Ooooh, now I think I see the error of my ways
I have the remote drive mounted on my destination, and since that remote drive isn't mounted on source it would be deleted, yeah

Welcome aboard

Yes this needs fixing, but the bug is that rclone should have stopped you doing it.  I've changed the title accordingly.

I've made a fix which will cause rclone to bomb out on overlapping remotes - can you give it a try?
https://beta.rclone.org/branch/v1.46.0-024-gd777657d-fix-2932-overlap-beta/ (uploaded in 15-30 mins)
@polaco1782 hopefully this would have helped you too.  What command were you running?

2019/02/14 17:26:52 DEBUG : rclone: Version "v1.46.0-024-gd777657d-fix-2932-overlap-beta" starting with parameters ["/samba/backups/rclone/beta/rclone" "-vv" "--log-file" "/samba/backups/rclone/limitedjobs_run.log.beta" "--config" "/samba/backups/rclone/.rclone.conf" "--exclude" "*/@eaDir/*" "--drive-impersonate"<EMAIL_ADDRESS>"sync" "test:remote" "test:"] 2019/02/14 17:26:52 DEBUG : Using config file from "/samba/backups/rclone/.rclone.conf" 2019/02/14 17:26:53 ERROR : Fatal error received - not attempting retries 2019/02/14 17:26:53 Failed to sync: can't sync or move files on overlapping remotes

Thanks for testing.
I've merged this to master now which means it will be in the latest beta in 15-30 mins and released in v1.47


add .gitignore file support

previously graph init does not create .gitignore file
With this pull request, graph init will be able to create .gitignore file
changes are made in src/commands/init.js file, gitignoreFileContent string & createGitignore function are written.
createGitignore function is placed in two functions (initSubgraphFromExample & initSubgraphFromContract) at appropriate position after the initRepository function.

I want the name Dal-Tiff on this contract

I was about to open a PR to add this feature, is this PR moving forward? Is there something I can do to help?


Can not run example on latest stable channel

Hi my friends, I can not run example on latest stable channel.
Please help me if you have nay solution for this issue
Thank a lot

It requires dart null safety support that stable channel doesn't have yet.
Use for example the dev channel


Updates all Astro deps to latest

This updates astro and all @astrojs dev dependencies.  I also marked Astro with a @^1.6 dependency so that will pick up minor updates for free as well

Thank you, @tony-sull!


Fix issue #3134: error in returning connectors from functions

This PR fixes the issue #3134

@pubudu91 - Shall we add a test case?

@muthulee The rewrite of the core may render this PR obsolete. If so, will send a new PR with juts the test cases.

Closing this since PR #3700 makes this PR obsolete


Scaffolding using tlr creates pycache folder & doesn't update dev packages!

Is your feature request related to a problem? Please describe.
Scaffolding tlr creates pycache folder & doesn't update dev packages!
Describe the solution you'd like
No pycache folder should be present and the dev packages should be updated.

Addressed https://github.com/valory-xyz/open-aea/pull/635


Type Inference error in template

In BaseModel.vue:
interface Props {
  title: string
  width: string
  onOk: () => void
  onClose: () => void
}

const props = withDefaults(defineProps<Props>(), {
  title: 'defaultTitle',
  width: '50%'
})

In other file:

why 'onOk' will be undefined

Please make and provide a repro case by https://github.com/johnsoncodehk/volar-starter.

It seems vue 3.2.0 problem by https://github.com/vuejs/vue-next/pull/3926.

It seems vue 3.2.0 problem by vuejs/vue-next#3926.

thank you, I just upgrade my dependencies and solved it.

The same occurred when I configured TS version as VSCode's version (4.9.0-dev.20220919).


MiniEngine needs to address new SDK layers errors/warnings

Check the output window, e.g.:
D3D12 WARNING: ID3D12CommandList::ResourceBarrier: Called on the same subresource(s) of Resource(0x00000225EA677EC0:'Main Color Buffer') in separate Barrier Descs which is inefficient and likely unintentional. Desc[0] on (subresource :<PHONE_NUMBER>) and Desc[3] on (subresource :<PHONE_NUMBER>). [ RESOURCE_MANIPULATION WARNING #1015: RESOURCE_BARRIER_DUPLICATE_SUBRESOURCE_TRANSITIONS]
D3D12 ERROR: ID3D12CommandList::DrawInstanced: Root Parameter Index [3] is not set. On a Resource Binding Tier 2 hardware, all descriptor tables of type CBV and UAV declared in the currently set Root Signature (0x00000225EA309E50:'Present') must be populated, even if the shaders do not need the descriptor. [ EXECUTION ERROR #998: COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET]
D3D12 ERROR: ID3D12CommandList::DrawInstanced: Root Parameter Index [3] is not set. On a Resource Binding Tier 2 hardware, all descriptor tables of type CBV and UAV declared in the currently set Root Signature (0x00000225EA309E50:'Present') must be populated, even if the shaders do not need the descriptor. [ EXECUTION ERROR #998: COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET]
D3D12 WARNING: ID3D12CommandList::ResourceBarrier: Called on the same subresource(s) of Resource(0x00000225EA677EC0:'Main Color Buffer') in separate Barrier Descs which is inefficient and likely unintentional. Desc[0] on (subresource :<PHONE_NUMBER>) and Desc[3] on (subresource :<PHONE_NUMBER>). [ RESOURCE_MANIPULATION WARNING #1015: RESOURCE_BARRIER_DUPLICATE_SUBRESOURCE_TRANSITIONS]

Thanks for reporting this.  We've been making improvements to the SDK Layers over time and MiniEngine hasn't been updated for all of them yet.  I'll check with James to see when his next update will be ready.

With each SDK revision, we get new validation warnings & errors.  I believe these messages are coming from an SDK that is newer than the source on GitHub.  Am I right?  If so, I haven't had a chance to address these complaints.  My response can come in three forms:  1) change the offending code, 2) convince a D3D programmer that what I'm doing is normal and to please fix the messages, or 3) suppress the messages if it's not relevant.  I work in that order.  In the mean time, you can suppress these messages.  (Look in GraphicsCore.cpp for other suppressed validation.)  Or you can turn off validation entirely.  Profile and Release builds disable validation too.


Weathermap.class.php warnings

Hi, im writing a weathermap module for centreon (not cacti)
I am getting warning for array key "argv" not set for $_SERVER at line 718
I am also having relative path troubles with opendir() trying to open .../lib/lib/datasources .../lib/lib/pre .../lib/lib/post (double lib) at  line 719
A workaround was to replace L434:
$this->LoadPlugins('data', 'lib' . DIRECTORY_SEPARATOR . 'datasources');
$this->LoadPlugins('pre', 'lib' . DIRECTORY_SEPARATOR . 'pre');
$this->LoadPlugins('post', 'lib' . DIRECTORY_SEPARATOR . 'post');

to
$this->LoadPlugins('data', DIRECTORY_SEPARATOR . 'datasources');
$this->LoadPlugins('pre', DIRECTORY_SEPARATOR . 'pre');
$this->LoadPlugins('post', DIRECTORY_SEPARATOR . 'post');

fixing that I had an error at WeatherMapDataSource_snmp.php#L114 and WeatherMapDataSource_snmp.php#L129
Array and string offset access syntax with curly braces is no longer supported
0.98a
PHP Version 8.0.21

With which versions of PHP, weathermap and OS?
On Thu, 21 Jul 2022, 19:41 Luiz Felipe Aranha, @.***>
wrote:

Hi
I am getting warning for array key "argv" that I assume it doesn't exist
anymore for $_SERVER at line 718
https://github.com/howardjones/network-weathermap/blob/version-0.98a/lib/Weathermap.class.php#L718
I am also having relative path troubles with opendir() trying to open
/lib/lib/datasources (double lib) at line 719
https://github.com/howardjones/network-weathermap/blob/version-0.98a/lib/Weathermap.class.php#L719
—
Reply to this email directly, view it on GitHub
https://github.com/howardjones/network-weathermap/issues/301, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG6YJO6NRI2UB4VAO424WTVVGKUXANCNFSM54IT2PHQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

0.98a
PHP Version 8.0.21
CentOS Linux release 7.9.2009

Turns out I did already start this, and it's in the 0.98-php8 branch:
https://github.com/howardjones/network-weathermap/tree/0.98-php8
Still more to go!

here is another one:
HTML_ImageMap.class.php lines 112, 149, 230 have a required parameter after an optional parameter which is deprecated
PHP Deprecated:  Required parameter $coords follows optional parameter $name in HTML_ImageMap.class.php on line 112
when I run weathermap binary im getting relative path issues with icons:
/usr/share/centreon/www/modules/centreon-weathermap/src/weathermap --config /usr/share/centreon/www/modules/centreon-weathermap/src/configs/test.conf --output ../output/test.png --htmloutput /usr/share/centreon/www/modules/centreon-weathermap/src/output/test.html
generates the following warning:
WARNING: /usr/share/centreon/www/modules/centreon-weathermap/src/configs/teste.conf: ICON 'images/Cloud-Filled.png' does not exist, or is not readable. Check path and permissions. [WMARN38]
this file exists in /usr/share/centreon/www/modules/centreon-weathermap/src/images/Cloud-Filled.png

What is the current working directory?
(you can also use a full pathname for the icon)

/usr/share/centreon/www/modules/centreon-weathermap/src/

When you create the WeatherMapNode, just pass the full pathname to for iconfile instead of "images/blah.png"

if I force WeatherMapNode iconfile it messes up the properties list next time I open it

Well, at least that is consistent with your LoadPlugins issue, too. I think the working directory is not correct.

I managed to display generated files but for some reason the link usage is always 0%

I managed to generate map from config files but the link usage is not rendering (no javascript erros).

Hi there,
I came to share my initial release of centreon's module
https://github.com/kozfelipe/centreon-weathermap


TransactionalMessageBridge.writeOp Duplicate recording of metrics data

In the putMessageReturnResult method, the relevant data has been recorded, and the result is repeated in the writeOp method.

@RapperCL Good catch!


cannot delete old image after commit a new image

Output of docker version:
Docker version 1.12.0, build 8eab29e

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 8
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: active
 NodeID: cx8a22b3hd7dy2j0mz94qvh76
 Is Manager: true
 ClusterID: 7l3qy05hxzxm643ss2e43plby
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot interval: 10000
  Heartbeat tick: 1
  Election tick: 3
 Dispatcher:
  Heartbeat period: 5 seconds
 CA configuration:
  Expiry duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.16-boot2docker
Operating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.955 GiB
Name: default
ID: T2ZE:ZFQB:CYGA:FZU7:6NZX:HKCC:T4JM:6WTU:SJWH:TQMT:YRCM:PFAR
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 31
 Goroutines: 117
 System Time: 2016-08-11T05:56:45.535692262Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:

docker pull phusion/baseimage
docker exec -it baseimage bash
apt-get -y install python3-pip libjpeg8-dev postgresql libpq-dev libmysqlclient-dev nginx rsyslog
docker commit 1462db610480 phusion/baseimage:latest    sha256:49d46f19abce1a6e632c63ae93288ac4a60ef0ffddd549e8c9a6523e8d061a9d

Describe the results you received:
docker images
REPOSITORY                       TAG                 IMAGE ID                 CREATED               SIZE
phusion/baseimage             latest              49d46f19abce        8 seconds ago       551.6 MB
phusion/baseimage             <none>          888116a6733a        18 hours ago          240.9 MB

docker rmi 888116a6733a
Error response from daemon: conflict: unable to delete 888116a6733a (cannot be forced) -     image has dependent child images

Describe the results you expected:
I want to remove <none> image
Additional information you deem important (e.g. issue happens only occasionally):

ping @tonistiigi PTAL, looks like the latest changes in this area were made by you https://github.com/docker/docker/pull/19275
I'm not really sure what the child images are in this case (with the new content-addressable store); perhaps the image should just be untagged? Removing the image by name is probably not possible, because there's no :tag, so not sure how to address the image by name

We don't allow deleting parent images, if you run images -a you see that there are many more like these and they are used for build cache. They don't take extra space because they share layers.
The actual problem here seems to be that in v1.12 we add a digest on pull, then on commit the tag is rewritten but the digest reference still remains and shows up in docker images. @dmcgowan Should we automatically remove this reference? I guess this also happens on tag and build.
@young-py As a workaround, if you want to untag this image you can run docker images --digests, copy the digest value for the image and run docker rmi phusion/baseimage@sha256:digestvalue.
@thaJeztah Adding to v1.12.1 because the untagging problem is a regression. Not sure if there is actually anything we can do.

I am not sure when automatically removing this reference would be appropriate it. It would have gotten removed on docker rmi 888116a6733a if it was not being blocked by the hard conflict. One thing we could do is on the image reference cleanup part of docker rmi <imageid> is not treat dependent images as a hard conflict for removing the reference, in this case you would see the untag followed by conflict message.

I rescind my previous suggestion after testing a fix, removing the references then getting a hard conflict means that the "untagging" is not displayed to the user. The workaround suggested is acceptable, also tagging the image with phusion/baseimage:something then untagging will remove the digest reference. I will keep thinking about this.

ping @tonistiigi @dmcgowan is one of you still looking at this?

Have the same issue: after committing a new image from a running container unable to delete old images.


Return warnings as validationErrors, create list of warning/suggestio…

Create a list of warnings and suggestions, translating each individual string instead of trying to translate the joined string. This fixes non-working translations.
Thanks to @wadevries

What is the impact of changing the exception message type from string to list? Will it still be nicely displayed by Django once the template is rendered?

Nothing will really change as validation errors are (as always) displayed in a list, only now the feedback and warnings each get their own list-item. And (big plus for us) the translated strings that we get from zxcvbn can actually be used.

Alright then, thank you for the clarification. Merging! Thanks!

I released version 2.1.0, if something is not working please open a new issue :slightly_smiling_face:


npm run dev has error

npm ERR<EMAIL_ADDRESS>dev: WEBPACK_ENV=dev webpack-dev-server --hot --progress  --inline --host <IP_ADDRESS>

“ENV_VAR=sth exec some command” is some bash style command , cmd won't understand
you may try setting ENV_VAR before execute command
like
WEBPACK_ENV=dev
webpack-dev-server --hot --progress --inline --host <IP_ADDRESS>
(I don't know where to find webpack-dev-server, hope it's in your PATH or can be easily found in node installed dir

@DIYgod Suggestion: cross-env is a good approach to handle environment variables on different platforms.


how to run it realtime with 2080ti

i run it with torch version in 2080ti, but it runs very slowly, and the model speed of the onnx version is improved, but it cannot be real-time. What should I do to achieve the 4K and HD presentation effect?

model speed of the onnx version is improved？How did I get there? Why was I slow

Just to clarify. If you are doing video conversion using inference_video.py, it is not expected to run in real-time. You will probably have 10fps-20fps speed.
This is because there are extra video encoding and decoding going on that is not fully optimized. The encoding and decoding is done on CPU, which could be changed to use hardware acceleration, etc. This are extra software engineering task that our research project will not include.
If you use the inference_speed_test.py, you will see the raw passthorugh speed through our model. For extra engineering work, we just leave out. The inference_video.py is only for demostration.

Q1: which model and type you used can be 4K/30fps and HD 60fps in the demo ?
the  torchScript/pytorch/onnx,   mobilenetv2 and so on ?
Q2:i want to run it as your test in real time with hardware acceleration,  can you give me some  suggestions ?
Q3:at the same time, i use the code to train  new model with a new dataset,  but i get a unexpected error：
Traceback (most recent call last):
  File "train_base_new.py", line 270, in <module>
    train()
  File "train_base_new.py", line 159, in train
    aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))(aug_shadow)
  File "/media/M_fM__VM__GM_fM_!M_#/Py38/KouTu/lib/python3.8/site-packages/torchvision/transforms/transforms.py", line 1204, in __call__
    ret = self.get_params(self.degrees, self.translate, self.scale, self.shear, img.size)
  File "/media/M_fM__VM__GM_fM_!M_#/Py38/KouTu/lib/python3.8/site-packages/torchvision/transforms/transforms.py", line 1174, in get_params
    max_dx = translate[0] * img_size[0]
TypeError: 'builtin_function_or_method' object is not subscriptable

when i change :
aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))[aug_shadow]
wrong, show error:
Traceback (most recent call last):
  File "train_base_new.py", line 270, in <module>
    train()
  File "train_base_new.py", line 160, in train
    aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))[aug_shadow]
TypeError: 'RandomAffine' object is not subscriptable

and i can't find how to solve it in web.
What happened ?

Use pytorch/torchscript
Maybe look into PyAV for hardware encoding / decoding if you want to do it in python. You also may need some threading for moving data to GPU in parallel, etc.
Maybe your torch/torchvision version is too old. Use the latest one, or try what is specified in requirements.txt

@PeterL1n
how long you train it , when i train it i find the speed is slow, at last, i find it is slow in "getitem" to read imgs.
How did you solve i ？

@PeterL1n
how long you train it , when i train it i find the speed is slow, at last, i find it is slow in "getitem" to read imgs.
How did you solve i ？

@luoww1992
Use VideoMatte240K SD version when training base. If loading image is slow, probably disk and CPU is the bottleneck.

@PeterL1n
how long you train it , when i train it i find the speed is slow, at last, i find it is slow in "getitem" to read imgs.
How did you solve i ？

@luoww1992
Use VideoMatte240K SD version when training base. If loading image is slow, probably disk and CPU is the bottleneck.

Q1:so i need to train model with small size photos  in train_base,
after train_base,  train better model with HD  photos  in train_refine.?
Q2:i notice the size  when make dataset:
A.PairRandomAffineAndResize((512, 512)
1.what should i do if i change the size,  eg: 1152x576  or   960x540 ?
2.What to pay attention to if i change the size, maybe i have to match the deeplabv3 model without modification?

If you don’t use the deeplabv3 model, is it possible to change the size ?

4.If you don’t use the deeplabv3 model, what impact will it have on the model?

@PeterL1n
Q1: which model and type you used can be 4K/30fps and HD 60fps in the demo ?
the torchScript/pytorch/onnx, mobilenetv2 and so on ?
Q2:i want to run it as your test in real time with hardware acceleration, can you give me some suggestions ?
Q3:at the same time, i use the code to train new model with a new dataset, but i get a unexpected error：
Traceback (most recent call last):
  File "train_base_new.py", line 270, in <module>
    train()
  File "train_base_new.py", line 159, in train
    aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))(aug_shadow)
  File "/media/M_fM__VM__GM_fM_!M_#/Py38/KouTu/lib/python3.8/site-packages/torchvision/transforms/transforms.py", line 1204, in __call__
    ret = self.get_params(self.degrees, self.translate, self.scale, self.shear, img.size)
  File "/media/M_fM__VM__GM_fM_!M_#/Py38/KouTu/lib/python3.8/site-packages/torchvision/transforms/transforms.py", line 1174, in get_params
    max_dx = translate[0] * img_size[0]
TypeError: 'builtin_function_or_method' object is not subscriptable

when i change :
aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))[aug_shadow]
wrong, show error:
Traceback (most recent call last):
  File "train_base_new.py", line 270, in <module>
    train()
  File "train_base_new.py", line 160, in train
    aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))[aug_shadow]
TypeError: 'RandomAffine' object is not subscriptable

and i can't find how to solve it in web.
What happened ?

How did you solve this problem？

Not responsible for your custom code.

Not responsible for your custom code.

Traceback (most recent call last):
File "train_base_new.py", line 270, in
train()
File "train_base_new.py", line 159, in train
aug_shadow = T.RandomAffine(degrees=(-5, 5), translate=(0.2, 0.2), scale=(0.5, 1.5), shear=(-5, 5))(aug_shadow)
File "/media/M_fM__VM__GM_fM_!M_#/Py38/KouTu/lib/python3.8/site-packages/torchvision/transforms/transforms.py", line 1204, in call
ret = self.get_params(self.degrees, self.translate, self.scale, self.shear, img.size)
File "/media/M_fM__VM__GM_fM_!M_#/Py38/KouTu/lib/python3.8/site-packages/torchvision/transforms/transforms.py", line 1174, in get_params
max_dx = translate[0] * img_size[0]
TypeError: 'builtin_function_or_method' object is not subscriptable
是这个问题，不是自己写的代码

@decajcd What version of PyTorch and Torchvision are you using? Try 1.7 and up. Try use what's in the requirements.txt


Implement RGBA color support on Sprite

Changes

[x] Replace Sprite._rgb class attribute with Sprite._rgba
[x] Update getters to use _rgba attribute
[x] Add unpacking and lazy update logic for opacity and color setters
[x] Update docstrings
[ ] Add / update tests (on hold due to #913)

This has been manually tested, so lets merge this in now without waiting for the unit tests.
We can can back to that later. It's going into the development branch after all.

\o/

This has been manually tested
When and by who? I tried it locally, but I don't consider it stable.

It's going into the development branch after all.
Fair enough. I've marked it as ready for review / merge.


Debugger fails to connect OSX 10.11.6 - ReactNative Project

VSCode Version: Code 1.4.0 (6276dcb0ae497766056b4c09ea75be1d76a8b679, 2016-08-04T16:41:29.513Z)
OS Version: Darwin x64 15.6.0

Steps to Reproduce:

Press Green play button.
Get Error - Cannot launch debug target (spawn node ENOENT).

Node - v4.2.1
ESLint - v3.4.0
VSCode extension versions

Target is iOS.  Have not tried Android.

Updated node to v6.5.0 no change

This seems like an issue with the react native extension. Can you please create an issue in this repo  https://github.com/Microsoft/vscode-react-native
Thank you


Create a generator/helper class to create HTML from template

Using an HTML template create dynamic HTML data (maybe add a specific on for generating HTML tables)

I think this might be easier to do with string concatenation. Might not be worth investigating but leaving open for the time being.

I think this should be something that can fall onto the user for generating these files. They can use the Faker.SetSeed to create deterministic data.


How can I submit a new Climate control JSON File

Home Assistant version
Home Assistant 2022.9.2
Supervisor 2022.08.6
Operating System 8.5
Frontend 20220907.0 - latest
SmartIR version
1.17.6
SmartIR configuration
see attachment

Describe the bug
No Bug
Debug log

No Logs

Additional context
I have created a .json file for the below three Hitachi Air conditioner models:
RAS-E25YHAB
RAS-E35YHAB
RAS-E50YHAB
I am not particularly sure where to submit it, I am not great at GitHub..
I have uploaded the file. Change the extension to .json
I initially tried using code file 1082 however it did not work, the codes are completely different. I modified the 1082.json file to create the .json file for my aircon model.
I am using the .json I created with my Aircon now.
Possibly needs some changes. I am not too sure how far I can modify the config:

The dry mode only has a low and quiet setting, I have added the codes from low speed setting to the auto, high, and medium speed settings
The fan only mode only does not have temperature control, only the fan speeds quiet, low, medium, and high - no auto mode. I have put the same codes for each speed for each temperature code.
I added the auto fan speed setting. Seems to work however in the Thermostat Card it shows some kind of calendar icon instead.

Happy to make any changes myself if required or post elsewhere.
Thanks.
Hitachi.txt

Ευχαριστώ. Προστέθηκε με τον κωδικό 1087.

Thanks. Added with code 1087.


Get Bittrex Withdrawals, Deposits & Balances working.

Just needed connected the code already there

What changed here?  I've been using bittrex withdrawals without any problem prior to this.

Ah sorry - I wasn't very clear. It's retrieving the history of deposits, withdrawals and trades that this fixes


User collection page

The component that shows all the user collected items

Not required anymore, this view was required when we were planning nft for content creation. Now moving towards a model for community based incentives for both content creators and the relay operators


Create 2017-09-26-release-cadence.md

Do not review yet

Merge?

Let's merge after release policy and roadmap are published.

Oh I see you have merged; pressing the button now.

And everything is pushed now :)


Deprecate Registries

Is your feature request related to a specific problem?
We have registry fields on systems and registry tables that are not being used and causing confusion.  Let's remove them if we can!
https://github.com/ethyca/fides/pull/4116#discussion_r1333807954

registries are an extremely old and never-used feature ...

It was conceived as a way to help organizations organize their fides resources into sub-units. Specifically you could assign systems to a registry to logically "group" them. This use-case has never materialized

Describe the solution you'd like
A description of what you want to happen.
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Cloned to https://github.com/ethyca/fideslang/issues/1


⚠ Bofrost.fr has degraded performance

In 7063aad, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1618 ms

Resolved: Bofrost.fr performance has improved in 2c3bd7c after 6 minutes.