Explore if its possible to push mutation side effects from the server to the client

Describe the feature
In situations where a mutation happens on the server, I wonder if we would be able to serialize the side effects for the cache and push them to the client to update the browser....
Criticality
game changer, I'll speak about it everywhere

We really need this feature in order to update our client cache when running mutations in form actions - which is currently the only way when using superforms.
Is there any news on this front?

I never played with it but I think they also have a story around client
side.
https://superforms.vercel.app/concepts/client-validation
What specific things are you doing in actions?
Le mer. 7 juin 2023, 15:51, douglasward @.***> a écrit :

We really need this feature in order to update our client cache when
running mutations in form actions - which is currently the only way when
using superforms https://superforms.vercel.app/.
Is there any news on this front?
—
Reply to this email directly, view it on GitHub
https://github.com/HoudiniGraphql/houdini/issues/675#issuecomment-1580867621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIRAXYMM7EJHFALN35KKFTXKCBMHANCNFSM6AAAAAARVTCOFA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Let me provide my point of view.
With GraphQL, traditionally, you have an endpoint with schema, resolvers, validation, everything...
Then you have a client part doing some queries/mutations. It's nice at this level (client side) to perform a few validations to have a pleasant user experience and avoid a go & back to the endpoint to know that this field needs 3 characters. (Anyway, this 3 characters check will also be done in the endpoint!)
Now, doing the "client-side validation" in an action, will perform a go & back to Sveltekit server that will do a validation, and if this is ok, it will do another call from SvelteKit to the GraphQL Endpoint (then will go back to SvelteKit, then to the client).  (Be careful not to have different validations!).  Yes, this is working with js disabled. So, the question is: Do you have a significant portion of users with js disabled?
If your focus is an app with js disabled, you will not benefit from universal load, caching, loading state, list operations, ... It's ok, but you need to be aware of it.

So the request is to use Houdini with Actions? Or Houdini without js?
I believe that it's possible to have Houdini working with actions (but it would require a lot of work). Without js, I don't see this possible. But then, it's not meeting your requirements?
Today, a mutation updates the cache, and everything is in sync. Without js, the mutation will not sync everything, so behavior would be different and I guess that it's not good.

Let me know what you think, I'm totally open to ideas & challenges 👍

I agree with a lot of what you are saying @jycouet, but here are some more thoughts from my side.
The sveltekit server doesn't necessarily need to be the man in the middle and be performing mutations agains an external graphql server, that just happens to be how it currently is in our scenario. The graphql API could quite easily be part of the sveltekit server, which I think is what KitQL aims to achieve or something along those lines.
Anyhow, Houdini advertises itself to seemlessly integrate with sveltekit and to be a dissapearing GraphQL client. And for me this includes that it works with form actions which are heavily pushed for and recommended. I love the ideology that I can progressively enhance the form. If JS didn't load for some reason then I can still use the form to complete my task. If it did, then great I can benefit from optimistic resoponses, client side cache and all the other great things houdini offers.
All this is of course already possible by duplicating code / wrapping the functionality so it can be used both server side + client side, but is hacky / makes extra work. Instead it would be great to have some kind of supported / "invisible" way to work with form actions. Allowing people to use them if they wanted/needed to carry out operations on the server and allowing them to seemlessly update the cache on the client (if it is present).

I totally agree that a feature like this is "on brand" for Houdini. The goal of our SvelteKit integration is to make GraphQL feel like a natural extension and that would ideally include the full spectrum of features. The biggest issue right now is more of an alignment of priorities. Neither @jycouet nor I have applications that are set up how you are describing.
Wiring this is up is technically possible and it probably wouldn't require any deep dives into the core caching infrastructure but it does require some careful wiring of virtual endpoints (similar to what we do for the session infrastructure). A feature like that is something that's really best owned by a champion who has a strong incentive to push through the complexities.
If this is something that you are interested in working on @douglasward i would love to provide any guidance you need.


add Deposit-Solutions

