Dutch Translations update.

Contributed to by the Flemish Environment…

[x] I signed and returned the Plone Contributor Agreement, and received and accepted an invitation to join a team in the Plone GitHub organization.
[x] I verified there aren't other open pull requests for the same change.
[x] I followed the guidelines in Contributing to Volto.

These are translations only. I tried to run the linting etc. by following the instructions at https://6.docs.plone.org/volto/contributing/developing-core.html and then run 'pnpm lint', in the packages/volto directory but I get a message that more than 10 errors are present.  Also my pnpm-lock.yaml file gets local changes when I have pulled out the latest main and am using corepack to pick the correct pnpm version:
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d17950b41..f4ff0050c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -25399,7 +25399,7 @@ snapshots:

   babel-plugin-polyfill-corejs2@0.4.10(@babel/core@7.25.8):
     dependencies:
-      '@babel/compat-data': 7.25.8
+      '@babel/compat-data': 7.24.4

[ ] I succesfully ran code linting checks on my changes locally.
[ ] I succesfully ran unit tests on my changes locally.
[ ] I succesfully ran acceptance tests on my changes locally.
[ ] If needed, I added new tests for my changes.
[ ] If needed, I added documentation for my changes, either in the Storybook or narrative documentation.
[ ] I included a change log entry in my commits.

@fredvd Hmm. I don't get any changes in pnpm-lock.yml when I install with Node 22, but I get a different error when I try to run pnpm lint inside packages/volto:
><EMAIL_ADDRESS>lint /Users/davisagli/Code/volto/packages/volto
> eslint --max-warnings=0 'src/**/*.{js,jsx,ts,tsx,json}'

=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.5.0

YOUR TYPESCRIPT VERSION: 5.6.3

Please only submit bug reports when using the officially supported version.

=============

@sneridagh ??

I added towmcrier files for volto and 3rd commit for volto-slate subpackage.
Locally I’m using Node 20 indeed, not 22 LTS.


doc: document qttools5-dev-tools qml build requirement

This was needed on a fresh Ubuntu 22.04 installation running on ARM64. The package provides lrelease. Not needed on fedora.

This is already documented in build-unix :D


version: add beta tag

This adds the "beta" tag and adds a dash before "rc" or "beta".
Follow up to #12782.

