Implement a workflow visual designer

Summary
Camunda has implemented a visual modeler for designing workflow with drag and drop:
https://camunda.com/products/camunda-platform/modeler/
It would be nice and ease the workflow design to have an equivalent tool.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

This is a great idea. Big piece of work. Would need community help.

Related to #6918 / #4190


Expand renderSuggestion documentation

I'm porting a react-autosuggest based component to Vue and this project (as it lists react-autosuggest as an inspiration) seems to fit the bill nicely.
As I'm prototyping, I didn't want to use a build step but instead only use ES5. The renderSuggestion function documentation was a bit of a disappointment because it stated: "If you're not using babel-plugin-transform-vue-jsx then this method won't be too beneficial". Because I needed to render a multi-div suggestion, it looked like a showstopper.
However, you can use ES5 and $createElement to create the exact same output. Certainly not recommended for larger chunks of markup, but appropriate for this use case imho.
I think it would be benifical if the documentation was expanded/changed with something like:
"but if you don't use babel or the JSX transform, you still can build the JSX structure yourself, e.g. renderSuggestion(suggestion) {
return this.$createElement('div', { 'style': { color: 'red'} }, suggestion.name)
}"
If preferred, I could submit a PR.

Ronald, yes I had meant to add another example without the JSX transform, but a comment that you are suggesting would be perfect! My wife had a baby this week so might not get to it if you could submit a PR, would be much appreciated.

First of all, congrats!
I just submitted PR #50. Feel free to make any changes.

thanks @ronaldborman !


[Network] Fix vnet gateway

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1063

Close all Network PR until I regenerated one manually.


Dim page content when focused on navbar

Description
I need the content to dim when the navbar is being used.
Requirements

[ ] if the user opens the menu, dim the content of the site

created branch and pulled for dev.

added selector in toggleMenu to select content
added blur to classList on button toggle
made content on site unclickable while menu is open to prevent accidental action by users

done


GS308EPP integration: Turning the supply voltage off and on blocks WEB GUI password entry

System Health details
System Information

version
core-2024.10.2

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.46-haos

arch
x86_64

timezone
Europe/Berlin

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
5000

Installed Version
2.0.1

Stage
running

Available Repositories
1445

Downloaded Repositories
4

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.1

update_channel
stable

supervisor_version
supervisor-2024.10.0

agent_version
1.6.0

docker_version
26.1.4

disk_total
30.8 GB

disk_used
5.3 GB

healthy
true

supported
true

host_connectivity
false

supervisor_connectivity
false

ntp_synchronized
true

virtualization
kvm

board
ova

supervisor_api
ok

version_api
ok

installed_addons
Terminal & SSH (9.15.0), Samba share (12.3.2)

Dashboards

dashboards
2

resources
0

views
0

mode
storage

Recorder

oldest_recorder_run
12. Oktober 2024 um 09:43

current_recorder_run
21. Oktober 2024 um 20:45

estimated_db_size
201.84 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues.

Describe the issue
In a Qnap Virtualization Station HA installation (version <IP_ADDRESS>) I was able to successfully run latest Netgear plus integration v0.6.5 for a GS308EPP switch for the first time. After an interruption in the switch's power supply and then the power supply was restored, the entities and switches are grayed out in the dashboard. An attempt to access the switch via the web GUI fails immediately when the GUI is called up with the message: Incorrect password. If you enter the correct password, GUI access is blocked for one minute. If you repeat the entry, the blocking time is counted up (according to Netgear documentation). To enable WEG GUI access again, the switch's integration must be deleted - then after the waiting period, logging in is possible again. After deletion, the switch's integration in HA is also possible again (new devices discovered is displayed).
Thanks for having a look on it.
Reproduction steps

Integrate the switch as described in help for Home Assistant NETGEAR Plus Switches Integration (switch is auto-detected, switch password entry necessary)
Turn off power of the integrated switch
Turn on power of the integrated switch

...
Debug logs
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.netgear_plus.netgear_plus
Quelle: custom_components/netgear_plus/netgear_plus/__init__.py:273
Integration: NETGEAR Plus (Dokumentation, Probleme)
Erstmals aufgetreten: 07:30:32 (728 Vorkommnisse)
Zuletzt protokolliert: 09:31:44

[ckw_hass_gs108e.get_login_cookie] [IP: <IP_ADDRESS>] Response from switch: "Your account is temporarily locked. Try again in @3@ minutes."
[ckw_hass_gs108e.get_login_cookie] [IP: <IP_ADDRESS>] Response from switch: "Your account is temporarily locked. Try again in @2@ minutes."
[ckw_hass_gs108e.get_login_cookie] [IP: <IP_ADDRESS>] Response from switch: "Your account is temporarily locked. Try again in @1@ minutes."
[ckw_hass_gs108e.get_login_cookie] [IP: <IP_ADDRESS>] Response from switch: "Invalid Password"
[ckw_hass_gs108e.get_login_cookie] [IP: <IP_ADDRESS>] Response from switch: "Your account is temporarily locked. Try again in @5@ minutes."

Diagnostics dump
n.a.

That's definitively a bug. Something is causing the authentication of HA into the switch to fail and because it keeps trying, the switch brute force password guessing protection kicks in.
I suspect that the reboot causes the 'rand' seed in the login page to change. Since the integration caches that value it will use the expired value. @Sapinho2024 Do you have a option to validate this assumption? The 'rand' input value is found in the login page (http://{ip}/login.cgi).

Verified, the "rand" value changes each time after rebooting the switch. I have attached two browser source files before and after reboot.
Here is the difference (analyzed by  Beyond Compare) in short:
Before reboot:

LOG IN

After reboot:

LOG IN

Hope you identified the root cause ;-)
login page after reboot.txt
login page before reboot.txt

Unfortunately the html-statements in my comment field are not visible as text (only by showing the browser source text). My mistake. Nevertheless the attached files show the difference clearly. Regards..

Great! I can work with this. I'll create a fix as soon as I have time. I'll let you know once you can test it!

I am also experiencing this same issue. Any updates on a fix?

I'm still working on it. For now as a workaround, you can disable the integration entry for the switch prior to a reboot and enable it afterwards. This will reload the login page and read the correct 'rand' value. I'll update the issue once I release a proper fix.

Ok, cool, that's actually what I did to get past the issue once I figured out what was causing it. Thanks for working on it!


Demo environment is not stable

The demo environment works, but is not stable - will break if left running for some time

Goal of this task is to identify issues and create issues, not to solve within this ticket

#771

#791

#795 - Cleanup of teams

#797 - Cleanup of teams

#799 - Deployment of teams

#810 - deploying lustre


To run ask init, navigating into the repo folder is not required.

In file 7-cli.md, item 3 under Installation, the instructions for running ask init mention the need to first navigate into the repo folder.  This is not necessary, as ask init is a command that needs to be performed one-time only (after installation of the ASK CLI), and not per each repository.  Item 3 should simply mention the need to run ask init if it hasn't been run before.
Supporting evidence: ASK CLI init command documentation.

We agree.  Those changes have been incorporated into the latest instructions


Add custom VideoSurface for the VideoPlayer example

With this approach the Video can be properly displayed within your Compose UI and removes the need for a SwingPanel.

I think the following pull request is relavent:

https://github.com/JetBrains/compose-multiplatform/pull/2306/files

Thanks, did not see that one.  Would be great to have either merged, the solution is not very discoverable as a PR.
This feels like a bad case to demonstrate Swing interop with.  There are better examples and given the limitations there is little value in a video player that cannot have overlapping controls.

Hey, @DrewCarlson. You did perfect job, works like a charm! I spend so many hours trying to make Swing variant working but you just give me a chance to remove this problem from my desk. Thank you!


fix: improve mobile responsiveness

What is the purpose of this pull request?

What problem is this solving?

Types of changes