(If this PR fixes a github issue, please add Fixes #<xyz>.)
Fixes #
(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)
Master Issue: #
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@pointearth Thank you for your contribution! Glad to see more companies adopting Pulsar!

@pointearth Seem the changes are not based on the latest master branch, could you please rebase to the master branch? So that the CI can works.

@codelipenghui This CI is not running due to #9527. I reverted the changes in #9606. Please review it and let's get the change merged first to unblock CI.

@pointearth Sorry, I want to close the PR and reopen it to trigger the CI, but I don't know why I can't reopen it.

I merged https://github.com/apache/pulsar/pull/9604 first since the CI passed.


Number of Recent Files Setting is broken

When changing the number of recent files setting, the NUnit30Settings file becomes corrupted. I observed this when reducing the number of settings from 5 to 3, when there were already 3 files shown in the list.

Actually it is not the Recent Files Setting that is broken, but instead InitialTreeDisplay. I tried several times today to reconstruct the error on HEAD, but I was not able to do so. Then I reverted the code to tag 0.2 and there I could more or less consistently reconstruct the error. However, I could not figure out the error until I ran the .exe with --trace=Debug. Then I got the following error in the log
22:30:01.930 Error [ 1] ServiceManager: System.ArgumentException: The value '-1' is not a valid value for the enum 'TreeDisplayStyle'.
   at System.ComponentModel.EnumConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
   at System.ComponentModel.TypeConverter.ConvertToString(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at NUnit.Engine.Internal.SettingsStore.SaveSettings()
   at NUnit.Engine.Services.SettingsService.StopService()
   at NUnit.Engine.Services.ServiceManager.StopServices()

The problem in version 0.2 is that InitialTreeDisplay is not on the first visible page, hence we will not call initialDisplayComboBox.SelectedIndex = (int)Settings.Gui.TestTree.InitialTreeDisplay; in LoadSettings. But since SettingsLoaded is always true we will call Settings.Gui.TestTree.InitialTreeDisplay = (TreeDisplayStyle)initialDisplayComboBox.SelectedIndex; when closing the Settings menu, and SelectedIndex is not set (i.e. -1).
The error can be reproduced on HEAD in the following manner.

Remove Nunit30Settings.xml in C:\Users\MYUSERNAME\AppData\Local\NUnit.
Run nunit-gui.exe go to Tools => Settings, and choose Assembly Reload (this will make this page the first Settings page next time we go into Settings) and change one of the settings. Click OK and close the GUI.
See that Nunit30Settings.xml contains some settings.
Run nunit-gui.exe go to Tools => Settings (it now opens Assembly Reload). Change one of the settings. Click OK and close the GUI.
See that Nunit30Settings.xml is empty (i.e. is has become corrupted).

I've a local changeset that changes the behaviour of SettingsLoaded, so that it only returns true when LoadSettings have been called. I will make a pull request tonight.

I'm not completely convinced that this is the same error I was seeing, but that error is no longer relevant anyway. That's because the settings file now always saves the maximum number of recent file entries.
Normally I'd close this as norepro, but since you've already made useful comments on it, I'm just re-titling it. We are in pre-production mode, we don't have to track these things quite so rigorously.
I'll look forward to seeing the PR.


Added vertx-web-api-service to stack

Signed-off-by: francesco<EMAIL_ADDRESS>

the travis fails because I think we need to have the missing dependency in vertx-dependencies pom.xml file first

https://github.com/vert-x3/vertx-dependencies/pull/17


Reimplementation of DifPy for performance

Hi :wave:
I've been running into issues with your implementation. Sadly I have a very large dataset of images which I want to deduplicate and this implementation is running into its limits with both the memory footprint and size of json files.
I've implemented the basic idea of using the mse to compare compressed image tensors but fully focused on performance. Using every trick I know to make the computation faster. To accommodate larger datasets, I've implemented a cache using the file system, I'm using SQLite as the backend to store the file indexes and pairs of diffs and I've added checkpoints for extremely large datasets to be able to interrupt the computation.
You're difpy is already tied into frontends. And I'm not entirely if it would be worth the effort of converting everything to this new implementation. Additionally, the way FastDiffPy is written at the moment it's more a framework than a script like this repo. Output to results.json and lower_quailty.txt is implemented but I'd think the frontends would profit from using the db in their backend in favor of those files.
This is the FastDiffPy at the moment
Best
AliSot2000

Hi @AliSot2000,
Great project, congrats! Thanks for sharing it with us - it's always great to see when adaptations or improvements of difPy are developed :) Looking forward to seeing the benchmark results!
Best
Elise

Hi
First Benchmark Results are now published.


When editing/adding a node with just a number, placeholders for invalid arguments appears

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?

The grayed out args are appearing quite often when the node is created. When it is changed with cmd+click the fields remains.
Expected behaviour
just a number
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
fa995dd765f55fd6a30295b8c44654df1f249f67
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
MacOS
Operating System Version
No response
Hardware you are using
No response

I haven't reproduced it completely. I see sometimes the grayed-out ports, but they always disappear after short time. @sylwiabr this is likely timing-dependent, if you reproduce it reliably, please create a screencast.
The cause seems to be the Visualization Preview: we put the preview code to the node, receiving information about ports. Then, if we quickly write a number and press enter, we should see still the ports until the engine updates the node again.
I have no idea how to fix that in our current architecture.

https://user-images.githubusercontent.com/12892578/233326928-733ec3a3-6dfd-43fa-bb76-7495fdde707b.mov
@farmaazon it's not happening every time but quite often.

Yes, probably clearing "method_call" field in "computed_value_info_registry" on changes mentioned above will help.

@radeusgd discovered a reproduction scenario of stuck gray ports: https://discord.com/channels/401396655599124480/1120654472222347304/1121401780241174598

Should not happen anymore in GUI2 - there we use different mechanism for displaying previews, so no node should get "intermediate" method calls.


bottom two LEDs not working (resolved)

Hi,
This isn't really an issue but just wanted to document it in case it helps the next person. After building this with my 8yo we found the bottom two LEDs didn't work.
After I stared at the schematic for long enough I realised the jumper has to be close for normal operation and not open as I had left it. Once I closed the jumper, all LEDs worked as expected.
thanks for putting together this awesome kit.

Closing as I am putting it here for future reference.

Hey Jason.  The part about the jumper is included in the assembly guide. I think there may be too many words in that section to account for more advanced use cases. This may have buried the key step to put the jumper connector on the pins. I'm sorry that it took you for a loop, but thankful that you got through it. I hope you have fun playing with it now :)

thanks @PancakeLegend. I think we missed that section in our excitement to get playing. May I contact you out of band to discuss sourcing more kits?

You should join our Discord server, I can speak to you there. There's an invite link on the CCHS website: https://www.hackmelbourne.org/


[Bug]: Dataflow jpms tests fail on the 2.43.0 release branch

What happened?
For example,
https://ci-beam.apache.org/job/beam_PostCommit_Java_Jpms_Dataflow_Java17_PR/19/
https://ci-beam.apache.org/job/beam_PostCommit_Java_Jpms_Dataflow_Java11_PR/25/
I ran these few times but they continue to fail. Error in the Jenkins run doesn't say much.
02:00:31 Recording test results
02:00:32 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
02:00:32 > Task :sdks:java:testing:jpms-tests:dataflowRunnerIntegrationTest FAILED
02:00:32 Setting status of 48624f6dac8bb2ba772692ec3394537fab0877b3 to FAILURE with url https://ci-beam.apache.org/job/beam_PostCommit_Java_Jpms_Dataflow_Java17_PR/19/ and message: 'Build finished. '
02:00:32 Using context: JPMS Java 17 Dataflow Post Commit Tests
02:00:32
Jpms tests for other runners seems to be running fine.
KIley, is there a known issue related to running these tests on the release branch ?
Issue Priority
Priority: 0
Issue Component
Component: sdk-java-core

P0 since this is blocking the ongoing release.

Cron jobs always succeeded instead, as well as around release cut: https://ci-beam.apache.org/job/beam_PostCommit_Java_Jpms_Dataflow_Java17/ https://ci-beam.apache.org/job/beam_PostCommit_Java_Jpms_Dataflow_Java11/

Taking a look

Checked out the release branch and tests pass locally
https://scans.gradle.com/s/omwnhwlhsom6m

Jenkins run also had following info.
02:00:32 Execution failed for task ':sdks:java:testing:jpms-tests:dataflowRunnerIntegrationTest'.
02:00:32 > Process 'Gradle Test Executor 1' finished with non-zero exit value 143
Based on following seems like 143 error points to a potential OOM.
https://discuss.gradle.org/t/gradle-test-executor-x-finished-with-non-zero-exit-value-143/28857
But not sure why this only happened at the release branch (also this took many hours to fail instead of few minutes for the local run).
If you think this is not an actual issue in the code, feel free to reduce priority and/or move out of the release milestone.

Could be that the timeout killing the process

Ran the test with --info and it's getting stuck looking for the 2.43.0 container  Error response from daemon: manifest for gcr.io/cloud-dataflow/v1beta3/beam-java17-batch:2.43.0 not found: manifest unknown: Failed to fetch \\\"2.43.0\\\"

This needs the internal containers to be built to run successfully. I'm going to remove this as a blocker from the release

I'll re-run when the container is built to verify

Ah, that makes sense. This should be moved to a RC validation test instead of being a part of release branch validation tests then.

Assuming this is obsolete?

Yeah, obsolete. Thanks.


fix(reports): notification without standalone link back to superset

SUMMARY
Notification for alerts/reports are sent with a link back to superset, so that the user and explore the chart or dashboard that was sent, this link was using a standalone query arg, not redirecting the user to explore
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12174 (57e3440) into master (eecdd20) will decrease coverage by 3.05%.
The diff coverage is 93.10%.

@@            Coverage Diff             @@
##           master   #12174      +/-   ##
==========================================
- Coverage   66.38%   63.33%   -3.06%
==========================================
  Files         994      484     -510
  Lines       49050    29743   -19307
  Branches     4978        0    -4978
==========================================
- Hits        32562    18837   -13725
+ Misses      16356    10906    -5450
+ Partials      132        0     -132

Flag
Coverage Δ

cypress
?

javascript
?

python
63.33% <93.10%> (-0.89%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/reports/api.py
85.48% <ø> (ø)

superset/views/alerts.py
81.33% <87.50%> (+6.33%)
:arrow_up:

superset/app.py
81.36% <100.00%> (+0.78%)
:arrow_up:

superset/reports/commands/execute.py
92.54% <100.00%> (+0.04%)
:arrow_up:

superset/reports/commands/update.py
89.85% <100.00%> (+0.30%)
:arrow_up:

superset/security/manager.py
91.01% <100.00%> (+0.29%)
:arrow_up:

superset/views/core.py
74.92% <100.00%> (-0.46%)
:arrow_down:

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

... and 525 more

Continue to review full report at Codecov.

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


Voice processing optimizations

This reverts commit c0209ef4d07b51285457d11f038486a79f4c2d5c.
Uses Mute API instead of restarting AudioUnit when mute/unmuted.
Init AudioUnit with input enabled & muted when mic perms are already granted.

Will this affect the android mic indicator?

This shouldn't affect Android.


v1.0

Any updates on when this PR might get merged? Seems to be a pretty relevant refactor from the current state, especially not having a global singleton client.

you should also execute global code formatting and please use Prettier and update the .editorConfig file, so that anyone working on the project can inherit the code formatting settings

@Geniekort Currently, our team is busy with this PR, and we will merge this once we're finished. We are planning to do some fine tweaking and some minor refactoring and will add a global singleton to the final product. We appreciate your patience and your support.

@Geniekort,
We are currently reviewing the PR. Just asked for a rough estimation on the reviewing process.
Hopefully we can resolve that this week with some feedback and changes.
If the PR is approved we can work towards a release.
Let's keep you posted within this ticket. Maybe by the end of this week we can give a proper releasedate estimation.
Don't hestitate to ask us for a update within this ticket as a reminder.

@Geniekort,
Thank you for your interest in using the Buckaroo PHP SDK.
I wanted to provide a new update because we've had a internal meeting with the development team regarding the Node SDK.
We're currently in the endphase of reviewing and testing the Node SDK this week (approximately two more days are needed).
Barring any unforeseen issues, our aim is to do the release at the beginning of next week.

@Geniekort ,
To inform you:
We've released the v1.0.0 of the Buckaroo Node SDK.

Thanks for the update, amazing!


fix rebuilding caused by patchelf

We fix inplace patchelf by following method:

Let corrosion output to another folder (/bin/no-patchelf)

If os is Windows, just copy the .dll file to /bin
If os is Apple, copy the .dylib file to /bin then patch it
If os is Linux, patch the .so file and dump to /bin

Superseded by #132


Add struct output types for ethers

Closes #119
Added typings & tests for struct return types in ethers.js. Seems like this was simply missed for ethers, looks like all other targets already support struct return types

Pull Request Test Coverage Report for Build 213

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.685%

Totals

Change from base Build 212:
0.0%

Covered Lines:
400

Relevant Lines:
435

💛  - Coveralls

Sorry that merging this took so long. Thanks!


Add Reporting and SignalFx Reporter packages

The new package descriptions can be found here, at the new doc site:
https://yaorg.github.io/node-measured/
to see the new packages in action checkout the end to end tutorial here:
https://yaorg.github.io/node-measured/tutorial-SignalFx Express Full End to End Example.html
I still have more tests to add and a couple TODO's to take care of, but I wanted to get this open now.

Pull Request Test Coverage Report for Build 125

159 of 174 (91.38%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 84.783%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/measured-reporting/lib/registries/DimensionAwareMetricsRegistry.js
15
16
93.75%

packages/measured-signalfx-reporter/lib/validators/inputValidators.js
4
5
80.0%

packages/measured-reporting/lib/reporters/Reporter.js
38
39
97.44%

packages/measured-reporting/lib/registries/SelfReportingMetricsRegistry.js
58
63
92.06%

packages/measured-reporting/lib/validators/inputValidators.js
40
47
85.11%

Totals

Change from base Build 117:
0.4%

Covered Lines:
518

Relevant Lines:
591

💛  - Coveralls

Dashboard from user acceptance test server, nothing special but shows mertics with dimensions flowing through.

I wasn't super thorough but overall it is looking pretty good to me.  Nice work.


extension: LDAP authentication

For our use case, we're going to require LDAP authentication.

+1

+1

+1

+100

v3 now has LDAP authentication.

Is there any information on configuring the LDAP / AD integration? Been having trouble finding anything besides the fact it can do it.


report location of error

For example, the following code leads Can not found variable: y:
((lambda (x) y) 1)

However, in a bigger program, we can't get location would cause debugging hard.
To avoid this we have to record the location of expression, in the case is (0, 14), create an error: file.scm (0, 14): Can not found variable: y

After some try, this issue is not quite easy as I thought. The major problem is some value actually do not have a position. So I would try to use the minimum approach that first creates an error use position then analyzes how to get the position and only write the code as need.

Not really need for a little project, just close it.


New Update problem.

After doing composer update I had issues with datatables. I looked at your latest commit and compared it to my current one. On my file it's version is 6.17.0
On QueryBuilderEngine file, your Latest commit has HasOneOrMany but on my file it only has HasOne
Look here for more info about what changed: https://www.diffchecker.com/gcgDtHk1
I'll try to remove and install datatables again and see if it'll work.

 SOLVED!
Removing and reinstalling it fixed the problem. I even needed to install php-gd to satisfy laravel-datatables v6.20's needs.


⚠ Bofrost.lu has degraded performance

In 601b426, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1151 ms

Resolved: Bofrost.lu performance has improved in b18e436 after 13 minutes.


Test database?

A test database would be nice. Should it be created by default or be an option (the user can add one manually, but that is more work)

We're not gaining much overhead by adding an empty database, so adding it by default and it not being used wouldn't be too bad.

Ok so we should just add a small sql script to create an extra database in Images/stubs.
Do you have experience with postgres?

I've worked with Postgres before, but not for a while. what are you looking to do?

Just wondering if we can create a database with the same sql command as for mysql. And if there are anything important to consider.
Otherwise I will just Google it 👍

I'll have to google it to remind myself TBH.

I'll brainstorm a bit. Maybe instead allow the user to add a db with an artisan command?

running an extra artisan command would be my preference. Was thinking that we could have a command like the following
php artisan served:config

to do this, and then we can prompt for some details.

Yeah. Or something database specific like  php artisan served:db-manage

But maybe for a start it is OK with external access, and "shell" access
php artisan served:ssh mysql


Using a single space character as a password breaks login

Bug description
Setting the password of the admin account to a single space makes it impossible to log in. I have used this password for months (behind a reverse proxy with auth) and updated the image today. Now I'm unable to log in.
Expected behavior
Entering my password should log me in
Portainer Logs
time="2022-09-06T20:55:38Z" level=info msg="2022/09/06 20:55:38 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
time="2022-09-06T20:55:38Z" level=info msg="2022/09/06 20:55:38 [INFO] [http,server] [message: starting HTTP server on port :9000]"
time="2022-09-06T20:55:40Z" level=info msg="2022/09/06 20:55:40 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)"
time="2022-09-06T20:55:40Z" level=info msg="2022/09/06 20:55:40 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)"
time="2022-09-06T20:55:40Z" level=info msg="2022/09/06 20:55:40 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)"
time="2022-09-06T20:56:07Z" level=info msg="2022/09/06 20:56:07 http error: Invalid request payload (err=Invalid password) (code=400)"
time="2022-09-06T20:56:09Z" level=info msg="2022/09/06 20:56:09 http error: Invalid request payload (err=Invalid password) (code=400)"
time="2022-09-06T20:56:10Z" level=info msg="2022/09/06 20:56:10 http error: Invalid request payload (err=Invalid password) (code=400)"
time="2022-09-06T20:56:11Z" level=info msg="2022/09/06 20:56:11 http error: Invalid request payload (err=Invalid password) (code=400)"
time="2022-09-06T20:56:36Z" level=info msg="2022/09/06 20:56:36 http error: Invalid credentials (err=Unauthorized) (code=422)"

Steps to reproduce the issue:
Set the admin password to " " (a single space)
Try to log in
Technical details:

Portainer version: 2.15.0
Docker version (managed by Portainer): 20.10.17
Platform (windows/linux): linux
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer): ansible
Browser: Firefox
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
Resetting the password with the helper container lets me log in again with the new password. Setting it to the old one again breaks it again.

What version were you on previously where this worked?

I just downgraded to 2.14.2 and I can log in again

I just downgraded to 2.14.2 and I can log in again

Thanks, I've been able to confirm this behavior in 2.15.0 and am raising an internal issue to get this fixed.


[v3.0.1] Fix adding the seeder syntax during installation

#17  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @GoodM4ven and the rest of your teammates on  Graphite


Show the scale but do NOT highlight the last price of the series on the same (or any other) scale

Let's assume that we have a scale to the right. Is it possible to show the scale but NOT to show the highlighted last price of the series in any way?
Currently, the option 'rightPriceScale: false' removes both the scale and the price. Would it be possible to have 'rightPrice: false' and 'rightScale: true'?
That would be an intermediate situation between showing everything (scale and price) in https://jsfiddle.net/TradingView/tygLqpu8/ line 8, with 'rightPriceScale: true', and showing nothing (no scale and no price) with 'rightPriceScale: false'.
Perhaps there is an option, now, to do that without any modification to the existing functionality, but I'm not aware of it.
Thanks

I believe that you are looking for these options:

https://tradingview.github.io/lightweight-charts/docs/api/interfaces/SeriesOptionsCommon#lastvaluevisible
https://tradingview.github.io/lightweight-charts/docs/api/interfaces/SeriesOptionsCommon#pricelinevisible

which can be applied to a series.

Using that JSFiddle as an example, you could add these options are follows:
var areaSeries = chart.addAreaSeries({
  topColor: 'rgba(233, 16, 169, 0.35)',
  bottomColor: 'rgba(233, 16, 169, 0)',
  lineColor: 'rgba(233, 16, 169, 1)',
  lineWidth: 2,
  priceLineVisible: false,
  lastValueVisible: false,
});

or at a later stage (after the series is created) by using applyOptions:
areaSeries.applyOptions({
  priceLineVisible: false,
  lastValueVisible: false,
});

Working Example:
The JSFiddle example adjusted to not show the last price (line and label): https://jsfiddle.net/msilverwood/nrv8dL9s/2/


cmd/go: document version tagging for modules not at the repo root

What version of Go are you using (go version)?

$ go version
go version go1.13.4 linux/amd64

Does this issue reproduce with the latest release?
I have not tried any newer point releases, but the code from master contains the unexpected behaviour.
What did you do?

I have a git repository, example.org/maindir, which contains a subdirectory subdir, with a go.mod file.
The git repository has two tags:

v0.1.0, which was created when go.mod was in the main directory.
v0.2.0, which was created when go.mod was in the subdirectory.

I ran go get example.org/maindir/subdir in a different modules-enabled project to add it a as a dependency.

What did you expect to see?
I expected the algorithm to choose version v0.2.0 for example.org/maindir/subdir.
What did you see instead?
The algorithm chose v0.0.0-20191206111401-2e6237601202 as the version.

I did some digging, and apparently, when the go.mod file is not located in the repository root, the code that selects versions to consider filters out all tags that do not start with the path from the repo root. In this example, that means that the expected format of the tags for modules in a repository subdir is subdir/v0.2.0. As far as I know, this is undocumented behaviour.
Relevant snippet here: https://github.com/golang/go/blob/0915a19a115ba6bd2a5a95178bfaa076041d270b/src/cmd/go/internal/modfetch/coderepo.go#L141-L144
The only reference to this behaviour I could find in the documentation is in this FAQ item: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository
There, the line git tag mig/v1.0.0 gave me the idea that this might be the issue, but it is not explained anywhere.

I would say there are two points:

Is this behaviour valid? As far as I know, this naming scheme for semver tags for subdirectories is not common practice.
If it is valid, this behaviour should be documented more clearly.

Another suggestion: when there are 0 tags in the subdir/v1.2.3 format, the algorithm might want to consider tags in the regular v1.2.3 format before resorting to choosing v0.0.0-20191206111401-2e6237601202-style tags.

Is this behaviour valid? As far as I know, this naming scheme for semver tags for subdirectories is not common practice.

This is valid. Modules within a repository are versioned independently. That means there needs to be a namespace of tags for each module. We accomplish that with a subdir/ prefix.

If it is valid, this behaviour should be documented more clearly.

Agreed. I'm working on module reference documentation for 1.14 (#33637), which will include that. It will be linked from https://golang.org/doc. I expect that will supercede a lot of information in go help and on the wiki.
I don't expect everyone will immediately reach for reference documentation though, since it will be long and verbose. Where would you look for this information? Would a blog post or similar article help?

Another suggestion: when there are 0 tags in the subdir/v1.2.3 format, the algorithm might want to consider tags in the regular v1.2.3 format before resorting to choosing v0.0.0-20191206111401-2e6237601202-style tags.

Unfortunately, we can't mix those namespaces. Version tags should be permanent. If version tags are added for the root module later, they can't change the meaning for versions of non-root modules.

Where would you look for this information? Would a blog post or similar article help?

Yes, a blog post or article would definitely help. When researching this issue, I ended op on the Multi-Module Repositories section of FAQ. I see now that I missed this line on my initial read:

The tag for version 1.2.3 of module "my-repo/foo/rop" is "foo/rop/v1.2.3".

So the information is there, but it's quite easy to miss.
Also, I'm not sure if this is possible, but it might be nice if go get -v example.org/maindir/subdir would warn when there are 0 tags in the subdir/v1.2.3 format, but 1 or more tags in the v1.2.3 format.

This is now on https://go.dev/ref/mod#vcs-version , which go refers to for full documentation


LibLog 5.0.8 Release Notes

#223 - Improve Type lookup when using ILRepack
#233 - Fixed NLogLogProvider to not perform reflection for every logevent
#234 - Minor variable rename in ColoredConsoleLogProvider
#266 - Fixed XML docs in ILogProvider and LogProvider
#271 - LibLogException excluded from code coverage, and internal when LIBLOG_PROVIDERS_ONLY

Applied and released. Cheers for the help!
https://github.com/damianh/LibLog/releases/tag/v5.0.8
https://www.nuget.org/packages/LibLog/5.0.8

Thank for the release. Will try it out

Performance is excellent when using LibLog with NLog, and it produces good output. Thank you for the fishes :)


Onboarding Sven as a cloud.gov Pages Operator

User Story
Special Notes

Do not create this issue until the System Owner has formally authorized and requested it. You can obtain that OK by one of two ways:
A:

~A: System Owner creates this issue~

B:

[X] B.1: System owner emails<EMAIL_ADDRESS>and<EMAIL_ADDRESS>with their authorization
[X] B.2: An operator adds links to the email archive of the authorizing email.

Onboard Sven
Background (Optional)
https://docs.google.com/document/d/1tS-9hLb2yHtp500N3obmu0X70XpIMATuPlov2_vDVS0/edit
Acceptance Criteria

[x] Share README
[x] Grant appropriate access to Federalist backend in cloud.gov as a CF Org Manager
[x] Add to federalist-admins
[x] Add to federalist-admins in federalist-users org.
[x] Add to cloud-gov-team in cloud-gov org.
[x] Add to pages-ops in cloud-gov org.
[x] Make owner in the federalist-users org.
[x] Add to #federalist- channels in Slack as needed, and add to @federalist-operators Slack user group
[x] Add to daily standup, retro, and sprint planning
[x] Ensure user has Federalist Github project and brief on its use
[ ] Ensure user has GPG signing set up for GitHub: https://docs.google.com/document/d/11UDxvfkhncyLEs-NUCniw2u54j4uQBqsR2SBiLYPUZc/edit
[ ] ~Add to New Relic~ (Turned off for SCR)
[ ] Add to federalist-support, federalist-alerts, and federalist-inquiries Google Groups as needed
[x] Add them as an agent to https://federalist-support.zendesk.com/agent
[ ] add to Federalist search.gov account
[ ] Add new user as developer to the gsa-18f-federalist cloud.gov cloudfoundry organization
[ ] ~Add to statuspage.io account~ (blocked by license availability)
[x] Have a cloud.gov operator add to the “pages.admin” group in the cloud.gov UAA by using the make-pages-admin.sh script
[x] Have a cloud.gov operator add to the “concourse.pages” team in the cloud.gov OpsUAA by using the make-pages-ops-admin.sh script so they can access Concourse CI
[x] Add to Docker Hub
[ ] Add to AWS (Production GovCloud only)
[ ] Add to FederalistLocal Github org and federalist-local-admins team
[ ] Add to cloud.gov calendar

The checklist and the background doc do not precisely agree. On the presumption that the checklist here is more up to date I've added a couple of suggestions in the doc and tagged @apburnes over there, but if there's someone else that it would be better to tag, please let me know. I do note that the doc is version numbered (currently 1.8).

Added to the Pages cloud.gov cloud foundry org as an Org Manger.

I have access to Federalist (https://federalist.18f.gov/) in Search.gov, but I think that's it. Is there a separate Site defined in there for Pages, or do they share the configuration?

I have access to the correct Search site now, and have done everything I can do except the updated AWS setup, which is next.

🥳


Don't switch to tmux session if popup selector is closed

Your fzf session jumper is awesome and I've used it thousands of times. However, it had the annoying behaviour of switching to a session even if the fzf popup is closed (with Esc or Ctrl+C).
This commit changes that by only executing tmux switch-client on 'enter', meaning that a cancel will simply quit the fzf popup and leave you in the current session.
I tested your config briefly to check that it works, I didn't manage to test the bind -n M-f binding. Since the code was equal I assumed that it works, but this wasn't tested.

After this commit I saw the rest of your config, and noticed the "kill" binding doesn't have the same flaw: pressing escape doesn't kill that session! The only change is the -I {} option passed to xargs, which is a smaller change. Do you want me to rewrite it with the xargs option?

This is awesome @RensOliemans !!!  this fzf bug has got me in a number of places, thanks for showing me a new way to solve it without needing a multiline script.

I nearly have a similar workflow setup in zellij, getting excited to try it out more as my daily driver.

Awesome, great to hear that you like it ☺


Using contentTypes flag leads to misleading prompts

Motivation
When using the --contentTypes= flag to target a specific content type in the model, the prompt suggests that all content types in the model will be imported.
Example command:
kontent-ai-accelerator --action=remoteImport --environmentId=<removedForIssue> --apiKey=<removedForIssue> --model=advanced_product --contentTypes=disclaimer
Terminal output:
√ Are you sure to import models into Empty Environment environment of project zKDA Test? ... yes
Fetch: Downloading template 'advanced_product'
Content Types: Compliance, Video, Product, Disclaimer, Resource, Link, Call to action
Snippets: Metadata
Taxonomies: Product Type, Persona, Resource Type, Compliance Type, Category, Disclaimer Type
√ Continue import with the models above? ... yes
The tool does work in that it only imports the specified type, but the dialogue is confusing.
Proposed solution
Potential solution A: list only the specified content type in the "Content Types:" portion of the prompt.
Potential solution B: change the terminology from "Content Types:" to "All Content Types in Model:" and the confirmation message states: "Continue import with the specified models?"

Fixes, the message now contains only filtered items that get imported. There is also a validation of whether the object exists or not before proceeding to import.


accept arbitrary docker run arguments

I've got a couple of scenarios where I want to provide additional arguments to the docker run command, but at present it doesn't look like there's a way to provide them via configuration.
One example is where I want to provide additional capabilities to the container:
 --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --device=/dev/net/tun

Rather than supporting capabilities and devices as special cases, perhaps we can just provide a run_args config where you can specify additional arguments?
Happy to implement it if desired.

Happy to see this. We already have a specialized version of this for Traefik. So you can follow that pattern 👍

Sorted via https://github.com/mrsked/mrsk/pull/95


Update Radium

This will make the dev dependencies up-to-date. :)
Radium's latest stable version is 0.18.1: https://www.npmjs.com/package/radium

Cool, thanks!


[W6.6c][T09-B1]Loh Jia Hao

@inGall Accepting this PR with minimal review and I found no important issue.


where to apply cell events?

It's really unclear from the documentation how/where in the code to apply events to cells. Can you please clarify how to implement onClick/onMouseEnter/etc. ?

The easiest way is with a CellEnhancer: check out a new example story from #679.


Needed refactoring to put some code in a library

Custom lcd characters or command parser for example

lcd characters already moved

Debug already moved, pending command parser


Is there any plans on supporting the Circle Hough Transform (CHT)

I recently used the Hough Circle Transform in OpenCV, but found the combination of Python and OpenCV to be quite unpleasant to work with (but effective). I'd prefer to use pure Go :)
Do you have any plans of supporting (fairly high level) feature detection algorithms like this in go-cv?
Links

https://en.wikipedia.org/wiki/Circle_Hough_Transform
https://imagej.net/Hough_Circle_Transform

If we get the time to get around it, then yes maybe, but not anytime soon though.


Running Featuretools with Spark on Yarn

Bug/Feature Request Description
I am trying to running Featuretools with spark on yarn.
In my code,I try to load and process data by spark and use feature tools to generate lots of features.
When I am running locally,the result is right.
Then,I try to running with spark on yarn.
Then,I get this error:
IOError: [Errno 20] Not a directory: '/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_33989/container_1535027781207_33989_01_000003/20180913175333_depend.zip/featuretools/config.yaml'
But,config.yaml exist in the featuretools folder.so I am puzzle.
Please guide me as to how I can resolve this issue.

Issues created here on Github are for bugs or feature requests. For usage questions and questions about errors, please ask on Stack Overflow with the featuretools tag. Check the documentation for further guidance on where to ask your question.

@McRays we can look into this. can you describe the environments your using in more detail? what else is different between local and on yarn?

also, can you give a full stracktrace of the error and when it happens in the process of running featuretools?

This is a full stracktrace of the error ，when i submit to yarn
18/09/14 10:36:20 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Preparing Local resources
18/09/14 10:36:21 WARN org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
18/09/14 10:36:21 INFO org.apache.spark.deploy.yarn.ApplicationMaster: ApplicationAttemptId: appattempt_1535027781207_35146_000001
18/09/14 10:36:21 INFO org.apache.spark.SecurityManager: Changing view acls to: hadoop
18/09/14 10:36:21 INFO org.apache.spark.SecurityManager: Changing modify acls to: hadoop
18/09/14 10:36:21 INFO org.apache.spark.SecurityManager: Changing view acls groups to:
18/09/14 10:36:21 INFO org.apache.spark.SecurityManager: Changing modify acls groups to:
18/09/14 10:36:21 INFO org.apache.spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(hadoop); groups with view permissions: Set(); users  with modify permissions: Set(hadoop); groups with modify permissions: Set()
18/09/14 10:36:21 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Starting the user application in a separate Thread
18/09/14 10:36:21 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Waiting for spark context initialization...
18/09/14 10:36:23 ERROR org.apache.spark.deploy.yarn.ApplicationMaster: User application exited with status 1
18/09/14 10:36:23 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Final app status: FAILED, exitCode: 1, (reason: User application exited with status 1)
18/09/14 10:36:23 ERROR org.apache.spark.deploy.yarn.ApplicationMaster: Uncaught exception:
org.apache.spark.SparkException: Exception thrown in awaitResult:
	at org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:205)
	at org.apache.spark.deploy.yarn.ApplicationMaster.runDriver(ApplicationMaster.scala:401)
	at org.apache.spark.deploy.yarn.ApplicationMaster.run(ApplicationMaster.scala:254)
	at org.apache.spark.deploy.yarn.ApplicationMaster$$anonfun$main$1.apply$mcV$sp(ApplicationMaster.scala:764)
	at org.apache.spark.deploy.SparkHadoopUtil$$anon$2.run(SparkHadoopUtil.scala:67)
	at org.apache.spark.deploy.SparkHadoopUtil$$anon$2.run(SparkHadoopUtil.scala:66)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1692)
	at org.apache.spark.deploy.SparkHadoopUtil.runAsSparkUser(SparkHadoopUtil.scala:66)
	at org.apache.spark.deploy.yarn.ApplicationMaster$.main(ApplicationMaster.scala:762)
	at org.apache.spark.deploy.yarn.ApplicationMaster.main(ApplicationMaster.scala)
