Dropdown not work when install fresh laravel jetstream with turbo-laravel

I followed install guide.
Create new account in register page
After login success, dropdown menu not work
If i refresh page, everything work again

If i put  @livewireScripts and livewire-turbolinks.js to guest layout everthing work as expected.

uhm, I think you need the latest version of Livewire (dev-master). Support for Turbo wasn't tagged yet.

uhm, I think you need the latest version of Livewire (dev-master). Support for Turbo wasn't tagged yet.

Updated the documentation. Change Livewire version to dev-master and run composer update livewire/livewire. If that doesn't work, feel free to re-open the issue.
Example from the demo app here.

Updated the documentation. Change Livewire version to dev-master and run composer update livewire/livewire. If that doesn't work, feel free to re-open the issue.
Example from the demo app here.

@tonysm livewire support turbo in https://github.com/livewire/livewire/releases/tag/v2.3.6. If i remove app.js script from guest layout like your demo repo which mean we don't have turbo in authentication page, everthing work fine. I think alpine.js not work if we navigave with turbo after submit form.

@tonysm livewire support turbo in https://github.com/livewire/livewire/releases/tag/v2.3.6. If i remove app.js script from guest layout like your demo repo which mean we don't have turbo in authentication page, everthing work fine. I think alpine.js not work if we navigave with turbo after submit form.

Uhm, indeed. I did remove the app.js from the guest page on my demo app. I'll take another look at it tonight.

Uhm, indeed. I did remove the app.js from the guest page on my demo app. I'll take another look at it tonight.

I found one more issue.
If i navigate between "Profile" and "Team Settings" several time, we have error "Alpine Error: "TypeError: Cannot read property '$wire' of undefined"".
I tried to fix and found library alpine-turbo-drive-adapter

I found one more issue.
If i navigate between "Profile" and "Team Settings" several time, we have error "Alpine Error: "TypeError: Cannot read property '$wire' of undefined"".
I tried to fix and found library alpine-turbo-drive-adapter

The Alpine Turbo Drive Adapter kinda makes it work, but I did have to either:

Add all Livewire scripts/styles to the guest.blade.php layout as well; or
Remove the app.js from the guest layout

Tbh, I'm not sure why the app.js is added to the guest layout, doesn't seem to be used anywhere in the scaffolding pages. But I do think it makes sense to use JS in guest pages, so I'm kinda torn.
I'll go with updating the guest.blade.php to also add the Livewire scripts there 😉

The Alpine Turbo Drive Adapter kinda makes it work, but I did have to either:

Add all Livewire scripts/styles to the guest.blade.php layout as well; or
Remove the app.js from the guest layout

Tbh, I'm not sure why the app.js is added to the guest layout, doesn't seem to be used anywhere in the scaffolding pages. But I do think it makes sense to use JS in guest pages, so I'm kinda torn.
I'll go with updating the guest.blade.php to also add the Livewire scripts there 😉

Hey, @vanthao03596
I've made the changes to also include the alpine-turbo-drive-adapter to the turbo:install call (see https://github.com/tonysm/turbo-laravel/releases/tag/0.0.5), can you take a look? I've also made Stimulus optional, so if you want that too, you need to pass the --stimulus flag.
I'm going to close, but feel free to re-open it if you think it needs to be changed.

Hey, @vanthao03596
I've made the changes to also include the alpine-turbo-drive-adapter to the turbo:install call (see https://github.com/tonysm/turbo-laravel/releases/tag/0.0.5), can you take a look? I've also made Stimulus optional, so if you want that too, you need to pass the --stimulus flag.
I'm going to close, but feel free to re-open it if you think it needs to be changed.

Great work! @tonysm

Great work! @tonysm

@vanthao03596 you're right. I just tested it and looks like Alpine just works now. Weird. Will investigate a bit.

A little update: the problem here has to do with the Alpine+Livewire's entanglement feature together with Turbo. I've opened a PR with the breaking test in the Livewire repo here, if anyone wants to give it a shot.
In the meantime, I shared a workaround on Twitter which consists of simply disabling Turbo visits to Jetstreamp pages and using full page reloads instead. We can achieve that by adding a couple of meta tags to the page head only when visiting via Jetstream.
resources/views/layouts/app.blade.php
@if (config('jetstream-page'))
    <meta name="turbo-cache-control" content="no-cache">
    <meta name="turbo-visit-control" content="reload">
@endif

app/Http/Middleware/JetstreamRoutes.php
<?php

namespace App\Http\Middleware;

use Closure;
use Illuminate\Http\Request;

class JetstreamRoutes
{
    public function handle(Request $request, Closure $next)
    {
        config(['jetstream-page' => true]);

        return $next($request);
    }
}

app/Http/Kernel.php
<?php

namespace App\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
    // ...

    protected $routeMiddleware = [
        // ...
        'jetstream-routes' => \App\Http\Middleware\JetstreamRoutes::class,
    ];
}

config/jetstream.php
<?php

return [
    // ...

    'middleware' => ['web', 'jetstream-routes'],

    // ...
];


Add --show option for virtual mirror of bargraph display on the commandline

To support development, virtual devices, remote LED displays, etc, add a --show option that will display the current LED bargraph on the commandline using ASCII art, with appropriate terminal colors and blinking (where possible).
The --show option should work with all current options, including no options - in which case it will read the LED display and show the current values. If the LED display is a virtual device, or missing, it will show an empty (blank) LED display (same as what you would see after sending the clear command).

This is currently WIP, with the --show commandline already committed and very basic display functionality working - basically a prototype of what the ASCII display would look like.

WIP branch: https://github.com/jasonpeacock/led-bargraph/tree/show-option-6

It's functional :) Now to do some code cleanup and pay off tech debt (tests! docs!)


Compile error when performing matrix multiplication.

When I try to perform a matrix multiplication with 2500 rows and 1 column and 1 row and 4000 columns, the compilation reports an error.

I made this change to part of the code before compiling:

Hi, I will try out your config tomorrow. For now, using CUDA_GEMM 0/1/2/3 or PRE 0 when compiling might help.
Did you compile the standalone executables in core/cuda?