[ ] Feat: (new functionality)
[ ] Bug fix: ([#ref number] non-breaking change which fixes an issue)
[ ] Chore: (improvements that will not reflect in production behaviour)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Requires change to documentation, which has been updated accordingly.

#65  👈
main

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

Join @keeganpotgieter and the rest of your teammates on  Graphite


Enable app elevation when deleting files

Resolved / Related Issues
Do not ask for elevation when deleting shortcuts.
Details of Changes
Enable request for elevation when deleting protected files.
Validation
How did you test these changes?

[x] Built and ran the app
[x] Tested the changes for accessibility

@gave92 Can you resolve the merge conflicts?

Why not merge this to release 1.5?

@tasty0tomato this has been included in 1.5 👍

@gave92  Sorry, my Files is still version 1.3. It seems that Microsoft Store have not updated it. Waiting for the update!

No problem, and store approval for 1.5 may take a while due to this change.


[Bug] Exception occurs when executing the 'INSERT SELECT' statement while 'SELECT' does not.

Search before asking

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

Version
2.0.4
2.0.3
What's Wrong?
Exception occurs when executing the 'INSERT SELECT' statement while 'SELECT' does not.
I have a business SQL with the 'INSERT SELECT' syntax. When I execute the 'SELECT' statement alone, everything works perfectly. However, when I execute the 'INSERT SELECT,' it always triggers an exception like below:

Due to the sensitivity of the business SQL, I have simplified a version of the SQL. While both the simplified SQL and the original business SQL trigger the same exception, the severity differs. The simplified SQL can be successfully submitted after modifying the following variables, but the same modification does not work for the original business SQL.

After disabling the 'enable_fallback_to_original_planner', business SQL query shows clear errors. The first error is as follows:

So, I tried removing all occurrences of 'current_timestamp' from both the source and destination tables. At this point, I encountered the second error:

What You Expected?
INSERT SELECT can be executed normally, just like SELECT statement.
How to Reproduce?
I will first provide a simplified version of the SQL. If the business SQL is necessary, I will attempt to manually desensitize some of the logic later while trying to maintain abnormal behavior as consistent as possible with the state before desensitization. However, I cannot guarantee this, as seemingly minor changes to fields or logic may have varying degrees of impact on the optimizer's execution. The simplified version of the SQL serves as a precedent.
Here, simplified SQL:
test.txt
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Any progress? Thanks!


Getting requirements to build wheel did not run successfully

Hello,
Thank you for making this available. I've just moved full time to Fedora 38 from MacOS and I have really missed the TTS features. Having said that, I have this error during install:
Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [26 lines of output]
      Traceback (most recent call last):
        File "/home/preyevates/Apps/Verbify-TTS/env/lib64/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/preyevates/Apps/Verbify-TTS/env/lib64/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/preyevates/Apps/Verbify-TTS/env/lib64/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-r9nu_k2g/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-r9nu_k2g/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-r9nu_k2g/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
          self).run_setup(setup_script=setup_script)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-r9nu_k2g/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 263, in <module>
        File "<string>", line 210, in check_linker_need_libatomic
        File "/usr/lib64/python3.11/subprocess.py", line 1024, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/usr/lib64/python3.11/subprocess.py", line 1917, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'c++'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Many Thanks for your attention.

Hi, did you find a solution?


Add first N sampling to the live-traffic traceflow

Describe what you are trying to solve

Currently the live-traffic traceflow only supports capturing the first matched packet. It's desired to introduce the sampling feature so we can trace more than one packet. As the first step, we plan to add the "first N sampling", i.e., we capture the first N matched packets.
Describe the solution you have in mind

Simply put, we still use OVS, but modify its pipeline to notify every matched packets. When the Antrea side collects enough number of packets, the related OpenFlow flows will be removed.
Describe how your solution impacts user flows

If a user wants to start a first N sampling traceflow, he/she still creates a traceflow object, but with an additional parameter sampling. An example yaml is shown below.
apiVersion: crd.antrea.io/v1alpha1
kind: Traceflow
metadata:
  name: tf-test
spec:
  liveTraffic: true
  sampling:
     method: FirstN
     num: 10
  source:
    namespace: default
    pod: tcp-sts-0
  destination:
    namespace: default
    pod: tcp-sts-2

It remains to be discussed that how the users can fetch the traceflow results. Using traceflow object status is infeasible because the results are too large.
Additional context

More details can be found in the following documents:

Design draft
Presentation slide

About the CRD/API design, we have two options.

Use the current CRD API, since we just upgrade the API version for Traceflow(https://github.com/antrea-io/antrea/pull/5108) , and a few fields has been changes. Adding more fields seems pretty straightforward
Use a new CRD. As we may add more sampling methods in the future, and there may be more fields or parameters to be added by then. Also ,we can borrow some ideas from supportbundle: https://github.com/antrea-io/antrea/blob/main/docs/support-bundle-guide.md. eg: use an external file server.

@tnqn @jianjuns @antoninbas @luolanzone Any thoughts?

A simple experiment on the performance of OVS
Experiment Settings
Interfaces eth0 and eth1 on the same host are connected via an OVS bridge. Use iperf3 to send packets from eth0 to eth1.
Experiment Results

If we just let the OVS bridge to forward the packets, the flow rate is about 24Gb/s.
If we let the OVS bridge to capture every packet (by sending packet-in messages), the flow rate is about 3Gb/s.
If we let the OVS bridge to capture only 1 out of 1000 packets (by sending IPFIX messages), the flow rate is about 24Gb/s.

I also feel better to add a new CRD, as we may add more  (sampling, packet capture, etc.) parameters specific to live tracing/capture.

@tnqn Do you have any strong opion on this?

About the CRD/API design, we have two options.
1. Use the current CRD API, since we just upgrade the API version for Traceflow([Promote Traceflow API to v1beta1 #5108](https://github.com/antrea-io/antrea/pull/5108)) , and a few fields has been changes. Adding more fields seems pretty straightforward

2. Use a new CRD. As we may add more sampling methods in the future, and there may be more fields or parameters to be added by then. Also ,we can borrow some ideas from supportbundle: https://github.com/antrea-io/antrea/blob/main/docs/support-bundle-guide.md. eg: use an external file server.

@tnqn Do you have any strong opinion on this? Thanks

Have we decided how to expose result of the "trace"? In the community, this part is missing. Is the result just captured packets, or it includes the trace of the packets? This is a key factor to justify whether it should belong to one kind of Traceflow or a new PacketCapture API.
Note that the essential of Traceflow is to show how the packet is handled in the datapath and helps identify where is it dropped. I'm not clear what the trace would look like when it comes to multiple packets. But if the new change is to provide a way to capture multiple packets without providing their trace any more, it looks different from Traceflow to me.


Handling of Videos with Real Images but Zero Worms

Causes errors in Compute Measures and Display Results Windows
See Issue #32 for Display Results Window
Compute Measures Window:
LoadVideoContents 1630: computeBlockSeparatorsAndValidity
computeBlockSeparatorsAndValidity 953:Error using  |
Inputs must have the same size.
--> Error caused by logical OR comparison of 0x55 matrices and empty-matrix which cannot be done due to different dimensions. 0x55 matrices are created as numberOfWorm X numberOfFrame matrices but zero worms leads to empty matrices

Issue Resolved for selectWorm and computeBlockSeparators and Validity
Still needs to be resolved for any other buttons that modify the currently displayed worm such as the:
<, <<, <<<, >>>, >>, > buttons

Issue resolved. Different Approach. When video with no worms attempts to loaded informative message tells users that there are no worms in the video, possible causes, and then reverts to no video selected status


fuse image

Fuse two different image into one image.
With background and frontend.
(This is a classification task.)
Like,

cold (back) + hot (front)
hot (back) + cold (front)

first we need to classify the background and frontend label.


Implemented Profile page.

Added 3 components: Account, Socials & Settings.
I need help with deciding what titles to be added under settings. @Shanki200801
Responsiveness is pending, it's kinda wonky still.
Also edited/refined dashboard a bit.

This will remain a draft till point 2 is addressed.

weird things happening in profile page. Ik mobile responsiveness. The [welcome back text] isn't scrolling out of screen properly. idk if that's intentional

weird things happening in profile page . The [welcome back text] isn't scrolling out of screen properly. idk if that's intentional

Test on your laptop and send ss. It's not optimized for mobile. 🙃

@Shanki200801 please test the settings component. To do so, pull these changes & navigate to localhost:3000/profile/test
Let me know how to proceed/add backend functionality yourself and push changes, thank you!

weird things happening in profile page . The [welcome back text] isn't scrolling out of screen properly. idk if that's intentional

Will address this in #36 after our app is fully functional :)

Final UI:

Integrated test Settings component into actual profile page for Socials & Settings.

For a new issue:

Need to figure out how to update profile picture.
Backend functions to be added.
Mild responsiveness changes (will be addressed by #36)

The UI looks good to go, this issue can be closed. The backend can be tackled in another issue. The design and layout are beautiful!

Thank u! 🥰


Issue with client ID when using SPA like inertia

Posting something someone already posted on stackoverflow, anyone with same issue?

I'm using ably for broadcasting notifications in my admin panel, I've followed this repo https://github.com/ably/laravel-broadcaster, to setup ably/laravel-broadcaster and ably larvel echo for the client side I did ably laravel echo configuration in bootstrap.js as mentioned exactly in the repo
import Echo from '@ably/laravel-echo';
import * as Ably from 'ably';
window.Ably = Ably;
window.Echo = new Echo({
broadcaster: 'ably',
disconnectedRetryTimeout: 500
});
window.Echo.connector.ably.connection.on(stateChange => {
console.log(stateChange.current);
// if (stateChange.current === 'connected') {
//     console.log('connected to ably server');
// }
});
everything works fine and notification is being broadcasted and received, but after the user login in my app laravel echo connection failes cuz of a clientId mismatch
Ably: Connection state: failed; reason: [ErrorInfo2: Mismatched clientId for existing connection; statusCode=401; code=40102; see https://help.ably.io/error/40102 ]
if I refreshed the page everything works fine again, it looks like after the client login, ably isn't updating the client id
Note 1: it worth mentioning that I'm using laravel inertia with vue to build my SPA applications
can anyone help? actually I don't know where to start

I am not sure if we can force the client_id to ably as usually the laravel broadcasting auth takes care of this
┆Issue is synchronized with this Jira Task by Unito

Hi @graphem thanks for raising the issue!
Seems auth is not setup properly at server side. You might like to go through this comment
https://github.com/ably-forks/laravel-echo/issues/36#issuecomment-2119833011. Also, I would like you to check https://github.com/ably-forks/laravel-echo?tab=readme-ov-file#working-with-laravel-sanctum-support-channel-auth-using-custom-implementation.

As a starter, you might like to checkout https://github.com/ably-labs/laravel-broadcast-app. You can run the app using docker.

I didn't get that clientId gets reused when not logged in. Does this mean user has clientId before logging in. Even if user has one, it should get updated for the next ably connection or channel attach request ( If we are making one ) -> https://github.com/ably/laravel-broadcaster/blob/83cc6bf242f9d1533ce49dbf077820426f08b15e/src/AblyBroadcaster.php#L227.
I would say the problem is happening because user switching is happening without explicit logout. Can you confirm that you are using guest user before explicit login? If that's the case, then there might be a case where this error can arise.
Since, connection + channel permisions are assigned to given user, it cannot be reused for other user. I would suggest that you logout guest user ( which has user id ) before logging in using another user.

From my investigation when using Inertia as SPA, if the Echo is in the bootstrap, then a client_id = null connection is created, then after login if redirected to a page were we call join channel properties, we get the error cause it seems it tries to reuse the connection with the client_id = null but with a now token with the client_id = user_id. When in a non SPA setup this would work fine cause the bootstrap will be reloaded a new connection created.

Also, We do have a working laravel broadcaster app https://github.com/ably-labs/laravel-broadcast-app/. It does seem to use SPA, can you double check

i'm facing this issue too, any solutions ???

Link to internal discussion -> https://ably-real-time.slack.com/archives/C8SPU4589/p1720522240507579

Hi @graphem @AmirHaroun1 we have merged PR for the fix. Expect release soon 👍

Hi @graphem @AmirHaroun1 we have released fix in laravel echo. Do update the library
npm install @ably/laravel-echo 1.0.5

Also, give a read for https://github.com/ably-forks/laravel-echo#:~:text=If you are using SPA on client side


Implement bank pins

We can store the pin in hashed form, to avoid leaving that information in a vulnerable form.

[ ] Working bank pin interface
[ ] Pin resetting
[ ] Stored in hashed form

Think we might want to implement this in Java (most of the banking stuff is), but I'm not entirely sure... cc @ryleykimmel @garyttierney

Alternative idea to hashing them is to encrypt them using a key derived from the player's (plaintext) password, and then decrypting the value for each player when they log in. This makes brute-force attacks infeasible (whereas there are only 10,000 possible bank pins, so simply hashing them is unlikely to be particularly effective).

Think this should wait until the inventory rewrite.

this shouldn't be affected by it?


Add grains.cc to the webring

Hi! I've been lurking on merveilles.town and the webring since I stumbled upon the decentralized web thread on lines a few years back but couldn't put my own wiki together until this year. Would be glad to see grains accepted, or otherwise get any feedback!
Quick link: https://grains.cc/
All the pages that qualify for the 10 pages threshold can be found under /notes, and the webring icon is located in the footer. There is no javascript required for viewing the website, but some pages fetch external JS to embed music and videos, and on top of that there's the cloudflare analytics script, let me know if that could become a problem.

@neauoire thanks for the kind words and the inspiration! I don't want to steal the credit for constellations though, the one you have tried was likely a different script by toomanatees 😅 I'd have to come up with a different name before I release mine.


Hello from PlatformIO

Hi there,
That moment when the community makes me happy. I've just googled powmr inverter protocol and saw It compiles in Platformio. 😊
Thanks for your amazing project. I'm a happy owner of a PowMr inverter and glad to connect it to my "smart-home" system.
P.S: Founder of PlatformIO 🙏

Hey Ivan,
Thank you for your kind words!
I've been following PlatformIO probably since you started it a while ago.
Now it's a default tool for all my hobby projects.
I brought my PowMR inverter during blackouts.
And needed solution to keep the Li-Ion battery charged at the certain level.
So this is the reason for this quick project.
Happy to help you.
P.S. Слава Україні !


fatal error: concurrent map read and map write

Bug Report
I'm testing out the Minio integration by uploading a bunch of files through Minio. It looks like it worked for ~7 hours and then crashed with fatal error: concurrent map read and map write.
I was uploading about 300 files at the time.
Stack Trace or error message
https://gist.github.com/mtlynch/2d7e2d693a6dfdef4ea8b934f80a6aed

Sia version: master branch @ aacc30609e3bfc18baa2b1cf3cd89bd457a3715c
OS: Ubuntu 16.04.3 LTS

Might be related to #2217.
Recommendation to devs: "Bug"

This looks like a relatively simple race condition caused by not holding r.mu when accessing r.tracking here. A PR for this would be appreciated -- should be just a few lines of code.
btw, this is not related to #2217. Although they are the same class of bug, #2217 is caused by concurrent access in the api, whereas this bug is caused by concurrenct access in the renter.

@mtlynch thanks for finding the issue, for fixing it quickly, and @lukechampine thanks for getting it merged quickly.


README: xLinka Missing From Contributor List

xLinka helped with #2 . Shouldn't xLinka be part of the Contributor list?

@all-contributors add @Xlinka for research

Thank you.


Why does attu keep hanging by itself, but when I restart k8s, it automatically recovers, and the pod is always in the running state. The following are the logs

Describe the bug:
Steps to reproduce:
1.
2.
3.
Attu version:
The latest version

Attu version:

milvus-log.tar.gz

Two questions:
What's your milvus version?
What is your data scale?

@shanghaikid @cxie @LoveEachDay @zhuwenxing Please take a look, thank you very much

mivlus is 2.2.3

Ok, we will investigate this issue soon. thanks.

Excuse me, how is the progress on this issue？

@yanliang567 Please update the progress?

hi @fangxingjun, I read the logs you posted but didn't find any wrong here
Would you mind explaining the error of attu exactly?Can't it be accessed?

May be caused by this problem，but i have no idea to solve it.

values_file.zip
This is the values.yaml configuration file， maybe it help

How do you create the nodeport? by kubectl or by helm?
So, I think you can't use the milvus now ?
Can you get inside the proxy pod and test the connection again?

kubectl edit svc my-release-milvus.

If I use the helm command "helm upgrade my-release milvus/milvus -f values.yaml", the mivlus cluster can be normal, and then hang up automatically after a while

So, your milvus instance can be accessed but sometimes timeout?

yes，but i cannot handle it.

If I use the helm command "helm upgrade my-release milvus/milvus -f values.yaml", the mivlus cluster can be normal, and then hang up automatically after a while

What are you mean about the normal, the milvus can be connected and do some operations?

yes, i can do operations about insert, query when it is normal.

yes, i can do operations about insert, query when it is normal.

If it used to be normal, I think the installation is successful, so the hanging problem may caused by other reasons.
I saw your pods restart many times, is there any operations? Where you install the milvus cluster?
How many quotas will milvus get?

When I modify the values.yaml file, such as modifying the number of queryNodes, I will use helm upgrade to execute it once

If there are still no data in your milvus cluster, I suggest you setup a new milvus cluster with a new release name, which will save your time

If the problem still happens, I suggest you allocate more quotas for milvus

and, maybe you can try to increase timeout time

If the problem still happens, I suggest you allocate more quotas for milvus

more memory and cpu？The milvus cluster has 2600w records is used to test, but the query time is too long, and i have not find the problem of it.

thank u very much, i do that about grafana right now

You can increase the timeout and make some simple requests to confirm whether the milvus is alive

just now, i have reset the milvus cluster,  and reload the collection, i find the speed is normal, i don't sure is the quantity of indexNode that i have changed causing this problem to occur

Can turn on the service monitor to help you know more clearly about the requests

Ok, I'm going to install k8 monitoring

Is it solved？


Uncaught ReferenceError: django is not defined

When I try to create a new model with the content creation wizard that has a FilerImageField, I get an Uncaught ReferenceError: django is not defined at:
VM1967 dropzone.init.js:11
VM1969 popup_handling.js:46
VM1970 widget.js:4
(index):155

Why do I get this and how can I avoid it?
Reproducible with:
modify aldryn_newsblog/cms_wizards.py:
class CreateNewsBlogArticleForm(BaseFormMixin, TranslatableModelForm):
    # ...
    class Meta:
        model = Article
        fields = ['title', 'app_config', 'featured_image']
    # ...

or: create a test foo app:
My models.py file:
from django.db import models
from django.core.urlresolvers import reverse
from filer.fields.image import FilerImageField

class Foo(models.Model):
    slug = models.SlugField(unique=True)
    image = FilerImageField(related_name='foo_picture', null=True)

    def get_absolute_url(self):
        return reverse('foo', kwargs={'slug': self.slug})

My forms.py file:
from django import forms
from .models import Foo

class FooWizardForm(forms.ModelForm):
    class Meta:
        model = Foo
        exclude = []

My cms_wizards.py file:
from cms.wizards.wizard_base import Wizard
from cms.wizards.wizard_pool import wizard_pool
from .forms import FooWizardForm

class FooWizard(Wizard):
    pass

foo_wizard = FooWizard(
    title="Foo",
    weight=200,
    form=FooWizardForm,
    description="Create a new Foo"
)

wizard_pool.register(foo_wizard)

My views.py file:
from django.views.generic import DetailView
from .models import Foo

class FooView(DetailView):
    model = Foo

My urls.py file:
from foo.views import FooView
from django.conf import settings
from django.contrib import admin
from django.conf.urls import url, include
from django.conf.urls.static import static

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^foo/(?P<slug>[-\w]+)/$', FooView.as_view(), name='foo'),
    url(r'^', include('cms.urls'))
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

The problem here is that Filer's AdminFileWidget does not have an explicit dependency on Django's jQuery instance, but it should. The order of media assets in Django is important and Django's jQuery should be referenced atop so it can be merged and rendered before dropzone.min.js. Here's how I monkey patched it.


type validate

Tern can know what type every parameter and variable is by jsdoc. So what about checking if function calls are correct with tern_for_vim? Here is a simple example:
/**
 * this is a description
 * @param {String} s - a string
 */
function test(s) {
  // do something
}

test(1); // throw a warning

Is it possible/planned?

Validation is explicitly out of scope for Tern. It could do something like that with JSDoc annotations, but for types it inferred itself it would not work, and I don't want to take the project in that direction (it'd be a whole lot of new problems to solve). You might be interested in the tern-lint project, or tools like TypeScript and Flow.


Iterator problem

I use this but it dos not work !!
  iterator ='return function (yield, store)\
    for _,user in store / "data" / ".*" do\
      yield {lat = user["position_latitude"] , lng = user["position_longitude"]}\
    end\
  end'
  })

If I change ".*" by an existing username it loops on all users !! which is wrong !

Iterators still need a bit more work. The websocket messages should be redone to allow streaming.

Iterators are now in a good shape, i can switch to fixing this issue (in cosy.store).

Seems to be (almost) fixed... but i don't know why.
First, create two users:
$ ./cosy.lua user:create<EMAIL_ADDRESS>a
$ ./cosy.lua user:create<EMAIL_ADDRESS>b

Then iteration returns the correct keys:
$ ./cosy.lua server:filter 'return function (yield, store)
>     for key, user in store / "data" / ".*" do
>       yield { key = key, }
>     end
>   end'
success
 1  =>
  key     => /data/b
 2  =>
  key     => /data/a

$ ./cosy.lua server:filter 'return function (yield, store)
>     for key, user in store / "data" / "a" do
>       yield { key = key, }
>     end
>   end'
success
 1  =>
  key     => /data/a

$ ./cosy.lua server:filter 'return function (yield, store)
>     for key, user in store / "data" / "b" do
>       yield { key = key, }
>     end
>   end'
success
 1  =>
  key     => /data/b

yes I can get the key, but user is nil
If you have project "p" added to the user "a" the
for key, user in store / "data" / ".*" do
yield { key = key, }
end
result will be:
key     => /data/b
key     => /data/b

Fixed!
$ ./cosy.lua server:filter 'return function (yield, store)
>     for key, user in store / "data" / ".*" do
>       yield { key = key, name = user.username, }
>     end
>   end'
success
 1  =>
  key      => /data/b
  name     => b
 2  =>
  key      => /data/a
  name     => a


Code completion not showing obvious match

Hi,
I recorded odd behavior with code completion in Atom, but I suspect this is the analysis server?
https://www.youtube.com/watch?v=j5kGQhNtwDI&feature=youtu.be
In this case, my object has a method called oneLineDoc. I'm try to complete it, by typing o then n etc
There's really nothing else that would match o other than oneLineDoc however you'll see a second 1 that no options appear. If I type n I do see an option. If I type e the option disappears.

cc @devoncarew for Atom

on is a keyword; perhaps that's throwing off the analysis engine?

Could not reproduce with the code below.  If it is still occurring, reopen with either a code snippet or a code location in a library where the issue does still occur.
class A {
  int oneLineDoc;
}

m(dynamic d) {}

f(A a) {

  m(a.oneLine^)
}


Fix right widget's column size

because it can happen so that defects widget is too big:

@innokenty thanks for suggestion!
Summon @just-boris


Fix - add textPath svg element

The svg element textPath was missing from the list of dom elements.
Added it to the domElements, and to v4's domElements.

@liorEhrlich thanks, could you change this PR to target the legacy-v5 branch and add a changelog entry?

@probablyup Thanks for reviewing my PR.
I've added a changelog entry, but had some issues changing the parent branch of the feature branch.
Moved the code to: https://github.com/styled-components/styled-components/pull/3461


CLI option --override-genesis-config not working as it used to

Description
I noticed a side effect of a change in Besu that has made it incompatible with Teku acceptance tests. The TLDR is that Besu is not respecting the parameters we use with the option --override-genesis-config.
For example, in Teku acceptance tests, we calculate the genesis time of the network and use the override to set shanghaiTime.
This problem seems to have started here:  https://github.com/hyperledger/besu/pull/7012, unfortunately, I started looking into it but it was taking too long and I had other things that I had to do. The gist of the issue is how we are not propagating Map<String, String> genesisConfigOverrides down to ConsensusScheduleBesuControllerBuilder how we used to.
The result is that some values are being correctly overwritten, while some others are not (it really depends on what object is consuming the correct map of overrides).
Acceptance Criteria

--override-genesis-config values being correctly applied, as if the values were part of the original genesis file.

Steps to Reproduce (Bug)

Start Besu with --override-genesis-config="shanghaiTime=123"

Expected behavior: shanghaiTime correctly applied on protocol schedule.
Actual behavior: shanghaiTime is not correctly applied on protocol schedule.
Frequency: Always
Logs (if a bug)
N/A
Versions (Add all that apply)
All versions post https://github.com/hyperledger/besu/commit/690a2ea81e2bf62508ff16675cd7dbaeb006fa83

besu 24.3.3 was the last release that had this working properly.
besu-24.3.3 ./bin/besu --override-genesis-config="shanghaiTime=123"
2024-08-13 14:06:13.595+10:00 | main | ERROR | Besu | Failed to start Besu
picocli.CommandLine$ExecutionException: Genesis Config Error: 'Shanghai' is scheduled for milestone 123 but it must be on or after milestone 15050000.

started looking into this - added 2 tests that fail https://github.com/hyperledger/besu/compare/main...macfarla:override-gen?expand=1
looks like the problem is that we used to pass the overrides to updateNetworkConfig() each time but now we rely on GenesisConfigFile.getConfigOptions() - but GenesisConfigFile does not keep a reference to the overrides, they need to be passed in eg GenesisConfigFile.getConfigOptions(Map overrides)
So think the solution is to refactor GenesisConfigFile to also keep the overrides (but they are technically not part of the file), OR use GenesisConfigOptions when creating BesuControllerBuilder, instead of GenesisConfigFile


Add AMD ZEN 4 uarch and update detection

In this PR I added uarch detection to Zen 4, and updated Zen 3, Hygon
Zen 4: https://en.wikichip.org/wiki/amd/cpuid
Zen 3:

Threadripper 5900 "Chagall" (sWRX8), see https://en.wikichip.org/wiki/amd/cpuid (Family: 25, Model: 0x08)
Engineering Sample (SP3), see https://en.wikichip.org/wiki/amd/cpuid (Family: 25, Model: 0x00)
OctalCore AMD Ryzen 9 6900HX  Rembrandt Cpuid Dump (Family:  0x19, Model: 0x44)

OctalCore Hygon C86 3250: Cpuid Dump (Family:  0x18, Model: 0x01)

Thx a lot. Do you mind adding a test if you have a cpuid dump handy?

@gchatelet, I updated PR

Fantastic, thx!


vi.mock not working in setupFiles (monorepo)

Describe the bug
vi.mock not working in setupFiles
I have monorepo with packages:

@my-app/demo
@my-app/testing

I'm trying to mock framer-motion dependency using setupFile from the @my-app/testing package. But it fails if the real framer-motion installed.
Reproduction
Reproduction: https://github.com/mc-petry/vitest-mock-issue

Clone repo and install dependencies: pnpm i
Run pnpm build - it passes ok.
Install dependency to demo package: pnpm add -F demo framer-motion.
Run pnpm build again - you will get an error.

System Info
System:
    OS: macOS 13.0.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 221.28 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 107.0.5304.121
    Firefox: 106.0.3
    Safari: 16.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I'm also seeing this, any input on what might be happening from maintainers / those more aware of how vitest handles mocking under the hood?


plymouth-set-default-theme not available on Linux Mint

In version 21.1 of Linux Mint, there is no such command as plymouth-set-default-theme, so applying this theme is not possible using the provided steps. Would be nice if the readme was updated with steps for Linux Mint.

Is plymouth installed?

emiel@jaybird:~$ which plymouth
/usr/bin/plymouth
emiel@jaybird:~$ plymouth --help
Splash control client
USAGE: plymouth [OPTION...] [COMMAND [OPTION...]...]

Options:
  --help                         This help message
  --debug                        Enable verbose debug logging
  --get-splash-plugin-path       Get directory where splash plugins are installed
  --newroot=<string>             Tell boot daemon that new root filesystem is mounted
  --quit                         Tell boot daemon to quit
  --ping                         Check if boot daemon is running
  --has-active-vt                Check if boot daemon has an active vt
  --sysinit                      Tell boot daemon root filesystem is mounted read-write
  --show-splash                  Show splash screen
  --hide-splash                  Hide splash screen
  --ask-for-password             Ask user for password
  --ignore-keystroke=<string>    Remove sensitivity to a keystroke
  --update=<string>              Tell boot daemon an update about boot progress
  --details                      Tell boot daemon there were errors during boot
  --wait                         Wait for boot daemon to quit

Available commands:
  change-mode        Change the operation mode
  system-update      Tell the daemon about updates progress
  update             Tell daemon about boot status changes
  update-root-fs     Tell daemon about root filesystem changes
  show-splash        Tell daemon to show splash screen
  hide-splash        Tell daemon to hide splash screen
  ask-for-password   Ask user for password
  ask-question       Ask user a question
  display-message    Display a message
  hide-message       Hide a message
  watch-keystroke    Become sensitive to a keystroke
  ignore-keystroke   Remove sensitivity to a keystroke
  pause-progress     Pause boot progress bar
  unpause-progress   Unpause boot progress bar
  report-error       Tell boot daemon there were errors during boot
  deactivate         Tell boot daemon to deactivate
  reactivate         Tell boot daemon to reactivate
  quit               Tell boot daemon to quit

Options for change-mode command:
  --boot-up             Starting the system up
  --shutdown            Shutting the system down
  --reboot              Rebooting the system
  --updates             Applying updates
  --system-upgrade      Upgrading the OS to a new version
  --firmware-upgrade    Upgrading firmware to a new version

Options for system-update command:
  --progress=<integer>    The percentage progress of the updates

Options for update command:
  --status=<string>    Tell daemon the current boot status

Options for update-root-fs command:
  --new-root-dir=<string>    Root filesystem is about to change
  --read-write               Root filesystem is no longer read-only

Options for ask-for-password command:
  --command=<string>             Command to send password to via standard input
  --prompt=<string>              Message to display when asking for password
  --number-of-tries=<integer>    Number of times to ask before giving up (requires --command)
  --dont-pause-progress          Don't pause boot progress bar while asking

Options for ask-question command:
  --command=<string>       Command to send the answer to via standard input
  --prompt=<string>        Message to display when asking the question
  --dont-pause-progress    Don't pause boot progress bar while asking

Options for display-message command:
  --text=<string>    The message text

Options for hide-message command:
  --text=<string>    The message text

Options for watch-keystroke command:
  --command=<string>    Command to send keystroke to via standard input
  --keys=<string>       Keys to become sensitive to

Options for ignore-keystroke command:
  --keys=<string>    Keys to remove sensitivity to

Options for quit command:
  --retain-splash    Don't explicitly hide boot splash on exit

That file doesn't exist, even though plymouthd is installed. Seems Mint didn't take the beaten path with their plymouth implementation...

@emiellr searching the web, I found this: https://forums.linuxmint.com/viewtopic.php?t=385526

That actually was how I fixed it, just forgot to come back here to tell y'all. Not sure what correct 'priority' values would be.

Hi @emiellr, I added a FAQ section mentioning your solution for mint (which I suppose applies to ubuntu as well). Since I don't have a mint/ubuntu install, can you please confirm if my documentation works for you?

For Kubuntu (23.04), I use this but it should work for Ubuntu too I assume, tried the /lib/plymouth/themes path but it didn't show the theme correctly.

Copy the theme folder --> /usr/share/plymouth/themes/.
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/catppuccin-mocha/catppuccin-mocha.plymouth 200
sudo update-alternatives --config default.plymouth
Select the desired item with the theme.
sudo update-initramfs -u


[Constraint solver] After binding a type variable, activate affected constraints

Once we've bound a type variable, we find those inactive constraints
that mention the type variable and make them active, so they'll be
simplified again. However, we weren't finding all constraints that
could be affected---in particular, we weren't searching everything
related to the type variables in the equivalence class, which meant
that some constraints would not get visited... and we would to
type-check simply because we didn't look at a constraint again when we
should have.
Fixes rdar://problem/29633747.

@swift-ci please smoke test


{Synapse} az synapse workspace update: Fix parameter --sql-admin-login-password bug

Related command

Fix az synapse workspace update --sql-admin-login-password bug
Description

This bug is from an icm https://portal.microsofticm.com/imp/v3/incidents/details/337894289/home
Testing Guide

History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Synapse


Implement replacement framework in binder.

In duckdb, when the user tries to query a table which is not defined in the binder, their binder will try to call the replace function to replace the table.
E.g. the user tries to scan from a pandas table which is unknown to the binder, the replacement function will then be called to replace the pandas dataframe with the py::handle pointer.
LOAD FROM person RETURN * (where person is a pandas dataframe and not a table name in kuzu). Since the person table is unknown to binder, binder will call the replacement function to bind the person label.

This is mostly done in PR #2731


improve error handling in http2

This PR should also fix our CI problems with failing tests at the moment.
It seems like cryptography doesn't like it when threads (and sockets) are still open at the end of the test suite. It will segfault and therefore fail the test run.


Possible update to Minecraft version 1.21.4?

Hello, I wanted to ask you if you could update the mod to Minecraft version 1.21.4, you mod is really the best one when it comes to elytra autoswitch and I really miss it.
Thank you :)

You can use the auto switch elytra 1.21.3 version on minecraft 1.21.4. And I tested today and it can run normally

Thank you very much it works perfectly!


Adding DB metrics

Codecov Report

Merging #9 into master will decrease coverage by 10.96%.
The diff coverage is 40.33%.

@@             Coverage Diff             @@
##           master       #9       +/-   ##
===========================================
- Coverage   73.93%   62.96%   -10.97%
===========================================
  Files           6        7        +1
  Lines         234      351      +117
===========================================
+ Hits          173      221       +48
- Misses         60      128       +68
- Partials        1        2        +1

Impacted Files
Coverage Δ

db/executer.go
0% <0%> (ø)
:arrow_up:

db/db.go
44.35% <20.4%> (-14.86%)
:arrow_down:

db/metrics.go
77.55% <77.55%> (ø)

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 c79e6db...e8205ed. Read the comment docs.


Can't open in message links

Description:
After update to latest version, whenever I try to open a link from a message, nchat only "blinks" and does nothing more.
How to reproduce it:
Don't know
Environment:

Version: 3.16
OS / distro: macos 13.0.1

Hi @Bellavene - I tested here just now (also macOS 13.0.1) and I don't see the issue. Selecting a message and pressing CTRL-w opens any link(s) in the message.
Can I check what key binding you have for open_link in ~/.nchat/key.conf?
You can run grep open_link ~/.nchat/key.conf in the terminal to obtain it.

Hello Kristofer!
Yes, It is set as supposed to be. The screen just blinks to prompt in a millisecond and nothing.
Thank you

Could you perhaps share a copy of your ~/.nchat/key.conf? (you can just drag'n'drop into the comment field I think)
Basically I'd like to see if there is some key binding conflict.

Here you go. But as I sayd, I believe it is something else.

Thank you. Yes, looks like you're right - this key.conf works fine for me.
Have you configured attachment_open_command in ~/.nchat/ui.conf? Or is it empty?
One more thing to check could be if there's any log warning in ~/.nchat/log.txt after you try opening a link? Nchat uses an external command to open links, and if that command fails, nchat logs something on this format:
cmd \"%s\" failed (%d)"

Ok I see, I suppose we can add support in nchat for a separate config parameter like link_open_command, to make it more straight-forward to configure. Let me look into this.
As a temporary workaround you could create a wrapper shell script which detects if it's being passed an url or not.

Thank you. Would be useful if open links and open_command would be separated. But I can use a shell script as a workflow :)

Haha, we wrote the same things. Thank you

Hi again, in the above commit support for configuring link open command separately has been added. The parameter is link_open_command in ~/.nchat/ui.conf. Refer to README.md for more details.


BarcodeScanner.scan() does not take in options -- comes back undefined.

This just removes options from the call to barcodeScanner. The method only needs a success and failure function.

i try to remove options, but still cordova is not defined
how to fix it?


[Feature Request] Docker Attach Support

add a button to attach to a container and acces to it's logs, stdout, stderr and stdin

Isnt this already covered? Click on a container name in the container list, and you can see its logs, console, and stats
Rgds,
Neil Cresswell
On 13/02/2017, at 11:13 AM, David Duarte <notifications<EMAIL_ADDRESS>wrote:
add a button to attach to a container and acces to it's logs, stdout, stderr and stdin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_592&d=DQMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=lhjLcL6m40QJ2C0AjbT7X_oQ0igZvTfxi6xNZAaCw9s&s=T0BVoiPwX8pZBZzGKJUEsYPh1dOzzDTowG610NvWY5w&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlT14pNPbC8tn1R6Rp50DGaKC9tITks5rb4P0gaJpZM4L-2DpCB&d=DQMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=lhjLcL6m40QJ2C0AjbT7X_oQ0igZvTfxi6xNZAaCw9s&s=Eyhqv3SsuyXww5qgJL_qYpwuQaccl18ulFvxiWVWTHM&e=.

@ncresswell yes but when a container is run with -it the stdin is available with docker attach

@DeltaEvo what's the difference? I mean if it's just to have access to the logs you can head to the container logs view.

@deviantony with docker attach you have access to the stdin when it's available.

Ok so basically you'd like an attach action in the container view which would open a console similiar to the container-console but with an attached session instead of an exec session. Is that correct ?

Yes is that @deviantony :)