Caused by: org.apache.spark.SparkUserAppException: User application exited with 1
	at org.apache.spark.deploy.PythonRunner$.main(PythonRunner.scala:97)
	at org.apache.spark.deploy.PythonRunner.main(PythonRunner.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:635)
18/09/14 10:36:23 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Unregistering ApplicationMaster with FAILED (diag message: User application exited with status 1)
18/09/14 10:36:23 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Deleting staging directory hdfs://hadoop2cluster/user/hadoop/.sparkStaging/application_1535027781207_35146
18/09/14 10:36:23 INFO org.apache.spark.util.ShutdownHookManager: Shutdown hook called

LogType:stdout
Log Upload Time:14-Sep-2018 10:36:24
LogLength:2661
Log Contents:
/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_depend.zip/featuretools/config.py:75: UserWarning: Featuretools dir parent '/home' is not a writable location, using a temp directory.
Traceback (most recent call last):
  File "20180913145434___main__.py", line 4, in <module>
    from src.main.python.com.lucky.ai.food.main import main
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_src.zip/src/main/python/com/lucky/ai/food/main.py", line 13, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_src.zip/src/main/python/com/lucky/ai/food/feature_tools_data.py", line 3, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_depend.zip/featuretools/__init__.py", line 3, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_depend.zip/featuretools/config.py", line 123, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_depend.zip/featuretools/config.py", line 94, in ensure_config_file
  File "/usr/local/lib/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/local/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 20] Not a directory: '/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_35146/container_1535027781207_35146_01_000001/20180913175333_depend.zip/featuretools/config.yaml'
 Concurrent marking:
      0   init marks: total time =     0.00 s (avg =     0.00 ms).
      1      remarks: total time =     0.03 s (avg =    27.70 ms).
           [std. dev =     0.00 ms, max =    27.70 ms]
         1  final marks: total time =     0.02 s (avg =    22.00 ms).
              [std. dev =     0.00 ms, max =    22.00 ms]
         1    weak refs: total time =     0.01 s (avg =     5.69 ms).
              [std. dev =     0.00 ms, max =     5.69 ms]
      1     cleanups: total time =     0.00 s (avg =     2.35 ms).
           [std. dev =     0.00 ms, max =     2.35 ms]
    Final counting total time =     0.00 s (avg =     0.39 ms).
    RS scrub total time =     0.00 s (avg =     0.67 ms).
  Total stop_world time =     0.03 s.
  Total concurrent time =     0.01 s (    0.01 s marking).