Can you add unit tests (https://github.com/PX4/Firmware/blob/master/src/systemcmds/tests/test_versioning.cpp#L77) for both?


commandFactory is swallowing exceptions

This changed line in commandFactory prevents errors thrown during emitting 'end' event in .then handler to propagate and those errors are swallowed.
Code used:
bower.commands.list().on('end', function() {throw new Error('test');});

In v1.7.0 and earlier, error is thrown:
In v1.7.1 and later, nothing is thrown and the error is swallowed.
Expected behaviour:
Error is rethrown as before or emitted via the logger logger.emit('error', error);.

Thanks for reporting this.
When I run your example:
var bower = require('bower');
bower.commands.list().on('end', function() {throw new Error('test');});

With 1.7.1, the code runs then exits. With 1.7.2 it seems to hang forever. Is this similar to what you reported?

The change was done between v1.7.0 and v1.7.1, sorry for that. I have updated the issue. Please try the snippet above in those two versions to see the difference.

I just tried the code above with 1.7.7 and the code runs then exits.

For me, the problem is not hanging, but Error swallowing. When an exception occurs in the callback, bower should not ignore it.
$ npm i<EMAIL_ADDRESS>...
$ node -e "require('bower').commands.list().on('end', function() {throw new Error('test');});"
C:\test\node_modules\bower\node_modules\q\q.js:155
                throw e;
                ^

Error: test
    at Logger.<anonymous> (C:\test\test.js:5:52)
    at emitOne (events.js:77:13)
    at Logger.emit (events.js:169:7)
    at Logger.emit (C:\test\node_modules\bower\node_modules\bower-logger\lib\Logger.js:29:39)
    at C:\test\node_modules\bower\lib\commands\index.js:65:25
    at _fulfilled (C:\test\node_modules\bower\node_modules\q\q.js:834:54)
    at self.promiseDispatch.done (C:\test\node_modules\bower\node_modules\q\q.js:863:30)
    at Promise.promise.promiseDispatch (C:\test\node_modules\bower\node_modules\q\q.js:796:13)
    at C:\test\node_modules\bower\node_modules\q\q.js:604:44
    at runSingle (C:\test\node_modules\bower\node_modules\q\q.js:137:13)

$

$ npm i<EMAIL_ADDRESS>...
$ node -e "require('bower').commands.list().on('end', function() {throw new Error('test');});"

$

$ npm i bower@latest
...
$ node -e "require('bower').commands.list().on('end', function() {throw new Error('test');});"

$

Thank you for reporting this. It's not fixes in master branch


Outdated docs about build.sh

There's still lots of outdated docs, which reference the build.sh. We should remove those docs/replace them with info reflecting the builder build-process.
We should not describe details of how the builder works in the gardenlinux repo - this should be done in the builder repo. In the gardenlinux repo we should describe details about gardenlinux-specific implementation.

As of today I see 4 findings left in the main branch:
tests/README.md

117:As described, chroot tests are automatically performed after each build. By default, this doesn't include the kvm platform and may be added by appending --tests   chroot,kvm to the build.sh.

bin/garden-integration-test-config

4:# helper script for the integration tests called in build.sh

features/_oci/README.md

18:$ ./build.sh --features server,cloud,gardener,gcp,_oci .build/

features/_oras/README.md

12:$ ./build.sh --features kvm,_oras .build/

I think the instructions in oci and oras should be simple to replace but I currently can't verity that the new commands work.
Can't judge the other 2 mentions.

Only features/_oci/README.md and features/_oras/README.md remain. Updating the build instruction is straight forward, it is a ./build gcp-gardener_oci or a ./build kvm_oras respectively.
However, both features currently do not work with the new builder. The plan is

clarify if we need the _oci feature - we will discuss next week
fix _oras feature - uploaded fix to fix/oras-new-builder branch, not tested yet, need help with setup. Also, next week


[C++] [Python] Fix improper initialization of ConversionOptions

Describe the bug, including details regarding any error messages, version, and platform.
In a debugging session, I observed that ConversionOptions being passed from _substrait.pyx was improperly initialized, leading to a SIGSEGV. In particular, the extension provider member had a different value than default_extension_provider() returns. I suspect this is because ConversionOptions is currently a POD, whose initialization of the extension provider member occurs before that of g_default_extension_provider being returned from default_extension_provider. The fix should ensure correct order of initialization. In addition, the definition of CConversionOptions in libarrow_substrait.pxd should be updated to match ConversionOptions.
Component(s)
C++, Python

take

cc @westonpace, @icexelloss


Expand job row to reveal additional details

UI for expanded row in the Jobs list
Updated interfaces for UnifiedJob and Job to inherit from swagger generated interfaces.
Tests

@keithjgrant Thanks for the review! I've addressed your comments.


added JavaScript Reference for Responsive Toggle

In order to use the Responsive Toggle you need to include the file js/foundation.responsiveToggle.js

Are you referring to cases where people use the customizer, but do not include Responsive Toggle?

I use it like so in my gulpfile.js:
gulp.task('js', function() {
    return gulp.src([
        'node_modules/jquery/dist/jquery.js',
        'node_modules/foundation-sites/js/foundation.core.js',
        'node_modules/foundation-sites/js/foundation.util.mediaQuery.js',
        'node_modules/foundation-sites/js/foundation.util.keyboard.js',
        'node_modules/foundation-sites/js/foundation.util.box.js',
        'node_modules/foundation-sites/js/foundation.util.nest.js',
        'node_modules/foundation-sites/js/foundation.util.motion.js',
        'node_modules/foundation-sites/js/foundation.dropdownMenu.js',
        'node_modules/foundation-sites/js/foundation.accordion.js',
        'node_modules/foundation-sites/js/foundation.responsiveToggle.js',
        'node_modules/slick-carousel/slick/slick.js',
        'src/js/main.js',
      ])
      .pipe(plugins.babel())
      .pipe(plugins.concat('script.min.js'))
      .pipe(gulp.dest('js/'));
});

Given this page in the docs also talks about the responsive toggle, it makes sense to link in the jsdoc stuff, so I think this is good to go.


Add Python 3.10 (build and test)

Adding py3.10 to audio

RE unittest_windows_cpu_py3.10 and unittest_windows_gpu_py3.10
The error happens when it tries to install sentencepiece. Seemingly there is no binary distribution of sentencepiece on Windows for Python 3.10, so it falls back to source installation and fails.
Googling the issue, I do not see an error reported, but I found this https://github.com/google/sentencepiece/issues/591 which I assume @seemethere hit the same issue when adding 3.9 support. So we need to ask sentencepiece maintainer to publish 3.10 binary including Windows.
Since sentencepiece is only an optional dependency, I think we can skip the tests and avoid installing sentencepiece. We will need to add some workaround to skip the tests that require sentencepiece.
Once the installation of sentencepiece is conditioned on Python version and unit test starts running, then we can merge this PR and we can take over to follow-up on skipping part.

RE unittest_linux_cpu_py3.10
This is an unexpected failure. I suspect there might be a regression about TorchScript on PyTorch core, as it is working on other versions.
We can also look into it to see if changing the call site would be a valid workaround. So ultimately you can ignore the failure in this PR.

closed and reopened to regenerate the tests

To disable sentencepiece we need to add a check here for windows:
https://github.com/pytorch/audio/blob/bbdbd5820eeb1d2e8dd51afbe0e8f7c7f31838cd/.circleci/unittest/linux/scripts/install.sh#L60-L64

Although the test failure related to TorchScript on Tacotron2 seems like a real issue of PyTorch core on Python 3.10. I am planing to file a issue once this PR is merged.

Although the test failure related to TorchScript on Tacotron2 seems like a real issue of PyTorch core on Python 3.10. I am planing to file a issue once this PR is merged.

Should we just disable these tests for Python 3.10 in the interim?

So I found the reason why we need conda-forge for cudatoolkit=11.5. Basically cudatoolkit=11.5 from either nvidia or conda-forge has the following requirements:
cudatoolkit 11.5.1 hcf5317a_9
-----------------------------
file name   : cudatoolkit-11.5.1-hcf5317a_9.tar.bz2
name        : cudatoolkit
version     : 11.5.1
build       : hcf5317a_9
build number: 9
size        : 798.4 MB
license     : LicenseRef-NVIDIA-End-User-License-Agreement
subdir      : linux-64
url         : https://conda.anaconda.org/conda-forge/linux-64/cudatoolkit-11.5.1-hcf5317a_9.tar.bz2
md5         : cba8f073087596d11b3c96064cd3b90c
timestamp   : 2022-01-11 11:13:26 UTC
constraints :
  - __cuda >=11.5.1
dependencies:
  - __glibc >=2.17,<3.0.a0
  - libgcc-ng >=9.4.0
  - libstdcxx-ng >=9.4.0

The libgcc-ng >=9.4.0 seems innocuous at first but the highest available version from the default anaconda channel is actually libgcc-ng = 9.3.0.
This means that in order to actually install cudatoolkit=11.5 from any channel you will need to also include -c conda-forge since that is the only channel that includes libgcc-ng >=9.4.0, which is very unfortunate.
I'm including a commit here to enable conda-forge just for CUDA 11.5 builds but we'll also need to make a note of this in our installation matrix as well

Is the use of Python 3.10 still in development? When running torchaudio in my workflows, everything works fine for Windows and Ubuntu running 3.10, but with MacOS I get the following error. Thanks.
File "/Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/__init__.py", line 1, in <module>
    from torchaudio import _extension  # noqa: F401
File "/Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/_extension.py", line 67, in <module>
    _init_extension()
File "/Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/_extension.py", line 61, in _init_extension
    _load_lib("libtorchaudio")
File "/Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/_extension.py", line 51, in _load_lib
    torch.ops.load_library(path)
File "/Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torch/_ops.py", line 2[20](https://github.com/lewiswolf/drum-shape-predictor/runs/6352853628?check_suite_focus=true#step:11:20), in load_library
    ctypes.CDLL(path)
File "/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so, 6): Symbol not found: __ZN2at8internal15invoke_parallelExxxRKNSt3__18functionIFvxxEEE
Referenced from: /Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so
Expected in: /Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torch/lib/libtorch_cpu.dylib
 in /Users/runner/.local/share/virtualenvs/drum-shape-predictor-Lsu0jyfE/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so
Error: Process completed with exit code 1.


Accessing Store globals

Hello, I’ve built a wasm-powered replacement for the exec() function here and wasmtime has been invaluable!
That being said, I had a quick question - once I set a global value, how do I access the globals that I have set? Is it only through function execution?
Sample code:
            # Check if the value is of a supported type
            if isinstance(value, (int, float)):
                # Determine the Wasmtime type based on the Python type
                if isinstance(value, int):
                    value_type = ValType.i32()
                elif isinstance(value, float):
                    value_type = ValType.f64()

                # Create a mutable global instance with the Python value
                global_type = GlobalType(value_type, mutable=True)
                global_var = Global(store, global_type, value)

The data function of the Store class returns None for me. Would appreciate some guidance, thanks!

Could you expand a bit on what your goal is and what you're using globals for? Globals in a store can't be enumerated so you'd need to store your own list of them somewhere, for example on the host in Python. The data member of a Store is set on creation of the Store (an optional argument) and the data accessor retrieves it, but nothing more. What you can do, however, is place a list of globals onto the object returned from data

Thanks for the response. Basically, I'm trying to use wasmtime and the VmWare labs Wasm Python interpreter to create an isolated version of exec I'm trying to figure out support for globals to replicate the ergonomics of the exec function. It looks like I can set them in an environment, but I was trying to figure out a way to confirm their existence and ability to be accessed for my unit tests.

Ah ok, in that case I think the "globals" you're referring to are perhaps Python globals? If so they have no relation to a WebAssembly global or the wasmtime.Global object, they're entirely separate. Enumerating Python globals as it's running in wasm would have to be a feature of the interpreter you're using


Updating outdated link to Chatdown repository

This is a PR related to #265
The URLs in the documentation referencing Chatdown are invalid as the directory structure was changed.
This PR updated the links in the documentation to point to the correct location

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: hanslfc sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@JonathanFingold Should I close this PR? You mentioned in #259 that it maybe would be fixed by someone else?

no problem @JonathanFingold ! I was just wondering whether it better to close this PR here if you maybe are doing the update internally anyways. Currently its cluttering screen space and I was not sure whether this one here will move forwards? :)
Should I close this PR?


Request Update Feature

Hi @owen2345,
I really want to have translate option on Custom Fields for Url field and Select field, and I think it would be great to have it. In your Custom Field doc, I see that Textbox field has translate option items[:text_box] = {         key: 'text_box',         label: t('camaleon_cms.admin.custom_field.fields.text_box'),         options: {             required: true,             multiple: true,             translate: true,             default_value: true,             show_frontend: true         }     } but in Url field and Select field do not have. I face this problem I use camaleon with multiple available languages translation.
Kind regards,

Hi @NySiya
I added the support, please test it using git version.
Regards,


[tests-only] [full-ci] Test with core branch reva-issue-2916

Related issue #2916

https://drone.cernbox.cern.ch/cs3org/reva/7391/15/6
  Scenario: After losing share permissions user can still delete a previously reshared share                      # /drone/src/tmp/testrunner/tests/acceptance/features/apiShareReshareToShares3/reShareUpdate.feature:137
    Given using OCS API version "1"                                                                               # FeatureContext::usingOcsApiVersion()
    And user "Alice" has created folder "/TMP"                                                                    # FeatureContext::userHasCreatedFolder()
    And user "Alice" has shared folder "/TMP" with user "Brian" with permissions "share,create,update,read"       # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Brian" has accepted share "/TMP" offered by user "Alice"                                            # FeatureContext::userHasReactedToShareOfferedBy()
    And user "Brian" has shared folder "Shares/TMP" with user "Carol" with permissions "share,create,update,read" # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Carol" has accepted share "/TMP" offered by user "Brian"                                            # FeatureContext::userHasReactedToShareOfferedBy()
    And user "Alice" has updated the last share of "Alice" with                                                   # FeatureContext::userHasUpdatedTheLastShareOfWith()
      | permissions | create,update,read |
    When user "Brian" deletes the last share using the sharing API                                                # FeatureContext::userDeletesLastShareUsingTheSharingApi()
    Then the OCS status code should be "100"                                                                      # OCSContext::theOCSStatusCodeShouldBe()
      OCS status code is not any of the expected values 100 got 996
      Failed asserting that an array contains '996'.

  Scenario: After losing share permissions user can still delete a previously reshared share                      # /drone/src/tmp/testrunner/tests/acceptance/features/apiShareReshareToShares3/reShareUpdate.feature:152
    Given using OCS API version "2"                                                                               # FeatureContext::usingOcsApiVersion()
    And user "Alice" has created folder "/TMP"                                                                    # FeatureContext::userHasCreatedFolder()
    And user "Alice" has shared folder "/TMP" with user "Brian" with permissions "share,create,update,read"       # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Brian" has accepted share "/TMP" offered by user "Alice"                                            # FeatureContext::userHasReactedToShareOfferedBy()
    And user "Brian" has shared folder "Shares/TMP" with user "Carol" with permissions "share,create,update,read" # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Carol" has accepted share "/TMP" offered by user "Brian"                                            # FeatureContext::userHasReactedToShareOfferedBy()
    And user "Alice" has updated the last share of "Alice" with                                                   # FeatureContext::userHasUpdatedTheLastShareOfWith()
      | permissions | create,update,read |
    When user "Brian" deletes the last share using the sharing API                                                # FeatureContext::userDeletesLastShareUsingTheSharingApi()
    Then the OCS status code should be "200"                                                                      # OCSContext::theOCSStatusCodeShouldBe()
      OCS status code is not any of the expected values 200 got 996
      Failed asserting that an array contains '996'.


Mac: Closing the app then reopening no longer shows the app in the menu bar or tab switcher

I confirm (by marking "x" in the [ ] below):

[X] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[X] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have read contributing guidelines.

Summary
Mac: Closing the app then reopening no longer shows the app in the menu bar or tab switcher
Steps to reproduce
MacOS; Mattermost server v4.2; Mattermost Desktop App v3.7.1

open MM MacOS desktop client
cmd+w or click red close button to close the app (but not quit it)
check that it does not exist in menu bar OR tab switcher
open MM again

Expected behavior
Mattermost client appears in the menu bar and the tab switcher
Observed behavior
Mattermost client doesn't appear in the menu bar and the tab switcher

@yuya-oc We should also check if it's expected that the app appears in the menu bar and tab switcher on step 3 of the repro steps.

Not reproduced for me on macOS 10.12.6. The app is kept in Cmd+Tab switcher and the menu bar icon exists even when the window is closed (internally, it's hidden instead of closed). Of course, the option should be enabled to show the menu bar icon.
I feel the reporter accidentally used Cmd+Q instead. Would you confirm again?

Agreed, I can't reproduce this. As @yuya-oc noted, Cmd+Q would cause this behaviour, but that's expected.

The reporter mentioned they used CMD+W instead. Is there any additional info I can ask? I can also link you to the report if easier, it was brought up on pre-release.

^@yuya-oc here's the report. It's a private channel, but you should have access to it https://pre-release.mattermost.com/core/pl/3duiozg6obnkif4yfctjszye9w

To make sure, we need to know macOS version and whether the reporter actually uses the latest app.
Perhaps the reporter uses v3.5.0 or earlier. It has an option to hide Dock icon when the window is closed. In that case, the app doesn't exist in the switcher because the icon is not on Dock. If the reporter called the Dock as "menu bar", this assuming would be correct.

Thanks! Have asked. I thought they mentioned they were using the latest app version but realized they didn't.

@yuya-oc You're correct, they were on v3.5. Resolved by upgrading to v3.7.1
Closing


Restructuring of build process

@bradrydzewski need your attention since the approvals of the others don't count for this repo.

Damn, already did that... Closing this in favor of https://github.com/drone-plugins/drone-gitter/pull/13


Add QtTest to build requires for test packages

Signed-off-by: Aleksey Mikhaylov<EMAIL_ADDRESS>

LGTM


Idle project / organization?

Hello, sorry to bother through an issue, but I was wondering if this organization name is idle and could be used for something else? We have an organization called Clouden in NPM and it would be nice to use this name on GitHub. But if you need it for something else, no problem.

No worries. The project (http://clouden.io/) is currently idle, but after securing a few domains/usernames on different platforms I'd be up for keeping it. I'm open to listening to monetary offers if your project has a budget for it, however. Best of luck either way!


Revert "fix(material/table): switch back to class-based styling for f…

…lex tables (#22350)"
This reverts commit 749dcbfbbe06b2c6a3f7e07d7e27a37cf0468f4c.

Reverted because the original PR was merged in accidentally while there are still internal test failures.


SelectAll support

Is there a plan to support SelectAll ?
var users []User
err := dbm.SelectAll(&users)

Or how welcome are you for it?

I haven't planned on it.  It should be trivial to do with dbm.TableFor(User{}).TableName and some simple sql.  I think I'd have to wait and see for the patch, because this is slightly tricky and it's fairly easy to just write the query.  The advantage of SelectAll would be that you could do it with an unknown type.
I don't think it's necessary to provide a function for any old SQL that you could produce easily.  Maintaining a smaller API has its own benefits.  CRUD is repetitive and in some cases easy to get wrong, so those kinds of helpers are okay.  I am open to arguments in favor, though.

I agree with you. However, we have a kind of policy not to have any SQL in code. We're reading queries into one holder in setup and use it. Then, it becomes a bit repetitive even for a simple query. Please give a look and let me know if it's good. Thank you!


Add an option to strip empty lines

It would be useful if JS Beautify had an option to strip empty lines.
Includes, partials and other serverside code can create blank lines in the HTML. The HTML would be more beautiful without these blank lines.
This used to be the behaviour in version 1.3.1 but I think it was changed for https://github.com/einars/js-beautify/issues/285.
Input:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <title>Demo</title>

P1

P2

(Note: the line after P1 should contain some spaces and tabs but GitHub Flavored Markdown is removing them. This line should still be removed by JS Beautify.)
Configuration:
js-beautify input.html -o output.html --remove-empty-lines
Expected output:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <title>Demo</title>

P1

P2

Actual output:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <title>Demo</title>

P1

P2

Hi, can you add same option for css?

Please add the same functionality to css :-)

@Migacz85 Have you tried this? I think it is already there.  You'll also need to set "newline-between-rules": false. Please open a new issue for css if this doesn't work.

setting extra_liners: [], made me not have the newlines anywhere in my HTML formatting

docs (https://www.npmjs.com/package/js-beautify#css--html):

-E, --extra_liners                 List of tags (defaults to [head,body,/html] that should have an extra newline before them.

so, setting extra_liners: [], made me not have any extra newlines :))

docs (https://www.npmjs.com/package/js-beautify#css--html):

-E, --extra_liners                 List of tags (defaults to [head,body,/html] that should have an extra newline before them.

so, setting extra_liners: [], made me not have any extra newlines :))


fix KvScan that returns early when meet lock.

KvScan should keep scanning even if it meets lock.

@bobotu PTAL


Design: Finalize item details

Given result of clarification task, we need a design for the page or popup for the item details

done, we got the result about it;


Create Deployment Files

When a project evolves, at any point I want to deploy it on my K8s Cluster. Therefore I need preset Kubernetes Deployment Files

[ ] It is possible to deploy the svelte container
[ ] It is possible to deploy the golang container

Depends on #11

Obsolete via Helm


Enhance file type recognition for resizing

As seen in the o2r-muncher file listings, the MIME types of files can easily be reported with the mime npm module. We should probably use this also in contentbutler, as it is a more consistent (i.e. filter by image/*, text/*) and easier to maintain (add extension to types definition) solution.

Changes in o2r-muncher were made in this PR https://github.com/o2r-project/o2r-muncher/pull/14/files

@JanKoppe Just to clarify: when serving this information from the contentbutler, how do they end up in the file listing? would muncher call the butler then for every file to get the info?

No, muncher itself analyzes the files and responds with their MIME types. Contentbutler as of now has no code that properly analyzes the MIME type. To do so without creating duplicate code this should be made a specific function of either muncher or contentbutler and then used as a internal API call between those services. I'm unsure with which service this functionality would be placed best, though I'm leaning to keeping this in muncher because right now it is the de-facto single point of truth for Job/compendium information from a API standpoint.

OK. So we continue to limit the butler on actually serving the file "content", but not the file metadata.
Does muncher analyse the files on read or on compendium creation?

Muncher analyzes the file on every request, which is performance-wise a
bad idea, but delegates the responsibility for correct information to
the filesystem, which guarantees the correctness of the returned data.
A possible improvement for performance would be to cache this
information in the database, but then the question of information
correctness arises - every modification to the files would need to
trigger an update. This can get quite complex, really fast. Maybe use
inotify or similar tools.
Performance vs. complexity.
On 09.08.2016 11:02, Daniel Nüst wrote:

OK. So we continue to limit the butler on actually serving the file
"content", but not the file metadata.
Does muncher analyse the files on read or on compendium creation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/o2r-project/o2r-contentbutler/issues/8#issuecomment-238495409,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALhxBzJMPLV22OJTkzmdu-14vHqWcV2rks5qeEI4gaJpZM4JXGCX.

--
Jan Koppe
eLectures
Westfälische Wilhelms-Universität
Georgskommende 25 - Raum 310 - D 48143 Münster/Westf.
Tel. + 49 (0) 251 - 83 29295
email<EMAIL_ADDRESS>

:+1: thanks for the summary.


使用国内镜像仓库

Description

All Submissions:

[ ] Have you ensured there aren't other open Pull Requests for the same update or change?
[ ] Have you created a new branch for your changes and PR from that branch and not from your master branch?

New Image Submissions:

[ ] Have you added your image to the Github workflows?
[ ] Have you updated the README list to contain your new image?

Wrong repo!


Migrate upcoming fixes to the v5 repo.

I've ported Last week's version of this service to the v5 monorepo as of this morning (and published as of 5.0.0-beta.12). Lets try to keep upcoming changes moving forward to the new package.

Sorry that I missed the message. Actually I'll be happy to archive this repo and redirect people to the new monorepo since I'm not actively using webdriver.io anymore.
Thanks for merging it into the monorepo!


Test 6.1.4 Should Fail 2022 MY Engine for lack of NOx Binning GHG Support.

Test 6.1.4 should fail 2022 MY engine that does not exhibit NOx Binning or GHG tracking support.
Fail if retry was required to obtain the DM24 response.
b.Fail if one or more minimum expected SPs for data stream not supported per Section A.1, Minimum Support Table, from the OBD ECU(s).
c.Fail if one or more minimum expected SPs for freeze frame not supported per Section A.2, Criteria for Freeze Frame Evaluation, from the OBD ECU(s).
d. For MY2022+ diesel engines, Fail if SP 12675 (NOx Tracking Engine Activity Lifetime Fuel Consumption Bin 1 - Total) is not included in DM24 response.
e. For all MY2022+ engines, Fail if SP 12730 (GHG Tracking Engine Run Time) is not included in DM24 response.
f. For all MY2022+ engines, Warn if SP 12691 (GHG Tracking Lifetime Active Technology Index) is not included in DM24 response.
g. For all MY2022+ HEV and BEV drives, Fail if SP 12797 (Hybrid Lifetime Propulsion System Active Time), is not included in DM24 response. (SP 12797 is Lifetime EV Tracking Byte 1 SP)
h. For all MY2022+ Plug-in HEV drives, Fail if SP 12783 (Hybrid Lifetime Distance Traveled in Charge Depleting Operation with Engine off), is not included in DM24 response.

SPs 12675, 12730, 12691, 12797, and 12783 were purposefully omitted from Table A-1 changes as MY criteria don’t fit the support criteria model for table A-1.
(‘22 and ‘24 are bifurcated in 13 CCR 1971.1)

NOx Binning and GHG tracking are vehicle level requirements.
These would have been better stated as, from any OBD ECU.
From each OBD ECU was not intended.
<IP_ADDRESS> Fail Criteria
a.Fail if retry was required to obtain the DM24 response.
b.Fail if one or more minimum expected SPs for data stream not supported per Section A.1, Minimum Support Table, from the OBD ECU(s).
c.Fail if one or more minimum expected SPs for freeze frame not supported per Section A.2, Criteria for Freeze Frame Evaluation, from the OBD ECU(s).
d. For MY2022+ diesel engines, Fail if SP 12675 (NOx Tracking Engine Activity Lifetime Fuel Consumption Bin 1 - Total) is not included in DM24 response, from any OBD ECU.
e. For all MY2022+ engines, Fail if SP 12730 (GHG Tracking Engine Run Time) is not included in DM24 response, from any OBD ECU.
f. For all MY2022+ engines, Warn if SP 12691 (GHG Tracking Lifetime Active Technology Index) is not included in DM24 response, from any OBD ECU.
g. For all MY2022+ HEV and BEV drives, Fail if SP 12797 (Hybrid Lifetime Propulsion System Active Time), is not included in DM24 response, from any OBD ECU. (SP 12797 is Lifetime EV Tracking Byte 1 SP)
h. For all MY2022+ Plug-in HEV drives, Fail if SP 12783 (Hybrid Lifetime Distance Traveled in Charge Depleting Operation with Engine off), is not included in DM24 response, from any OBD ECU.

<IP_ADDRESS> rewritten since bug reported.


Feature/cab 2797.1

Coverage remained the same at 80.627% when pulling 9aaf906fd064512c5efd348a8be03604b82d85bb on feature/CAB-2797.1 into 3ddb181ac13f9a0086d7fc67242ec066d38b95ae on develop.


Feature request: hide execution count

When rendering notebooks, nbsphinx includes the execution_count of each cell like so:

Here, the execution_count of the first cell is null, while the second is 6. These execution counts are useful in Jupyter Notebook as they allow you to see the history of which cells you ran in which order. However, they aren't particularly useful in documentation where you just want to document a feature, present some code, and display the output. Can we add a feature that allows users to optionally hide the execution count of each cell during rendering?

You should hide the execution count via CSS, see https://nbsphinx.readthedocs.io/en/0.8.9/custom-css.html#For-a-Single-Notebook.

But what I'm more concerned about is the unintended line break in your first code cell.
Which Sphinx theme are you using and which browser?
I think I might have to add some CSS to avoid line breaks there.

Theme is the master branch of https://github.com/pytorch/pytorch_sphinx_theme, browser is Chrome.

Thanks @adamjstewart, this seems to happen only on master, not on the latest release.
Either way, I think #675 should fix this.

Did you manage to remove your prompts?

BTW, the PyTorch theme is quite bad, most notably because of blown up images (which you have already reported in https://github.com/pytorch/pytorch_sphinx_theme/issues/140) leading to work-arounds like https://github.com/microsoft/torchgeo/blob/main/docs/_static/workaround.css. But there are many more minor ugly things going on.

this seems to happen only on master, not on the latest release.

This is also present in our docs for TorchGeo 0.1.1, which was released in December 2021, so the bug has existed for at least that long.

Did you manage to remove your prompts?

Worked like a charm! https://github.com/microsoft/torchgeo/pull/783

BTW, the PyTorch theme is quite bad

Yeah... I wish it was better maintained. There seems to be a fork that is actually maintained, may move to that someday. Trying to stick to the same theme as the rest of the PyTorch ecosystem if possible. I'm aware of many more bugs (https://github.com/microsoft/torchgeo/issues/101) but don't have the expertise to fix them myself.

I'm closing this as resolved, because prompts should be removed via CSS.


Unable to build against hyprland 0.45.0

This is an awesome plugin that is must-have for me ❤
Unfortunately, it does not build with the latest hyprland version
hyprland-virtual-desktops $ cat .git/HEAD .git/refs/heads/main
ref: refs/heads/main
894ba75506797ad8befcadeb55ca266e92a4c7ab

$ cat /usr/include/hyprland/src/version.h
#pragma once
#define GIT_COMMIT_HASH    "a425fbebe4cf4238e48a42f724ef2208959d66cf"
#define GIT_BRANCH         ""
#define GIT_COMMIT_MESSAGE "    version: bump to 0.45.0"
#define GIT_COMMIT_DATE    "Sat Nov 9 14:27:47 2024"
#define GIT_DIRTY          ""
#define GIT_TAG            "v0.45.0"
#define GIT_COMMITS        "5433"

$ HYPRLAND_HEADERS=/usr/include/hyprland/src make all
g++ -O2 -shared -g -fPIC --no-gnu-unique -std=c++23 -Wall -Iinclude -DWLR_USE_UNSTABLE `pkg-config --cflags pixman-1 libdrm hyprland`   src/main.cpp src/sticky_apps.cpp src/utils.cpp src/VirtualDesk.cpp src/VirtualDeskManager.cpp -o virtual-desktops.so
src/main.cpp: In function ‘std::string printStateDispatch(eHyprCtlOutputFormat, std::string)’:
src/main.cpp:197:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::unordered_map<int, std::shared_ptr<VirtualDesk> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  197 |             if (index++ < manager->vdesksMap.size() - 1)
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:224:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::unordered_map<int, std::shared_ptr<VirtualDesk> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  224 |             if (index++ < manager->vdesksMap.size() - 1)
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp: In function ‘std::string printLayoutDispatch(eHyprCtlOutputFormat, std::string)’:
src/main.cpp:255:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::unordered_map<const CMonitor*, int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  255 |             if (++index < layout.size())
      |                 ~~~~~~~~^~~~~~~~~~~~~~~
src/main.cpp: In function ‘void onWorkspaceChange(void*, SCallbackInfo&, std::any)’:
src/main.cpp:281:71: error: ‘class CWorkspace’ has no member named ‘m_iMonitorID’; did you mean ‘m_pMonitor’?
  281 |     auto         monitor = g_pCompositor->getMonitorFromID(workspace->m_iMonitorID);
      |                                                                       ^~~~~~~~~~~~
      |                                                                       m_pMonitor
src/main.cpp:287:129: error: ‘class CWorkspace’ has no member named ‘m_iMonitorID’; did you mean ‘m_pMonitor’?
  287 |         printLog("workspace changed: workspace id " + std::to_string(workspaceID) + "; on monitor " + std::to_string(workspace->m_iMonitorID));
      |                                                                                ^~~~~~~~~~~~
      |                                                                                m_pMonitor
src/VirtualDesk.cpp: In member function ‘Layout VirtualDesk::generateCurrentMonitorLayout()’:
src/VirtualDesk.cpp:177:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  177 |     for (int i = vdeskFirstWorkspace; i < vdeskFirstWorkspace + monitors.size(); i++) {
      |                                       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/VirtualDeskManager.cpp: In member function ‘void VirtualDeskManager::applyCurrentVDesk()’:
src/VirtualDeskManager.cpp:64:56: error: cannot convert ‘PHLMONITOR’ {aka ‘Hyprutils::Memory::CSharedPointer<CMonitor>’} to ‘CMonitor*’ in initialization
   64 |         CMonitor* mon = g_pCompositor->getMonitorFromID(lmon->ID);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      |                                                        |
      |                                                        PHLMONITOR {aka Hyprutils::Memory::CSharedPointer<CMonitor>}
src/VirtualDeskManager.cpp:80:24: error: ‘class CWorkspace’ has no member named ‘m_iMonitorID’; did you mean ‘m_pMonitor’?
   80 |         if (workspace->m_iMonitorID != mon->ID)
      |                        ^~~~~~~~~~~~
      |                        m_pMonitor
src/VirtualDeskManager.cpp:81:62: error: cannot convert ‘CMonitor*’ to ‘PHLMONITOR’ {aka ‘Hyprutils::Memory::CSharedPointer<CMonitor>’}
   81 |             g_pCompositor->moveWorkspaceToMonitor(workspace, currentMonitor);
      |                                                              ^~~~~~~~~~~~~~
      |                                                              |
      |                                                              CMonitor*
In file included from include/utils.hpp:9,
                 from include/VirtualDesk.hpp:12,
                 from include/VirtualDeskManager.hpp:6,
                 from src/VirtualDeskManager.cpp:1:
/usr/include/hyprland/src/Compositor.hpp:148:65: note:   initializing argument 2 of ‘void CCompositor::moveWorkspaceToMonitor(PHLWORKSPACE, PHLMONITOR, bool)’
  148 |     void                   moveWorkspaceToMonitor(PHLWORKSPACE, PHLMONITOR, bool noWarpCursor = false);
      |                                                                 ^~~~~~~~~~
src/VirtualDeskManager.cpp: In member function ‘int VirtualDeskManager::moveToDesk(std::string&, int)’:
src/VirtualDeskManager.cpp:128:32: error: ‘class CWindow’ has no member named ‘m_iMonitorID’; did you mean ‘m_pMonitor’?
  128 |         if (mon->ID == window->m_iMonitorID) {
      |                                ^~~~~~~~~~~~
      |                                m_pMonitor
src/VirtualDeskManager.cpp: In member function ‘void VirtualDeskManager::cycleWorkspaces()’:
src/VirtualDeskManager.cpp:189:45: error: cannot convert ‘CMonitor*’ to ‘PHLMONITOR’ {aka ‘Hyprutils::Memory::CSharedPointer<CMonitor>’}
  189 |         g_pCompositor->swapActiveWorkspaces(currentMonitor, otherMon);
      |                                             ^~~~~~~~~~~~~~
      |                                             |
      |                                             CMonitor*
/usr/include/hyprland/src/Compositor.hpp:149:49: note:   initializing argument 1 of ‘void CCompositor::swapActiveWorkspaces(PHLMONITOR, PHLMONITOR)’
  149 |     void                   swapActiveWorkspaces(PHLMONITOR, PHLMONITOR);
      |                                                 ^~~~~~~~~~
make: *** [Makefile:17: virtual-desktops.so] Error 1

I just found out that the dev branch can be built without any issues.
I'm closing this issue now. Hopefully, dev will be merged into main soon.
Thank you!

hi! Yes, I'll merge the dev branch soon. I'm switching to the new hyprland myself


lxqt: add gvfs to system packages

Motivation for this change
Access to virtual file systems in PCManFM-QT depends on gvfs.
Fixes https://github.com/NixOS/nixpkgs/issues/20363.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] 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/)
[x] Fits CONTRIBUTING.md.

This PR is integrated into the new PR lxqt: better organize system packages.


Ability to set environment/configuration values at runtime instead of buildtime

Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
Angular should provide a common and supported mechanism for the setting of configuration values at runtime (or at least start up time).
Currently, there are multiple implementations / workarounds for this problem.
Can we get well-supported mechanism maintained by the Angular Team?
Multiple releases using the same, but configurable, Angular Standalone Application build
Compile-time vs. Runtime configuration of your Angular App
Angular, Docker & Nginx: Build once, Deploy anywhere.
https://www.npmjs.com/package/@ngx-env/builder
https://www.npmjs.com/package/angular-runtime-config
https://www.npmjs.com/package/@igorissen/angular-env-builder
There was a request:
https://github.com/angular/angular/issues/52994
ability to use/change environment files after build
to allow the setting of environment-level values at runtime instead of build time.  I believe that was mistakenly marked as a duplicate of:
https://github.com/angular/angular-cli/issues/4318
Request: Method to pass environment variables during build vs file.
Proposed solution
Include one of the existing user-created implementations described above in Angular with suitable documentation.
Or, at least, pick one of the above and link to it from the Angular documentation.
Alternatives considered
Use one of the existing user-created implementations.

I agree with @dgp1130's point, especially about the reasons for avoiding process.env. However, a minor clarification: if the HTTP request is made using Angular's HTTP client, the data is automatically stored in the transfer state, so no additional optimization is necessary.

We've had some more discussion about this and think it's something which is worth considering at least. provideRuntimeConfig is something which can make sense in a CSR app (though I personally think it's much more valuable in an SSR app). However it's probably more of a core framework problem than a tooling problem, so I'll move this out of CLI. I think this is just something we'll need to prioritize based on user interest. So if this is a valuable use case for you, please consider upvoting the issue and/or sharing your particular use case.


Docs - API Reference for Ensemble

Create an API Reference for the ensemble project. It's really hard to find out all the APIs in the editor itself, having an API reference doc is a good thing.
Writing a single command dart doc . in the root directory will create docs for us.
Please refer the following links
https://dart.dev/tools/dart-doc
https://pub.dev/packages/dartdoc

later


Prevent NullPointerException in ActionBar

I signed it!

If you have seen this happening please specify in which circumstances. Also, silently checking for this null and not throwing an error or logging doesn't seem like a good idea to me.

Ping!

@JoseAlcerreca I didn't "see" it in your samples. I think NPE should be prevented whereever possible.
You're right only a silent check isn't good - especially for a "blueprint" like these samples.
This NPE could happen (maybe not here but if the blueprint is used from devs) and I think we should care about this fact.

Since you agree on the disadvantages of the silent check, I'll close this PR now. Thanks!


How to read page BindingContext from inner ComponentBase derived view?

Hi,
From my experience so far it seems like Mobile Blazor views have to derive from ComponentBase. If I try to derive directly from ContentPage I get the following compilation error:
Error CS0115: '.BuildRenderTree(RenderTreeBuilder)': no suitable method found to override (CS0115)
Given this, I find to navigate using a NavigationPage I first need to create a wrapper ContentPage in code, then use the AddComponent method from MobileBlazorBindingsHostExtensions.cs to insert the inner ComponentBase derived view into the page. Then I can push it onto the navigation stack.
This is not too elegant but works and can live with that.
However, I have not found a good way to access the BindingContext attached to the outer page in my inner ComponentBase derived view. Is there a way for the inner view to access its outer page and read the BindingContext?
I am new to this framework so maybe the way I'm doing this is wrong, so maybe there are better patterns for navigation than described above?
Thanks for any advice!

Hi @srigden2 , this is an interesting problem. I think in general in Mobile Blazor Binding there isn't as much use for BindingContext because I believe that's mostly intended when using bindable properties. However, with Blazor, binding is typically done via regular property setters for one-way binding, and using @bind-PropertyName="fieldName" for two-way binding.
Can you share more info about your scenario and perhaps what kind of code you wish you code write to do this?

Thank you very much for the reply.
I am trying to pass parameters to a new page as per this (non-Blazor) example:
https://github.com/xamarin/xamarin-forms-samples/tree/master/Navigation/PassingData/PassingData
You can see it passes the parameter using the BindingContext of the second page.
The root of my issues I think came after I applied this recommendation (to fix iOS):
https://github.com/xamarin/MobileBlazorBindings/pull/76
It fixed it, but all my code-behind classes now need to derive from ComponentBase rather than ContentPage (unlike in the PassingData example above).  So far I am managing to work around this however it doesn't quite feel right. It feels I am missing something. Is there a working code sample for Mobile Blazor with code-behind where the classes derive from ContentPage, showing navigation? That would be extremely useful.
Thanks again.

Gotcha - thank you for sharing more info.
In the Blazor world you pass data to components via "parameters" using the [Parameter] attribute. You can see examples of this in most of the provided samples, such as the TodoApp sample's TodoEntry.razor component, and passing data to that component from the TodoList.razor component.
With these, there is no need to use BindingContext because this is a different style of binding.
To pass data from ComponentA to ComponentB you need to:

In ComponentB.razor add a code block with a parameter such as this:@code
{
    [Parameter] public int ItemID { get; set; }
}

In ComponentA.razor pass data to it like so:<ComponentB ItemID="123" />

And now the data has been passed in.
Please let me know if you have further questions on this.

Thanks for the reply. This isn't quite my original scenario as I would like to pass context to a brand new page pushed onto the Navigation stack, rather than embed a custom component. I'm doing this with my own custom code right now so not blocked, but I'm sure there must be a better way.
However the reply was very useful as it really helped with a different scenario I was also facing so thanks anyway!


Bump Quinoa 2.0.2

Changes proposed
Bump Quinoa 2.0.2

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.

But Quinoa 2.x is the Quarkus 3.x branch

Lets bring it in once we have Quarkus 3.x in place

Lets bring it in once we have Quarkus 3.x in place

okay


update version of imap

issue #17
https://github.com/chadxz/imap-simple/issues/17

Updating version of imap

Cool, thanks for looking into this. I will merge and push a new version to npm when I'm back at a computer in a bit

re-installing this package without this change will pull in any patch version upgrades to the underlying imap library without this change. I'm about to update all the dependencies of this library, so i'll go ahead and increase the the number in package.json, but this is not actually necessary to fix your problem and will not require a new version to be published to npm.


Build with nightly Rust on the Web

Motivation
We need to be able to use threading for the Web client (specifically Wasm atomics), and these are only enabled in nightly Rust.

Proposal
Build for the Web using a nightly compiler.  Keep the native build working using a stable compiler, to ensure we don't accidentally lose stable compatibility.

Test Plan
CI.

Release Plan

Nothing to do / These changes follow the usual release cycle.

Links

reviewer checklist

I guess I've already merged this one in #2516 except a trivial Nix change!


Missing spell color

Hello,
It looks like spell color is missing because I can't see text errors using nord theme.
See using PaperColor:

And using nord:

@markand Thanks for your contribution :+1:
@dylnmc Maybe a new theme configuration to allow users to explicitly enable underlines (including undercurl`) would be nice (https://github.com/arcticicestudio/nord-vim/issues/105#issuecomment-370399045). I think it should be disabled by default since there are unfortunately still too many terminals without support for it. The default should be then to use the fg style.

Hello,
Sorry I did not give a lot of information. The screenshots come from vim in GNOME Terminal (which supports underline since some commands like systemctl, hg or even man produce some underlined text). In gvim it works fine as you said using jagged style underline in red.
The snippet NordFixes works fine if added before colorscheme nord. Thanks :)

Resolved in #127 which superseded #109.


Keep plugin type after building

May fix https://github.com/Morgbn/nuxt-csurf/issues/19
It seems that there is an issue in nuxt-module-builder that makes plugin types  are not preserved in build output.
This fix takes reference from the fix in @nuxt/pinia module https://github.com/vuejs/pinia/pull/2147

Hello @linhmtran168, I think this problem is solved, thanks for the pull request ;)


How to call a url which automatically redirects to another page?

Hi,
My scenario goes like this
1.There is already a url(http://localhost/loginAnothersite) which when fired (in browser) would redirect to anothersite.com
2.Now I have a different url (http://localhost/loginSite/AnotherSite) .This url when fired would expect to call 'http://localhost/loginAnothersite' internally (through guzzle-the only point when guzzle comes into picture),but the end output would be same as the browser would redirect to anothersite.com.
How do I achieve this wih guzzleHTTP ?

Guzzle will follow redirects like a browser automatically. Is this not working for you?

I tried by setting header and it worked,didnt try with guzzle anymore

Ok. Does this issue need to be closed then?


remove verbase etw in hot codepath

These two etw check shows up in some trace. We should avoid perf impact in hot codepath here.

@digitalinfinity can you take a quick look? simple fix

@dotnet-bot test this please

LGTM


ADFT0015: Type [managedVirtualNetwork\default\managedPrivateEndpoint] is not supported

Many thanks for all of your work on this, it is very much appreciated. I've been trying to get the Private EndPoints working in your latest release but still get the same error mentioned by my coleague Golovac in the linked issue that has been closed:
ADFT0015: Type [managedVirtualNetwork\default\managedPrivateEndpoint] is not supported
Is this due to the JSON files for these objects being stored in an unusual location compared to Data Factories other objects: DataFactory\managedVirtualNetwork\default\managedPrivateEndpoint? I've tried using different values in the Options file: managedVirtualNetwork\default\managedPrivateEndpoint.* or managedPrivateEndpoint.* but to no avail. Any pointers on what I may be doing wrong are much appreciated, otherwise I assume there is still an issue when trying to configure private endpoints using this tool.
Originally posted by @PlotlessMind in https://github.com/SQLPlayer/azure.datafactory.tools/issues/95#issuecomment-906813073

Get-Module -Name "Az.DataFactory"
Remove-Module azure.datafactory.tools -ErrorAction:Ignore
Import-Module ".\azure.datafactory.tools.psd1" -Force
Get-Module azure.datafactory.tools
$ErrorActionPreference = 'Stop'

$ResourceGroupName = 'rg-datafactory'
$Location = "NorthEurope"
$RootFolder = ".\test\BigFactorySample2_vnet"
$DataFactoryName = 'BigFactorySample2-test'

# Deploy ADF without one LS:
$o = New-AdfPublishOption
$o.Excludes.Add('*.LS_SqlServer_DEV19_AW2017', '')
Publish-AdfV2FromJson -RootFolder "$RootFolder" -ResourceGroupName "$ResourceGroupName" -DataFactoryName "$DataFactoryName" `
      -Location "$Location" -Option $o

Output:
===================================================================================
STEP: Deployment of all ADF objects...
Start deploying object: [linkedService].[LS_AzureSqlDb_AW2014_viaMVN_MI] (1 dependency/ies)
Start deploying object: [IntegrationRuntime].[AzureIR-VnetEnabled] (1 dependency/ies)
Start deploying object: [managedVirtualNetwork].[default] (0 dependency/ies)
Finished deploying object: [managedVirtualNetwork].[default]
Finished deploying object: [IntegrationRuntime].[AzureIR-VnetEnabled]
Finished deploying object: [linkedService].[LS_AzureSqlDb_AW2014_viaMVN_MI]

Code is in this repo.
If something is not working - give me code and files, so I can reproduce the issue.


Adding a Learning Guides section

Maybe it should be named simply 'Guides' instead or something else?

Thank you for submitting!


Suggestion would perform duplicate work

A Pipe request creates an arc with an activeRecipe like this:
recipe TVMazeShowPipe
  use 'LivePipeEntity' #pipe_entity as handle0 // PipeEntity {...}
  use '!421392602208076:scott-piped--LVjBq2Bdkr75vO_8ryH:6' as handle1 // [Description {...}]
  use '!421392602208076:scott-piped--LVjBq2Bdkr75vO_8ryH:7' as handle2 // TVMazeFind {...}
  use '!421392602208076:scott-piped--LVjBq2Bdkr75vO_8ryH:8' #piped #tv_show as handle3 // TVMazeShow {...}
  slot 'slotid-!421392602208076:scott-piped--LVjBq2Bdkr75vO_8ryH:1' as slot0
  slot 'slotid-!421392602208076:scott-piped--LVjBq2Bdkr75vO_8ryH:5' as slot1
  slot 'rootslotid-root' #root as slot2
  PipeEntityReceiver as particle0
    pipe <- handle0
    consume root as slot2
      provide pipes as slot0
  TVMazeFindPipeShow as particle1
    descriptions -> handle1
    find <- handle2
    show -> handle3
  TVMazeShowPipe as particle2
    find -> handle2
    pipe <- handle0
    consume pipes as slot0
      provide content as slot1

Then the planner suggests adding particles like so:
recipe TVMazeShowPipe
  create as handle0 // [~a]
  create as handle1 // TVMazeFind {...}
  create #piped #tv_show as handle2 // ~
  use 'LivePipeEntity' as handle3 // PipeEntity {...}
  slot 'slotid-!421392602208076:scott-piped--LVjBq2Bdkr75vO_8ryH:1' as slot0
  TVMazeFindPipeShow as particle0
    descriptions -> handle0
    find <- handle1
    show -> handle2
  TVMazeShowPipe as particle1
    find -> handle1
    pipe <- handle3
    consume pipes as slot0
      provide content as slot1

The suggestion will work fine, but all it does is create a duplicate handle (create #piped #tv_show as handle2) and recalculate data that already exists in the Arc.

Duplicate of #2491


fetchAll withRelated option

The fetchAll method doesn't document a withRelated option, yet the fetchPage method documents that it sends the withRelated option to fetchAll.
Does fetchAll accept the withRelated option or not?

@chamini2 fetchAll is a alias of...
this.forge().fetchAll(options)

// to be exact
fetchAll(options) {
  return this.forge().fetchAll(options);
}

Good point to have it in docs.

I don't really understand 😕, does it accept withRelated?

@chamini2 in my experience it accepts it, but does not produce a useful result.

@nabilfreeman Could you specify?

@chamini2 I had the same question myself. It appears that withRelated does seem to work for me. However the method to access of the related information is not clear. I had to google quite a bit to wrap my head around it. I hope this helps:
Assuming that 'relatedTable' is the model we are joining to:
   yourModel.fetchAll({withRelated: ['relatedTable']})

Will work. When promise is resolved you must use the model.related() function on the collection returned. Assuming that the collection returned is stored in yourModels, you could access the related data like so:
  var relatedTableData = yourModels.related('relatedTable');
  // access properties inside relatedTableData as you would any model

To read more about model.related follow this link to the bookshelfjs documentation.

What about toJSON? I thought the withRelated property is here to eagerly load the relations.
toJSON does not take that into account.

Hi, is there any update on this? What's the proper way to fetch a collection with related information? It would be great if this could appear in the docs.

To whoever reads this:
First the good news: I can confirm this works with Bookshelf 1.2.0:
  let result = await models.packages
    .fetchAll({
      require:     false,
      columns:     [
          'packages.id',
          'packages.name',
      ],
      withRelated: [
        'packageCollections',
      ],
      debug:       false,
    });

The bad news: the documentation is not great. This behavior indeed contradicts with the documentation.
Another very big gotcha that wasted many hours of my time: this ORM does the joining of related entities in the JavaScript process itself, not by using SQL joins. So, if you don't include the primary key column or foreign key column that is used for any sort of joining, you won't get the relevant related data at all.
There won't be any error or warning - of course. You'll just be left wondering, what the heck is happening?
So, yeah, make sure you include the relevant ID columns in the columns list.
And if you can - please, just use a different, more modern ORM.


[Question] iOS 7 Support

Will this work for iOS 7 deployment target?

The minimum deployment target of ReactiveObjC is iOS 8, so unfortunately it will not without making some changes. While I can't comment on the amount of work that would be necessary to make this change, someone else may be able to. However, I'm not sure this is something that we'd want to merge, since it would complicate dynamic framework support (and iOS 8 and below is less than 3% of iOS users).

You may have luck with an old version of ReactiveCocoa though (pre 3.0), which includes this same API.

Yes, I'm still successfully using Reactive Cocoa 2.5 in one particular project that still supports iOS 7.
pod 'ReactiveCocoa', '~> 2.5'


Abstract template renderer

We have to provide more abstract template renderer to make possible use Jinja2, Mako, etc.

@rultor hello

@rultor hello

@ikalnitsky Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)


npm link exist node_modules error

tsconfig.json
{
    "compileOnSave": false,
    "compilerOptions": {
        "outDir": "./dist/out-tsc",
        "baseUrl": ".",
        "paths": {
            "@angular/*": [
                "./node_modules/@angular/*"
            ]
        },
        "noImplicitAny": true,
        "sourceMap": true,
        "inlineSources": true,
        "inlineSourceMap": true,
        "declaration": true,
        "moduleResolution": "node",
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "skipLibCheck": true,
        "removeComments": true,
        "target": "es5",
        "typeRoots": [
            "node_modules/@types"
        ],
        "lib": [
            "es2017",
            "dom"
        ]
    },
    "include": [
        "src/**/*",
        "node_modules/fis-ui/index.ts",
        "node_modules/fis-ui/src/**/*"
    ]
}

I have the same error with Angular 5, angular-cli 1.5.4 but with ngZone
Error: StaticInjectorError[NgZone]:
StaticInjectorError[NgZone]:
NullInjectorError: No provider for NgZone!
at _NullInjector.get (core.js:923)
at resolveToken (core.js:1211)
at tryResolveToken (core.js:1153)
at StaticInjector.get (core.js:1024)
at resolveToken (core.js:1211)
at tryResolveToken (core.js:1153)
at StaticInjector.get (core.js:1024)
at resolveNgModuleDep (core.js:10585)
at _createClass (core.js:10630)
at _createProviderInstance$1 (core.js:10596)
Remove @angular from linked library helps, but it's not a solution because I can't update module after that.

#8677 The same

Same. Different injector error.

Closing in favor of https://github.com/angular/angular-cli/issues/8117. It seems to generally be the same problem.


fix: e2e test - konflux preflight-check - bundle dockerfile conformity

Description
fix EC issue, that last one preflight check.
Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue # OLS-822
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm

/approve


AttributeError thrown by ilab diff on yaml that is just a list

Describe the bug
Old/invalid yaml throws an AttributeError instead of a more appropriate error.
To Reproduce
Steps to reproduce the behavior:

Copy this old one: /Users/markstur/gh/instructlab/test_run_XXXXXXXX.taa3Yg9enz/taxonomy/compositional_skills/writing/freeform/jokes/puns/testrun_qna.yaml
run ilab diff
See error

Expected behavior
Either a usable validation error or a default version (missing version) handled.
Screenshots
(venv) markstur@Marks-MacBook-Pro test_run_XXXXXXXX.taa3Yg9enz % ilab diff
compositional_skills/writing/freeform/jokes/puns/testrun_qna.yaml
compositional_skills/writing/freeform/jokes/puns/qna.yaml
Traceback (most recent call last):
File "/Users/markstur/gh/instructlab/test_run_XXXXXXXX.taa3Yg9enz/venv/lib/python3.9/site-packages/instructlab/utils.py", line 437, in read_taxonomy_file
version = get_version(contents)
File "/Users/markstur/gh/instructlab/test_run_XXXXXXXX.taa3Yg9enz/venv/lib/python3.9/site-packages/instructlab/utils.py", line 398, in get_version
version = contents.get("version", 1)
AttributeError: 'list' object has no attribute 'get'
Device Info (please complete the following information):

Hardware Specs: [e.g. Apple M2 Pro Chip, 16 GB Memory, etc.]
OS Version: [e.g. Mac OS 14.4.1, Fedora Linux 40]
Python Version: [output of python --version]
InstructLab Version: [output of ilab --version]
Mac M3 ilab 0.15.1.dev7

Additional context
Notice the yaml is valid but it is just a list so it fails when code assumes it is a map.

What is the yaml file used here? Perhaps you can attach it?


Referencing System.Management.Automation in .NET Core / VS Code

What's the correct way to reference System.Management.Automation? E.g., this snippet from project.json:
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.0",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Configuration.CommandLine": "1.0.0",
    "Microsoft.AspNetCore.Routing": "1.0.0",
    "System.Security.Cryptography.Algorithms": "4.2.0",
    "System.Management.Automation": "6.1.7601.17514"
  },

Works when you run dotnet restore in that it finds and claims to install the System.Management.Automation dependency (noting that .17515 isn't compatible with .NET Core). But you can't simply add a using in the code, or it says:
The type or namespace name 'Management' does not exist in the namespace 'System'

The intent here is to programmatically instantiate PowerShell in the code, but .NET Core is a bit restrictive in how it wants references handled...

This is a known issue for NuGet that we are trying to resolve. There are a number of rogue System.Management.Automation packages that external people have posted. Those packages are all "FullCLR" assemblies and are not compatible with PowerShell Core.
The current way to consume the PowerShell Core version of System.Management.Automation is to copy the technique used by this project. Our nuget.config file points to the correct version that is posted to MyGet. powershell-win-core\project.json shows how to consume it within your project.json.

Hi Don.
There are few things about dotnet cli that may help you sort it out.

If you don't specify nuget feeds explicitly with nuget.config it will use https://www.nuget.org
PowerShell Team didn't published SMA there, but somebody did a long time ago (as @mirichmo said) https://www.nuget.org/packages?q=System.Management.Automation
You current setup consumes this package from nuget. You can make it consume your local SMA copy from GAC, if you build for FullCLR, but you would need to include reference under frameworks / net451 / frameworkAssemblies, like here https://github.com/PowerShell/PowerShell/blob/dd2394b1e6088f6c82054f5cae5520e532010fd4/src/System.Management.Automation/project.json#L188
There are different dependencies sections in project.json: globabl and framework specific. You should use them appropriately.
CoreCLR version of SMA will require additional massage on Initialization to register ALC (AssemblyLoadContext). For example, check our c# test runner: https://github.com/PowerShell/PowerShell/blob/master/test/csharp/fixture_AssemblyLoadContext.cs

Perfect.


refactor: use locally install node_modules instead of global

Makes the setup process slightly easier / less prone to error if the user has a different version of the dependency installed globally.

I like the approach because it's also cleaner.


[VM] Allow VM creation with specialized VHD

Fixes #1961. Adds a storage profile for unmanaged specialized VHD.  Refactors existing logic to (hopefully) be easier to maintain.

@yugangw-msft the tests all pass on my machine, so that's mysterious. The logic is in place though if you could take a look.  I'm not looking to merge this until sometime next week.

@yugangw-msft, @derekbekoe comments addressed. Let me know what you think.

Codecov Report

Merging #2256 into master will increase coverage by 0.03%.
The diff coverage is 61.87%.

@@            Coverage Diff             @@
##           master    #2256      +/-   ##
==========================================
+ Coverage   72.95%   72.99%   +0.03%
==========================================
  Files         458      458
  Lines       19499    19568      +69
  Branches     2578     2765     +187
==========================================
+ Hits        14226    14283      +57
+ Misses       4390     4350      -40
- Partials      883      935      +52

Impacted Files
Coverage Δ

...ure-cli-vm/azure/cli/command_modules/vm/_params.py
95.97% <100%> (+0.02%)
:white_check_mark:

...re-cli-vm/azure/cli/command_modules/vm/commands.py
92.16% <100%> (+0.04%)
:white_check_mark:

.../azure/cli/command_modules/vm/_template_builder.py
84.14% <100%> (+0.09%)
:white_check_mark:

...e-cli-vm/azure/cli/command_modules/vm/_vm_utils.py
74.07% <16.66%> (-7.18%)
:x:

...zure-cli-vm/azure/cli/command_modules/vm/custom.py
73.59% <58.33%> (-0.13%)
:x:

...cli-vm/azure/cli/command_modules/vm/_validators.py
73.69% <60.9%> (+0.22%)
:white_check_mark:

...li-role/azure/cli/command_modules/role/commands.py
82.5% <0%> (ø)
:white_check_mark:

...torage/azure/cli/command_modules/storage/custom.py
87.5% <0%> (ø)
:white_check_mark:

...etwork/azure/cli/command_modules/network/custom.py
58.81% <0%> (ø)
:white_check_mark:

...-storage/azure/cli/command_modules/storage/util.py
19.23% <0%> (ø)
:white_check_mark:

... and 34 more

Continue to review full report at Codecov.

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


How to find necessary data from DevTools

hi @deathlyface what a neat script you have
I love the readme you've done, it's very clear.
Wanted to try the same for a local broker (www.nordnet.fi). Target would be to get prices from this broker, but am not that good with DevTools.
I wonder how could I get to that step that you mentioned in your 'How it Works' // 'TradingView API' part. Especially I liked the lean way of expressing the url, the description of the POST and also the result.
This lean way of expressing them helped me a lot of making it work for me in py.
But could I, and how, do the same for my local broker? Would appreciate any good click instructions on how to get those url and post's in a clean way defined.
Looking fwd to hear from you guys.
br
kimmo

Hey @kimble72,
I believe you don't need the DevTools. Check out the Nordnet API documentation: https://www.nordnet.fi/externalapi/docs and search for PRICE_INFO. Hope this helps.

Hey @kimble72,
I believe you don't need the DevTools. Check out the Nordnet API documentation: https://www.nordnet.fi/externalapi/docs and search for PRICE_INFO. Hope this helps.

hi thanks @deathlyface that was a good observation from your side

hi thanks @deathlyface that was a good observation from your side


KeyError: 'BENCHMARK'

Hello, I want to prepare the dataset and run CUDA_VISIBLE_DEVICES=0 nohup bash ./leaderboard/scripts/collect_data.sh 22023 22033 town05_00 False True roach_ap_agent_data_collection all_towns_traffic_scenarios_no256  2>&1 > town05_00.log &
However, the town05_00.log appear the following error:
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 40, in
from leaderboard.utils.statistics_manager import StatisticsManager
File "/home/user/ThinkTwice-main/leaderboard/leaderboard/utils/statistics_manager.py", line 28, in
if os.environ["BENCHMARK"] == "longest6":
File "/home/user/anaconda3/envs/thinktwice/lib/python3.7/os.py", line 681, in getitem
raise KeyError(key) from None
KeyError: 'BENCHMARK'
How can I fix it? Thanks.

@jeffxhsiao  Sorry. It's a bug introduced by an update. You could add a BENCHMARK environment variable with any value other than "town05long" and "longest6".  I have updated the scripts as well.

It works! Thank you.


Create shared wireframe doc for iterating on UI design

@jb-adams do you have a preferred tool for wireframes/mockups? I've used Figma a bit, so would be happy to create and share a new project there.
I figure it's easier to brainstorm, share, and discuss ideas about layout, style, etc. via some sort of visual interface — rather than by text. :)

@jaeddy Figma sounds good!
This is the email I've used for my Figma account<EMAIL_ADDRESS>


__

I have deleted the issue. sorry for bothering you.

I have deleted the issue. sorry for bothering you.

Could u plz tell me why you closed, I have the same consideration as you mentioned before, thanks!

Not a bother!
I think the original question was about preprocessing. The relevant line for that is here: https://github.com/y0ast/DUE/blob/main/lib/evaluate_ood.py#L13
So the "out of distribution" dataset is indeed preprocessed like the "in distribution" set.


question about world.

Matierials and stuff of your mod will generate only in new chunks? Or even in old chunks of my world?

The only thing that generates is the clay stamps in dungeon loot, so that will only appear in new chunks, unless you have something else that will give you access to loot table items in existing chunks.  They can also be bought and sold through some villagers.
Everything else is crafted through common materials.


CRAYSAT-1935: create_image_customization_session() missing image_name argument

Summary and Scope
Traceback Error - "TypeError: create_image_customization_session() missing 1 required positional argument: 'image_name'" has been observed with the latest stable build of release/3.25
To fix this, Backport CRAYSAT-1747: Allow passing CFS session name to SAT 2.6 / CSM 1.5 as a solution
Incorrect logging is observed in sat bootprep logs SAT is also generating a session name, which is conflicting with session name generated in create_image_customization_session
Hence updating the begin_image_configure to pass session name to address sat bootprep incorrect logging
(cherry picked from commit e35ac289cfac844d98727f715c742248ce9239e7)
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CRAYSAT-1935
This PR backports the changes from CRAYSAT-1747: https://github.com/Cray-HPE/sat/pull/203

Testing
List the environments in which these changes were tested.
Tested on:
#rocket
Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?
Test the unstable build to create the images successfully from sat bootprep command without any Traceback error
Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
[x] HPC Product Announcement prepared, if applicable

Testing output: https://gist.github.com/annapoorna-s-alt/11628462dc73a84b4adaf63c02984fdc


docs: Upgrading k8s components

/cc @robszumski @joshix @bcwaldon

Related https://github.com/coreos/bugs/issues/978

LGTM after language regarding kubelet restart is removed.


[5.2] Envoy PHP Notice Undefined variables

Laravel Version: 5.2
PHP Version: 7.0

Description:
Runing envoy tasks always fails with "Undefined variable" PHP Notice if another tasks has defined variables.
Steps To Reproduce:
@servers(['server'] => 'localhost'])

@task('taskwithvariables', ['on' => 'server'])
 echo {{$message}}
@endtask

@task('hello', ['on' => 'server'])
 echo "hello"
@endtask

Runing from bash
envoy run hello

Runing from controller throws exception:
(new Process("envoy run hello"))->mustRun();

This issue is now fixed, will be available in the next release of Envoy.
https://github.com/laravel/envoy/pull/87


Disable Autoplay?

I was just wondering what lines of code I would have to change to stop the program from automatically clicking the play button? It just gets really annoying how it always restarts without me telling it to. Or if there is an option to have it stop?

This feature is so that, IMO, people can farm Facebook EXP without the need of having to sit there watching the screen so that they can restart the game when the bot dies...
I'm not sure if there's a way to turn it off. You'd be better off asking @Apostolique, or someone who has shut off this feature before...

@Apostolique Do you know what code I have to remove so that I can stop it from autoplaying? I attempted a couple code at the top of the page but it just messes up the whole bot completely. :/

https://github.com/Apostolique/Agar.io-bot/blob/b6bd1d2c6c7b48d734e181e67c31606d4ed230c7/launcher.user.js#L652
Comment that line out.

It worked! Thanks!

One more question, do you know how to make it so that it doesn't quite a server? I want to use this on a private server: http://agar.io/?ip=<IP_ADDRESS>:443 but whenever I load it up, it changes the server. Do you know how I can stop that?

The launcher doesn't have that.

@Apostolique, do you think it's possible that you can implement a way so you can change servers, via IP? Agariomods, and other js scripts have found out a way to change the ip you're connecting to, so that you're able to go to a different server.

Well is there anyway to stop it from changing servers or no? It must always be on the public Agar.io servers?

You guys seem to want the opposite thing. One wants the server to change and the other doesn't want it to change? I'm not sure I understand what you want.

@Apostolique, it's for changing servers via IP, which can be done by other scripts, but @makanenzo10 is asking how to stop the server from changing, because it always heads back to the Official Agar.io servers for him when he tries to connect to his private server.

Exactly what Drflash55 is saying. There has to be some way to get rid of it?

I didn't have time to fix this yet, but I should be able to later this week.

You might want to change the title of the issue. Also, here is a relevant issue: https://github.com/Apostolique/Agar.io-bot/issues/356

Alright @Apostolique

Fixed.


No module named 'pyrep.robots.arms.dual_panda

Hi , I have met this confusing problem .
Traceback (most recent call last):
File "dataset_generator.py", line 5, in
from rlbench import ObservationConfig
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/rlbench/init.py", line 12, in
from rlbench.environment import Environment
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/rlbench/environment.py", line 10, in
from pyrep.robots.arms.dual_panda import PandaLeft
ModuleNotFoundError: No module named 'pyrep.robots.arms.dual_panda'
that is no files dual_panda in pyrep , and i also check my package there is no dual_panda indeed .
i also check the official repo there is also no dual_panda at all . See the screen-shot below.
what is more there is no files that is about the dual things like dual_panda,dual gripper and so on .
i wonder if pyrep have just chang the repo?

@markusgrotz looking forward to your help. Appreciate.

Hi Yifei-Wei,
Thank you very much for your interest. It seems like you are using the official PyRep. Can you please check if you are using my fork? The repository is here https://github.com/markusgrotz/Pyrep/ and instructions for installation are here https://github.com/markusgrotz/peract_bimanual/blob/main/INSTALLATION.md. I am working on a Docker image and I have script to install necessary dependencies (see the README)
Does this help you?
Kind regards,
Markus

thanks for your help.
But there is another problem for running train.py
(rlbench) yfwu@comp:~/bimanual/peract_bimanual$ python train.py
train.py:18: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
@hydra.main(config_name="config", config_path="conf")
/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/hydra/_internal/defaults_list.py:251: UserWarning: In 'config': Defaults list is missing _self_. See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/default_composition_order for more information
warnings.warn(msg, UserWarning)
/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/hydra/core/default_element.py:124: UserWarning: In 'method/PERACT_BC': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/changes_to_package_header for more information
deprecation_warning(
/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/hydra/_internal/hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
ret = run_job(
[2024-11-06 22:25:22,422][root][INFO] -
method:
name: PERACT_BC
agent_type: leader_follower
robot_name: bimanual
image_crop_size: 64
bounds_offset:

0.15
voxel_sizes:
100
include_prev_layer: false
num_latents: 2048
latent_dim: 512
transformer_depth: 6
transformer_iterations: 1
cross_heads: 1
cross_dim_head: 64
latent_heads: 8
latent_dim_head: 64
pos_encoding_with_lang: true
conv_downsample: true
lang_fusion_type: seq
voxel_patch_size: 5
voxel_patch_stride: 5
final_dim: 64
low_dim_size: 4
input_dropout: 0.1
attn_dropout: 0.1
decoder_dropout: 0.0
lr: 0.0005
lr_scheduler: false
num_warmup_steps: 3000
optimizer: lamb
lambda_weight_l2: 1.0e-06
trans_loss_weight: 1.0
rot_loss_weight: 1.0
grip_loss_weight: 1.0
collision_loss_weight: 1.0
rotation_resolution: 5
activation: lrelu
norm: None
crop_augmentation: true
transform_augmentation:
apply_se3: true
aug_xyz:

0.125
0.125
0.125
aug_rpy:
0.0
0.0
45.0
aug_rot_resolution: ${method.rotation_resolution}
demo_augmentation: true
demo_augmentation_every_n: 10
no_skip_connection: false
no_perceiver: false
no_language: false
keypoint_method: heuristic
ddp:
master_addr: localhost
master_port: '0'
num_devices: 1
rlbench:
task_name: multi
tasks:

open_drawer
slide_block_to_color_target
demos: 100
demo_path: /my/demo/path
episode_length: 25
cameras:
over_shoulder_left
over_shoulder_right
overhead
wrist_right
wrist_left
front
camera_resolution:
128
128
scene_bounds:
-0.3
-0.5
0.6
0.7
0.5
1.6
include_lang_goal_in_obs: true
replay:
batch_size: 8
timesteps: 1
prioritisation: false
task_uniform: true
use_disk: true
path: /tmp/arm/replay
max_parallel_processes: 32
framework:
log_freq: 100
save_freq: 100
train_envs: 1
replay_ratio: ${replay.batch_size}
transitions_before_train: 200
tensorboard_logging: true
csv_logging: true
training_iterations: 40000
gpu: 0
env_gpu: 0
logdir: /tmp/arm_test/
logging_level: 20
seeds: 1
start_seed: 0
load_existing_weights: true
num_weights_to_keep: 60
num_workers: 0
record_every_n: 5
checkpoint_name_prefix: checkpoint

[2024-11-06 22:25:22,423][root][INFO] - CWD:/tmp/arm_test/multi/PERACT_BC
[2024-11-06 22:25:22,423][root][INFO] - Starting seed 0.
/home/yfwu/bimanual/peract_bimanual/train.py:18: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
@hydra.main(config_name="config", config_path="conf")
[11/06/24 22:25:23] INFO     INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:1 to store for rank: 0                             distributed_c10d.py:442
INFO     INFO:torch.distributed.distributed_c10d:Rank 0: Completed store-based barrier for key:store_based_barrier_key:1 with 1 nodes. distributed_c10d.py:476
INFO     INFO:root:Using method PERACT_BC with type leader_follower                                                                        agent_factory.py:24
Error executing job with overrides: []
Traceback (most recent call last):
File "train.py", line 93, in main
mp.spawn(
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 239, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 197, in start_processes
while not context.join():
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 160, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/utils/versions.py", line 80, in require_version
got_ver = pkg_resources.get_distribution(pkg).version
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 534, in get_distribution
dist = get_provider(dist)
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 417, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1070, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 897, in resolve
dist = self._resolve_dist(
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 938, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sacremoses' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/home/yfwu/bimanual/peract_bimanual/run_seed_fn.py", line 45, in run_seed
agent = agent_factory.create_agent(cfg)
File "/home/yfwu/bimanual/peract_bimanual/agents/agent_factory.py", line 28, in create_agent
agent_fn = agent_fn_by_name(method_name)
File "/home/yfwu/bimanual/peract_bimanual/agents/agent_factory.py", line 92, in agent_fn_by_name
from agents import peract_bc
File "/home/yfwu/bimanual/peract_bimanual/agents/peract_bc/init.py", line 1, in
import agents.peract_bc.launch_utils
File "/home/yfwu/bimanual/peract_bimanual/agents/peract_bc/launch_utils.py", line 8, in
from agents.peract_bc.qattention_peract_bc_agent import QAttentionPerActBCAgent
File "/home/yfwu/bimanual/peract_bimanual/agents/peract_bc/qattention_peract_bc_agent.py", line 28, in
import transformers
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/utils/versions.py", line 94, in require_version_core
return require_version(requirement, hint)
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/utils/versions.py", line 82, in require_version
raise pkg_resources.DistributionNotFound(requirement, ["this application", hint])
pkg_resources.DistributionNotFound: The 'sacremoses' distribution was not found and is required by this application,
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git master
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

I think the main error is
/home/yfwu/bimanual/peract_bimanual/train.py:18: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
@hydra.main(config_name="config", config_path="conf")
[11/06/24 22:25:23] INFO INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:1 to store for rank: 0 distributed_c10d.py:442
INFO INFO:torch.distributed.distributed_c10d:Rank 0: Completed store-based barrier for key:store_based_barrier_key:1 with 1 nodes. distributed_c10d.py:476
INFO INFO:root:Using method PERACT_BC with type leader_follower agent_factory.py:24
Error executing job with overrides: []
Traceback (most recent call last):
File "train.py", line 93, in main
mp.spawn(
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 239, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 197, in start_processes
while not context.join():
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 160, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/utils/versions.py", line 80, in require_version
got_ver = pkg_resources.get_distribution(pkg).version
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 534, in get_distribution
dist = get_provider(dist)
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 417, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1070, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 897, in resolve
dist = self._resolve_dist(
File "/home/yfwu/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 938, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sacremoses' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yfwu/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/home/yfwu/bimanual/peract_bimanual/run_seed_fn.py", line 45, in run_seed
agent = agent_factory.create_agent(cfg)
File "/home/yfwu/bimanual/peract_bimanual/agents/agent_factory.py", line 28, in create_agent
agent_fn = agent_fn_by_name(method_name)
File "/home/yfwu/bimanual/peract_bimanual/agents/agent_factory.py", line 92, in agent_fn_by_name
from agents import peract_bc
File "/home/yfwu/bimanual/peract_bimanual/agents/peract_bc/init.py", line 1, in
import agents.peract_bc.launch_utils
File "/home/yfwu/bimanual/peract_bimanual/agents/peract_bc/launch_utils.py", line 8, in
from agents.peract_bc.qattention_peract_bc_agent import QAttentionPerActBCAgent
File "/home/yfwu/bimanual/peract_bimanual/agents/peract_bc/qattention_peract_bc_agent.py", line 28, in
import transformers
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/utils/versions.py", line 94, in require_version_core
return require_version(requirement, hint)
File "/home/yfwu/anaconda3/envs/rlbench/lib/python3.8/site-packages/transformers-4.3.2-py3.8.egg/transformers/utils/versions.py", line 82, in require_version
raise pkg_resources.DistributionNotFound(requirement, ["this application", hint])
pkg_resources.DistributionNotFound: The 'sacremoses' distribution was not found and is required by this application,
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git master

It seems like it is missing some dependencies. Can you try pip install transformers -U ?

I have the transformers==4.21.2

thanks . it do solves my problem.

I spent a whole night fighting with it .
thanks for your help .

@markusgrotz It is really kind of you . Thanks for your help . I think I need to go to bed because it is late enough here .
Have a good day. Best wishes

You are welcome! Setting up a coding environment takes time. I hope you can work on some cool research soon.
Regarding the training: Please don't forget to increase the batch size if you have more GPU memory available. Also PerACT performs better on multi-task. Training longer seems to help

Hi , @markusgrotz . I am reading the paper and redo the task and I have a question about the  prediction procedure.
Does the whole project work like :
lets say that 1 demo have 3 key points , and pass the nets , the nets will give the next 3 best positions. Then the robot move to the  predict points step by step to finish the whole trail.
My question is that whether the Peract only predicts several best points but not the whole trail like ALoha ACT did ?

@markusgrotz thanks for it .Will check it later.


Improved example in README

Extended the example of a multi-module project in the README to demonstrate having multiple assembly task configurations.
This particular area is something that can be unclear for a new sbt user and is often a common question when configuring the sbt-assembly plugin.

Hi @kellydavid,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.lightbend.com/contribute/cla

Thank you!