Ok, we'll track this one.

Need this feature to use ctop  container from portainer.

Any update on this? docker attach is pretty much an absolute necessity for stdin alone, let alone interfacing with non-headless workloads such as SRCDS, rTorrent, irssi... etc.

No eta as yet...
Rgds,
Neil Cresswell
On 27/12/2017, at 9:36 AM, Kyle Sanderson <notifications<EMAIL_ADDRESS>wrote:
Any update on this? docker attach is pretty much an absolute necessity for stdin alone, let alone interfacing with non-headless workloads such as SRCDS, rTorrent, irssi... etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_592-23issuecomment-2D354010592&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=3z2STYEKIFaXxOIKdIyjUjw0yZFUdiHdwQZbWbeyI8c&s=wdC--8PCtUxXW2Mj503sBnUCEPJ5gMjA6oF8Ecq6HXs&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrldfYGcnPzuoFldIUEwQQzl2n7ZN7ks5tEVi3gaJpZM4L-2DpCB&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=3z2STYEKIFaXxOIKdIyjUjw0yZFUdiHdwQZbWbeyI8c&s=p1cqFITLn4u-Q5uoKAChvAgqgw-WK742j_3ZHx_jd_Q&e=.

I would like to check if there was any progress on this feature? I need it to access the console of game servers.