Yes，I have already compile the standalone executables in core/cuda. I run this program in Locally way.
发自我的iPhone
------------------ Original ------------------
From: Christopher Harth-Kitzerow @.>
Date: Thu,Jul 25,2024 4:15 AM
To: chart21/hpmpc @.>
Cc: SJTUHGX @.>, Author @.>
Subject: Re: [chart21/hpmpc] Compile error when performing matrixmultiplication. (Issue #3)
Hi, I will try out your config tomorrow. For now, using CUDA_GEMM 0/1/2/3 or PRE 0 when compiling might help.
Did you compile the standalone executables in core/cuda?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi, I will try out your config tomorrow. For now, using CUDA_GEMM 0/1/2/3 or PRE 0 when compiling might help. Did you compile the standalone executables in core/cuda?

Hi, if possible, I hope you can provide the specific data related to the test in your paper, the specific program and the related setup to make a detailed presentation on github, thank you very much!

Thw code compiles fine for me without errors. Since you get an internal g++ error I suspect that your gcc installation might be too old. Can you check g++ -v? Versions 12 and higher should work. The following may get you started on Debian-based systems:
echo 'deb http://deb.debian.org/debian testing main' > /etc/apt/sources.list.d/testing.list
apt update -y
apt install -y gcc-12 g++-12

Then you can compile with make -j ... COMPILER=g++-12. If that doesn't help let me know if you can compile any program at all and if turning GPU acceleration off or reducing matrix dimensions helps.

Thw code compiles fine for me without errors. Since you get an internal g++ error I suspect that your gcc installation might be too old. Can you check g++ -v? Versions 12 and higher should work. The following may get you started on Debian-based systems:
echo 'deb http://deb.debian.org/debian testing main' > /etc/apt/sources.list.d/testing.list
apt update -y
apt install -y gcc-12 g++-12

Then you can compile with make -j ... COMPILER=g++-12. If that doesn't help let me know if you can compile any program at all and if turning GPU acceleration off or reducing matrix dimensions helps.

Okay, thank you. I encountered this compilation error when trying to run the 4PC protocol, and I used the Multiprocesssing.conf file for the test.

You are trying to run PROTOCOL=1 which is the Sharemind 3PC protocol so trying to compile for a fourth party will fail.
If you want to test 4PC protocols you need to specify PROTOCOL=7,8,9,10,11,12 in your .conf file.
You can see a mapping of protocol ids here:
https://github.com/chart21/hpmpc#Protocols

You are trying to run PROTOCOL=1 which is the Sharemind 3PC protocol so trying to compile for a fourth party will fail. If you want to test 4PC protocols you need to specify PROTOCOL=7,8,9,10,11,12 in your .conf file. You can see a mapping of protocol ids here: https://github.com/chart21/hpmpc#Protocols
I updated the Readme, so this should work depending if you want to run 3PC or 4PC on a distributed setup:
#Distributed Setup, 3PC
python3 measurements/run_config.py -p <party_id> -a <ip_address_party_0> -b <ip_address_party_1> -c <ip_address_party_2> -d <ip_address_party_3> measurements/configs/benchmarks/Multiprocesssing.conf --override NUM_INPUTS=1000000 DATTYPE=512 PROTOCOL=1,2,3,5,6

#Distributed Setup, 4PC
python3 measurements/run_config.py -p <party_id> -a <ip_address_party_0> -b <ip_address_party_1> -c <ip_address_party_2> -d <ip_address_party_3> measurements/configs/benchmarks/Multiprocesssing.conf --override NUM_INPUTS=1000000 DATTYPE=512 PROTOCOL=7,8,9,10,11,12

Thank you, I have solved the previous problem. Now I want to run your programme on a CPU with ARM architecture, but I find that it reports an error when compiled on a standalone machine, even if I add the parameter ARM=1. I don't know what modifications I need to make.

From your error trace it looks like you specified DATTYPE=128 in your config.h.
You need to set it to 32/64 on ARM matching the set Bitlength


User profile doesn't get loaded when opening session page directly

User profile data does not get loaded when we opening session page directly from browser without going though dashboard first, e.g opening https://adab.bearcats.dev/app/session/1 directly from browser address bar.

Notice that the user's name and email are empty. This could lead to other problems such as the "Start talking" button not showing for users that have can_talk privilege.
This is because the user's profile data is loaded by dashboard, and by loading session page directly, this data doesn't get loaded.
Currently the workaround for this is to go back to dashboard, and opening the session from the dashboard page.

Is anyone currently working on this issue?

Maybe @werdna521 can help?

I'll see what I can do about it


Substrate to 9251791

Not sure if things are correct here, but we have to move forward with the merge at this time

What do you mean things_are_correct ? Everything is the same as it was before. Ok, will merge.

I mean that before we skipped the review almost entirely - so before I didn't have any certainty of the correctness of the code. It is mostly trivial changes, except for a few places where the changes are not trivial. So, this time, I've identified those places but didn't go into them yet. Thus - not sure if things are correct, still. Precisely as it was with the last PR.


Work on the speaking times component in autopilot

Remove the speakers tab and add some logic to the speaking times part.

Will be continued in #3045


Warning about "vscode.previewHtml' command which is deprecated"

I'm getting the following warning from VSCode:

Extension 'ajshort.ros' uses the 'vscode.previewHtml' command which is deprecated and will be removed soon. Please file an issue against this extension to update to use VS Code's webview API.

It does not seem to cause problems now..  but it may in the future.
I'm just following what the warning says.
Env:

VS Code 1.32.3
ROS extension 0.3.0

I think it has been removed now. When clicking on 'ROS Master' in the Boottom Right I just get an Error Notification that tells me that the command vscode.previewHtml has not been found.

Great catch! Just want to help confirm that vscode.previewHtml is removed in latest vscode, here is the related issue: https://github.com/Microsoft/vscode/issues/62630

It seem that the author does not update anymore, so what can we do about it?

It's the function in this file: https://github.com/ajshort/vscode-ros/blob/1a7ca4fa5391fc73af0a0433c9945af1332d2a46/src/master.ts
export function showMasterStatus()
{
  return vscode.commands.executeCommand(
    "vscode.previewHtml", vscode.Uri.parse("ros-master:"), undefined, "ROS Master"
  );
}

The vscode.previewHtml has been completely been depricated here microsoft/vscode#62630 and instead the webview api should be used. https://code.visualstudio.com/api/extension-guides/webview


Add settlement contract buffers value monitoring test

This PR adds a test that monitors the value of buffers by using price feeds from ethplorer and coingecko, while restricting the tokens that are checked to the ones included in one of the following lists (whichever can be recovered at the time of the check):

"http://t2crtokens.eth.link"
"https://tokens.1inch.eth.link"
"https://tokenlist.aave.eth.link"

It checks the value of buffers every BUFFER_INTERVAL settlements, a constant currently set to 150, and if the value is above BUFFER_VALUE_THRESHOLD USD, a constant currently set to 200,000, it generates an alert.
The purpose of this PR is to get a better understanding of how quickly our buffers' value increases, since this might be relevant if we want to reduce the bonding pool size requirements.

One comment here is that there are illiquid/random tokens whose value might look high but which can never be effectively be traded at the price reported by coingecko or ethplorer. To mitigate that, we could only focus on a list of "reasonable" tokens.

After a loong time, I got around to implementing some of the suggested changes. Could you have a look @fhenneke ? Thanks!

Did some edits, mainly adding 2 more lists and incorporating some comments. Could you have another look @fhenneke ? (sorry for the back and forth and thanks for checking in this in detail)


ArgumentError, "all arguments must be String: #{args.inspect}"

Describe the bug
ArgumentError when performing vagrant up
Debug output
https://gist.github.com/SeanSith/707dd63c162a9cf8ded232c238fa0711
Expected behavior
Expected a working Ubuntu 24.04 install from the vagrant UTM box
Actual behavior
Setup
brew install vagrant
brew install --cask utm
vagrant plugin install vagrant_utm
vagrant init utm/ubuntu-24.04
# Vagrant here downloads the box successfully
vagrant up

At this point UTM opens, asks to import the box from the ~/.vagrant.d directory. Box does not import, leaving UTM without a VM. Additionally, vagrant does not wait for the import and fails at the console with the debug output above.
Reproduction information
Versions (please complete the following information)::

Operating system: macOS 15.1.1 (M3 Pro, 2023)
UTM version [As seen in About UTM]: 4.5.4 (100) (from Homebrew)
Vagrant version [output of vagrant version]: 2.4.3
Vagrant flavour [Upstream or Distro]: from Homebrew, guessing upstream?
Vagrant plugins versions (including vagrant_utm) [output of vagrant plugin list]: vagrant_utm (0.1.0, global)

Vagrantfile
From vagrant init utm/ubuntu-24.04 (with comments removed):
Vagrant.configure("2") do |config|
  config.vm.box = "utm/ubuntu-24.04"
end

Hi
Thank you for trying 0.1.0 (beta) version of the plugin.
Unfortunately, version 0.1.0+ will only support UTM versions 4.6.x (non-beta)
Please use plugin version 0.0.1 if you want to work with UTM 4.5.x
This is because current plugin version has made a significant change on how VMs are imported. It now uses vagrant box format.
We were able to add corresponding import support in UTM which is available from UTM version 4.6.x only.
I will fix this issue by adding better error message on supported UTM versions for a given plugin version.
Thanks for detailed bug report.


⚠ Bofrost.at has degraded performance

In 04fc443, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1216 ms

Resolved: Bofrost.at performance has improved in 28b7fc8 after 43 minutes.


Docker godot mono 4.1.3 image not working - .NET not initalized

I was trying to run a Gitlab pipeline using this docker image:
barichello/godot-ci:mono-4.1.3
But as soon as the pipeline starts, this is the error I'm getting:
.NET: Initializing module...
ERROR: The host fxr folder does not exist: /usr/share/dotnet/host/fxr.
at: try_get_path_from_dotnet_root (modules/mono/editor/hostfxr_resolver.cpp:325)
ERROR: .NET: One of the dependent libraries is missing. Typically when the hostfxr, hostpolicy or coreclr dynamic libraries are not present in the expected locations.
at: find_hostfxr (modules/mono/mono_gd/gd_mono.cpp:125)
ERROR: .NET: Failed to load hostfxr
at: initialize (modules/mono/mono_gd/gd_mono.cpp:394)
Unable to load .NET runtime, specifically hostfxr.
Attempting to create/edit a project will lead to a crash.
Please install the .NET SDK 6.0 or later from https://dotnet.microsoft.com/en-us/download and restart Godot.
I'm not too good with this, so I'm can't find the answer. Maybe someone can find a solution.

Same error using godot-ci:mono-4.2.1

Hey, so I found out this action which set up dotnet for the workflow
      - name: .NET installation
        uses: actions/setup-dotnet@v3
        with:
          dotnet-version: "6.0.x"

I got it to work but there's more problem keep popping up after this (probably due to me also not knowing how to set all of this up properly lol). But we'll figure out as we go, I hope this helpful for you guys

@mustachebutter I can confirm that using that GitHub action helps a lot and enables the build to succeed 🙌
Now if I can just figure out why the published version has random scripts/connections missing...

Exactly same bug happening on Gitlab Runner on godot-ci:mono-4.2.1 tag.

+1 having this problem too.

I got a fully working example here if anyone needs. Just modify a couple of things for this to work accordingly for your project. I have this pipeline triggered by creating a release tag in GitHub. Build and then push to Itch.IO with butler. That's the usefulness of the docker image, everything is there for us to use, but I feel like the documentation is a bit convoluted for someone who is not used to it.
https://gist.github.com/mustachebutter/eb9e6fd729ea4f1e0006847f7b5fdf22


ud.toolxox.com

Domain
ud.toolxox.com
Link
https://ud.toolxox.com/nmmghgjgjhgjcvbcfbcbcvbfggjhjghjgjhgdfsfrrtryrtaisxmzxvocsdwzzxvbnmdkaoeokgkkgkfkkdkvgndhdhcnnbjgjjkdkskskskffjfjaaal.php?nznmtm=https://toolxox.com/dl/2/dlgrab_1/tmp/grab_im/dl.beatsnoop.com-3000-PY8gjtIWNC.jpg
Version
0.1992
What browsers are you seeing the problem on?
Firefox
What OS are you seeing the problem on?
Windows
Anything else?
The domain is ud.toolxox.com, but on the website of the timer/countdown, it says 'askingtips'.

We do not currently bypass this site based on this list, please read https://github.com/FastForwardTeam/FastForward/issues/656 for more details.
Once we have finished with the project, you are free to reopen the issue.


firebase_core_web: Dependency on old version of web (0.5.1)

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Core
Which platforms are affected?
Web
Description
firebase_core_web seems to have a dependency on an old version of the web library (0.5.1, current is 1.0.0).  This causing several issues including upgrading other libraries which have dependencies on 1.0.0.  I think its also preventing me from being able to compile the app for WASM.
Reproducing the issue
Try setting up a flutter project with the latest version of youtube_player_iframe and firebase_analytics_web.
Firebase Core version
2.17.1
Flutter Version
3.24.1
Relevant Log Output
Resolving dependencies...
Because firebase_analytics_web >=0.5.7+9 <0.5.9 depends on firebase_core_web ^2.17.2 and firebase_analytics_web >=0.5.9 <0.5.9+1 depends on firebase_core_web ^2.17.3, firebase_analytics_web >=0.5.7+9 <0.5.9+1 requires firebase_core_web ^2.17.2.
And because firebase_analytics_web >=0.5.9+1 <0.5.9+2 depends on firebase_core_web ^2.17.4, firebase_analytics_web >=0.5.7+9 <0.5.9+2 requires firebase_core_web ^2.17.2.
And because firebase_analytics_web >=0.5.9+2 depends on firebase_core_web ^2.17.5 which depends on web ^0.5.1, firebase_analytics_web >=0.5.7+9 requires web ^0.5.1.
And because youtube_player_iframe >=5.1.4 depends on youtube_player_iframe_web ^3.0.3 which depends on web ^1.0.0, firebase_analytics_web >=0.5.7+9 is incompatible with youtube_player_iframe >=5.1.4.
So, because decision_app_common depends on both firebase_analytics_web ^0.5.7+9 and youtube_player_iframe ^5.1.5, version solving failed.

Flutter dependencies

Expand Flutter dependencies snippet

dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
freezed_annotation: ^2.4.1
json_annotation: ^4.9.0
equatable: ^2.0.5
uuid: ^4.4.0
get_it: ^7.6.7
intl: ^0.19.0
firebase_core: ^3.0.0
firebase_auth: ^5.1.0
cloud_firestore: ^5.0.1
cloud_functions: ^5.0.1
firebase_analytics_web: ^0.5.7+9
logger: ^2.3.0
flutter_linkify: ^6.0.0
memory_cache: ^1.2.0
youtube_player_iframe: ^5.1.5
device_info_plus: ^10.1.0
hooks_riverpod: ^2.5.1
form_validator: ^2.1.1
hexcolor: ^3.0.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
build_runner: ^2.4.5
freezed: ^2.5.2
json_serializable: ^6.8.0
fake_cloud_firestore: ^3.0.0
mockito: ^5.4.4
Replace this line with the contents of your flutter pub deps -- --style=compact.

</details>

### Additional context and comments

_No response_

yes. they need to be upgrade :(

Hi @tbz43353 , Thanks for the report. However, this issue appears to be a duplicate. You can get more insights here. Also, this PR has all the information you need.


feat(form): add setValue method to FormGroup class

feat(form): add setValue method to FormGroup class

Fixes #175
Description of changes:

Created a new setValue method in the FormGroup class which will set the values for any FormControls in the FormGroup.
Updated the job application demo page to use the new setValue method. For example the following code:

will produce the following page:

Tag a reviewer: @ayoayco
Tasks:

[x] I have ran the build command to make sure apps are working: npm run build
[x] I have ran the tests to make sure nothing is broken: npm run test
[x] I have ran the linter to make sure code is clean: npm run lint
[x] I have reviewed my own code to remove changes that are not needed

Hi @NeilAn99! Thank you for this PR, it looks like you got the solution. There are just some small typescript hiccups 🙂
Can you run npm run check in the project root directory and see where it fails?

Made some new commits, let me know if there's anything else I can improve.


Initiate Sign Language Team

This issue is to initiate a new l10n Team
Please only use this template for submitting a new l10n team initiation requests.
See https://github.com/cncf/glossary/blob/main/LOCALIZATION.md for basic requirements for a new l10n team.

(1) The language and language code for l10n
sign-language
(2) List of volunteers
Name and GitHub Username for each l10n volunteer. Add [A] to make them approvers.

[A] Jay Jackson (@jtjackson)
[A] Andrew Davis (@Dcdavisintech)
Destiny O'Connor (@Deafveloper)

(Note) Next actions from maintainers

Create a new development branch for the l10n. (ex: dev-ko)
Update codeowners to add l10n contents approvers.
Add a new label for the language.

Thanks @jtjackson and all volunteers!!
(FYI: slack discussion to initiate sign language team https://cloud-native.slack.com/archives/C02N2RGFXDF/p1712151186270069)
I am going to create a channel in CNCF slack for the team and add a Github label.

tentative channel name: glossary-sign-language
tentative label name: lang/sign

I am in final checking for the naming.

Hi Jay Jackson (@jtjackson), Andrew Davis (@dcdavisintech), Destiny O'Connor (@Deafveloper)
The team has been initiated with

#glossary-sign-language channel
https://github.com/cncf/glossary/labels/lang%2Fsign

I've opened another issue to list tasks to make Sign Language feature to the Glossary alive.

https://github.com/cncf/glossary/issues/3044

CC: maintainers @iamNoah1 @nate-double-u @jihoon-seo @castrojo

@bashtheshell I am happy to help. Can you give me the usernames of all approvers please? I will need to add them to cncf/people first. @seokho-son we will add them to in the codeowners file for en content right? As the english content will be the one where we add the sign language videos, right?

@iamNoah1 Thank you! On a second thought, no further action is needed from you and @seokho-son at this time as I'll need to reconvene with the others first before being added to cncf/people. My apologies as I was under the impression the approvers have been established according to the above comment on April 12th.
Thanks for your patience as we'll continue to work on the remaining items in the task ticket #3044. Please do let us know if we need to have approvers in place to help move things along as I'm admittedly new to this process.

Hello, @bashtheshell
Thank you for offering to be an approver. I think you are capable of maintaining members for sign language contents in the glossary.
However, as you mentioned, there are currently no specific approvers designated for sign language in the dev-sign or main branches. This is because sign language has a different workflow compared to other language localizations.
Currently, the dev-sign branch is used to test the layout and placement of sign language videos on the glossary page. However, there has been no agreement within the sign-language team regarding continued use of this branch. Unlike other languages, it is likely that a dedicated dev branch for sign language may not be necessary.
The current workflow for contributing sign language videos is as follows:

Develop a sign language video for a term.
The video is reviewed by the sign-language team.
The finalized video is uploaded to the CNCF YouTube channel (via CNCF staff).
A PR is created to add the video link to the glossary page (whether this PR targets the main or dev-sign branch is yet to be determined).
Approvers/reviewers review the PR, and if there are no issues, approve it.
The video is ultimately reflected on [glossary.cncf.io](https://glossary.cncf.io).

Considering this workflow, the part where the sign-language team might require approval authority in the CNCF/glossary GitHub repository is limited to approving PRs that add video links. However, since these PRs do not necessarily require approval from the sign-language team—given that the videos have already undergone review—the need for a separate approver seems minimal. Unlike other languages where content review happens within the PR, sign language PRs simply attach pre-reviewed video links, which limits the scope of review required.
If there are specific elements where the team feels approver authority is necessary, please feel free to suggest them! 😊

Hi @iamNoah1
Yes! If we need to add some designated approvers for sign language, adding them to in the codeowners file for en content seems right approach. But, as I mentioned above, we are not sure approvers for sign language are necessary or not. :)

Thanks for the clear explanation, @seokho-son! Yes, it now make sense why we don't need approvers added to the cncf/people as the video reviews should be done in Slack according to the Style Guide.
I do recall a previous discussion on whether we should use a separate dev-sign branch or main. You had mentioned that it'd be easier to commit to the main branch, and I have to say I concur.
Although, as for the steps you listed, it just occurred to me that we'd need to outline them in the Contribution guideline for the sign language contents as the Style Guide didn't list those steps as it shouldn't. We'll have to create a separate PR for this, and maybe modify the Style Guide a little while we're at it. Thoughts?

Thanks @seokho-son and @bashtheshell. Agree, that we need to update the contribution guidelines :)


fix(@angular/cli): ignore system files in assets

Replaces angular/devkit#263
When copying the assets during build, the CLI must not include system files (e.g. .DS_Store and Thumbs.db).
It is very important for service worker to work : if presents, these files will be included in the service worker manifest as files to cache (according to this schematic). But such files may (and should) not be deployed to the server. Then on the client, files will be missing, then the service worker installation will fail and so all the offline feature won't work.
@hansl @filipesilva @Brocco @alxhub

@filipesilva LGTM but this is legacy SW code anyway, and doesn't affect the 5.0.0 worker.

@alxhub Why is this legacy ? Is the test already done in @angular/service-worker ? Couldn't find it.


vscode extension error

Hey Connor + team,
I'm having an issue where vscode 3.10.2 cant get the ms-python.python extension (Server returned 404). When I remove the version specification, the extension installs, but the next line that writes a python script fails. Related error below:
Mar 24 17:55:10 c41a6fe9d1eb docker-compose[3316]: Step 18/47 : RUN curl -fsSL https://code-server.dev/install.sh | /bin/sh /dev/stdin --version 3.10.2
Mar 24 17:55:10 c41a6fe9d1eb docker-compose[3316]:  ---> Using cache
Mar 24 17:55:10 c41a6fe9d1eb docker-compose[3316]:  ---> 95dcfb51fa92
Mar 24 17:55:10 c41a6fe9d1eb docker-compose[3316]: Step 19/47 : RUN mkdir -p /opt/code-server/extensions && code-server --extensions-dir=/opt/code-server/extensions --install-extension ms-python.python
Mar 24 17:55:10 c41a6fe9d1eb docker-compose[3316]:  ---> Running in 28ea96855e4a
Mar 24 17:55:10 c41a6fe9d1eb docker-compose[3316]: [2022-03-24T17:55:10.985Z] info  Wrote default config file to ~/.config/code-server/config.yaml
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]: Installing extensions...
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]: Server returned 404
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]: [2022-03-24T17:55:11.759Z] error vscode Failed Installing Extensions: ms-python.python
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]: [2022-03-24T17:55:11.761Z] error vscode Error: Failed Installing Extensions: ms-python.python
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]:     at O.installExtensions (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:19:42)
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]:     at async /usr/lib/code-server/lib/vscode/out/vs/server/entry.js:36:90861
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]:     at async M (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:36:94206)
Mar 24 17:55:11 c41a6fe9d1eb docker-compose[3316]:     at async process.<anonymous> (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:36:103823)
Mar 24 17:55:12 c41a6fe9d1eb docker-compose[3316]: The command '/bin/sh -c mkdir -p /opt/code-server/extensions && code-server --extensions-dir=/opt/code-server/extensions --install-extension ms-python.python' returned a non-zero code: 1