Hey @McRays can you share your spark code to see the integration with the library? Maybe I can help you

thank you @FavioVazquez ，you can see the error info.
Before my code running,the error has happend.
This error is that don't find the config.yaml in feature tools code.
I doubt that this error is related to HDFS path, local path.But it's just guess.
As for my spark code ,sorry,It is in the gitlab.It is not my personal project.
But i can describe my thought：
1.read data and process data by spark
2.transform pandas ，using dataframe.toPanas
3.use feature tools api,generate entryset and relationship
4. generate lots of features ,and transform spark dataframe
5. save to hdfs
my code is running in the local.It is right.

@McRays can you try installing the latest master branch and running your code again? we just merged #257 that may fix the issue
install master with this command
pip install -e git://github.com/featuretools/featuretools.git@master#egg=featuretools

Thank you @kmax12 I try install master with the command.
The bug has fixed.But it has new error.
This is a full stracktrace of the error
18/09/17 14:02:40 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Preparing Local resources
18/09/17 14:02:41 WARN org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
18/09/17 14:02:41 INFO org.apache.spark.deploy.yarn.ApplicationMaster: ApplicationAttemptId: appattempt_1535027781207_39790_000001
18/09/17 14:02:41 INFO org.apache.spark.SecurityManager: Changing view acls to: hadoop
18/09/17 14:02:41 INFO org.apache.spark.SecurityManager: Changing modify acls to: hadoop
18/09/17 14:02:41 INFO org.apache.spark.SecurityManager: Changing view acls groups to:
18/09/17 14:02:41 INFO org.apache.spark.SecurityManager: Changing modify acls groups to:
18/09/17 14:02:41 INFO org.apache.spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(hadoop); groups with view permissions: Set(); users  with modify permissions: Set(hadoop); groups with modify permissions: Set()
18/09/17 14:02:41 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Starting the user application in a separate Thread
18/09/17 14:02:41 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Waiting for spark context initialization...
18/09/17 14:02:42 ERROR org.apache.spark.deploy.yarn.ApplicationMaster: User application exited with status 1
18/09/17 14:02:42 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Final app status: FAILED, exitCode: 1, (reason: User application exited with status 1)
18/09/17 14:02:42 ERROR org.apache.spark.deploy.yarn.ApplicationMaster: Uncaught exception:
org.apache.spark.SparkException: Exception thrown in awaitResult:
	at org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:205)
	at org.apache.spark.deploy.yarn.ApplicationMaster.runDriver(ApplicationMaster.scala:401)
	at org.apache.spark.deploy.yarn.ApplicationMaster.run(ApplicationMaster.scala:254)
	at org.apache.spark.deploy.yarn.ApplicationMaster$$anonfun$main$1.apply$mcV$sp(ApplicationMaster.scala:764)
	at org.apache.spark.deploy.SparkHadoopUtil$$anon$2.run(SparkHadoopUtil.scala:67)
	at org.apache.spark.deploy.SparkHadoopUtil$$anon$2.run(SparkHadoopUtil.scala:66)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1692)
	at org.apache.spark.deploy.SparkHadoopUtil.runAsSparkUser(SparkHadoopUtil.scala:66)
	at org.apache.spark.deploy.yarn.ApplicationMaster$.main(ApplicationMaster.scala:762)
	at org.apache.spark.deploy.yarn.ApplicationMaster.main(ApplicationMaster.scala)