@exwizzard no ETA yet

Bump, very useful for game servers

Any News?

This would be fantastic for interactive sessions being run inside containers a la GNU screen.
I'm a huge fan of the console button on the container screen, but this opens a new shell - it doesn't show the state of the world inside the container.
I'm constantly doing a docker attach xzy to jump into a container and interact with a shell or app. When I finish typing, I detach, knowing that I'll be able to join it again later, screen-style.

Indeed @deviantony where is this at? :(

Sorry guys, no work on this topic at the moment so no ETA.
We'd accept any contribution on the topic though, it's basically a front-end update and I'd be happy to discuss required changes on Slack, anyone motivated enough to tackle this who needs more info just pm me.

@deviantony I'm in.

@mrdrogdrog ping me on slack (alapenna) at https://portainer.slack.com

Here is what I think should be done to add support for this feature request:
UX/UI

[ ] Add a "Attach" action in the container-details view

[ ] On click on this action, it should redirect the user to the container-console view with the console already deployed and attached to the container

The content of the information panel on top of the console might need to be updated.
Useful links:

docker attach manual: https://docs.docker.com/engine/reference/commandline/attach/

Technical details
It might not be necessary to create a new websocket handler in the backend as we did for the container console. The Docker API exposes a websocket endpoint for the ContainerAttachWebsocket operation, see : https://docs.docker.com/engine/api/v1.39/#operation/ContainerAttachWebsocket
If we can leverage this API endpoint, then this might be a pure front-end enhancement.

Okay. I'll write here or PM you on Slack as soon as I make some progress.

If we can leverage this API endpoint, then this might be a pure front-end enhancement.

Unfortunately it's not. The proxycode can only handle normal HTTP requests. 😕

@mrdrogdrog xterm can connect directly to a websocket endpoint, have you tried that?

Yes. I tried to connect to /api/endpoints/1/docker/containers/{hash}/attach/ws, because every request under /api/endpoints/1/docker is proxied directly to the docker api. The api answers with code 101 (switching protocols). Now comes the tricky part. The docker-api is now in websocket-mode, but the proxycode is stuck on http 101 and tries to write everything into the response-body, which is illegal.

Current state:

[x] Add a "Attach" action in the container-details view
[x] On click on this action, it should redirect the user to the container-console view with the console already deployed and attached to the container

Next state:
Testing, Testing, Testing.

Current Tasks:

[] Testing
[] Update swagger.yaml

Okay. I'm ready for the PR.


⚠ Bofrost.be has degraded performance

In 91aa3f1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1250 ms

Resolved: Bofrost.be performance has improved in a0ad398.


Add German translation

This adds German translations.
The pull request depends on #24 and should be merged after it, therefore I'm keeping it as a draft. Unfortunately, I cannot set the base branch to the branch of #24, so this pull request contains all commits from that pull request as well. They will disappear, once #24 is merged.
This pull request is ready to be reviewed, the only change is commit 3abee157460bad2e5eac96b0e19c95d7a5f9ec2f.

@nt4f04uNd I wonder if it would be ok with you to remove the<EMAIL_ADDRESS>metadata entries for all translations that are a text type and have no parameters or other metadata. The text type seems to be the default, so these metadata entries are not actually required.

If you are ok with it, I would remove them from the German translation in this pull request and create a new pull request to remove them in the English and Russian translation files as well.
And while we are on the topic, how do you feel about removing all unused translations? We could always retrieve them later from the git history, if we need them.

It seems fine to remove the unused metadata, but let's first merge https://github.com/nt4f04uNd/sweyer/pull/24, so those changes don't add more mess to the review.
Let's keep the unused strings, I kept them to reuse in the future. One day I will review them and delete, when I'm sure they are no longer needed.


Feature Request : Candle Stick Pattern Hammer Identification

For Both Bullish and Bearish Hammer.

This is added to the library thanks to @marcus-n3rd who added the complete set with full explanation in the PR. Feel free to check the PR and let us know if you have any comments


add edit-job function and changed the ansible_k8s path in AdminServer - [merged]

In GitLab by @liyanq528 on Jun 12, 2020, 07:42
Merges edit-job-service -> dev

In GitLab by @liyanq528 on Jun 12, 2020, 08:03
changed title from add edit-job function to add edit-job function{+ and changed the ansible_k8s path in AdminServer+}

In GitLab by @wknet123 on Jun 12, 2020, 08:11
merged

In GitLab by @wknet123 on Jun 12, 2020, 08:11
mentioned in commit d060c463503cd2843117de6511d51d4dc5ad18cd


Horizontal boxplots don't work

This is with the latest master (0.12.3).
import cufflinks as cf
import pandas as pd
import numpy as np
cf.go_offline()

print(cf.__version__)
df = pd.DataFrame(np.random.rand(10, 5), columns=['A', 'B', 'C', 'D', 'E'])
df.iplot(kind='box', orientation='h')

Done. This should work fine now.

Thank you, works great.


stop android pdf.js update

how do i stop android pdf.js add on from updating on phone

It's unclear what this means since we don't distribute a PDF.js add-on for mobile.


Similar named track already downloaded prompts about overwriting

If a track whose filename comes in a track which has been already been downloaded we get prompted about overwriting the old track. For example, this is a false positive case:
$ python3 spotdl.py -s "nightcore - uncover you"
INFO: Nightcore - Uncover You - (Lyrics) (http://www.youtube.com/watch?v=9B8yuzO5HkU)
WARNING: Could not find metadata
  3,231,717.0 Bytes [100.00%] received. Rate: [1020 KB/s].  ETA: [0 secs]
INFO: Converting Nightcore - Uncover You - (Lyrics).m4a to mp3

$ ls ~/Music/
'Nightcore - Uncover You - (Lyrics).mp3'

$ python3 spotdl.py -s "nightcore - uncover"
INFO: Nightcore - Uncover (http://www.youtube.com/watch?v=Dz3C_EDx2kE)
WARNING: Could not find metadata
WARNING: "Nightcore - Uncover You - (Lyrics).mp3" already exists
INFO: "Nightcore - Uncover You - (Lyrics).mp3" has already been downloaded. Re-download? (y/N):
> y
  3,133,515.0 Bytes [100.00%] received. Rate: [ 1830 KB/s].  ETA: [0 secs]
INFO: Converting Nightcore - Uncover.m4a to mp3

$ ls ~/Music/
'Nightcore - Uncover.mp3'

These are two different nightcore tracks. The first track's filename is "Nightcore - Uncover You - (Lyrics)" while second track's filename is "Nightcore - Uncover" and by our current logic, it would end up assuming same track has been already been downloaded.
>>>  "Nightcore - Uncover" in "Nightcore - Uncover You - (Lyrics)"
True

We need to refactor our function which checks for duplicate filenames and possibly even add a regression test.

Fixed it, I will create a PR in a second.


Push new images on every merge to master.

It will be nice to get a new latest image on every merge to master.

Hey @SchSeba -- I have a pull request I'm brewing for this one. It's available in this branch, it should go in soon. https://github.com/intel/multus-cni/tree/travis-ci
The gist is that we'd like the :latest to be the latest tagged version. And we'll have :snapshot be the latest tip of master.

@dougbtv Sounds good to me thanks!

Also just FYI that there's a :snapshot available now that is latest tip, built late last week!
Thanks regardless for the PR, for sure!

@dougbtv I need this commit https://github.com/intel/multus-cni/commit/ec543570b5604c783e70410cc98405fa8a944915 and is not on the last snapshot build

Hrmmm, kind of looks like it's there...
[root@imagebuilder multus-cni]# docker run -it --entrypoint=/bin/bash nfvpe/multus:snapshot
[root@e0e41fc4ec50 /]# cat /usr/src/multus-cni/multus/multus.go | grep IgnoreUnknown
		if os.Setenv("CNI_ARGS",fmt.Sprintf("%s;IgnoreUnknown=true;MAC=%s", os.Getenv("CNI_ARGS"), delegate.MacRequest)) != nil {
[root@e0e41fc4ec50 /]# exit
exit
[root@imagebuilder multus-cni]# docker images | grep snapshot
docker.io/nfvpe/multus      snapshot            6561da039be5        3 days ago          412 MB
nfvpe/multus                snapshot            6561da039be5        3 days ago          412 MB

@dougbtv
Sorry I don't checked inside the container I checked on the travis branch and the change is not there https://github.com/intel/multus-cni/blob/travis-ci/multus/multus.go#L181.
But if the snapshot image contains it is good!
Thanks for your help!

Hey no prob for sure! Snapshot image is good to go, even just got a fresh rebuild -- I have the travis script in so you'll get new :snapshot images with each merge to master now, pulled in from the travis-ci branch in PR #194


lib/os/heap: facility to dump the heap structure to the cconsole for debugging

It is linked in only when used, so handy to always have it around for
analysis purposes.

On Thu, 25 Jun 2020, Andrew Boie wrote:

a lintian check failed:

Fixed.


Panel based version of this-not-that

This provides an update of the basic this-not-that to use a modular design with the Panel library. Documentation, tests, etc. are still required, but I was hoping to merge the basics of the new functionality first and then we can get working of filling out the rest, and then start adding new functionality.

 Bokeh experiments

I'm sorry I took so long


Regex rule - unexpected warning with comma character

I know that reflection for test is not best way, but I wanted leave test for it anyway

Thank you @Vandervir :+1:


Returns empty for https://growfusely.com/

I've tried all possible settings offered but none are able to correctly retrieve data from URLs on this site: https://growfusely.com/

This website should be using some kind of anti-spider technique, where it would proactively close itself, failing the fetch process.


default_prefix: set macOS default prefix on Linux if simulating it

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

This should fix the doctor complaining on Linux in homebrew-core:
Warning: Your Homebrew's prefix is not /usr/local.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/usr/local).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.

The DEFAULT_PREFIX should not be set to the macOS one when setting HOMEBREW_FORCE_HOMEBREW_ON_LINUX.
Since we have stricter env var (HOMEBREW_SIMULATE_MACOS_ON_LINUX), then use it rather than the former.
Also, doctor was right complaining about this issue of course, because now every bottle built for Linux in homebrew-core has the prefix set to the macOS one and I gotta rebuild those formulae after this PR is merged.
Example of latest Linux bottle JSON with wrong prefix:
{
  "pkg-config": {
    "formula": {
      "name": "pkg-config",
      "pkg_version": "0.29.2_3",
      "path": "Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb",
      "tap_git_path": "Formula/pkg-config.rb",
      "tap_git_revision": "a7d01ae87028dd276476059772dd4a4db2aa6a63",
      "tap_git_remote": "https://github.com/Homebrew/homebrew-core",
      "desc": "Manage compile and link flags for libraries",
      "license": "GPL-2.0-or-later",
      "homepage": "https://freedesktop.org/wiki/Software/pkg-config/"
    },
    "bottle": {
      "root_url": "https://ghcr.io/v2/homebrew/core",
      "prefix": "/usr/local",
      "cellar": "any_skip_relocation",
      "rebuild": 0,
      "date": "2021-06-26",
      "tags": {
        "x86_64_linux": {
          "filename": "pkg-config-0.29.2_3.x86_64_linux.bottle.tar.gz",
          "local_filename": "pkg-config--0.29.2_3.x86_64_linux.bottle.tar.gz",
          "sha256": "3d9b8bf9b7b4bd08086be1104e3e18afb1c437dfaca03e6e7df8f2710b9c1c1a",
          "formulae_brew_sh_path": "formula",
          "tab": {
            "homebrew_version": "3.2.0-59-g196ec61",
            "changed_files": [
            ],
            "source_modified_time":<PHONE_NUMBER>,
            "compiler": "gcc-5",
            "runtime_dependencies": [
            ],
            "arch": "x86_64",
            "built_on": {
              "os": "Linux",
              "os_version": "Ubuntu 16.04.7 LTS",
              "cpu_family": "broadwell",
              "glibc_version": "2.23",
              "oldest_cpu_family": "core2"
            }
          }
        }
      }
    }
  }
}

Review period skipped due to critical label.

If set, running Homebrew on Linux will use URLs for macOS. This is useful when merging pull requests for macOS while on Linux.

From the manpage about HOMEBREW_FORCE_HOMEBREW_ON_LINUX. Nothing about paths.

I'm ok with the change. I'll let your merge it when you have time to do the follow up tests in homebrew-core

Makes sense, thanks @dawidd6!


Please consider using prepend rather than alias_method

Please, read this article from NewRelic on the subject. I feel that it will become more and more usual for people to use the prepend method introduced in Ruby 2.0 than keep using alias_method. Since you are starting this project recently, it would be a good time to change the approach to prefer prepend over alias_method:
https://blog.newrelic.com/2016/12/15/ruby-agent-module-prepend-alias-method-chains/
Thanks for building tracebin! I've been thinking about building my own APM solution for quite some time but never found the time to do that, so it's nice to see such projects being created :)
I haven't tried your solution yet, but I'm curious about one thing. I find it great that you store and start and end times and not only the duration. We have an special case in one of our expensive requests where we fetch multiple data from the database concurrently, using separate connections in separate threads to speed things up. It seems that out of the box it won't work with your solution or any other I'm aware of because usually you'll set those values in thread-local variables, which is fine. However, supposing I would instrument those queries run in separate threads manually, I'm curious how those would be presented in a transaction. I mean, I'd expect to see them like I see the static resources in Google Chrome's DevTools for example, in which I can see when each resource is starting and when they finish running. Simply summing all times to calculate the total duration would lead to a greater duration than the actual total request duration, of course, that's why it would be interested to see such requests in a timeline view. Does your UI support something like that?

Hi, thank you so much for your feedback! The next version will most likely use prepend (as you said, it's better to catch it early)--the main reason I chose alias_method for now was my familiarity with it. I plan on getting some more work done on the agent when as I get less busy!
Regarding concurrency within a transaction, you are correct in saying the current version doesn't provide a lot of support for it, but it's definitely something I've thought a lot about. I do expose a way to manually instrument anything, but that just appears as "other" in the UI (a purple bar in the waterfall chart). Assuming there is a way for async events to get accounted for, it wouldn't be too hard on the server side to make sure overlapping events don't get accounted for multiple times in the endpoint table. I already do something similar to this when accounting for DB events that happen during a View event--DB timings that take place inside a View process subtracted out of the total View timings. Also (again, assuming we've found a way to instrument concurrent events within the transaction), the waterfall diagram should work as intended with the current implementation. Here is an example of that waterfall diagram I have in the UI at this time. I'll get a live example up at some point this week so you can see it in action.
I think the trouble lies in getting async events to get accounted for in the transaction, since as you observed, transaction data gets stored in a thread local variable. I think the best way to do this with the current design is to hook in before the event begins, and to hook into the callback that runs after it ends. This way all the data stays in the same thread. I think then the idea would be to implement this pattern for the different asynchronous workflows, since we might be using something like PG::Connection#exec_async or something in Concurrent, or even pure Ruby.
Again, thank you so much for your feedback--it's given me a lot to think about for future iterations :D.

That waterfall chart is exactly what I was looking for, thanks. Do I get the details when clicking or hovering those items? For example, with many database queries in parallel, I'd like to see the query details for each of those bars.
Regarding threads inside a transaction, maybe an alternative would be providing some alternative to Thread.start/new:
# original code:
[
  Thread.new{ fetch_tasks },
  Thread.new{ fetch_alerts },
].each &:join

# we could use something like:

[
  Tracebin.thread{ fetch_tasks },
  Tracebin.thread{ fetch_alerts },
].each &:join


add log replay comparisons in fake cloud logging server

a follow up on previous PR #417

/gcbrun

Hi @alexmwu ! Could you take a look?

/gcbrun


Fix/deadlock: literal copies lock value

Test with vet command, an error occurred. Changing the structure value to a pointer value will fix this potential problem.
$ go vet ./...
# github.com/sourcegraph/conc/pool
pool/pool.go:105:14: cannot use *p.WithErrors() (variable of type ErrorPool) as type *ErrorPool in struct literal
# github.com/sourcegraph/conc/pool
vet: pool/pool.go:105:14: cannot use *p.WithErrors() (variable of type ErrorPool) as *ErrorPool value in struct literal

So, I was aware of this lint warning, but calling WithErrors() should never happen after a call to Go() which is when the copied lock is actually used. I'd like to avoid making the nested pool a pointer value both because it adds an allocation and it makes the zero value of ErrorPool unusable.
Unfortunately, it's also not a great look to have copied lock lints hanging around, so I think it might be best to just construct the new pool manually rather than copying by deref.

As an alternative, I've opened #8 that still maintains usable zero values for ErrorGroup

Closing in favor of #8. Thanks for the report!


try catch will hide the real error when instruction function parameter name does not match with  #[instruction()]

https://github.com/coral-xyz/anchor/blame/72c7e09538f38fa98de56caeee6e8c030c8b66b2/ts/packages/anchor/src/program/accounts-resolver.ts#L337

Ambiguous  error

but when I added console.error to the catch block, the actual error is

Thanks for creating the issue. This indeed looks like a problem, but it's a bit tricky to solve because of the issue mentioned above the try block:
https://github.com/coral-xyz/anchor/blob/72c7e09538f38fa98de56caeee6e8c030c8b66b2/ts/packages/anchor/src/program/accounts-resolver.ts#L316-L319
To solve this problem, we can:

Enforce the parameter names to be identical from Rust side (or at least in the IDL)
Store the errors that get caught and show them if resolution fails due to reaching max depth.

Related: you should at least get which account has the resolution issue after https://github.com/coral-xyz/anchor/pull/3207.


Can i use multiple Instances on the same script to update different sensors at different rates?

I would like to have different updates for different sensors, and the method to set the update rate doesn't seem to be sensor specific. Therefore, is it possible to have an instance of the plugin object for each sensor i need so that i can set each at a different update rate? thank you in advance!

Just tried, yes it is possible


4.23.0 hololens build fails

Output of the ue4-docker info command:
ue4-docker version:         0.0.36 (latest available version is 0.0.36)
Operating system:           Windows Server 2019 Datacenter Version 1809 (OS Build 17763.737)
Docker daemon version:      19.03.2
NVIDIA Docker supported:    No
Maximum image size:         200GB
Available disk space:       648.61 GiB
Total system memory:        30.98 GiB physical, 34.73 GiB virtual
Number of processors:       8 physical, 16 logical

Running the following command
ue4-docker build 4.23.0 --no-engine --exclude debug --exclude templates
Gives the following error
****** [6/12] Compile UE4Game HoloLens

Reading local file list from C:\UnrealEngine\Engine\Saved\BuildGraph\Compile UnrealHeaderTool Win64\Tag-Compile UnrealHeaderTool Win64.xml
Reading local file list from C:\UnrealEngine\Engine\Saved\BuildGraph\Update Version Files\Tag-Update Version Files.xml
Reading shared manifest from C:\UnrealEngine\Engine\Saved\BuildGraph\Compile UnrealHeaderTool Win64\Manifest.xml
Running: C:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game HoloLens DebugGame -Manifest=C:\UnrealEngine\Engine\Intermediate\Build\Manifest.xml -nobuilduht -NoHotReload -xgeexport  -NoUBTMakefiles -nobuilduht -precompile -allmodules -nolink -architecture=arm64 -nodebuginfo -log="C:\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-HoloLens-DebugGame.txt"
  Using 'git status' to determine working set for adaptive non-unity build (C:\UnrealEngine).
  Using ARM64 architecture for deploying to HoloLens device
  ERROR: No required compiler toolchain found in C:\BuildTools\VC\Tools\MSVC\14.16.27023
Took 1.6713579s to run UnrealBuildTool.exe, ExitCode=5
UnrealBuildTool failed. See log for more details. (C:\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-HoloLens-DebugGame.txt)
AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED
The command 'cmd /S /C .\Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:HostPlatformOnly=true &&         python C:\exclude-components.py C:\UnrealEngine\LocalBuilds\Engine\Windows %EXCLUDE_DEBUG% %EXCLUDE_TEMPLATES% && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.' returned a non-zero code: 5
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.23.0-ltsc2019".

I'm going to attempt to disable the hololens build from the dockerfile and see how things go from there.

Thanks for reporting this! Could you please give it another try using the changes introduced in commit 689ab7a and let me know how you go?

Thanks for the quick reply.
I tried essentially the same thing - I altered the dockerfile to the following and it got through the build process fine.
RUN .\Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:HostPlatformOnly=true -set:WithHoloLens=false && ` 	python C:\exclude-components.py C:\UnrealEngine\LocalBuilds\Engine\Windows %EXCLUDE_DEBUG% %EXCLUDE_TEMPLATES%

The fix for this is now live in ue4-docker version 0.0.37.


Improve the orchestrate ability of components

Some survey research:

https://github.com/ansible-community/ansible-bender
https://github.com/ansible/ansible-container(DEPRECATED)
https://github.com/openstack/kolla
https://github.com/openstack/kolla-ansible

IMO, the scalability has several levels:

image-level: like this: https://github.com/openstack/kolla/blob/76d78b50c0208795c4bc93b932e7fb0e79a036fc/docker/grafana/Dockerfile.j2 which let user choose different versions;
compose-level: multiple images orchestration also uses the ability of the Jinja template;
container-level(runtime): use ansible container (Jinja + playbook) to do some initial works (lakehouse configuration, and so on) in the cluster;

@pan3793 WYDT?

I would expect an image-level solution.
My original idea is very simple, use a template engine to render Dockerfile, files/, docker-compose.yaml, etc. that we write by hand currently.

The idea is similar to helm, using the template engine to render the final yaml files which describe the resource deployed to K8s.

I would expect an image-level solution.
My original idea is very simple, use a template engine to render Dockerfile, files/, docker-compose.yaml, etc. that we write by hand currently.

Ok, so your thought is static rendering. Let me think if there is any scenario that requires dynamic rendering.

Let's discuss the potential split sub-tasks, my thought is:

Introduce ansible and simply refactor Dockerfile via Jinja2 template to pass through the whole flow;
Extract some existing hard code work into templates, which means deep refactoring;
Through the above two steps, we can infer a unified mechanism for the scalability in the future;

WDYT?


Cannot compile the current dev branch

Fresh git clone from the current dev branch cannot compile on my system (regularly updated Artix Linux, gcc version 11.1.0 (GCC)). I executed:
$ git clone --recursive --branch dev https://git.skyjake.fi/gemini/lagrange
$ cd lagrange
$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- Compiling bincat for merging resource files...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/strajder/src/lagrange/build/res
Consolidate compiler generated dependencies of target bincat
[100%] Built target bincat
-- CPU supports SSE 4.1
-- Checking for module 'eopenssl11'
--   Package 'eopenssl11', required by 'virtual:world', not found
-- Checking for module 'openssl'
--   Found openssl, version 1.1.1l
-- Preparing resources...
--   res/default.fontpack
CMake Error at res/Embed.cmake:133 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:119 (embed_make)

...

-- Configuring incomplete, errors occurred!
See also "/home/strajder/src/lagrange/build/CMakeFiles/CMakeOutput.log".
See also "/home/strajder/src/lagrange/build/CMakeFiles/CMakeError.log".

Attached files:
CMakeError.log
CMakeOutput.log

The Debian CI build here on GitHub seems to have the same error, although none of my local systems do. I'll investigate what's going on, shouldn't be too difficult to fix.

I have the same on current 1.8.0 release.

Looks like this error occurs when the zip command line utility isn't installed.
At least for me installing it fixes the problem.

I was running into the same issue trying to compile it on my Raspberry Pi and can confirm that installing zip resolved it for me as well. Thanks!

I confirm that installing zip resolves the problem. There should be some check in cmake for it, to make an explicit error message.

16c308157ebb54cf4fc3e0897c7419eb12849b7a should take care of that.

Confirmed, installing zip solved the issue, so I will close it.
@skyjake I think that a sentence about zip being a build requirement should be added to README.md.

Yeah, I'll add that to the README.


Add return type restrictions to JSON, YAML, XML

Why did you remove the restrictions on read_{begin,end}_{array,object} entirely?

@straight-shoota I have realized that those return value are not useful and accidental, they'd better be Nil, except I don't do backwards-incompatible changes here, so better just leave them as is.


how can I prevent the change from the callback

Hi,
First of all thanks for your work, time and attention.
I want to use the callback functions to call an API from AJAX and, depending on the response of the API (success / fail) I may want the switch button to stay the same.
In other words, I want to know how can I prevent the button from changing from the callback function.
Thanks in advance!

is there a reason you don't want the button state to change?

Yes, as I said, I want the button to change a value in my database in real time. If the connection with the database fails for any reason, I would like to prevent the change.

Another posible solution would be to change the button state programatically without triggering the callback. If it is a way to do that, I can work with that too.

Ok, I made this workaround. I know it is bad but it just works for me. I will explain it only for the "light" mode because it is the only one I'm using.
First, I change the event so it gives the callback function the id instead of the value:
    /**
     * @param {object} instance
     * @param {string} id
     * @param {boolean} toggle
     * @param {boolean|string} value
     */
    var lightClickEvent = function (instance, id, toggle, value) {
        if (!toggle) {
            $('#light-' + id).addClass('tgl-sw-light-checked tgl-sw-active');

            instance.data('state', true);

            if ($.isFunction(settings.OnCallback)) {
                settings.OnCallback(id);
            }
        } else {
            $('#light-' + id).removeClass('tgl-sw-light-checked tgl-sw-active');

            instance.data('state', false);

            if ($.isFunction(settings.OffCallback)) {
                settings.OffCallback(id);
            }
        }
    };

After that, I prepared this function, witch changes the state of the button without triggering anything, because it only changes classes:
function toggleSwitch(id, state) {
    instance = $("#" + id);
    btn = $("#light-" + id);

    if (state) {
        btn.addClass('tgl-sw-light-checked tgl-sw-active');
        instance.data('state', true);
    } else {
        btn.removeClass('tgl-sw-light-checked tgl-sw-active');
        instance.data('state', false);
    }
}

Finally, I use the id and the function from the callback:
$(".btn-switch").btnSwitch({
    Theme: "Light",

    // callbacks
    OnCallback: function(id) {
        toggleSwitch(id, false);
    },
    OffCallback: function(id) {
        toggleSwitch(id, true);
    },
});

This is working for me right now, but I would appreciate having the posibility to prevent the change from the callback and also to change the button state anytime programatically.

I don't think as it's written currently you can revert the state, one solution could be to add a set state method that you use if the server call fails, I'll try to add that tomorrow for you.


DB BAP service status API regularly fails with 503 Service unavailable

Hi there,
it seems to me the DB BAP service status API quite regularly fails with HTTP 503. With ICEPortal().init() calling the BAP API this exception leaves all other APIs unusable as well. Have you seen this issue, too? I will attach the exact exception below.
Thanks and best regards
WARNING:root:Request to https://iceportal.de/bap/api/bap-service-status returned status code 503
Traceback (most recent call last):
  File "onboard\.venv\Lib\site-packages\requests\models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "AppData\Local\Programs\Python\Python311\Lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "onboard\.venv\Lib\site-packages\onboardapis\utils\data.py", line 459, in _get
    return super(JSONDataConnector, self)._get(endpoint, *args, base_url=base_url, **kwargs).json()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "onboard\.venv\Lib\site-packages\requests\models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "onboard\.venv\Lib\site-packages\onboardapis\trains\__init__.py", line 251, in init
    self._static_data.refresh()
  File "onboard\.venv\Lib\site-packages\onboardapis\trains\germany\db.py", line 31, in refresh
    self._get("/bap/api/bap-service-status")
  File "onboard\.venv\Lib\site-packages\onboardapis\utils\data.py", line 462, in _get
    raise DataInvalidError() from e
onboardapis.exceptions.DataInvalidError: The API returned an invalid response

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "onboard\status.py", line 5, in <module>
    train.init()  # Explicit call to init method to initialize API connection
    ^^^^^^^^^^^^
  File "onboard\.venv\Lib\site-packages\onboardapis\trains\__init__.py", line 254, in init
    raise InitialConnectionError() from e
onboardapis.exceptions.InitialConnectionError: Unable to connect to the API, are you connected to the on-board WI-FI?

Hi,
I've never experienced a 503 with the BAP API. It is however quite new, so I imagine DB is changing things around more or less frequently. I patched the 503 and released a new version. Be warned, that this patch makes any API GETs not null safe anymore, as it only issues a logger warning instead of raising the error.
I believe the patch that I decided on to be sufficient, as I plan to release a new major version soon.

Great, thanks for looking into this so quickly. I will be testing the patch as soon as I get a next chance!


appengine-maven-plugin:2.8.1:deploy failing because it (incorrectly) believes the Java App Engine Components are not installed

Error is
[INFO] --- appengine-maven-plugin:2.8.1:deploy (default-cli) @ licence-server ---
[INFO] Staging the application to: c:\Source\wylas\wylas-licence-server\server\licence-server\target\appengine-staging
[INFO] Detected App Engine appengine-web.xml based application.
[INFO] Deleting the staging directory: c:\Source\wylas\wylas-licence-server\server\licence-server\target\appengine-staging
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.081 s
[INFO] Finished at: 2024-12-05T11:06:44+10:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:2.8.1:deploy (default-cli) on project licence-server: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:2.8.1:deploy failed: com.google.cloud.tools.appengine.operations.cloudsdk.AppEngineJavaComponentsNotInstalledException: Validation Error: Java App Engine components not installed. Fix by running 'gcloud components install app-engine-java' on command-line. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

GCloud component versions:
c:\Source\wylas\wylas-licence-server\server\licence-server>gcloud version
Google Cloud SDK 502.0.0
app-engine-java 2.0.31
app-engine-python 1.9.114
beta 2024.11.15
bq 2.1.9
cloud-datastore-emulator 2.3.1
core 2024.11.15
gcloud-crc32c 1.0.0
gsutil 5.31

Java Version
c:\Source\wylas\wylas-licence-server\server\licence-server>java --version
openjdk 17.0.5 2022-10-18
OpenJDK Runtime Environment OpenLogic-OpenJDK (build 17.0.5+8-adhoc..jdk17u)
OpenJDK 64-Bit Server VM OpenLogic-OpenJDK (build 17.0.5+8-adhoc..jdk17u, mixed mode)

Maven Version
c:\Source\wylas\wylas-licence-server\server\licence-server>mvn -v
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: C:\Dev\apache-maven-3.9.9
Java version: 17.0.8, vendor: OpenLogic, runtime: C:\Dev\jdk-<IP_ADDRESS>
Default locale: en_AU, platform encoding: Cp1252
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

NB attempting to update the GCloud Java Components gives:
c:\Source\wylas\wylas-licence-server\server\licence-server>gcloud components install app-engine-java

All components are up to date.

Is there a work around?

NB I found that this was caused by a corrupted GCloud SDK installation folder.

Can you close the issue then?


Evaluate indexing model

Even though data will be stored in Kafka Topics, we have to define a Materialized View that should be easy to search. There are different options here (e.g. Graph, Full-Text, KeyValue).

We can define it after defining a topic-metadata model.


Feature: Save Current data Button | Import & Export Data

As the Service works on device to device locally, I want to work on the button which allows the user to one click download all the passwords in a single Document File.
This Feature can also be further enhanced as import and export passwords feature,

@jindalpriyanshu101 @jinx-vi-0 Can I work on this? Also add the appropriate tags on the issue

Assigned @AskitEndo


Nuget - Blazor.Extensions.Canvas.JS Dependency does not exist

In 1.2, these were the following Nuget dependencies:

Microsoft.AspNetCore.Blazor.Browser (>= 0.3.0)
Microsoft.AspNetCore.Blazor.Build (>= 0.3.0)

However, in 1.3, the Nuget dependencies are now this:

Blazor.Extensions.Canvas.JS (>= 0.1.3)
Microsoft.AspNetCore.Blazor.Browser (>= 0.4.0)
Microsoft.AspNetCore.Blazor.Build (>= 0.4.0)

Blazor.Extensions.Canvas.JS does not appear to exist.  Trying to access it with nuget.org results in a 404 page.  Also, when trying to install the package via Nuget, the following error appears:

Unable to find package Blazor.Extensions.Canvas.JS. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org

Sorry... I made a mistake while publishing the package.
I've published a new one https://www.nuget.org/packages/Blazor.Extensions.Canvas/0.1.4 but it will take a few minutes to get publicly available and indexed.
Please let me know if you face problems with it.
Thanks for reporting it!

I'm closing the issue as the new package is fixed. Thanks for reporting it!


Improve ColumnSelectionDataFrameTransformer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (be3e253) 100.00% compared to head (4969746) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #275   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           82        82
  Lines         2241      2249    +8
  Branches       244       245    +1
=========================================
+ Hits          2241      2249    +8

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


added full stop plugin

Hi, thanks ! Could you please reorder it so it's alphabetical instead ? Would have done it but it seems you unchecked the option ;)

Never mind, just saw it was merged 😁 I'll do it

Hi, thanks ! Could you please reorder it so it's alphabetical instead ? Would have done it but it seems you unchecked the option ;)

Sorry about that. But thanks for fixing it!

@ozh We don't have an automation workflow for sorting? 🤔 😁


Update macro namings to avoid collisions

Right now, the tuono_lib::handlers macro creates to hidden functions
pub async fn route() -> ...
pub async fn api() -> ...

Since the names are very common, the user might create a function with the same name, breaking then the build.
We should update the names with tuono__internal__route and tuono__internal__api

I'd like to contribute

Do you have rust knowledge to take this task by your own?

I need to refactor the name of functions without any conflicts right?

Nope. We need to update the macro attributes and to accordingly update the generated .tuono/main.rs file (updating then all the tests).

hi there, I want to pick up this task


Add Swedish translation

Thanks for the contribution!

Codecov Report

Merging #371 (2232ee5) into master (97346ff) will not change coverage.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Also, I think the 2 letter language code is sv not se.

Updated! Thank you :-)