Removing version in step 18 and removing step 20 allow the container to build.


Extending beyond N Am temperate

include also the boreal NAM transcom region
do we have ERA5 for boreal NAM?

do we have ERA5 for boreal NAM?

Probably at least partially.
In case we don't, CDS is a mess now so getting more ERA5 data is difficult until they finally finish moving to their new infrastructure.


Add pyxform version to XForm output, closes #393

Please check extra carefully, as I didn't really know what I was doing.
This code assumes each tag has the format 'v'+semantic version, as we've been using so far (except for vv0.88). If you think that may possibly change, I'd be happy to add a few lines to chop off any non numeric starting characters. Or we could not omit any characters (except trimming) and leave it up the data collection clients to do.

Oops. Will try to fix all those failing tests.

I didn't really know what I was doing.

Don't worry about it. None of us know what we are doing and yet here we are...

YEAH! @MartijnR out here writing Python!!
I was hoping this would be really straightforward and get you excited about more pyxform contributions 😉 but hadn't anticipated the test problem. It seems it might be tricky to address because the old style tests do literal comparisons against expected XForm output and the version is dynamic. Darn. I wonder if there's a way to exclude that attribute in the diff? Or maybe it's time to switch those tests over to the new style?

Haha, I was excited initially, indeed!

to address because the old style tests do literal comparisons against expected XForm output and the version is dynamic. Darn. I wonder if there's a way to exclude that attribute in the diff? Or maybe it's time to switch those tests over to the new style?