Caused by: org.apache.spark.SparkUserAppException: User application exited with 1
	at org.apache.spark.deploy.PythonRunner$.main(PythonRunner.scala:97)
	at org.apache.spark.deploy.PythonRunner.main(PythonRunner.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:635)
18/09/17 14:02:42 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Unregistering ApplicationMaster with FAILED (diag message: User application exited with status 1)
18/09/17 14:02:42 INFO org.apache.spark.deploy.yarn.ApplicationMaster: Deleting staging directory hdfs://hadoop2cluster/user/hadoop/.sparkStaging/application_1535027781207_39790
18/09/17 14:02:42 INFO org.apache.spark.util.ShutdownHookManager: Shutdown hook called

LogType:stdout
Log Upload Time:17-Sep-2018 14:02:43
LogLength:3335
Log Contents:
Traceback (most recent call last):
  File "20180917112227___main__.py", line 4, in <module>
    from src.main.python.com.lucky.ai.food.main import main
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140126_src.zip/src/main/python/com/lucky/ai/food/main.py", line 8, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140126_src.zip/src/main/python/com/lucky/ai/food/feature_tools_data.py", line 3, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/__init__.py", line 7, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/synthesis/__init__.py", line 3, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/synthesis/api.py", line 5, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/synthesis/dfs.py", line 5, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/computational_backends/__init__.py", line 2, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/computational_backends/api.py", line 2, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/computational_backends/calculate_feature_matrix.py", line 17, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/featuretools/computational_backends/utils.py", line 9, in <module>
  File "/data/nm-local-dir/usercache/hadoop/appcache/application_1535027781207_39790/container_1535027781207_39790_01_000003/20180917140125_depend.zip/psutil/__init__.py", line 41, in <module>
ImportError: cannot import name _common
 Concurrent marking:
      0   init marks: total time =     0.00 s (avg =     0.00 ms).
      1      remarks: total time =     0.00 s (avg =     4.87 ms).
           [std. dev =     0.00 ms, max =     4.87 ms]
         1  final marks: total time =     0.00 s (avg =     0.89 ms).
              [std. dev =     0.00 ms, max =     0.89 ms]
         1    weak refs: total time =     0.00 s (avg =     3.98 ms).
              [std. dev =     0.00 ms, max =     3.98 ms]
      1     cleanups: total time =     0.00 s (avg =     2.98 ms).
           [std. dev =     0.00 ms, max =     2.98 ms]
    Final counting total time =     0.00 s (avg =     0.49 ms).
    RS scrub total time =     0.00 s (avg =     1.03 ms).
  Total stop_world time =     0.01 s.
  Total concurrent time =     0.01 s (    0.01 s marking).

@kmax12


[Event Request] Codeunit 97 Blanket Purch. Order to Order - OnAfterModifyPurchBlanketOrderLine

Please add this event:
if PurchBlanketOrderLine."Qty. to Receive" <> 0 then begin
PurchBlanketOrderLine.Validate("Qty. to Receive", 0);
PurchBlanketOrderLine.Modify;
end;
OnAfterModifyPurchBlanketOrderLine(PurchBlanketOrderLine, PurchLine);
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Working playright tests for newest main

These Tests with playwright are running on Github actions and the bug with it not closing on mac and linux is fixed, but test it on VSL before merging.


(Suggestion) Logic gates show state

What might be nice is a feature that makes logic gates be blue when they're sending an off signal, and orange when they have an on signal.

It's a bit cumbersome but the indicators do the job


Bugfix LuminOS (ML) Canvas2D fonts

Magic Leap only supports one font at the moment (Lumino). It's available in the system image and is mounted, but Skia doesn't know how to pick it up by default.
This introduces a fonts.xml referencing the Lomino font, and a Skia update to load it.
Ingests https://github.com/modulesio/skia/pull/6.
Inspiration from Servo's Lumin Runtime PR for the fonts.xml trick, and @chrislatorres' debug logging.