Exactly what I have finally concluded! Converting to new style tests would seem great. I am trying to remove the attribute from assertXFormEqual atm, but that seems quite a bad solution

Codecov Report

Merging #394 into master will decrease coverage by 0.12%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #394      +/-   ##
==========================================
- Coverage   82.46%   82.34%   -0.13%
==========================================
  Files          23       23
  Lines        3267     3273       +6
  Branches      765      748      -17
==========================================
+ Hits         2694     2695       +1
- Misses        432      435       +3
- Partials      141      143       +2

Impacted Files
Coverage Δ

pyxform/constants.py
100% <100%> (ø)
:arrow_up:

pyxform/xls2json.py
78.34% <100%> (+0.1%)
:arrow_up:

pyxform/survey.py
90.22% <100%> (-0.45%)
:arrow_down:

pyxform/validators/odk_validate/__init__.py
73.58% <0%> (-1.89%)
:arrow_down:

pyxform/validators/util.py
76.84% <0%> (-1.06%)
:arrow_down:

pyxform/survey_element.py
89.9% <0%> (-0.46%)
:arrow_down:

Continue to review full report at Codecov.

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

I spoke with @tiritea on Slack and he said, "Nothing new from me. I'm good."
@MartijnR I've gone ahead and squashed your commits and added a new commit that replaces pyxform_version with generated_by in the PR.

Thank you! That saves me from having to fix my python environment which would have probably taken many hours.


No need to specify deafult location of known_hosts

OCD run https://ocd.appscale.com:8080/job/Daily Build/3723/


corrected translation mistake from what-is-serverless.md in Korean

Found translation mistake from what-is-serverless.md. You can see "We are charged" by which the author means "to ask an amount of money for goods or a service". but korean author means "we are responsible for keeping the server up even when we are not serving out any requests" in Korean, which is the translation mistake because AWS lambda pricing is based on the number of requests and MS Azure functions pricing based on the number of executions. can you please first confirm the author really mean "to ask an amount of money for goods or a service". and then I would like korean maintainer to review this pull request. thanks in advance!

Thanks, adding @bsg-bob for some help.


Logging improvements on migration in the VmwareResource

Description
This PR,..

Fixes: #8291

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[x] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8057

@blueorangutan test alma9 vmware-70u3

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + vmware-70u3) has been kicked to run smoke tests

[SF] Trillian test result (tid-8618)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server a9
Total time taken: 47084 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8300-t8618-vmware-70u3.zip
Smoke tests completed. 106 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_05_ping_in_cpvm_success
Error
1.12
test_diagnostics.py

test_06_ping_in_cpvm_failure
Error
1.11
test_diagnostics.py

test_12_traceroute_in_cpvm
Error
1.11
test_diagnostics.py

test_17_retrieve_cpvm_default_files
Error
1.11
test_diagnostics.py

test_18_retrieve_cpvm_single_file
Error
1.12
test_diagnostics.py

test_01_add_primary_storage_disabled_host
Error
36.25
test_primary_storage.py

test_01_non_strict_host_anti_affinity
Failure
147.21
test_nonstrict_affinity_group.py

test_02_non_strict_host_affinity
Error
107.25
test_nonstrict_affinity_group.py

@blueorangutan package

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8518

@blueorangutan test alma9 vmware-70u3

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + vmware-70u3) has been kicked to run smoke tests

[SF] Trillian test result (tid-9092)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server a9
Total time taken: 49798 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8300-t9092-vmware-70u3.zip
Smoke tests completed. 110 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

clgtm. Just a small suggestion.

Not ready for merge, if changes are made and not packages/tested
@blueorangutan package

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8636

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Not ready for merge, if changes are made and not packages/tested @blueorangutan package

the changes on that last commit were only textual and the GHA for build was succesful. I think it was ready for merge.

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled withthe changes on that last commit were only textual and the GHA for build was succesful. I think it was ready for merge. SystemVM template(s). I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15.  It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8660

@blueorangutan test alma9 vmware-70u3

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + vmware-70u3) has been kicked to run smoke tests

[SF] Trillian test result (tid-9230)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server a9
Total time taken: 47376 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8300-t9230-vmware-70u3.zip
Smoke tests completed. 109 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_redundant_vpc_site2site_vpn
Error
512.78
test_vpc_vpn.py


Optional CKEditor

For now, we have the optional CKEditor guide in README file, but I think it would be nice to make an optional configuration and allow using it based on https://symfony.com/doc/current/bundles/IvoryCKEditorBundle/index.html.

What about this one? https://github.com/froala/KMSFroalaEditorBundle
I'm using it in your bundle and its great :)

Personally, I am a little bit afraid of using a bundle with @TODO: write tests. I used https://symfony.com/doc/master/bundles/IvoryCKEditorBundle/installation.html also with this plugin in a few projects (I also described how I installed it in the plugin README file) and was quite satisfied with it.

@bitbager Yes, that's fail, but despite this its in my opinion one of the best wysiwyg editor nowaday. I've migrated from CKeditor and TinyMCE in all of my projects.

What makes it better than CKEditor? 🙂

As nobody got into any issues with the default WYSIWYG installation guide, I am closing this issue.


Some problems running the tree_rerank.sh file

Hello, I got the following error when reproducing the code. Can you give me an answer? Thank you very much!

I'm afraid your error discription is unclear. It seems there is some problem with your network connection to hugginface. Also, your json string is mal-formatted.

Is the URL of my model wrong? I am using the API of the bgelargeen model, and the others are based on your source code.

Is the embedding server based on tei?

It can output the embedding vector, but reports
ValueError: documents and embeddings expected to be equal length but len(documents)=256 and len(embeddings)=0

May I know what the output of the bgelargeen model looks like?

Refer to the official document or repo.
My experimental evironment:

Docker version: ghcr.io/huggingface/text-embeddings-inference:1.5
Service starting command (replace ${MODEL_ID} with your bge ckpt path):text-embeddings-router --model-id ${MODEL_ID} --port 80 --dtype float16 --max-client-batch-size 256 --max-batch-requests 256 --auto-truncate

I have solved this problem, thank you very much for your help


[QUESTION] How to replace URL with custom content

The company that I work for has a docx file that describes the specification for messages of a proprietary messaging protocol. This is a large document containing a large number of messages as well as other technical information.
Recently, I developed a DSL to describe these messages. With this DSL, I can automatically generate the parser/builder code as well as the message spec in a format similar to those in the existing document (with headings and tables). I used python-docx to generate these specs.
Because there are a large number of existing messages, I'd like to be able to incrementally translate the existing messages (and add new messages) to the DSL over time. That way it's not a large porting effort that introduces a lot of down time.
The scheme I came up with was to place a URL for the DSL message sources within the document (something like: myproto://specfile.ext). Then write a tool that looks for these special URLs and compile specfile.ext and replace the URL with the generated documentation.
I imagine, this is possible with python-docx, but I haven't been able to figure out how. Could you provide some hints on how to do this please?

Maybe check out this project: https://docxtpl.readthedocs.io/en/latest/


fix: fix AnimatedRegion types

Does any other open PR do the same thing?

No
What issue is this PR fixing?
https://github.com/react-native-maps/react-native-maps/issues/4843
https://github.com/react-native-maps/react-native-maps/issues/4778
How did you test this PR?

It should affect only types, not the functionality.
I've tested it on: iOS simulator (iPhone 12), Android real device (Samsung M23)
I wasn't able to test it on iPhone real device

It should work as it is now on both platforms. However I have problem on Android connected with this code because _component is undefined. If i remove _component and leave this.marker.animateMarkerToCoordinate(newCoordinate, 500) it works fine.
// example/src/examples/AnimatedMarkers.tsx

animate() {
   ...
    if (Platform.OS === 'android') {
      if (this.marker) {
        this.marker._component.animateMarkerToCoordinate(newCoordinate, 500);
      }
    }
  }

On iOS nothing happens after pressing Animate button, but I didn't want to fix it here because it was working the same before my changes and it is already reported in another issue. And it should be fixed in separate pull request

@monholm Can you add your review here? :)

@mateki0 thank you so much for submitting this code, but I have to close this pull request, please submit a new one:
why I'm  closing it:

it's against beta, not master ... please pull against master so that everyone benefits of your changes.
you're updating too many things in one pull request: namespace to support RN 73, version bumping google play services and the type issues you're supposed to address.

please create 3 pull requests if you can:

type fixes for AnimatedMarker
support RN 73
version bump google play services

Again, thank you so much for your contribution, looking forward to merge your new pull requests :)

Hi thanks for reply. I will open a new soon, but:

Google play services bump wasn't one of my commits it was done by alanjhughes, and the same goes for RN 0.73 support by gabrieldonadel.
Do you think we should update CONTRIBUTING.md? At the bottom it says that PR should be opened against beta not master


Msop

Fixes Issue🛠

Closes #
Description👨💻

Type of change📄

[] Bug fix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)

How this has been tested✅

Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Screenshots/GIF📷

Changes file type

No need for conversion to tsv. Pls work on other good issues @gitarshmah


Fix rust error line when it happens on a macro

Hi,
When using Rust with Cargo, when an error is on a macro you will have span(s), maybe with expansions, that contain "file_name": "<something>".
That breaks when this string is given to the ale#path#IsBufferPath function, leading to a bad error line in the lint results.
Tell me if i should do the fix another way.

I'll fix the fix for the tests to pass again.