Rebased + tested this in headset.


Rate limit hit on a folder with 1,400 files

I tried using the action to fetch a folder with 1,400 files (would have saved me fetching a repo with 140k files), but the action hit a rate limit:
Run Bhacaz/checkout-files@v2
/home/runner/work/_actions/Bhacaz/checkout-files/v2/node_modules/@octokit/request/dist-node/index.js:86
      const error = new requestError.RequestError(toErrorMessage(data), status, {
                    ^

RequestError [HttpError]: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
    at /home/runner/work/_actions/Bhacaz/checkout-files/v2/node_modules/@octokit/request/dist-node/index.js:86:21
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 403

Hi, thanks for the issue. Migrating to the tree API  seems to be the solution. For the rate limiting and other issues.


Add dataset notebooks to documentation

Add the notebooks that are currently in the main branch (mk_data_exploration_...) to the documentation page of 'datasets'.

Is it because there are so many figures? Or is the size of the figures too large? Perhaps we can modify the notebooks such that we only include a few key figures?

Is it because there are so many figures? Or is the size of the figures too large? Perhaps we can modify the notebooks such that we only include a few key figures?

Both the number of figures and the size of the figures make the total size of the notebook large. I modify the notebooks and docs in #105.


Waveshare Jetracer jetcam not working

Hello,
I was trying to go through the basic files on jupyter notebook provided by waveshare for the waveshare jetracer which uses a Jetson Nano. However, the camera class failed to initiate and I cannot figure out why. The code is as follows:

from jetcam.csi_camera import CSICamera

camera = CSICamera(width=224, height=224)

Though the import goes through, the CSICamera class never initializes, and the program gets stuck here. No error messages show up either - the program simply does nothing. I have checked the file permissions using ll /dev/video0, and they show crw-rw---- as expected, and the video0 file clearly exists, meaning the camera is being picked up.
How can I solve this issue?

bump, i have the same problem

Same issue for me too


Support for additional S3 providers

Adding support for additional S3 providers to avoid vendor lock-in and for a better self-hosting experience. See #65
I successfully tested integration with a local instance of Minio. I have not tested these changes with a standard AWS S3 setup.

I did try this out towards my own hosted version of Minio (behind a reverse proxy) and it works like a charm 👌
I did not test it out against an actual S3 bucket, though.

Just tested that everything still works with the S3 bucket 👍


All underscore methods in Animation Nodes are not callable

Godot version
4.0 Alpha 9
System information
Windows 10 Nvidia GTX 1060 Intel i5 4690k
Issue description
Extension of #62340, potential dupe, so may close in favor of this one.
Methods relating to AnimationNode that have underscores are not callable.
_get_parameter_list,
_get_parameter_default_value,
_has_filter,
_get_child_by_name
_get_caption
Attempting to use these methods will throw errors.
Steps to reproduce
Try to call any of the above methods in their respective classes. The editor says that the function does not exist within the given class.
Minimal reproduction project
BrokenAnimationTree.zip

These methods are virtual. You are supposed to implement them, not call. Same in #62340

By the way, these methods have a "virtual" hint which displays next to them in the class reference.
Still, the descriptions should be reworded to start with "Called when…".

So how would you access the data provided by the virtual functions? What do you mean by "implement"?
My understanding is
extends AnimationNode

func _get_parameter_list():
\\Do stuff
pass

But according to the docs...
Array _get_parameter_list() virtual const
Gets the property information for parameter. Parameters are custom local memory used for your nodes, given a resource can be reused in multiple trees. Format is similar to Object.get_property_list().
So how would you access the information? (In this case, it claims to return an array)

So how would you access the information? (In this case, it claims to return an array)

This is meant to be used by add-ons that implement their own animation nodes.
On existing animation nodes, you cannot call those methods to get the information yourself. It's only used internally within the editor anyway.


Brainstorm: new convertion backend for weasyprint

http://weasyprint.readthedocs.io/en/latest/#
A little about the service:

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made available under a BSD license.
It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.

Background:
I've been trying to convert a not so straight forward html to pdf using the css3 specification for paged media. The specification is great, everything I need is covered there, the problem is that it doesn't work ATM with Athena's engine (webkit if I'm not mistaken?).
Athena has been of great use for our organisation, but this is something we really need support for.
I noticed that on #42 someone is also reporting sort of the same problem.
Additionally, I'm willing to help implement this if there's interest on doing so from your side.
Thank you!

It's running on Blink, a fork of WebKit. But yes, it does not support paged media, and I highly doubt it'll be supported for the next year or so at the very least.
I've been meaning to refactor the backend part of Weaver for quite some time now so that it'll be much easier for the service to be extended (not just for WeasyPrint).
Problem is, since it is packaged as a Docker image, I'm unsure what's the best approach to take without polluting / bloating it.
I was considering breaking the service image (Weaver) further so that it runs local backends in containers (by calling Docker inside Docker). But at the same time, this might complicate deployment.
Then again, the solution might just be as simple as creating multiple images for different combination of popular backends.
There's also the matter of reconciling the different conversion arguments / options across backends.

Glad to hear you're open to it!
I understand the problem.
I like the multiple images solution, there could be a base "abstract" image without any backend set up (and not meant to be used standalone perhaps), and then other images would extend the base one, installing their respective backends and adding necessary configuration for them to work properly.
Offering a default one (with Blink I assume, since it's the default ATM) is also good, so people aren't required to choose a backend before having the service up and running.
Living with the different conversion options could be trickier IMHO. But I think that as long as athena keeps a shared set of base options and the backend specific ones are well documented it shouldn't be a big problem... but I don't know the system at all that well. Are there any docs for the currently supported conversion options (other than sample.env, if that's even the conversion options we're talking about...)?

I have added this to the v3 board, but I do not think it is an immediate priority.


production output not support ie11

Describe the bug

Run vite build
Output dist does not support ie11,no error!

The vite output es module by default in build, you can use @rollup/plugin-babel to tranform outupt suppot ie11 .

@underfin
Is there any document about how to use the rollup plugin?
I tried many times but it doesn't work, if anyone succeeds, please share your config. thx.
  rollupOutputOptions: {
    plugins: [
      getBabelOutputPlugin({
        presets: [['@babel/preset-env', { modules: 'umd' }]],
      }),
    ],
  },

I don't test it, look like you need add babel/polyfill and passed umd to the format of ouput.

`const { getBabelOutputPlugin } = require('@rollup/plugin-babel');
const { build } = require('vite')
const path = require('path');
;(async () => {
const result = await build({
rollupOutputOptions: {
plugins: [
getBabelOutputPlugin({
configFile: path.resolve(__dirname, 'babel.config.js'),
}),
]
}
})
})()`
This makes babel work with vite. What is driving me nuts though is that I can't get babel polyfills to work (core-js).
When importing core-js in main.js, vite-rollup bundles the core-js code into the index.js, and then babel complains Import of core-js was not found.
(Regarding ie11, I made babel polyfills work by manually adding the cdn-versions of core-js and regenerator-runtime. After this Vue itself stops working at "Proxy is undefined". Afaik this is something that is going to be fixed in a ie11 compatible build of Vue 3 in the future. My gripes isn't with ie11 though, it can wait, but I just wish core-js polyfills could work for other semi-old browser versions).

Use below code inside vite.config.js. Note: should install core-js @babel/core @babel/preset-env @babel/runtime.
import babel  from '@rollup/plugin-babel';

export default {
  rollupInputOptions: {
    plugins: [
      babel({
        presets: [[
          "@babel/preset-env",
          {
            "corejs": 2,
            "useBuiltIns": "usage",
            "targets": {
              "ie": "11"
            }
          }
        ]]
      })
    ],
  }
}

I follow the configuration but it can’t run normally. Is there something wrong?

I made vite-plugin-legacy for dead simple legacy support. Just waiting on #874 to be merged!

I made vite-plugin-legacy for dead simple legacy support. Just waiting on #874 to be merged!

There will be some problems when using vite-plugin-legacy in my project ReferenceError: Can't find variable: exports
import { Plugin } from "vite";

import { rollup } from "rollup";
import commonJS from "@rollup/plugin-commonjs";
import babel from "@rollup/plugin-babel";
import resolve from "@rollup/plugin-node-resolve";

const plugin: Plugin = {
  configureBuild: (viteConfig) => {
    return async (build) => {
      const [mainChunk] = build.assets;

      const filePath = require("path").resolve(
        viteConfig.root,
        viteConfig.outDir,
        viteConfig.assetsDir,
        mainChunk.fileName
      );

      const bundle = await rollup({
        input: filePath,
        plugins: [resolve(), commonJS(), babel()]
      });

      const { output } = await bundle.generate({
        format: "iife",
        sourcemap: viteConfig.sourcemap,
        sourcemapExcludeSources: true,
        inlineDynamicImports: true
      });

      build.assets.push(output[0]);
    };
  }
};

export default plugin;

After trying, some content has been deleted and it can run normally, but when vue router jumps, there is a blank page problem... it is beyond my ability.
I really hope someone can solve it..

@0x30 Open an issue with a minimal repro, and I'll take a look 👍

Sorry, I found that maybe the conclusion I gave was too sloppy. I tried to build a project using vite-plugin-legacy. It is normal and compatible with lower versions...The previous error, maybe I made a mistake in the steps
The problem of page blanking still exists, and it exists in general vue-router-next projects. Even if the project does not do low-version compatibility operations, it seems that as long as it is of type Lazy, there will be some strange problems.
It is normal in npm run dev, but after npm run build, there will be problems
The problem is s.catch is not a function, this may be a bug of vue-router-next... I'm not sure
https://github.com/0x30/vite-779

@0x30 Please open a new issue: https://github.com/alloc/vite-plugin-legacy/issues/new

@0x30 is ok now?

For sad wanderers looking for ie11 support - along with the plugin by aleclarson, there's now an official plugin available: @vitejs/plugin-legacy.

@0x30 @xingyesh I set the vue-route to hash ,solved the problem, can try it

``> For sad wanderers looking for ie11 support - along with the plugin by aleclarson, there's now an official plugin available: @vitejs/plugin-legacy.
When I use this plugin, it shows error in IE11 as below

My vite.config.js is like this:
`import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import legacy from '@vitejs/plugin-legacy'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
legacy({
targets: ['ie >= 11'],
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
})
]
})
`


Add support for AzureOpenAI

Objetive
Added a new TextVectorizer for the AzureOpenAI API, which is based on the AzureOpenAI and AsyncAzureOpenAI classes from openai>=1.0.0.
Reason
Compatibility with Azure OpenAI is an important feature for developers that are building enterprise AI applications with Azure Cloud. Particularly for use cases where privacy is a concern, and data must stay within their cloud tenant.
My team particularly wants to integrate Semantic Cache (with Azure Cache for Redis Enterprise). Since we rely on the Azure OpenAI API, I created this new vectorizer to add that functionality.

@ajac-zero thanks for opening this -- will take a look and we will definitely get this in soon.

Sure! I've added the Azure vectorizer to the vectorizer test loop and a new section for Azure OpenAI in the vectorizers notebook.
All vectorizer tests pass with the Azure OpenAI vectorizer.


[Feature] Get rid of flink-connector-hive dependency in paimon-hive

Search before asking

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

Motivation
It is unnecessary for the tablestore to rely on it in the test. Its incompatible modifications will make the tablestore troublesome.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Can you assign it to me?


uat-core should be removed

if and when we actually put something there we will recreate.
until then it might add confusion and we are maintaining it for no reason

@blaines do you have strong feelings for keeping around this unused, potentially misleading folder that has a bunch of generated TODOs in it and placeholder text?
i say we delete it unless at some future point we actually use / need it.


Remove deprecated Setting EKSUpstreamRefreshCron

The setting EKSUpstreamRefreshCron was marked as deprecated in v2.6  as a part of https://github.com/rancher/rancher/pull/35920
This setting can be removed in Rancherv2.8.0. A quick investigation shows that this setting is no longer referenced inside rancher/rancher repo.

@mbologna Created this issue, to make sure the depreciation and removal is being tracked somewhere.

merged


Add Property Finder

https://testflight.apple.com/join/ctQoX4vC
Property Finder is the leading real estate portal in the Middle East, allowing home seekers or investors to find properties easily. With a user-friendly interface and a comprehensive database of properties, it has become a popular platform for anyone looking for real estate in the region.

done


rp radio with pma

hi there my rp radio refuses to broadcast i have tried everything got latest version have done everything right got no error codes made sure it was for pma voice just will not broadcast at all please help my server is pissed

pma-voice was created after this and I never added official support for it with this script, so the issue must be on pma's side


fix: strange menu behaviour with some child components

Because on_show_menu hadn't been set, Python and Vue weren't in sync about the status of a menu being open.

Current dependencies on/for this PR:

master

PR #2   👈

PR #3

This comment was auto-generated by Graphite.

Merge activity

Oct 24, 11:37 AM: @iisakkirotko started a stack merge that includes this pull request via Graphite.


Use java.util.logging instead of sl4j

How do i do that?

Slf4j is just a facade; you can replace the implementation with your own as described at https://github.com/Twasi/websocket-obs-java#logging or https://dzone.com/articles/logging-with-slf4j if you need more information.


fixed small number issue

I just swapped the characters for numbers and put in a space so that it was easier to read.

refs #2

Hi! Late thanks for the PR. I need to point out that due to the hacky natute of the code and normal numbers being not completely unusual as the first cahracter of a <title>, this change aggravates the known issue "will mess up with titles already starting with the characters ¹...⁸" mentioned in README.
this is the problematic code: whenever tab numbering changes, these lines attempt to remove the old number from the title.
https://github.com/tuomassalo/tab-numbering/blob/d4f3c27d9a81941284ca5e8fca0a511dfd792117/tab-numbering.js#L13-L15
See also: https://github.com/tuomassalo/tab-numbering/commit/64ae5127f939387e3a2dab07042e3afade2f58cc


Bump tags for etcdadm bootstrap provider and controller repos

Bump tags for etcdadm-bootstrap-provider and etcdadm-controller repos to latest.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


NFSMW Impossible to remap buttons

I am using an xbox one controller and the 1.20 version of this plugin. I have an alias called it2000, but when I try to remap buttons creating the file Need for Speed Most Wanted\scripts\XtendedInputMaps\it2000\NFS_XtendedInput.usermap.ini, my changes semes to have no effect. I have tried different positions where put the remap file, but without success
My NFS_XtendedInput.usermap.ini file content (I have changed only two keys from the defaults):
[Events]
GAMEACTION_GAS = XINPUT_GAMEPAD_RT
GAMEACTION_BRAKE = XINPUT_GAMEPAD_LT
GAMEACTION_STEERLEFT = XINPUT_GAMEPAD_LS_LEFT
GAMEACTION_STEERRIGHT = XINPUT_GAMEPAD_LS_RIGHT
GAMEACTION_TURNLEFT = XINPUT_GAMEPAD_LS_LEFT
GAMEACTION_TURNRIGHT = XINPUT_GAMEPAD_LS_RIGHT
GAMEACTION_HANDBRAKE = XINPUT_GAMEPAD_B
GAMEACTION_NOS = XINPUT_GAMEPAD_A
GAMEACTION_GAMEBREAKER = XINPUT_GAMEPAD_X
GAMEACTION_SHIFTUP = XINPUT_GAMEPAD_RS_UP
GAMEACTION_SHIFTDOWN = XINPUT_GAMEPAD_RS_DOWN
GAMEACTION_RESET = XINPUT_GAMEPAD_BACK
HUDACTION_PAUSEREQUEST = XINPUT_GAMEPAD_START
HUDACTION_ENGAGE_EVENT = XINPUT_GAMEPAD_DPAD_UP
HUDACTION_PAD_LEFT = XINPUT_GAMEPAD_DPAD_LEFT
HUDACTION_PAD_DOWN = XINPUT_GAMEPAD_DPAD_DOWN
HUDACTION_PAD_RIGHT = XINPUT_GAMEPAD_DPAD_RIGHT
HUDACTION_SKIPNIS = XINPUT_GAMEPAD_A
HUDACTION_NEXTSONG = XINPUT_GAMEPAD_RIGHT_THUMB
CAMERAACTION_CHANGE = XINPUT_GAMEPAD_RIGHT_SHOULDER
CAMERAACTION_LOOKBACK = XINPUT_GAMEPAD_LEFT_SHOULDER

@xan1242 Would you please confirm if this is the right way to remap the buttons?
I have been following the same routine as this issue says to remap buttons, seeing no effect at all. I am not sure if this is a bug or just me misunderstanding the README.

@xan1242 Would you please confirm if this is the right way to remap the buttons? I have been following the same routine as this issue says to remap buttons, seeing no effect at all. I am not sure if this is a bug or just me misunderstanding the README.

I discovered that to remap buttons, you must execute the game as admin, because if you not do that, all settings in the .ini files will not load. The problem is that this is not explained in the README file.

It is not explained in the README because you're the first user to actually report this. I'll update the README to make note of this soon.
However, the reason why is simple - it's UAC virtualization causing issues by creating copies of old files and not updating them on new instances. I don't think I can work around this issue at all because the mINI library uses a regular std::ifstream when opening files (which goes through the CRT to do Win32 stuff).
Either way, this won't be necessary in the future once the ingame remapping menu becomes functional. When will that be - I don't know, I'm very busy with other stuff.


Adapter doesn't log in and terminates with unspecified error

Describe the bug
Adapter stopped working a long time ago. Before it had worked fine. Solarman has confirmed, that my credentials are correct (they weren't changed).
To Reproduce
Steps to reproduce the behavior:

Restart Adapter
Check Protocol
See: Error

Expected behavior
Login, commence getting current values
Screenshots & Logfiles

solarmanpv.0
2024-09-22 09:30:06.702
debug
[callback] cleaned everything up...

solarmanpv.0
2024-09-22 09:30:06.196
info
Terminated (ADAPTER_REQUESTED_TERMINATION): Everything done. Going to terminate till next schedule

solarmanpv.0
2024-09-22 09:30:06.196
debug
[onReady] finished - stopping instance

solarmanpv.0
2024-09-22 09:30:06.196
debug
[main] catch "could not retrieve token."

solarmanpv.0
2024-09-22 09:30:06.195
warn
[initializeStation] error: undefined

solarmanpv.0
2024-09-22 09:30:04.609
debug
[checkUserData] Crc 382b2a9363c59bca25a44469afee6ac4

solarmanpv.0
2024-09-22 09:30:04.604
debug
[onReady] started: solarmanpv.0

solarmanpv.0
2024-09-22 09:30:04.597
info
starting. Version 0.6.1 in D:/ioBroker/node_modules/iobroker.solarmanpv, node: v18.16.0, js-controller: 5.0.19

This effect occurs from time to time. See also the forum:
https://forum.iobroker.net/topic/55799/solarman-pv-bosswerk-mi-deye/548
It may help to log in again on the Solarman website so that the account is woken up again.
Otherwise, see also #171.


Various agency improvements.

In case of resigned leader, set isReady=false in clusterInventory.
Break quick wait loop in supervision if leadership is lost.
Abort RemoveFollower job if not enough in-sync followers or leader failure.
Ignore satellite collections in shrinkCluster in agency.
Fix catch tests.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/3407


stages(kickstart): implement "reboot" option

This commit implements the reboot option for kickstart files.
Note that there are two ways this can be enabled via the json.
Either via a boolean or by passing a dict with options.
{"reboot": true}
{"reboot": {"eject": true, "kexec": true}

Passing the empty dict
{"reboot": {}}

is not allowed by the schema.

There's a typo in the commit message:

"clearpart" have have the same behavior

Other than that I think we can do something like requiring at least one property to be passed when eject is an object to alleviate the thinking about 'what does an empty dict mean'.

Great suggestion! I changed the code (and schema) this way now that the empty dict is not allowed.

The clearpart test is failing.  It seems it's not technically wrong to have clearpart without an option:
$ cat test.ks
clearpart
$ ksvalidator test.ks

Checking kickstart file test.ks

$

requiring at least one property to be passed when eject is an object

I was a bit confused here.  Did you mean reboot?

The clearpart test is failing. It seems it's not technically wrong to have clearpart without an option:
$ cat test.ks
clearpart
$ ksvalidator test.ks

Checking kickstart file test.ks

$

Sorry! That was my bad, I pushed this a bit too hastily (right before a meeting, I really should have learned by now that doing anything in a rush is a bad idea).
I fixed it now to make an empty clearpart an invalid option. Technically it's fine to have it without an option but the kickstart docs say: Removes partitions from the system, prior to creation of new partitions. By default, no partitions are removed.  which I read as "it won't do anything without an option" and requiring an option avoid the awkward question if an empty dict is valid or not.

There's a typo in the commit message:

"clearpart" have have the same behavior

Other than that I think we can do something like requiring at least one property to be passed when eject is an object to alleviate the thinking about 'what does an empty dict mean'.

Thanks, I fixed the typo (by removing this part of the commit message and split the commit in two as it should have been in the first place, sorry for that). Also thanks for the suggestion about requiring that a dict for reboot needs to have at least one option, I really like this !

Yay for more ks options!
For my own education: is this needed by one of our images, or is this done for completeness?

For my own education: is this needed by one of our images, or is this done for completeness?

It's needed to replicate the Edge ISO kickstart.
https://github.com/RedHatInsights/edge-api/blob/cab94ee6ed753c7bfe5b6ecfba314ff6a6cb7f59/templates/templateKickstart.ks#L1-L9


PR: Update connections dialog size constants, title and icon (Remote Client)

Description of Changes

Change connections dialog sizes constraints to prevent weird resize causing content to not be visible. Also change dialog title and icon:

OS
Preview

Windows

Linux

MacOS

Issue(s) Resolved

Part of #22225
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

Thanks for your work on this @dalthviz! The only problem I see with your changes is that we'd end up with too much padding for the contents of the connection pages in the dialog.
For consistency, we should have the same padding in this dialog as the one we have in the Preferences one.

/show binder


Azure DevOps 'Path' capability

Azure DevOps: Azure DevOps Services (Cloud Version)
Self-Hosted Windows agent.
Version: 2.183.1
OS: Windows 10
Under Agent Capabilities, there are no 'Path' variable.
Is it possible to include it automatically during the agent's system scan?

Hi @EdPerminas it should be discovered during agent's system scan if it is defined there - could you please make sure that there is a 'Path' variable defined in agent's system?

Hi @EdPerminas is this still actual for you?

@EdPerminas I'm closing this due to inactivity at the moment - please let us know if you have any futher questions.


Supporting multiple IR emitters

My laptop has two IR emitters (either side of the IR camera), however currently, only the left emitter will flash when the tool is configured. Is there a way to enable both IR emitters to work at once? If not, could support for this be added in the future?

Can you past the output of cat /dev/video* ?

cat: /dev/video0: Invalid argument
cat: /dev/video1: Invalid argument
cat: /dev/video2: Invalid argument
cat: /dev/video3: Invalid argument

/dev/video2 is the IR camera itself; testing using cheese -d /dev/videoX, video0, video2, and video3 appear to be normal cameras.

Hum ok I see. I will look into it in the coming weeks, but I can't make any promises (especially since I cannot test solutions).

Thanks! No worries if you can't find a solution, it does mostly work (with howdy) using just the one emitter, I just imagine it'd be somewhat better to have both working.

I used linux-enable-ir-emitter, it wasn't working natively.

If you perform the configuration twice and answer no every time until the second emitter blink.
Do you find a configuration where the second one is working ? Or does it terminate without success ?

It is able to enable the other transmitter, but as far as I could tell, not both at once

Perfect, the next update will support multi-emitter cameras.
I will probably release a first beta version at the end of the week

That's amazing, thank you!

I leave the issue open so that we can discuss it in case of problems (unfortunately I can't guarantee that it will work).
I'll let you know when you can test the update

In fact, I think everything is good.
You can test it on the dev branch, you have to install the OpenCV C++ libraries in order to be able to build the software:
git clone https://github.com/EmixamPP/linux-enable-ir-emitter.git
git checkout dev
sudo bash installer.sh install
sudo linux-enable-ir-emitter configure -e 2

Answer yes every time you see one emitter (or both at the same time) blinking.
Reboot and let me know if everything works
Don't hesitate to ask me any question if you need help

The v4.4.0 is ready for release. I still have some details to work out regarding Arch. If you wish, I can provide you a .deb or .rpm package in advance.

The v4.4.0 has been released and should support that feature.
Feel free to comment in case of issue


How to recompile on change of an import

I use yarn ts-node-dev  --respawn --transpileOnly index.ts
My index.ts has 'import { MyClass} from './MyFile' #MyFile.ts & .js
I was able to trick ts-node-dev to notice changes to MyFile.ts with
require('./MyFile.ts')
BUT
ts-node-dev doesn't seem to make index.ts/js LOAD the updated MyFile.js.
Any suggestions?

This is probably because in the transpiled (JS) version there is no this file reference (require). This is the limitations said in docs.

it seems not recompile even  WITHOUT transpileOnly.
reproduction:
package.json
{
  "devDependencies": {
    "ts-node-dev": "1.0.0-pre.40",
    "typescript": "3.5.3"
  }
}

index.ts
import { hello } from "./hello";

hello("foo");

hello.ts
export function hello(str: string) {
    console.log(`hello, ${str}`);
}

scenario
$ yarn run tsnd --respawn index.ts

# start watch, success to compile
Using ts-node version 8.3.0, typescript version 3.5.3
hello, foo

# change hello.ts (str: string) to (str: number)
# => index.ts is now type error, but seems not be recompiled
[INFO] 14:28:36 Restarting: hello.ts has been modified
Using ts-node version 8.3.0, typescript version 3.5.3
hello, foo

# change index.ts hello("foo") to hello("bar")
# => here, index.ts is recompiled and show type error
[INFO] 14:28:44 Restarting: index.ts has been modified
Using ts-node version 8.3.0, typescript version 3.5.3
[ERROR] 14:28:44 ⨯ Unable to compile TypeScript:
index.ts:3:7 - error TS2345: Argument of type '"bar"' is not assignable to parameter of type 'number'.

3 hello("bar");
        ~~~~~

Actually ts-node-dev recompiles for each file change. And I think this behavior is not bug.
Example to show when ts-node-dev recompiles file (using same .ts files with above comment):
$ yarn ts-node-dev --debug --respawn index.ts

Using ts-node version 8.3.0, typescript version 3.5.3
[DEBUG] 20:12:06 Starting child process -r /var/folders/z8/f1msx7hn135_fd_mx7r3z4vh0000gn/T/ts-node-dev-hook-26392208279680607.js /Users/saiya/tmp-ts-node-dev/node_modules/ts-node-dev/lib/wrap.js index.ts
[DEBUG] 20:12:07 /Users/saiya/tmp-ts-node-dev/index.ts compiled in 1008 ms
[DEBUG] 20:12:07 /Users/saiya/tmp-ts-node-dev/hello.ts compiled in 31 ms
hello, foo
[DEBUG] 20:12:07 Child exited with code 0

# Change `hello, ${str}` to `hello, ${str} 2` (in hello.ts that is included from index.ts)

INFO] 20:12:11 Restarting: /Users/saiya/tmp-ts-node-dev/hello.ts has been modified
[DEBUG] 20:12:11 /Users/saiya/tmp-ts-node-dev/hello.ts compiled in 13 ms
[DEBUG] 20:12:11 Child is already stopped, probably due to a previous error
Using ts-node version 8.3.0, typescript version 3.5.3
[DEBUG] 20:12:11 Starting child process -r /var/folders/z8/f1msx7hn135_fd_mx7r3z4vh0000gn/T/ts-node-dev-hook-26392208279680607.js /Users/saiya/tmp-ts-node-dev/node_modules/ts-node-dev/lib/wrap.js index.ts
hello, foo 2
[DEBUG] 20:12:11 Child exited with code 0

It recompile for each file change.
Key point is that ts-node-dev caches unchanged file as shown in DEBUG log in above example (you can reproduce this with the --debug option).
In the example, index.ts is not changed thus not recompiled. Compiled old index.ts and new hello.ts can work together because TypeScript does not leave any type related things in compiled vanilla JS. It is natural behavior.
IMHO, good way to utilise ts-node-dev is...

In local try-and-error, use ts-node-dev

ts-node-dev is fast because this re-compile only changed files.

To ensure type safety of your code, run tsc before you release (in CI or somwhere)

In addition, I personally like current ts-node-dev behavior. Because some .ts code might be dependended by thouthands of .ts codes (includes transitive dependency). If ts-node-dev recompiles all dependants everytime, it is too slow.