I'll close this, as the patch doesn't make sense at the moment. (ale#path#IsBufferPath(a:buffer, a:span.file_name) || a:span.file_name is# '<anon>') && a:span.file_name[:0] != '<' means that '<anon>' won't be accepted.


Improve performance of clip_by_value when the input is IndexedSlices

Currently, the tf.clip_by_value converts the input to dense tensor and do the clipping after that. However, the gradients may be IndexedSlices when using tf.nn.embedding_lookup. It may consume large memory and make performance worse.
In this pull request, the clipping function will deal with IndexedSlices directly instead of converting to dense tensor.

@jhseu @vrv
Could please take a look at this patch? It is already integrated into our internal prod environment and works fine. We think it also beneficial for the community so we made this PR.
Thanks


Feat/grant overview change DE-461

:tada: This PR is included in version 1.1.0-develop.43 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support rate limit in JS Client

Since js-client know which endpoint is called, can we make js-client handle rate limit problem.
JS-client saved rate limit data from last endpoint response.
When call a new endpoint, just check rate limit data. If it will cause rate limit, just wait.

FYI, JS SDK supports rate limited retries https://github.com/ringcentral/ringcentral-js/blob/master/src/platform/Platform.js#L556

In my opinion this should be an optional functionality, client must perform a request immediately when called.

Agree with that, it should be optional.
Rate limited retries in SDK is for current endpoint request. For client, it should support to queue endpoint request when a previous endpoint call got rate limit.

I don’t think queuing and waiting is a responsibility of JS client, it is a completely separate task and it should be handled by separate library.
Moreover, different endpoints have different limits, so remembering previous rate limit could be wrong.

We can remember different level limits. Such as Light, Heavy. In client code, we can flag every endpoint with level label. So when user create a request, such as client.account().extension().list(), client knows if need to queue the request.

I agree with @embbnux though @kirill-konshin.
Purpose of SDKs is to make development easier for our clientele. This allows more development teams to have functioning integrations for their specific needs without having to spend weeks learning the intricacies of our platform.
The JS client library does make our API even more approachable than the standard JS SDK does. And if the standard JS SDK supports automatic rate limiting, I'm strongly of the opinion that the client should as well.

@brutalbeard @embbnux do you have a solution for above mentioned problems with the queue?
Like I said, I think this has to be implemented as separate library so that only clients that would like to opt in will get it. Separation of concerns and single responsibility principle applies for libs too.

Maybe we can provide a default rate limit solution in JS client. And it is closed default. Developers can also pass a rate limit solution to JS client to replace default rate limit.

Give me a good reason to mix functionality of different kinds in one package. But better let’s take this conversation offline.


Setup Maven Central repository

Setup this repository for Maven Central according to these requirements and OSSRH Guide.
The relevant request ticket can be found here.
Tasks

[x] request braingdx repository on Sonartype
[ ] change pom.xml to deploy to Maven Central
[ ] setup GPG signing within TravisCI. (example)
[ ] integrate Javadoc deployment into pipeline (example)
[ ] update README.md to use official Maven Central Nexus

Almost there. Currently failing to promote artifacts for release: https://issues.sonatype.org/browse/OSSRH-40921?focusedCommentId=492133&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-492133

You can now obtain braingdx via Maven Central.
I will close this ticket as soon the Javadoc deployment is successful.


fix(config): remove similar descriptions

This PR removes similar descriptions identified using the same levenshtein algorithm recently added to lint. Note that these files need additional cleanup, but I have only made manual changes necessary due to removing the descriptions (adding units, adding a couple of options where the description included only a set number of options, changing labels to include necessary information that used to be in description.) We'll need to clean the rest up later, but this removes the warnings (except for an Aeotec device that has some odd parameters).

@zwave-js-bot fix lint

@AlCalzone
Free the bot! Free the bot! Free the bot!

@zwave-js-bot fix lint

@blhoward2 👆🏻

I think that's a hidden error (fixed in master)

Yup, that's an invalid JSON file.

Merge conflict in packages/config/config/devices/0x019b/z-trm3.json

@AlCalzone ready to go

I'll check the rest later


HubSpot Marketing | Response schema is missing

Type of Connector

[ ] certified
[ ] custom
[x] independent publisher

Name of Connector
HubSpot Marketing
Describe the bug
The response schema is missing, which means no dynamic content is shown as outputs and makers have to use parse JSON to parse the response.
Is this a security bug?

[ ] yes
[x] no

What is the severity of this bug?

[x] severity 1: Connector is broken or there's a very serious issue
[ ] severity 2: One or more important connector features are down
[ ] severity 3: Minor issue

To Reproduce
Create a flow with a button trigger, add an action, add a compose action, and the output only shows a body object from the action before the compose.
Expected behavior
Create a flow with a button trigger, add an action, add a compose action, and the output should show properties from the action before the compose.

@Laskewitz thanks again for submitting this issue and for making sure that we are producing great connectors with little to no barrier of entry. @troystaylor and our team has tried implementing this with C# code, but unfortunately the responses are dynamic and there is no way to add schemas that would work for all.


Error on response 302

Started seeing this today:
01:23:30 [01:23:34]: Starting login with user 'user@company'
01:23:30 /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.0/lib/spaceship/client.rb:255:in `parse_response':
 (Spaceship::Client::UnexpectedResponse)
01:23:30 <title>302 Found</title>
01:23:30
01:23:30
302 Found

01:23:30
nginx
01:23:30
01:23:30
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.0/lib/spaceship/portal/portal_client.rb:58:in `teams'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.0/lib/spaceship/portal/ui/select_team.rb:35:in `select_team'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.0/lib/spaceship/portal/portal_client.rb:74:in `select_team'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.0/lib/spaceship/portal/spaceship.rb:37:in `select_team'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.0/lib/spaceship/portal/spaceship.rb:81:in `select_team'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/runner.rb:16:in `run'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/manager.rb:7:in `start'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/bin/sigh:34:in `block (2 levels) in run'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/bin/sigh:86:in `run'
01:23:30 	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/bin/sigh:92:in `<top (required)>'
01:23:30 	from /usr/bin/sigh:23:in `load'
01:23:30 	from /usr/bin/sigh:23:in `'

I am getting the same response.

Seems like there was something changed on the Developer Portal. Did it work before for you? When did it stop working?

I got the error and then posted here, it got back to working afterwards.
Have not tested today.
On Saturday, 17 October 2015, Felix Krause<EMAIL_ADDRESS>wrote:

Seems like there was something changed on the Developer Portal. Did it
work before for you? When did it stop working?
—
Reply to this email directly or view it on GitHub
https://github.com/KrauseFx/sigh/issues/183#issuecomment-148946634.

--
--
Paul Eipper

I could reproduce this error: This seems to occur completely randomly, re-running the script usually works. I'm curios if that's a server issue...

I found a way to fix it, stay tuned

Please update using sudo gem update spaceship https://github.com/fastlane/spaceship/releases/tag/0.12.1 :rocket:

Still tripping on this, on another step though:
[17:41:49]: Fetching profiles...
 (Spaceship::Client::UnexpectedResponse)0.12.2/lib/spaceship/client.rb:255:in `parse_response':
<title>302 Found</title>

302 Found

nginx

	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/portal_client.rb:267:in `block in certificates'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/client.rb:114:in `block in paging'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/client.rb:112:in `loop'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/client.rb:112:in `paging'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/portal_client.rb:259:in `certificates'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/certificate.rb:206:in `all'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/provisioning_profile.rb:353:in `block in certificate_valid?'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/provisioning_profile.rb:352:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/provisioning_profile.rb:352:in `certificate_valid?'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.12.2/lib/spaceship/portal/provisioning_profile.rb:362:in `valid?'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/runner.rb:67:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/runner.rb:67:in `find_all'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/runner.rb:67:in `fetch_profiles'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/runner.rb:20:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/lib/sigh/manager.rb:7:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/bin/sigh:34:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/bin/sigh:86:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-1.0.0/bin/sigh:92:in `<top (required)>'
	from /usr/bin/sigh:23:in `load'
	from /usr/bin/sigh:23:in `'

I am still seeing this error after updating to the latest version.  Looks identical to the error just posted.

@jemerson76 Don't give up, you will get through eventually and Apple will stabilize soon (fingers crossed)

Shouldn't sigh try to follow the 302 redirect?


Can't execute Rails Code in js.erb files

I am trying to get js.erb files to work with shakapacker. But so far i had no luck. As far as i know there is no installer for erb (bundle exec webpacker:install:erb) anymore like in previous webpacker versions, so this should be supported out of the box, am i correct?
what could i be doing wrong here?
Currently i have the stock webpack.config.js
// /app/views/concept_maps/edit.html.erb

<% append_javascript_pack_tag 'test' %>

This is my output:
Uncaught Error: Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /home/windhowl/Dokumente/CoMapEd/app/javascript/packs/test.js.erb: Unexpected token (1:0)

> 1 | <%logger.debug "this is rails code"%>
    | ^
    at instantiate (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:72:32)
    at constructor (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:358:12)
    at Parser.raise (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:3341:19)
    at Parser.unexpected (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:3379:16)
    at Parser.parseExprAtom (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:13083:24)
    at Parser.parseExprSubscripts (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:12650:23)
    at Parser.parseUpdate (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:12629:21)
    at Parser.parseMaybeUnary (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:12600:23)
    at Parser.parseMaybeUnaryOrPrivate (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:12394:61)
    at Parser.parseExprOps (/home/windhowl/Dokumente/CoMapEd/node_modules/@babel/parser/lib/index.js:12401:23)

Ruby version: 2.7
Rails version: 7.0.2
Shakapacker version: 6.3

Have you got https://www.npmjs.com/package/rails-erb-loader package installed? This is needed to process erb files but don't think it's included by default.
If the package is installed and you're still facing issues, please provide a reproduction repo so we can take a closer look

Labelling as question until we determine if really a bug.

I have created a blank project and everything worked fine. I'm providing you the repo i'm currently working on directly: https://github.com/muehling/CoMapEd/tree/Update_rails
In app/views/concept_maps/edit.html.erb i want to load the test.js.erb
When you start the server  you should be able to get to the edit view by typing in 'abc' if you previously seeded the postgres db.
I hope you can get that running. if not please tell me so. and sorry i couldn't provide a simpler repo but the problem seems to be somewhere in this repo. Maybe the problem is even that i upgraded from rails 5 to 7 and have some dead code left..
Thank you very much in advance!

Hey @Windh0wl
I think I've got this working. Looks like spring gem is causing the issue here https://github.com/usabilityhub/rails-erb-loader/issues/63
To try and get this working do the following:

Run bundle exec rails webpacker:clobber to remove all compiled assets
Run bin/spring binstub --remove --all
bundle remove spring && bundle install

After this, start the server again and it should be now working. Not sure what's the actual cause behind the scenes but I recommend reading through the issue linked above for some insights.

@justin808 Separately might need to implement https://github.com/usabilityhub/rails-erb-loader#spring (i.e. adding DISABLE_SPRING env to the loader config to guard against this in the future

Nice. I get it to work now with a two liner .js.erb but not yet with my /app/views/concept_maps/edit.html.erb ..
I get the same error still.
Is there some js syntax i may not use with .erb ?

@Windh0wl Hard to say, have you got comments in the file? Those are one of the things that might cause issues here
Ruby comments are prefixed with the hash, whereas JS ones are // which I think trips up the parser.
Essentially, what the rails-erb-loader is doing is following (from https://github.com/usabilityhub/rails-erb-loader/issues/63#issuecomment-707940303)
cat myfile | bin/rails runner <path to erb_transformer.rb> > output.js

myfile is the input file to process (test.js.erb or similar)
path to erb_transformer.rb - it's the path to the file in node modules directory for the package (i.e../node_modules/rails-erb-loader/erb_transformer.rb)

You should be able to test your file with something like:
cat app/javascript/packs/test.js.erb  | bin/rails runner ./node_modules/rails-erb-loader/erb_transformer.rb __RAILS_ERB_LOADER_DELIMETER__ erb

The command above will succeed if your .js.erb file is valid and hopefully fail with something pointing you to the error if it's invalid

awesome. that helped a ton. i can run simple ruby code now. would you happen to know how i can run <%= t('.action_new_node')%> to insert locales ? i already included /* rails-erb-loader-dependencies ../config/locales/ */ in my .js.erb file but i keep getting the error <main>': undefined method 't' for main:Object (NoMethodError) when i run your suggested commands

I think that's because scoping the key by partial is the Railsy helper thing rather than I18n.t one:
https://github.com/rails/rails/blob/main/actionview/lib/action_view/helpers/translation_helper.rb#L128-L140
You should be able to use just t() in your normal views just fine. It's only the js.erb files that might need I18n.t and full translation path in order to work if you are trying to load translation there. Hope that helps!


The ability to switch between ground mode and floating mode

For multi channels' connection, I need to use floating mode instead of ground mode. How can I switch the mode?

I added the functionlaity for this in commit 6a3481. I do not have an SP-300 which is required to test the functionality. If you do, please test it and let me know if it works.
Test Program
import easy_biologic as ebl
import easy_biologic.ec_lib as ecl

bl = ebl.BiologicDevice( <port> )
bl.connect()

bl.harware_configuration()

bl.channel_configuration( <ch> )
bl.set_channel_configuration( <ch>, ecl.ChannelMode.GROUNDED, ecl.ElectrodeConnection.STANDARD )

easy-biologic 0.3.0.post1 was reinstalled. But TestProgram.py shows the following error.
Exception has occurred: ModuleNotFoundError
No module named 'ec_errors'
File "C:\Users\kfush\data\TestProgram.py", line 2, in
import easy_biologic.ec_lib as ecl
FG1.zip

Ah, sorry, it should be import easy_biologic.lib.ec_lib as ecl.

Did you download commit 6a3481 and reinstall the package from the downloaded version?

C:\Users\kfush>git clone https://github.com/bicarlsen/easy-biologic.git
Cloning into 'easy-biologic'...
remote: Enumerating objects: 515, done.
remote: Counting objects: 100% (515/515), done.
remote: Compressing objects: 100% (320/320), done.
Receiving objects:  99% (510/515), 10.80remote: Total 515 (delta 308), reused 397 (delta 193), pack-reused 0
MiB/s
Receiving objects: 100% (515/515), 11.39 MiB | 1.19 MiB/s, done.
Resolving deltas: 100% (308/308), done.
I think the package was successfully installed. But TestProgram2.py shows the same error as follows.
Exception has occurred: AttributeError
'BiologicDevice' object has no attribute 'hardware_configuration'
File "C:\Users\kfush\data\TestProgram2.py", line 11, in
bl.hardware_configuration

After downloading the new commit you need to move into that directory and run pip install . to update Python to use that version.  You can run pip list afterwards to ensure it was installed correclty. Next to the name it should give the file path to the downloaded version.

easy-biologic seems to be in the path correctly as follows.
C:\Users\kfush\AppData\Local\Programs\Python\Python39\Lib\site-packages\easy_biologic>pip list
Package         Version

cycler          0.11.0
DateTime        4.3
easy-biologic   0.3.0.post1
fonttools       4.28.1
kiwisolver      1.3.2
matplotlib      3.5.0
numpy           1.21.4
optosigma       1.0.0
packaging       21.2
pandas          1.3.4
Pillow          8.4.0
pip             21.3.1
pyparsing       2.4.7
pyserial        3.5
python-dateutil 2.8.2
pytz            2021.3
scipy           1.7.2
setuptools      58.1.0
setuptools-scm  6.3.2
six             1.16.0
tomli           1.2.2
zope.interface  5.4.0
What is wrong?

This means you haven't installed the downloaded version. The new version should be 0.3.1. Try uninstalling the package, then installing the downloaded version by navigating to its folder and running pip install ..

I could install the version 0.3.1.
Next TestProgram2.py shows the following message.
Exception has occurred: EcError
ERR_GEN_NOTCONNECTED (-1): No instrument connected.
File "C:\Users\kfush\data\TestProgram2.py", line 14, in
bl.channel_configuration( ch )

This is because in your program ch is defined as a list, but #channel_configuration takes in a single channel as an argument. I have fixed some bugs in commit c6185e which you should download and install for further testing.

c6185e was committed but it seems no change in the error.
C:\Users\kfush\easy-biologic-c6185e7f82055c1ccc3c6952164e68e40916a956>pip install .
Processing c:\users\kfush\easy-biologic-c6185e7f82055c1ccc3c6952164e68e40916a956
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for easy-biologic, since package 'wheel' is not installed.
Installing collected packages: easy-biologic
Attempting uninstall: easy-biologic
Found existing installation: easy-biologic 0.3.1
Uninstalling easy-biologic-0.3.1:
Successfully uninstalled easy-biologic-0.3.1
Running setup.py install for easy-biologic ... done
Successfully installed easy-biologic-0.3.1

Exception has occurred: TypeError
list indices must be integers or slices, not list
File "C:\Users\kfush\data\TestProgram2.py", line 14, in
bl.channel_configuration( ch )

You are likely still passing a list to channel_configuration, but only a single channel should be passed. e.g. bl.channel_configuration( 0 ).

TestProgram21.py shows the following.
Exception has occurred: EcError
ERR_GEN_FUNCTIONFAILED (-6): Function failed.
File "C:\Users\kfush\data\TestProgram21.py", line 16, in
bl.set_channel_configuration( 0, ecl.ChannelMode.GROUNDED, ecl.ElectrodeConnection.STANDARD )
FG3.zip

I added a new upate in commit 8a016b. See if that helps.
Can you also print out the results from the other calls (i.e. .hardware_configuration and #channel_configuration) to ensure those are giving sensible results.

C:\Users\kfush\easy-biologic-8a016bc65869a48556c0c115e8f42ba851882e09>pip install easy-biologic
Collecting easy-biologic
Using cached easy_biologic-0.3.0.post1-py3-none-any.whl (23.7 MB)
Installing collected packages: easy-biologic
Successfully installed easy-biologic-0.3.0.post1
This version is OK?
The following .py programs in /Lib/site-packages/easy_biologic folder show problems in VSCode.
In biologic_device.py, "tech" is not defined Pylance(reportUndefinedVariable) [269, 38]
In data_parser.py, Import "ec_lib" could not be resolved Pylance(reportMissingImports) [12, 8]
In ec_lib.py, Import "ec_errors" could not be resolved Pylance(reportMissingImports) [53, 6], "err" is not defined Pylance(reportUndefinedVariable) [639, 12] and [717, 12]

No, it should be version 0.3.1.

Successfully installed easy-biologic-0.3.1
Now, TestProgram21.py can understand bl.hardware_configuration, but shows a new error as follows,
Exception has occurred: EcError
ERR_GEN_NOTCONNECTED (-1): No instrument connected.
File "C:\Users\kfush\data\TestProgram21.py", line 15, in
bl.channel_configuration( 0 )
FG3.zip

Can you try running another command to ensure the device is connected properly. Perhaps print out the device's id with bl.idn or something similar. Can you also please print out the results of each call to check if everything is okay.

TestProgram22.py shows the followings.
Exception has occurred: EcError
ERR_GEN_FUNCTIONFAILED (-6): Function failed.
File "C:\Users\kfush\data\TestProgram22.py", line 17, in
bl.set_channel_configuration( 0, ecl.ChannelMode.GROUNDED, ecl.ElectrodeConnection.STANDARD )
and in terminal,
PS C:\Users\kfush\data>  c:; cd 'c:\Users\kfush\data'; & 'C:\Users\kfush\AppData\Local\Programs\Python\Python39\python.exe' 'c:\Users\kfush.vscode\extensions\ms-python.python-2021.11.1422169775\pythonFiles\lib\python\debugpy\launcher' '60427' '--' 'c:\Users\kfush\data\TestProgram22.py'
device id = 2
FG4.zip

Can you please print out the results of bl.hardware_configuration and bl.channel_configuration( <ch> ) as well.

I am not sure how to print out the result. But TestPrograms show the attached messages at terminal.
FG5.zip

Please try the code in commit 8c4c30.

I was able to test the code in commit f8e1350 on our own machine and everything seems to work. Can you please confirm.

commit 8c4c30 was uploaded but TestProgram shows "No instrument connected".
How do you test the code in commit f8e1350 which seems a part of class HardwareConf( c.Structure )?
'idn' in ec_lib.py seems to be the connection id of the device, "2". Why is it 2 instead of others?

If it is saying No instrument connected you may have a connectivity issue. You can always try running something like bl.idn to ensure a connection has been established.
You can use this link to more easily download the code in commit f8e1350.
The ID of the device isn't important, it makes it so you can communicate with more than one Biologic device from the same computer. If I remember correctly though, the reason it starts at '2' is because the controlling computer is considered device '1'.

After restart VSCode, "No instrument connected" was not shown. But TestProgram223.py shows a new error message.
PS C:\Users\kfush\data> & C:/Users/kfush/AppData/Local/Programs/Python/Python39/python.exe c:/Users/kfush/data/TestProgram223.py
Traceback (most recent call last):
File "c:\Users\kfush\data\TestProgram223.py", line 12, in
bl.set_channel_configuration( 0, ecl.ChannelMode.GROUNDED, ecl.ElectrodeConnection.STANDARD )
File "C:\Users\kfush\AppData\Local\Programs\Python\Python39\lib\site-packages\easy_biologic\device.py", line 280, in set_channel_configuration
ecl.set_hardware_configuration( self.idn, ch, mode, connection )
File "C:\Users\kfush\AppData\Local\Programs\Python\Python39\lib\site-packages\easy_biologic\lib\ec_lib.py", line 933, in set_hardware_configuration
validate( err )
File "C:\Users\kfush\AppData\Local\Programs\Python\Python39\lib\site-packages\easy_biologic\lib\ec_lib.py", line 1566, in validate
raise EcError( err )
easy_biologic.lib.ec_errors.EcError: ERR_GEN_FUNCTIONFAILED (-6): Function failed.
PS C:\Users\kfush\data>
Why bl.set_channel_configuration( 0, ecl.ChannelMode.GROUNDED, ecl.ElectrodeConnection.STANDARD ) is not suitable for ecl.set_hardware_configuration( self.idn, ch, mode, connection )?

I don't beleive I have TestProgram223.py. Are you sure you updated the code to the new version?

Sorry. Find TestProgram223.py in the attachment.
FG6.zip

It appears you are calling the functions correctly. I sgugest printing out each call to make sure you are getting sensible results. Please also make sure you have commit f8e1350 installed.

How can I print out each call using VSCode?

Just by wrapping the result in a print() statment. e.g. print( bl.idn )

Terminal comment of TestProgram224.py was printed out.
FG7.zip

The output doesn't seem to have any output, but is just the same program.

Sorry. Check the .txt file in re-attached.
FG7.zip

It appears you don't have the correct version of the code installed. Please try removing the package, and reinstalling from commit f8e1350.
You can ensure the correct version of the code is installed by printing out bl.channel_configuration( 0 ) and ensureing it looks like HardwareConfiguration(connection=<ElectrodeConnection.STANDARD: 0>, mode=<ChannelMode.FLOATING: 1> instead of <easy_biologic.lib.ec_lib.HardwareConf object at 0x0000028972C99040>

This time, zip file was used for installing commit f831350 instead of "git clone https://github.com/bicarlsen/easy-biologic.git". Anyways, the followings are shown and it seems to be OK.
PS C:\Users\kfush\data> & C:/Users/kfush/AppData/Local/Programs/Python/Python39/python.exe c:/Users/kfush/data/TestProgram224.py
6- None
7- {0: HardwareConfiguration(connection=<ElectrodeConnection.STANDARD: 0>, mode=<ChannelMode.GROUNDED: 0>), 1: HardwareConfiguration(connection=<ElectrodeConnection.STANDARD: 0>, mode=<ChannelMode.GROUNDED: 0>)}
11- HardwareConfiguration(connection=<ElectrodeConnection.STANDARD: 0>, mode=<ChannelMode.GROUNDED: 0>)
12- None
13- HardwareConfiguration(connection=<ElectrodeConnection.STANDARD: 0>, mode=<ChannelMode.GROUNDED: 0>)
14- None
PS C:\Users\kfush\data>

I want to use in FLOATNG mode instead of GROUND mode.
However, currently, channel mode cannot be changed to FLOATING.
FG8.zip

Great! It appears to be almost working now.
I think this may have been a bug where I accientally switched the tqo parameters somewhere. Please try commit 541b183.

It becomes worse. Check the result text.
Anyway, which do I download a new commit, via zip file or via git?
The errors are not same.
TestProgram226_printout_version2.txt

It appears that the output you sent and the previous one are the same, so I think the code didn't update.
The best way to update the code is to use git pull <remote_name> <branch_name> then ensure you have checkouted the correct branch. In this case you want to use the brnach hardware_conf so the command will look comsething like git pull origin hardware_conf & git checkout hardware_conf. However I leave it to you to ensure you are one the correct brnach by comparing the commit ID. You can do this using git log.

TestProgram226.py with easy-biologic downloaded (correctly, installed via .zip file) the latest hardware_conf (b8bfd1c) results in showing EM_b8bfd1c_TestProgram226py.txt.
Then I tried to reinstall commit f8e1350 from this issue, but it seems to be changed and the same as b8bfd1c.
Easy-biologic-hardware_conf_OK, which is the previous commit downloaded via .zip  previous commit, shows the result of OK_TestProgram226py.txt as previously reported, although I cannot find and download the same commit from your github now.
FG9.zip
technologies.zip
OK_without_technologiesInEasy-Biologic.zip

Sorry about that. I fixed the errors in commit 14615aa.

FLOATING mode are available now. Thank you.
I will use this "set_channel_configuration" for SECM operation.

Great :) Glad we finally got it working.
I've included the changes in version 0.3.1 of the package


when  a job is killed in UI,it's still running on server

My azkaban version is 3.20.0. I have used Command Job Type in azkaban.
 But usually I found the command which is configured in the job is still running on server.

@YapingWu  did you the get the solution. i am also facing same issue

In my case,when the job is running, a process is created, and the process creates multiple child processes.

In my case,when the job is running, a process is created, and the process creates multiple child processes.

Facing the same issue,Can you share the experience how to solve this problem in detail?

@lhsniper I had modified the function cancel()  of /azkaban-common/src/main/java/azkaban/jobExecutor/ProcessJob.java,and killed the child process which was not killed after its parent process killed.


Unknown tag kind encountered: "A". Your ctags and Tagbar configurations are out of sync! Please read ':help tagbar-extend'.

The command ctgas ctags --list-kinds = javascript shows me everything correctly and when using the command ctags -R it correctly creates the tags, but when using the ctags with preservim/tagbar it shows me that error.
I don't know if I should configure something else in the tagbar.

I don't know if I should configure something else in the tagbar.

Yes, the two-steps method is described in tagbar's documentation:

Configure ctags, this is what this project tries to do.
Tell tagbar about that configuration.

It should look something like:
let g:tagbar_type_javascript = {
        \ 'ctagstype' : 'javascript',
        \ 'kinds'     : [
            \ 'T:Tags',
            \ 'A:Arrays:,
            \ 'O:Objects',
            \ 'P:Property',
            \ 'G:Generators',
            \ 'F:Functions',
            \ 'C:Classes',
            \ 'M:Methods',
            \ 'V:Variables',
            \ 'I:Imports',
            \ 'E:Exports',
            \ 'S:Styled Components',
        \ ],
        \ 'sort'    : 0,
}

This is untested, as I don't use that plugin, but it should put you on the right track.

I don't know if I should configure something else in the tagbar.

Yes, the two-steps method is described in tagbar's documentation:

Configure ctags, this is what this project tries to do.
Tell tagbar about that configuration.

It should look something like:
let g:tagbar_type_javascript = {
        \ 'ctagstype' : 'javascript',
        \ 'kinds'     : [
            \ 'T:Tags',
            \ 'A:Arrays:,
            \ 'O:Objects',
            \ 'P:Property',
            \ 'G:Generators',
            \ 'F:Functions',
            \ 'C:Classes',
            \ 'M:Methods',
            \ 'V:Variables',
            \ 'I:Imports',
            \ 'E:Exports',
            \ 'S:Styled Components',
        \ ],
        \ 'sort'    : 0,
}

This is untested, as I don't use that plugin, but it should put you on the right track.

I don't know if I should configure something else in the tagbar.

Yes, the two-steps method is described in tagbar's documentation:

Configure ctags, this is what this project tries to do.
Tell tagbar about that configuration, this is your responsibility.

It should look something like:
let g:tagbar_type_javascript = {
        \ 'ctagstype' : 'javascript',
        \ 'kinds'     : [
            \ 'T:Tags',
            \ 'A:Arrays:,
            \ 'O:Objects',
            \ 'P:Properties',
            \ 'G:Generators',
            \ 'F:Functions',
            \ 'C:Classes',
            \ 'M:Methods',
            \ 'V:Variables',
            \ 'I:Imports',
            \ 'E:Exports',
            \ 'S:Styled Components',
        \ ],
        \ 'sort'    : 0,
}

This is untested, as I don't use that plugin, but it should put you on the right track.

Thank you very much, solve my problem.
Just out of curiosity, what plugin do you use?
Maybe tagbar is not what I'm looking for.

I don't know if I should configure something else in the tagbar.

Yes, the two-steps method is described in tagbar's documentation:

Configure ctags, this is what this project tries to do.
Tell tagbar about that configuration, this is your responsibility.

It should look something like:
let g:tagbar_type_javascript = {
        \ 'ctagstype' : 'javascript',
        \ 'kinds'     : [
            \ 'T:Tags',
            \ 'A:Arrays:,
            \ 'O:Objects',
            \ 'P:Properties',
            \ 'G:Generators',
            \ 'F:Functions',
            \ 'C:Classes',
            \ 'M:Methods',
            \ 'V:Variables',
            \ 'I:Imports',
            \ 'E:Exports',
            \ 'S:Styled Components',
        \ ],
        \ 'sort'    : 0,
}

This is untested, as I don't use that plugin, but it should put you on the right track.

Thank you very much, solve my problem.
Just out of curiosity, what plugin do you use?
Maybe tagbar is not what I'm looking for.

I only use Vim's built-in tags-related commands, sometimes via custom mappings as I'm not particularly interested by an always-on outline of my program.
This is the full extent of my tags-related configuration:
" In vimrc
" Tell Vim to look for "tags" files:
"   - in the directory of the current file and its parent, recursively
"   - in the working directory and its parents, recursively
"   - in "node_modules/"
set tags=./tags;,tags;,node_modules/tags

" use regexp search for tag names instead of whole-word search
" :tjump/:ptjump are my go-to commands because they act
" like :tselect/:ptselect if there are multiple tags and like :tag/:ptag if there is only one
nnoremap ,j :tjump /
nnoremap ,p :ptjump /

" convenient mappings for finger-breaking commands
nnoremap g$ g<C-]>
nnoremap gù <C-w>g}

I only use Vim's built-in tags-related commands, sometimes via custom mappings as I'm not particularly interested by an always-on outline of my program.
This is the full extent of my tags-related configuration:
" In vimrc
" Tell Vim to look for "tags" files:
"   - in the directory of the current file and its parent, recursively
"   - in the working directory and its parents, recursively
"   - in "node_modules/"
set tags=./tags;,tags;,node_modules/tags

" use regexp search for tag names instead of whole-word search
" :tjump/:ptjump are my go-to commands because they act
" like :tselect/:ptselect if there are multiple tags and like :tag/:ptag if there is only one
nnoremap ,j :tjump /
nnoremap ,p :ptjump /

" convenient mappings for finger-breaking commands
nnoremap g$ g<C-]>
nnoremap gù <C-w>g}

I get it, I will use that same configuration. Thank you.

I get it, I will use that same configuration. Thank you.


Update uninstall to also remove RBAC objects

Update the cli uninstall to delete clusterRoles and
clusterRoleBindings by the annotation
"objectset.rio.cattle.io/owner-gvk"
Add a related resource watcher to cluster scoped RBAC roles and rolebindings to watch the Rio Service for changes.

@cbron Stack will not create clusterrole/clusterrolebinding, we should be safe in here.


Vite doesn't output a UMD build if there are multiple entries

Describe the bug
I've found that if I provide only one entry in vite.config.js, vite outputs a working .umd.cjs build which can be run in the browser.
But if I provide multiple entries, vite outputs a .cjs commonjs build which isn't a UMD build.
Reproduction
https://github.com/everdimension/vite-umd-library-issue
Steps to reproduce
npm install
npm start

System Info
System:
    OS: macOS 13.5.1
    CPU: (8) x64 Apple M1
    Memory: 9.84 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.14.2 - /var/folders/6z/h2sky91d0kq9ym2c3tb2xwqh0000gn/T/fnm-shell-3042814/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.5.0 - /var/folders/6z/h2sky91d0kq9ym2c3tb2xwqh0000gn/T/fnm-shell-3042814/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Safari: 16.6
  npmPackages:
    vite: ^4.4.11 => 4.5.0

Used Package Manager
npm
Logs
No response
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] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[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.

https://vitejs.dev/config/build-options.html#build-lib

Default formats are ['es', 'umd'], or ['es', 'cjs'], if multiple entries are used.

@VividLemon If I add the formats options as follows:
      formats: ['es', 'umd'],

I get this error when I run vite:
Multiple entry points are not supported when output formats include "umd" or "iife".
error during build:
Error: Multiple entry points are not supported when output formats include "umd" or "iife".
So yeah, the UMD build seems to be turned off deliberately. But why?

This is because rollup does not support UMD with multiple entries (https://github.com/rollup/rollup/issues/2072).
Closing as this requires an upstream feature.


Is possible return the cluster without k?

Hi, thanks for your awesome work!
Could I just return the clusters(not my given k) when iteration is done?

Sorry, I have figured out it.
k is necessary in this algorithm.


Cannot find Serialize method

Cannot find Serialize method  in MixERP.Net.VCards.VCard class.

There seems to be an undocumented change.
Just use VCardSerializer.Serialize(vcard) to get the string content.

it's an extension method.
"using MixERP.Net.VCards.Serializer;" helps :-)


Fix haxor news

Motivation for this change
haxor-news was broken on unstable. This PR tries to fix this.
Unfortunately, running nix-build -A haxor-news fails and nix-shell -A haxor-news + a export out=/tmp/tmpout; set -x; genericBuild succeeds.
When passing --pure to nix-shell, it fails - get a bunch of errors:
======================================================================
FAIL: test_ask (test_hacker_news_cli.HackerNewsCliTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nix/store/yvxahn1hp58lfggh4xbhi48f96jnpfbm-python3.6-mock-2.0.0/lib/python3.6/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/home/m/archive/development/contrib/nixpkgs/haxor-news-0.4.3/tests/test_hacker_news_cli.py", line 43, in test_ask
    mock_hn_call.assert_called_with(self.limit)
  File "/nix/store/yvxahn1hp58lfggh4xbhi48f96jnpfbm-python3.6-mock-2.0.0/lib/python3.6/site-packages/mock/mock.py", line 925, in assert_called_with
    raise AssertionError('Expected call: %s\nNot called' % (expected,))
AssertionError: Expected call: ask(10)
Not called

Though I don't know why that happens.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

 I'll push my latest state and then close this PR. May someone else dig into that, but the relevance of the package is not enough (for me) to dig deeper. I'm already trying for over 1 hours now... I don't care anymore!


WIP: calcure: init at 1.7

Motivation for this change
Add calcure software package. The reason this PR is WIP is because I'm waiting for the next tagged release (v1.7). v1.6 and earlier do not have setup.py which are necessary to properly build the package.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 156003 run on x86_64-linux 1

1 package built:

calcure

The executable is functional for me at least. LGTM so far.

@max-niederman This PR is ready since the 1.7 tag has been released.

@max-niederman Fixed

@max-niederman Fixed

Just in case you don't know, I don't have commit permissions so you will have to get approval from a Nixpkgs commiter.


Add option to configure magnolias implicit resolution policy

I would like to have an option to tell magnolia how it should resolve implicits.
Right now magnolia's policy is to always be the "implicit of last resort" and this is preventing me from specifing low priority implicits which will be use whenever magnolia fails to create type class for given type.
To illustrate it more precisely let's consider following example:
We have a typeclass Show[T] and magnolia derivation for it. This will cover cases when we need to provide a Show instance for product types. Still we have plenty of class in standard library for which show instances could be automatically derived using .toString method, e.g.BigDecimal or Instant. Right now if we declare a low priority implicit instances they will override magnolia's one, because magnolia is always implicit of last resort.

After some time I found out that magnolia lets you provide a fallback method which will behave as low priority implicit.
def fallback[T]: Typeclass[T]


How to keep collect stack safety in profiler?

Hi, as i know, if we want to safely walk stack directly in current thread, we must make some situation to satisfy 'walkable' state, such as GC is not active.
I do not find any code to permit for it, so do i missed something in the code?
And i noticed that profilo receive SIGSEGV/SIGBUS signal. Is this just for the exception of memory which produced  by something like GC?

Let me see if I can address your questions:

we must make some situation to satisfy 'walkable' state

I believe you're referring to "safe points" or "suspension points" in ART lingo.
Profilo's unwinding does not require suspension points and instead intrusively unwinds the managed Java stack by chasing pointers from a known ABI (AOSP's ABI to be precise). As a result, it is fallible and failures are expected (we log error entries when we fail to unwind). This fallibility is also why we handle SIGSEGV and SIGBUS - we may fail for any number of reasons (malformed stack, unknown ABI) and don't want to take down the process as a result.
The upside of doing things intrusively in this way is that we can use perform async-signal-safe unwinding using setitimer, which in turn gives us CPU-time-biased stack traces. We also avoid any systemic bias in suspension point unwinding (there are a few papers out there on why intrusive unwinding is less biased).
Hope this helps!


SolidJS JSX support

SolidJS uses class instead of className.

is this working. it did not work for me. emmet supports jsx classname attributes but could not figure out how to make it work
I tried to add this using similar to example for html but it did not work
jsx: {
        options: {
            'jsx.enabled': true,
            'markup.attributes': {
                'class': 'className',
                'class*': 'styleName',
                'for': 'htmlFor'
            },
            'markup.valuePrefix': {
                'class*': 'styles'
            }
        }
    },

Preact can also be configured to use class instead of className. It would be nice if this could be configured.

Doesn't this fix the issue?
require("lvim.lsp.manager").setup("emmet_ls", {
  filetypes = {
    "astro",
    "css",
    "eruby",
    "html",
    "javascriptreact",
    "less",
    "sass",
    "scss",
    "svelte",
    "typescriptreact",
    "vue",
  },
  init_options = {
    jsx = {
      options = {
        ["markup.attributes"] = { className = "class" },
      },
    },
  },
})


Added .travis.yml to the build.

@chrissalij-r @kylemessner
Travis CI for community version! Yay!

lol. Nice. Post merge lgtm


Fixes 1+n db call issue

Adds

Fastest merge ever.

What seemed weird at first when I saw the code is that the LayoutPart is backed by InfoSet properties so the Record should not be hit. In your slides you explicitly show  .Record access that I don't see in the actual code. Did you simplify the issue to make it clearer for the audience what the problem is?

No, the code I demoed was exactly as it was in the dev branch at the time.
Although this fix was for Layers, and not Layouts, so maybe that's where this confusion comes from?

Can this be merged with 1.9.x as well (and manually patched into my 1.9.2 source) or does it require something else?  Basically, is this a monolithic change, not requiring any other source code changes?

This layer evaluation service does not exist in 1.9.x (layers are evaluated in the WidgetFilter) instead.
However, the code in WidgetFilter is exactly the same as the code in this service, so you should be able to manually patch in your source (or create a PR that contains the fix).
Offending line is: https://github.com/OrchardCMS/Orchard/blob/1.9.x/src/Orchard.Web/Modules/Orchard.Widgets/Filters/WidgetFilter.cs#L57. Just apply the same query hints.

Isn't changing activeLayerIds.Add(activeLayer.ContentItem.Id); to activeLayerIds.Add(activeLayer.Id); actually better, as I assume this is where the n+1 is made?
Otherwise @paynecrl97 would you mind pointing the line which is accessing the .Record as you slide was showing?


finishModules returning empty array

System Info
all
Details
When testing the StylesWebpackPlugin we found that the finishModules hook returns an empty array of modules, this behavior is different than webpack for the same project.
Reproduce link
No response
Reproduce Steps
enable the StylesWebpackPlugin on the Angular16 cli example

bump

bump

finishModules gives module list now.
btw, i failed to find the usage of finishModules in https://github.com/angular/angular-cli/blob/16.0.x/packages/angular_devkit/build_angular/src/webpack/plugins/styles-webpack-plugin.ts