Fix tests and re-enable test suite

Description
This fixes the tests and re-enables the test suite. The test suite was failing due to a segmentation fault before, see #16 and especially the discussion in #27. This could be resolved by adding the yum package mesa-libGL. After that some tests failed, due to different reasons (missing dependencies, wrong versions of dependencies, bugs). The MuJoCo tests required another yum package: mesa-libOSMesa and setting the environment variable MUJOCO_GL=osmesa to enable offscreen rendering.
The package builds locally for linux64, python 3.9 without errors now. The test stats are:

1706 passed
2 skipped
74 warnings

Notes
Since the test suite is not applied to the latest release of gymnasium, but to 0.27.1, some changes in the recipe are anticipated and marked by comments in the recipe. This should make updates to 0.28.* easier. These are:

0001-add-missing-phys2d-asset-in-setup.patch
Is required for the current release 0.28.1, but an upstream pull request is ~about to be~ merged.
0002-fix-compatibility-version-mismatch.patch
Is only required for <0.28.0 and has been fixed in https://github.com/Farama-Foundation/Gymnasium/pull/335. We still like to use shimmy 0.2.1 to avoid other issues.
jax-jumpy <1.0.0
Is required for <0.28.0 and has been fixed in https://github.com/Farama-Foundation/Gymnasium/pull/345.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Amazing job on this
Looking through the issues I found the following issues,
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=692804&view=logs&jobId=9a864fd9-6c8f-52ca-79ce-2aa6dca1a1de&j=3a25022a-f08c-5c04-be7d-d279a7fc48ef&t=03fcd6e6-009d-576b-db27-27f5032302f9

The reported errors are:
- Encountered problems while solving:
-   - nothing provides requested pytorch-cpu >=1.0
-   - nothing provides jaxlib >=0.3.22 needed by jax-0.3.24-pyhd8ed1ab_0

Im quite confused by this as both jax and pytorch have conda file that match this requirement
For mac OSX tests, there are a couple of issues
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=692804&view=logs&jobId=9a864fd9-6c8f-52ca-79ce-2aa6dca1a1de&j=9c5ef928-2cd6-52e5-dbe6-9d173a7d951b&t=20c71c51-4b27-578b-485d-06ade2de1d00

=========================== short test summary info ============================
ERROR tests/envs/test_action_dim_check.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/envs/test_envs.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/envs/test_make.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/envs/test_mujoco.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/envs/test_rendering.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/experimental/wrappers/test_clip_reward.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/vector/test_sync_vector_env.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/wrappers/test_autoreset.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/wrappers/test_order_enforcing.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
ERROR tests/wrappers/test_passive_env_checker.py - RuntimeError: invalid value for environment variable MUJOCO_GL: osmesa
!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!
======================= 6 warnings, 10 errors in 56.68s ========================

This github discussion might help with the issue - https://github.com/deepmind/dm_control/issues/207

Sorry, just catching up to the notifications from this. Let me know if you need something, but great progress, thanks a lot!

The latest commit fixes a few issues, but no test. The remaining issues form two groups:
Python 3.11
The issue persists, that the test environment for gymnasium-all cannot be installed:

package gymnasium-box2d-0.27.1-py311h38be061_1 requires gymnasium 0.27.1 py311h781c19f_1, but none of the providers can be installed

However, in the test environment for gymnasium-box2d it worked:

gymnasium:                 0.27.1-py311h781c19f_1     local
gymnasium-box2d:           0.27.1-py311h38be061_1     local

The outputs are taken from linux_64_numpy1.23python3.11.____cpython, but it is the same for all except

for osx_64_numpy1.23python3.11.____cpython, where the error message is "package gymnasium-toy_text-0.27.1-py311h6eed73b_1 requires python >=3.11,<3.12.0a0, but none of the providers can be installed", although it worked in the test of gymnasium-toy_text before and
for osx_arm64_numpy1.23python3.11.____cpython, since there are no tests.

I could need some help here. This only happens for Python 3.11 (or NumPy 1.23).
MuJoCo OpenGL Errors
The errors are a bit different, depending on the platform:

linux_aarch64 and linux_ppc64le: "AttributeError: 'NoneType' object has no attribute 'glGetError'"
win_64 and osx_64: "mujoco.FatalError: gladLoadGL error"
osx_64: Additionally there is "pygame.error: No hardware accelerated renderers available"

I tried to build the package in a Windows VM and it worked. Sometimes windows with a "CartPole" environment popped up for a second or so. So the tests only do not work in the Azure Pipeline. However, I am not sure how to reproduce this (docker on windows with a windows image?) and if it is possible to use offline rendering.
I assume the situation on macOS would be similar.
I expected linux_aarch64 and linux_ppc64le to pass, since they should use osmesa as well. Maybe I can fix them. For macOS and windows there might not be a solution for offscreen rendering. Should we skip these tests for macOS and windows?

Great progress, we're getting close IMO!

Python 3.11
The issue persists, that the test environment for gymnasium-all cannot be installed:

That's because we have no python 3.11 builds of gym:
Mamba failed to solve:
 - gymnasium-all 0.27.1.* py311h38be061_1
 - [...]
 - gym

MuJoCo OpenGL Errors
The errors are a bit different, depending on the platform:

linux_aarch64 and linux_ppc64le: "AttributeError: 'NoneType' object has no attribute 'glGetError'"
win_64 and osx_64: "mujoco.FatalError: gladLoadGL error"
osx_64: Additionally there is "pygame.error: No hardware accelerated renderers available"

None of these surprise me terribly; OpenGL needs drivers and/or hardware and we necessarily have them in CI at all, in emulation (aarch/ppc) or on non-Linux platforms (win, osx), particularly since anything about mujoco GL depends on linux-isms.
I would just skip those tests that require OpenGL (or ideally, make the upstream testsuite skip them by default if the driver cannot be found or loaded).

I tried to build the package in a Windows VM and it worked. Sometimes windows with a "CartPole" environment popped up for a second or so. So the tests only do not work in the Azure Pipeline. However, I am not sure how to reproduce this (docker on windows with a windows image?) and if it is possible to use offline rendering.

IIUC, that sounds like things are actually working pretty well, provided the required hardware is there (as you'll have on an actual end-user machine).

That's because we have no python 3.11 builds of gym

That makes sense. Somehow the message irritated me. I would have expected something like "package gymnasium-all-0.27.1-py311h38be061_1 requires gym, but none of the providers can be installed".

I would just skip those tests that require OpenGL (or ideally, make the upstream testsuite skip them by default if the driver cannot be found or loaded).

👍
I will also try to get patches 0003 (skip tests using jax or pytorch, if they are missing) and 0004 (skip "fork" multiprocessing on windows) upstream.

Congrats @ChristofKaufmann, I have closed my re-adding testing PR
@h-vetinari I'm happy to merge if you are
@ChristofKaufmann I'm planning on making a release of gymnasium soon v0.28.2 which should include most of the changes that you have included here

That's cool to hear! :-) I think for the conda package, we should still build v0.28.0 and v0.28.1, just to make them available.
Maybe a few notes to the last push:

Skipping Mujoco tests if OpenGL is not available should be safe here, since we use a conda package of pytorch and even the CPU version. In https://github.com/Farama-Foundation/Gymnasium/pull/480 I had some problems that need to be worked around before that can be merged in.
Skipping the pygame tests for macOS is quite ugly, but maybe okay for now? Maybe you have a better idea.

Thanks a lot, really happy we have test coverage again! 🥳


Design adjustments

Revisit the default styling of catalog, mostly regarding colors and header sizing.

Wish list item ✨  😄


Allows to view top 20 active users

@hectorcorrea tests? You could throw in a view test, which are fast, or test the response from the solr query.

@awead @mjgiarlo Added a view test and implemented the code tweaks (no hash rockets were introduced in the production of this PR)

@awead @mjgiarlo Added a view test and implemented the code tweaks (no hash rockets were introduced in the production of this PR)

:laughing: :bomb: :hash: :rocket: :boom:
I made my comment on what may be a typo but it's small :fries: so :+1: :clap:

Typo has been fixed.

Woot.  Thoughts, merges, @cam156 @awead ?

:+1:


fix pull image that includes a sha

when pulling an image that includes a sha such as:
centos/nginx-112-centos7@sha256:42330f7f29ba1ad67819f4ff3ae2472f62de13a827a74736a5098728462212e7
the final image name in libpod should not contain portions of the sha itself nor the sha
identifier.  and like docker, we provide a 'none' tag as well.
this should fix #877
Signed-off-by: baude<EMAIL_ADDRESS>

Can you add some tests?

Might want to make this a second PR since we want to get this into the release today, if you don't have time.

Other then the tests, this LGTM

@mheon @giuseppe @mtrmac @umohnani8 PTAL

@rhatdan there is a good test already for non fully qualified image pull by sha.

Ok great.

LGTM

LGTM
@rh-atomic-bot r+

and like docker, we provide a 'none' tag as well.

Which part of Docker does that? I see
# docker pull alpine@sha256:7043076348bf5040220df6ad703798fd8593a0918d06d3ce30c6c93be117e430
…
Status: Downloaded newer image for docker.io/alpine@sha256:7043076348bf5040220df6ad703798fd8593a0918d06d3ce30c6c93be117e430
[root@f28 ~]# docker images
REPOSITORY          TAG                    IMAGE ID            CREATED             SIZE
docker.io/alpine    <none>                 11cd0b38bc3c        7 days ago          4.41 MB

where the <none> is a placeholder for “nothing”, not an actual tag value.


Infowindow html tip

Related to: #11340
I've added a second tip about sanitising values with {{{}}}, I changed the tip template to allow multiple lines, this is how it looks:

And this is how it looks in one line:

This is with two lines and a border between the tips:

I'm not sure at all about the text, pinging: @noguerol
Also pinging @CartoDB/design about the 1 line / 2 lines / 2 lines + border

I've checked:

Layer -> Data -> SQL Panel
Layer -> Style -> CARTOCSS Panel
Layer -> Pop-up -> HTML Panel
Layer -> Legend -> HTML Panel
Dataset -> SQL Panel

All of them seem to be working as expected.


Set all defined Subnets to Tinc Config

For Issue https://github.com/opnsense/plugins/issues/752

In Switch Mode for routing we need the local address so we can build manual routing tables.
We read the subnettable with usr2 and build routing entrys. We don't have all Host in all Host folders
We have over 30 Peers in our tinc Network and a Lot of Backup vpns (openvpn, ipsec) so we hab fail over Connections

You have 30 nodes in switch mode? Whats your throughput?

@QDaniel I just can't find a reference configuration where Subnet is in the tinc.conf and I kind of expect this will cause issues with others not using your specific setup.
Doesn't your setup do the same without this (but including the split you've added) and with the local address added in the subnet field? (it should read the host specific configuration from the hosts directory normally)

Yes i can set it To the subnets field.
Your own Subnets can you Put in the tinc.conf
Then you don't need a Host File for your self.
https://www.tinc-vpn.org/documentation/tinc.conf.5
In the Host Class in the opnsense source was no local address field ;-)
Throutput 30 - 60 gb / Day

ok, so we can drop the result.append('Subnet=%s/32'%self.get_local_address().split('/')[0]) then?

@qdaniel in switch mode you can set the network to the node IP, then you can push whatever route you want (e.g. via dynamic routing).

merged in https://github.com/opnsense/plugins/commit/f27d323a8643230fbdfc1b1552cdb35a9d744acd https://github.com/opnsense/plugins/commit/a72e918229e831e6bc7643bd55476b27d2e2248b


Improved css of login and shipment page (#ew2p3r)

@dt2patel

next time please use request review function.

Needs work but we can circle back to that. For now let's get this moved forward.

Ok sir


x/tools/go/pointer: failure with Entering directory and no other output

Entering directory `/workdir/gopath/src/golang.org/x/tools/go/pointer'
Entering directory `/workdir/gopath/src/golang.org/x/tools/go/pointer'
FAIL	golang.org/x/tools/go/pointer	121.027s

greplogs -l -e '^Entering directory .*\nFAIL\s+golang\.org/x/tools/go/pointer'
2022-05-09T19:54:59-b87ceec-f088f49/linux-amd64-longtest

(attn @timothy-king @zpavlinovic)

Does this issue still appear? I was not able to reproduce it locally (go test) or on slowbot builders (TRY=linux-amd64-longtest).
I've tried creating some illustrative examples where Example abruptly ends using return, panic, and os.Exit. I've always got some output, even for os.Exit.
panic: unexpected call to os.Exit(0) during test [recovered]
        panic: unexpected call to os.Exit(0) during test

It is possible that the issue appears under certain timing conditions (or that I am missing something obvious).
I've also went through callees of Example to see if they use os.Exit. I wasn't able to find anything, but my search wasn't exhaustive tbh.
Any other suggestions for reproducing this?

Does this issue still appear?

There is only one occurrence so far in the logs. This is probably a nondeterministic failure of some sort, or perhaps a bad failure mode of some subprocess being terminated due to memory exhaustion.

The Example failure mode that I suspect looks something like this:
$ cat main_test.go
package main

import (
        "fmt"
        "os"
)

func Example() {
        fmt.Println("hah!")
        os.Exit(1)

        // Output:
        // hah!
}

$ go test
exit status 1
FAIL    example 0.008s

But it's also entirely possible that the failure was caused by something else in the process. 🤔
Probably the thing to do for now is just wait for clues from any similar failures.

Strange. I don't see any calls to os.Exit (except indirectly via log.Fatal or similar, which prints an error), and in any case the test driver now detects and reports this mistake. The only calls to t.Fail (which prints no message) are after calls to doOneInput, which maintains the invariant that a false result is never returned without an error being printed.
The "Entering directory" message doesn't mean the failure is necessarily in that Test function (as your discussion of Example implicitly acknowledges), but none of the other tests looks suspicious.
I think it's "impossible", which suggests an external event killed the process. I don't think the go/pointer package itself has a fault. Closing this for now. Feel free to reopen if it recurs.


Gazelle puts output into go_library srcs

First of all thanks for creating this library - it has been really useful. One thing I have noticed though, is that if I have a BUILD file like this (as per example):
go_library(
    name = "go_default_library",
    srcs = [
        "client.go",
    ],
    visibility = ["//visibility:public"],
    deps = [
        "//some:deps",
    ],
)

gomock(
    name = "mock_client",
    out = "mock_client.go",
    interfaces = ["MyClient"],
    library = "//some:go_default_library",
    package = "client",
)

go_test(
    name = "go_default_test",
    srcs = [
        "client_test.go",
        "mock_client.go",
    ],
    embed = [":go_default_library"],
    deps = [
        "//some:deps",
    ],
)

and then I run bazel run //:gazelle it remove mock_client.go from the go_test rule and put it into the go_library rule instead. Is that something you have noticed as well? Any workaround you are aware off or should I just open a ticket in rules_go?

Yeah, the trick is to end the file name with “_test.go”

Ah yes that did the trick, thanks

@jmhodges Actually just thinking a bit further about this, I wonder if the testonly  = True attribute should be respected for this. I actually think that would be the nicest. But I suppose there is nothing gomock could do about this, is there?

Yeah, don’t really have control over the right bits. Thank you!

(I updated the README with some of this stuff btw)


react 15 3 1 and other deps

@keybase/react-hackers this updates react to 15.3.1 which makes dev runtime a bunch faster
also upped some other small deps, nothing seems big
code changed due to a new eslint rule, we can use this or ditch it

👍 as long as most people think the new eslint rule is fine


Why remove old box templates?

Why do https://github.com/boxcutter/centos/commit/51234adad1ccb225dc6171c0888b24ac6568c52a ?
Our team uses boxcutter/centos65, as the environment for our application is only certified up to this version of CentOS. And as the iso_url is still valid, why remove it?

For CentOS 6.5 in particular, we don't have verification that several critical openssh fixes vulnerabilities are installed , like the fix for DROWN and POODLE. We didn't think it was safe to encourage people to use unpatched installs with these critical vulnerabilities. I think you can yum update and at least address POODLE issues on CentOS 6.5, but I'm not sure about DROWN.
Anyway it was due to some really unusual openssl issues discovered after CentOS 6.5 was released.

Anna, thank you for the heads up! Makes perfect sense. I'll notify the team about the issues as we were not considering that...


finatra: fix wrong content-length of UTF-8 string in httpclient

fix wrong content-length of UTF-8 string in httpclient

Current coverage is 95.07%

Merging #283 into master will not affect coverage as of c5bd16d

@@            master    #283   diff @@
======================================
  Files          179     179
  Stmts         2516    2516
  Branches       307     307
  Methods          0       0
======================================
  Hit           2392    2392
  Partial          0       0
  Missed         124     124

Review entire Coverage Diff as of c5bd16d

Powered by Codecov. Updated on successful CI builds.

Thanks for making updates, @joecwu. I'll work on getting this into our internal codebase on Monday.

Hi @joecwu, this has been submitted internally. I will close out the pull request when it makes its way back to GitHub. Thanks again.

Hi @joecwu, sorry for the delay in updating this ticket. This was pushed back to github in commit https://github.com/joecwu/finatra/commit/9b5e4180386645b6b070d4748662871dd149fb9c. Thanks again.


Edit developer guide to reflect two-level parser

Pull Request Test Coverage Report for Build 150

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.577%

Totals

Change from base Build 148:
0.0%

Covered Lines:
1559

Relevant Lines:
2307

💛  - Coveralls


chore: disable runtime shutdown for now

removes the runtime shutdown period for now because some tasks are blocking.

Codecov Report

Merging #1417 (5203c90) into main (db4c4fb) will decrease coverage by 57.56%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1417       +/-   ##
===========================================
- Coverage   76.56%   19.01%   -57.56%
===========================================
  Files         355      355
  Lines       40471    40472        +1
===========================================
- Hits        30986     7695    -23291
- Misses       9485    32777    +23292

Flag
Coverage Δ

integration-tests
19.01% <0.00%> (-3.56%)
:arrow_down:

unit-tests
?

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

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


mgmt, check "getKind" in polymorphic class

PR https://github.com/Azure/autorest.java/pull/2563 would introduce a getter method on the discriminator property. This going to be shipped in next release.
Please let us know if mgmt is OK with it. Or we want to delay a bit (as this changes API shape of the model)
Also there maybe some issue with the generated test code.
https://github.com/weidongxu-microsoft/autorest.java_ci/actions/runs/8039220851/job/21956004744#step:11:6672

The root cause is that parent and child class are not in the same package, and child class calls withKind which is a package private method. Reason the withKind is package private is that parent class is an output-only model, and polymophic discriminator setter method's visibility is set to package private.
https://github.com/Azure/autorest.java/blob/main/javagen/src/main/java/com/azure/autorest/template/ModelTemplate.java#L193-L227
For consumption case, parent class ReservationRecommendationInner (inner class) is in fluent.models package, while child class LegacyReservationRecommendation is in models package.
Make withKind protected in mgmt could resolve this.

Meeting notes:
Use Accessor pattern. Set accessor in parent class and use accessor in child class.
A simpler approach is to make setter protected instead of package-private. Though we probably don't want visibility to be bigger than it should be and we'll break existing code when we switch to using accessor pattern.

Accessor pattern would require generate another helper file?

One thing to consider (if we need setKind), whether user can add a subclass. If user can, it would also need to be protected (as user need to set the "kind").

For Jackson subclass, I can do
    @JsonTypeId
    @JsonProperty(value = "odata.type", required = true)
    public Odatatype getOdataType() {
        return Odatatype.MICROSOFT_AZURE_MONITOR_SINGLE_RESOURCE_MULTIPLE_METRIC_CRITERIA;
    }

To have getOdataType behave as type id.


release-19.2: backupccl: allow restoration of empty db

PR: https://github.com/cockroachdb/cockroach/pull/42733
From release notes:

RESTORE now supports the restoration of empty databases. [#42733][#42733] {% comment %}doc{% endcomment %}

No docs update needed here


[Bug] inline function crash case A

🐛 Bug

It crashed.
To reproduce
Code snippet to reproduce
module me::test3 {
    use liquidswap::liquidity_pool::{get_reserves_size};

    public inline fun reserves_liquidswap<A, B, Curve>(order: bool, a1: u128, a2: u128) {
        if (order) {
            let (xx, yy) = get_reserves_size<A, B, Curve>();
            a1 = (xx as u128);
            a2 = (yy as u128);
        } else {
            let (yy, xx) = get_reserves_size<B, A, Curve>();
            a2 = (yy as u128);
            a1 = (xx as u128);
        };
    }

    public fun a<X, Y, Curve>(order: bool) {
        let (x, y);
        reserves_liquidswap<X, Y, Curve>(order, x, y);
    }
}

[package]
name = 'ass'
version = '1.0.0'
[dependencies]
AptosFramework={local="../af"}
Liquidswap={local="../iface/liquidswap"}
[addresses]
me = "0xd1b58e44ea11ffd326a280c453b080fd8af294298815a00e65b6e2bffc48d6ac"

Stack trace/error message
// Paste the output here
$ ./aptos move publish --bytecode-version 6 --skip-fetch-latest-git-deps --profile dev --included-artifacts none --package-dir ./assembly
Compiling, may take a little while to download git dependencies...

System information
Please complete the following information:

Aptos CLI 1.0.4

1.64.0

Arch Linux
Additional context
Add any other context about the problem here.

I think the problem here is that you're reassigning the arguments

I think the problem here is that you're reassigning the arguments.
So far, I've noticed you can't use inline if:
* You reassign an argument

* You return from the function (the compiler has a proper error message for this now)

* You use the function argument directly like `fp_round(fp_mul(...))`

Besides those cases, the compiler crashes randomly sometimes due to some internal limit being exceeded

I am not going to use inline at foreseen future, instead, https://github.com/mitsuhiko/minijinja


Delete :q

Assume this is a wrong quit out of VI(M) of the pom.xml file

@PVerschueren107 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

这个文件导致git clone失败

The project won't work in Maven without this file.


Bluetooth device disconnection force onto device doesn't resume when connected again

OS:
Windows 10 1703 15063.296 Enterprise
Issue Descriptions:
I use Bluetooth headphones with my Windows 10 laptop and use the Playback setting to force it onto my Bluetooth headphones manually (Stops any speakers blurting out my music on bluetooth disconnect). But on the Web version this picks up my audio device again when I re-connect it but for your application I have to restart the App to able to pick up the audio device again. Common as I normally leave my Bluetooth headphones to auto turn off when popping to meetings and such.
Steps to Reproduce:

Select a audio device manually in the Desktop settings - Playback
Disconnect audio device which stops the playback
Plug/ connect device in again and click play
No audio is played.

We aren't going to constantly scan your computer for new audio devices, that is incredibly inefficient.  You can trigger a new search for media devices though by opening Desktop Settings and navigating to the "playback" tab.
The audio device list will refresh and your newly attached headphones should be on the list 👍


Removing filename from the script path

Assume that this is my yml config:
[...]
        prod:
            outputFolder: dist
            webPath:      /dist
            tasks: []
        files:
            javascripts.js:
                - vendor/js/js1.js
                - vendor/js/js2.js
[...]

The generated HTML will contain the following:
<!-- prod:dev -->
<script src="/dist/javascripts.js/js1.js"></script>
<script src="/dist/javascripts.js/js2.js"></script>
<!-- endbuild -->

Since I am not running any tasks, the script src should be /dist/ + js1.js and js2.js. If I were running a concat, then the script src should become /dist/javascripts.js.
Basically, it makes no sense to include the filename from YML into the full path.

+1


datasets

Hello, I have read your paper, it's really a nice work. Now I want to run this project, but I can not find the source data according to your paper. Can you upload the data you have used? Thanks a lot!

Hi, thank you for your interest in our work, and I have uploaded Aminer and DBLP datasets.


Add description (and blog post) on Editor comments

Editor comments (EDITOR: ...) differ from Internal comments (i.e. TODO:...).
Editor comments are used to indicate notes to the reader of a published document (e.g. a stage deliverable) that requires attention. These differ from internal comments such as "TODO" that are only meant for the author or the editing team.
From @rplews (can quote):

i would use them when i want a reader to see at ballot stage but i would have cleared all ms-word comments before the ballot... just leaving the zz help comment
like "backwards compatibility annex will be developed after comment resolutions are cleared" this way we dont get a bunch of comments saying "you forgot the backwards compat annex or add to the annex, etc..."

This is the documentation task for https://github.com/metanorma/metanorma-iso/issues/682

Refer https://github.com/metanorma/metanorma.org/pull/602

@ronaldtse, as in https://github.com/metanorma/metanorma.org/issues/701, there is already a blog post and a section in the Author's Documentation about this subject:
Annotations now available in all Metanorma outputs
Annotations (editor notes, reviewer notes, to-dos)
Is it still necessary to create another blog post?


Switch to npm:element-resize-detector

Need better support for older-browsers npm:element-resize-detector should cover that

Should fix #4


Document triggers

One issue with this: we have versioned content in the introspection guide although we had said we won't be versioning guides at all. I believe the solution is going to be to move the introspection guide somewhere else, but I'm collecting some feedback before I make that move. I'll probably need to integrate whatever change we land on into this PR since it's the catalyst for the change.
Any feedback is welcome. My tentatively plan is to move the introspection guide into the "EdgeQL" section of the docs. This will keep a clear separation between the versioned and static documentation.

Very clear. Spot on 👍

Moved introspection documentation to "Schema" after discussing with @1st1. I have a PR in on the web site repo to redirect the old introspection URLs to the new: https://github.com/edgedb/edgedb.com/pull/581

I think we also need to touch on for all triggers.

Yes, you're right. I've added an example to cover that.
Cleaned up some other minor things too.

Moved the note about changing the object that triggered closer to the top of the page
Changed the User type to Person
Spaced out some of the REPL output so it's easier to read on the page, even though it doesn't get output that way by the REPL. (I think readability on the page is more important than 100% accuracy in reproducing the REPL output here.)

Ready for you to take another look when you have a chance, @msullivan. I think this will be a quick one for you.

Thank you, @msullivan!

If a triggers goes and accesses objects not through the __old__ and __new__ objects, it will see the state of the database from after the query, not before it (So, seeing any changes already made, but not seeing changes that might have been made by another trigger that fired "earlier")

Does this make __new__.<prop_name> and .<prop-name> equivalent unless the path prefix has changed?

We reject triggers that lead to a cycle as well as queries that would cause the same trigger to need to fire in multiple "stages"

Is there a case when cycling is not the same as causing the same trigger to fire in multiple stages?

So, seeing any changes already made, but not seeing changes that might have been made by another trigger that fired "earlier"

Maybe by pointing this out, you mean that __new__ will show the changes made by prior triggers where not using __new__ will not?

Thank you, @msullivan!

If a triggers goes and accesses objects not through the __old__ and __new__ objects, it will see the state of the database from after the query, not before it (So, seeing any changes already made, but not seeing changes that might have been made by another trigger that fired "earlier")

Does this make __new__.<prop_name> and .<prop-name> equivalent unless the path prefix has changed? Or is __new__ different in some way? I'd like to contrast the two (those being accessing the object via __new__ or without it) or let users know they are the same, whatever the case may be.

There is no partial path prefix in triggers.
What I mean is that if you go directly select from some object by name, it sees the state of that object from after the query

We reject triggers that lead to a cycle as well as queries that would cause the same trigger to need to fire in multiple "stages"

Is there a case when cycling is not the same as causing the same trigger to fire in multiple stages?

Yeah.
Imagine that there is a trigger on Foo that inserts a Bar, and a trigger on Bar that inserts a Baz, and the main query inserts Foo and Bar.
Then the first stage of triggers will insert Bar and Baz, and the second stage of triggers would need to also insert Baz, but we reject that

So, seeing any changes already made, but not seeing changes that might have been made by another trigger that fired "earlier"

Maybe by pointing this out, you mean that __new__ will show the changes made by prior triggers where not using __new__ will not?

No, neither will show it

Would you mind to take a quick look at my new additions here, @msullivan, and make sure they are accurate before I merge? https://github.com/edgedb/edgedb/pull/5157/commits/53e95c4e91aec3425513c6f01a6c4dfdb5341990 and https://github.com/edgedb/edgedb/pull/5157/commits/399a7a79e7cd0bfc3855ff9faaa84aa33e925e6b


Create files.py

Added class-based views.

All new features require an accepted ticket, however this will not be accepted without a consensus on the DevelopersMailingList (see comment).

if this is not accepted in the Django core, you can contribute it to django-extra-view / django-vanilla-views or https://github.com/auvipy/django-vanilla-extensions


Release v0.4.0

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #25   +/-   ##
======================================
  Coverage    1.46%   1.46%
======================================
  Files          22      22
  Lines        2596    2596
  Branches     1293    1293
======================================
  Hits           38      38
  Misses       2497    2497
  Partials       61      61

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 167b116...841681b. Read the comment docs.


feature/11.x Reject and Filter Method for defer collection instance

Implementation of filter and reject Methods for Defer: Enhancing Middleware Flexibility
Benefits to End Users:
Customizable Request and Response Handling: These methods enable users to easily filter or exclude specific requests or responses based on custom conditions, making middleware implementation more powerful and intuitive.
Improved Workflow Control: By supporting conditional logic, users can streamline their application's request and response flow without resorting to verbose or repetitive code.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


stay in lockstep with Filebeat

For the most part, try to stay in lockstep with the latest changes/enhancements in Filebeat. Currently, both libbeat and filebeat are changing a lot, but once they settle down then review that code and apply any needed changes to unifiedbeat.

It turns out that cloning filebeat was not a good idea, but instead to start with libbeat then add code to handle unified2 files. So this is no longer given the recent changes.


Add CeloDance Wallet to Celo use-contractkit

as a celo mobile wallet, celodance support the transfer and staking of celo assets. after talking with clabs and moola, we propose to integrate celodance wallet to moola. the development work is all finished, so please merge the code, thanks!

@1035569003 In addition to the changes I requested, we'll need to chat with you briefly on Discord before we accept code changes. Your Github account is brand new and has no name. It simply looks too suspicious.

@1035569003 In addition to the changes I requested, we'll need to chat with you briefly on Discord before we accept code changes. Your Github account is brand new and has no name. It simply looks too suspicious.

hi，it's our new developer and he use his new account. sure please contact us in discord, the handle is  Emma | Bi23 Labs#9980.  thank you very much!


ConstantSchema serialized incorrectly

Cannot deserialize any codemodels with constants currently.
Currently, ConstantSchema is defined to have a Value that is a ConstantValue, which has its own set of properties. However, right now, the code model is sending this as just a flat value, not an object.

So, this should be a !<!ConstantValue> that has a Value property with the value service.

I've pushed a fix to modelerfour to put a ConstantValue in there.
G

Fixed.


Getting invalid argument error for parameters field when using requireWriteContract

Describe the bug
We are working on a flutter app and working with WalletConnect. We are facing issue calling write contracts. I’m trying to call this payable smart contract function, but It is not working.
Error: Invalid argument (params): Must match function parameters: 3
I tried with 1 parameter and 3 parameters as well. Facing the same issue.
When I verify even in abi, it only takes on parameter with uint256 type.
Additional context

Hello @arrayappy, without any more context I can't help. Can you share the ABI file and contract address by any chance? Or at least the joinPublicChallenge function declaration?

Hello @arrayappy, I saw you closed the issue. Is it solved? Let me know if you need any more help.

Parameters issue was resolved, later faced issue with not redirecting to Metamask. Used this below logic to make it work.


Adding pdfcraft breaks repeat: all

Gem looks really neat, I would really, really like to be able to break my prawn templates down into partials. I installed pdfcraft no problems, but once I hanged the file name extensions from .pdf.prawn to .pdf.pdfcraft I got this error when loading my pdf:
undefined method `repeat' for #<#<Class:0x007f9c50ab2ba8>:0x007f9c58a74c10>

Here's the start of my prawn code if that helps:
require 'prawn'
require 'prawn/table'

repeat :all do
  # header
  bounding_box [bounds.left, bounds.top], :width  => bounds.width do
    font "Helvetica"
    text "#{name_concatenation(@patient_user)} -<EMAIL_ADDRESS>- (#{display_time(Time.now, true)})", :align => :right, :size => 10
    stroke_horizontal_rule
    # NB: a page count is being added just below this at the bottom of the code
  end
end

This file is in app/views/resource/show
No idea why this is or how to fix it.

I fixed this after looking at the example here: https://github.com/kofno/pdfcraft/blob/4669d9e37a4895e62835f67c15c78183318b4c8a/test/dummy/app/views/layouts/application.pdf.pdfcraft
I added a pdf. in front of all my methods and that worked, not sure why that wasn't required before.
pdf.repeat :all do
  # header
  pdf.bounding_box [pdf.bounds.left, pdf.bounds.top], :width  => pdf.bounds.width do
    pdf.font "Helvetica"
    pdf.text "#{name_concatenation(@patient_user)} -<EMAIL_ADDRESS>- (#{display_time(Time.now, true)})", :align => :right, :size => 10
    pdf.stroke_horizontal_rule
    # NB: a page count is being added just below this at the bottom of the code
  end
end

Ok so the partial works and that's great, but it doesn't recognize the existing prawn content being drawn and so the partial text is just messily overwritten on top of the other text.
I've been able to work around this by including manually some extra space on the main view, but of course that only works when the amount of space the partial is going to take up is known (i.e. anything not involving loops or conditional data inclusion).  So this won't work for everything I need it to until this is changed/fixed, but is a good half way solution in the mean time (definitely an improvement on nothing).
Here's what I've done:
  # ADD PARTIAL
  pdf.move_down 0
  render partial: '/patient_users/show/pdf/personal_info'
  pdf.move_down 115

Without the pdf.move_down lines then the partial renders over the top of the other content on the pdf (even if the next piece of content is ALSO put into a partial).

Not sure off the top of my head what that might be. I wonder if you tried passing the pdf reference to your partial as a local if that would work.

I did, I tried a number of combinations like
  render '/patient_users/show/pdf/personal_info', pdf: pdf
  render '/patient_users/show/pdf/personal_info', locals: { pdf: pdf }
  render partial: '/patient_users/show/pdf/personal_info', locals: { pdf: pdf }
  render partial: '/patient_users/show/pdf/personal_info', locals: { parent_ pdf: pdf }

Nothing worked.

Possibly related, my controller action looks like this:
  def show
    respond_to do |format|
      format.pdf { render 'patient_users/show/output' }
    end
  end

I re-checked the documentation and it says to use this:
def index
  respond_to do |format|
    format.pdf { render **pdf:** 'contents' }
  end
end

My code works fine without the "pdf:" after "render", but if I add it in as the documentation suggests, like this:
  def show
    respond_to do |format|
      format.pdf { render **pdf:** 'patient_users/show/output' }
    end
  end

I suddenly get an error:
"ActionView::MissingTemplate at /patient_users/1.pdf
Missing template patient_users/show, application/show with {:locale=>[:en], :formats=>[:pdf], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :pdfcraft, :coffee, :haml, :jbuilder, :prawn, :prawn_dsl]}."
None of the files are moved, and it's a MissingTemplate rather than MissingPartial error that gets thrown.


Export data from interactive learning broken on master

Rasa version: Rasa 2.0.0a4
Issue:
When running interactive learning exporting the stories and nlu training data as yml file does not work. The ending yml is not supported.
Error (including full traceback):
? Export stories to (if file exists, this will append the stories) data/stories.yml

Please provide a valid export path for the stories, e.g. 'stories.md'.

Command or request that led to error:
rasa interactive

Hi, @aleronupe and I are interested in taking this issue and will start working on it

Fixed here: https://github.com/RasaHQ/rasa/pull/6914


Feature Request: Pin or Favorite app registration

In my organization, there are dozens or hundreds of app registrations, the Application Registrations list displays only a subset of them.
I'd like to pin apps I access the most, so I can quickly access and edit them whenever I need.
My current process is filtering for app A, then filtering for app B, then filtering for app A again and so on.

Sorry, looks like it's wrong repository


Current system upgrade: DB with decimal

What could be the most strait forward way to convert Money to float
or at least string that looks like decimal?
Already have DB in MySql and Doctrine 2 with amount as decimal(10,2).
I am trying with IntlMoneyFormatter, but looks like "overkill".
And then again I got commas: "5,042.10"
public function moneyToDecimal(Money $money, $fractionDigits = 2)
{
    $mode = \NumberFormatter::DECIMAL;
    $numberFormatter = new \NumberFormatter('en_US', $mode);
    $numberFormatter->setAttribute(\NumberFormatter::FRACTION_DIGITS, $fractionDigits);
    $moneyFormatter = new IntlMoneyFormatter($numberFormatter, new ISOCurrencies());

    return $moneyFormatter->format($money);
}

public function decimalToMoney($amount, $currencyStr)
{
    $unit = Money::stringToUnits($string);  // 5.00 -> 500
    $currency = new Currency($currencyStr); // EUR
    return new Money($unit, $currency);
}

Is there anything that exists that do similar to above or:
$amountFloat = $money->getAmount()->toInt() / $money->getCurrency()->getFractionAsInt();

$currencies->subunitFor(new Currency('USD')); // returns the subunit for the dollar (2)

As I can see, it will be nice to be able to get $formated value
from IntlMoneyFormatter::format() method.

See the integration paragraph in the readme. Store the amount as an integer in your DB, and the currency as a string (varchar).


Streams constantly declared live

Hi again!
As you may (or may not) remember from my last issue, I haven't exposed LiveStreamDVR to the public internet and therfore force recording via bash script.
After a power-outage, my docker container updated to the latest image, going from version 0.3.4/0.9.7 to 0.4.2/1.0.0. Apart from having to delete the logs folder to get the container to start, another issues, albeit only cosmetic, has arisen.
Most of my channels are displayed as "live" even though they are offline. Even channels that are captured constantly will change from "live capturing" to "live" after the stream has ended.
In contrast, channels that have zero recorded vods in my LiveStreamDVR do not appear as "live".
In the example below, only the captured stream is really live, the two other streams are actually offline.
Any idea what changed in between the versions mentioned above? Any chance to have them show offline even without me being subscribed to events?
thank you again for your awesome work!

that makes sense, there's now a separate "live" and "capturing" status, one is for the actual channel status via event hooks and the other is the local recording. if you start recording manually, it doesn't know when the channel goes offline. gonna have to come up with a solution to that


Not receiving any magnetometer data

Hi!
I'm learning embedded rust and currently trying to control the compass leds of the STM32F3 discovery board using the magnetometer data. I was able to setup everything and I get logs from the accelerometer, but not from the magnetometer.
I used the example code from examples/compass.rs and I'm running rust 1.53.0. Any ideas on what I might be overlooking?
Accel:I16x3 { x: -128, y: -896, z: 16512 }; Mag:I16x3 { x: 0, y: 0, z: 0 }
Accel:I16x3 { x: -320, y: -704, z: 16512 }; Mag:I16x3 { x: 0, y: 0, z: 0 }
Accel:I16x3 { x: -192, y: -576, z: 16448 }; Mag:I16x3 { x: 0, y: 0, z: 0 }
Accel:I16x3 { x: -128, y: -768, z: 16512 }; Mag:I16x3 { x: 0, y: 0, z: 0 }
Accel:I16x3 { x: -256, y: -704, z: 16384 }; Mag:I16x3 { x: 0, y: 0, z: 0 }
Accel:I16x3 { x: -320, y: -768, z: 16512 }; Mag:I16x3 { x: 0, y: 0, z: 0 }

Thanks!

Further investigation seems to reveal that there are different compass modules being used for the discovery board. The latest PCB revision (rev. E) seems to include a LSM303AGR compass instead of LSM303DLHC. Probably there is some incombatibility in the I2C registers?

Probably. I’d have to dig into the datasheets to be sure.
https://www.st.com/resource/en/datasheet/DM00027543.pdf
https://www.st.com/resource/en/datasheet/lsm303agr.pdf
If we had a driver for the new IMU, we could create a feature gate to switch which driver gets exposed. I don’t have the hardware to do it myself, but would happily accept a PR adding such a feature gate. I can dig into the datasheets later to see if I can provide any guidance.

I verified that the default I2C bus addresses are the same for both devices, which is good. Rules out one possible difference.

I haven’t looked into it yet, but it seems there’s an existing crate for the new device.
https://crates.io/crates/lsm303agr

The accelerator registers are nearly identical, ignoring the changes to the temperature sensor and a few niceties.
The magnometer registers are completely different.
On the LSM303DLHC, the registers are in the address range 00-0C while on the LSM303AGR they are in the range 45-6D.
This explains why the accelerometer works, but the magnometer does not.
I attached a quick and dirty spreadsheet showing the difference.
LSM303RegisterComparrison.xlsx

Hey @rubberduck203, thanks for the quick response and guidance! 🙏
I'll try to use the other crate and see how it might be integrated in your code later this week and provide a PR for it.

The quickest path is probably adding a feature gate that changes the Compass implementation at compile time.
https://doc.rust-lang.org/cargo/reference/features.html
I’m thinking something like
[dependencies]
lsm303ldhc = { version = "0.2.0”, optional = true }
lsm303agr = { version = "0.x.x”, optional = true }

[features]
default = ["revD"]
revD = [“lsm303dlhc”]
revE = [“lsm303agr”]

Then we can have two different compasses behind a #[cfg(feature = "driverName")] annotation.


OSError: [WinError 6] The handle is invalid

Describe the bug
C:/Users/KalvinThien/AppData/Local/Programs/Python/Python311/python.exe d:/tech_review/edit_video/Ewrite/Full_web/pages/Etool_source/Full_Code_Etools/tiktoklivedownload/main.py [TikTokLive] INFO from d:\tech_review\edit_video\Ewrite\Full_web\pages\Etool_source\Full_Code_Etools\tiktoklivedownload\main.py:14 — Connected! [TikTokLive] INFO from C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\site-packages\TikTokLive\client\web\routes\fetch_video.py:123 — Attempting to start download on stream for 'phamngoclinh_official'. [TikTokLive] INFO from C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\site-packages\TikTokLive\client\web\routes\fetch_video.py:152 — Started the download to path "phamngoclinh_official.mp4" for duration "infinite" seconds on user @phamngoclinh_official with video quality "LD". [TikTokLive] INFO from d:\tech_review\edit_video\Ewrite\Full_web\pages\Etool_source\Full_Code_Etools\tiktoklivedownload\main.py:33 — Disconnected! Exception in thread Thread-1: Traceback (most recent call last):   File "C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1045, in _bootstrap_inner     self.run()   File "C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 982, in run     self._target(*self._args, **self._kwargs)   File "C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\site-packages\TikTokLive\client\web\routes\fetch_video.py", line 198, in _threaded_recording     self._ffmpeg.run()   File "C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\site-packages\ffmpy.py", line 113, in run     raise FFRuntimeError(self.cmd, self.process.returncode, out[0], out[1]) ffmpy.FFRuntimeError:ffmpeg -loglevel error -y -i https://pull-f5-sg01.tiktokcdn.com/stage/stream-2420575215836201029_ld.flv?expire=1710859644&sign=f951adcfee7b172d3b0271b38dcf3e9d phamngoclinh_official.mp4 -f mp4` exited with status 15
STDOUT:
STDERR:
Cancelling an overlapped future failed
future: <_OverlappedFuture pending cb=[_ProactorReadPipeTransport._loop_reading()]>
Traceback (most recent call last):
File "C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\asyncio\windows_events.py", line 71, in _cancel_overlapped
self._ov.cancel()
OSError: [WinError 6] The handle is invalid
Cancelling an overlapped future failed
future: <_OverlappedFuture pending cb=[_ProactorReadPipeTransport._loop_reading()]>
Traceback (most recent call last):
File "C:\Users\KalvinThien\AppData\Local\Programs\Python\Python311\Lib\asyncio\windows_events.py", line 71, in _cancel_overlapped
self._ov.cancel()
OSError: [WinError 6] The handle is invalid
PS D:\tech_review\edit_video\Ewrite\Full_web\pages\Etool_source\Full_Code_Etools\tiktoklivedownload> `
Expected Behaviour
...
Actual Behaviour
If applicable, include screenshots!
...
Package Version
My version of TikTokLive is 6.0.2post1.
Operating System

[ ] Windows 11

Anything Else
If there's anything else, add it here.
I use the example code at Link https://github.com/isaackogan/TikTokLive/blob/master/examples/recording.py
I use Python version 3.11.6
FFmpeg Newest

This looks like an issue with FFmpeg on Windows.
See https://github.com/Zulko/moviepy/issues/1749.
TikTokLive is only tested on MacOS & Linux, and we don't directly support Windows. If there is a fix for this issue that you can find, I will gladly accept a PR for it, but I will not be able to reproduce & fix it on my own.


Use elemental upgrade instead of cos.sh script

Signed-off-by: Itxaka<EMAIL_ADDRESS>

@Itxaka I think we can ignore the installer tests for this PR and fix them in follow up PRs (they are unrelated to upgrade), if the tests for the intalled system (squashfs and nonsquashfs) are green I'd merge it.

@Itxaka I think we can ignore the installer tests for this PR and fix them in follow up PRs (they are unrelated to upgrade), if the tests for the intalled system (squashfs and nonsquashfs) are green I'd merge it.

Should be an easy fix, its only that the installer has changed the log output to use the LABEL instead of the active/passive. I can add those changes to this PR


Fixed typo

Just a small fix which I encountered while following the docs.
Just awaiting my manager to agree to the CLA.

ok to test

@k8s-bot ok to test

@k8s-bot: ok to test

@jacobtomlinson can you please sign the CLA and ping this thread after that?

Just awaiting my manager to sign a corporate one. I'll ping it back shortly.

I signed it! Corporation: Met Office Informatics Lab

This commit was made with an @jacobtomlinson.co.uk email address. Can you sign it for that email or for your github account?

I updated the name on the commit, looks like I accidentally had my personal email in my git config.

@k8s-bot test this please

[Shippable reporting broken, but appears unrelated.  Re-running.]

Thanks @jacobtomlinson !


Moves usermgt page into id-and-access-mgt section; moves opt-out inst…

…ructions for telemetry into telemetry topic; deletes opt-out.md as it is unnecessary and the auth section inside is redundant with opt-out instructions already in managing-auth topic; also adds sentence about upgrade option for opt-out in managing auth.

I need a separate opt-out page and this is missing all the required redirects.

Why do you need a separate opt-out page?

To link users to, so that they know exactly how to opt-out without anything else on the page.

@pyronicide can you be more specific? from an information architecture perspective it's a bit odd to have Opt-Out on the same heading level/importance as Logging or Installation.

Some users care about everything they can turn off (and want to). Note that this refactor looses information (it doesn't tell how to opt-out of auth and doesn't include the redirects to make sure all the product links continue to work).

Just to clarify, it does not lose any information. Actually, the content was repeated in https://dcos.io/docs/1.7/administration/id-and-access-mgt/managing-authentication/ So, this actually removes a redundancy.

Closing. These PRs duplicate effort: https://github.com/dcos/dcos-docs/pull/479 and https://github.com/dcos/dcos-docs/pull/560


Discussion: tracking issues on implemented utilities

Even for implemented utilities (where the new impl claim issue has closed), there are to-dos that definitely remain for them, such as:

writing integration tests for the utility
writing original help text and error messages for the utility (see #818)
reporting, and resolving bugs or incorrect behaviors in utilities.

As this work gets underway on these, it would be nice to be able to quickly ascertain, for a given utility, what remains to be done for it. Or, for a given issue that applies separately to multiple utilities, quickly ascertain which utilities it is resolved for.
Here are two ways we could do that. Please comment with if there is one you are in favor of, if you think these approaches are fine, or both are unnecessary, or to propose a different approach, etc. I'd be fine with either approach though I lean in favor of the second.
Approach 1. Repurpose implementation claim issues to be general "tracking" issues for all bugs and enhancements to a utility
In this approach, implementation claim issues will be repurposed to track all planned enhancements and bug reports for the utility.
Issues that apply separately to multiple utilities could be given their own tracking issues with checkmarks for each utility it needs to be resolved for.
Approach 2. Use label categories to allow organization of labels across crossing axes (utility, purpose, etc)
An example category schema is below, it draws from those used by major rust projects (e.g. servo and rust) so it will be familiar to many people in the rust community.

A - domain of the issue. Values are

A-all
A-tooling
A-uucore
A-{{utility name}} (one for each utility)

C - issue status

C-implemented (closed, implemented)
C-fixed (closed, fixed)
C-duplicate (closed, duplicate)
C-wontfix (closed, non-goal of project)

I - Purpose of issue

I-crash
l-documentation
I-discussion
I-enhancement
I-incorrect
I-new util claim
I-perf-memory
I-perf-power
I-perf-slow
I-question
l-refactoring
l-tests
l-tracking (for tracking a minor change that must be made to many utilities without having to create one issue for each utility)

P - platform

P-all
P-linux
P-macOS
P-windows GNU
P-windows MSVC

@Arcterus @ebfe @jbcrail @knight42 @mpkh summoning to see if there's any feedback on this

I understand how first approach will help but not sure about second, still prefer second thought if you know that it will really help there.

I prefer the second approach since I've found projects (like Rust) that use this approach are easier to contribute to. It's especially helpful for newcomers to find issues that match their interest.

The second approach looks great, I am in favor of it.

I agree that the second approach is better.

Alright, the second approach is the choice.
I've created a category schema that I kept very close to the example schema given above, with some minor additions and differences, the key ones being:

(A) is now (U), so that people now to the project don't have to scroll down so much to see what the other categories are.
The label "low priority," had previously been used, so instead of deleting it, I grouped it with other "priority" labels into (B)


upgrade node16 to node20

Low hanging contribution :smile:

Thanks a lot for the contribution!
Could you fix the CI by targetting macos-13? :smile: It was already fixed on the upstream repo: https://github.com/foundationdb-rs/foundationdb-rs/pull/138

@PierreZ Hopefully solved it :+1:


Unable to watch Live TV

Hi Jumpmanjay:
Could you please review the enclosed log, to establish the reason why I am unable to watch Live TV with this app? As I have mentioned in past posts, I am able to view Recorded shows using your app, however Live TV produces an error message as follows: The Transcoder failed to start...
Thank you,
daurora
Plex_ErrorOnLiveTV.txt

I don't know what kind of log file that is- it doesn't provide any helpful information.
Can you run the following at the command prompt in the [PMS]/Plug-Ins/HDGrandSlam.bundle/Contents/Services/Shared Code/ directory:
python
import imp
pm = imp.load_source("PyHDHR","PyHDHR.pys")
p = getattr(pm,"PyHDHR")()
p.discoveryDump("dump.txt")
Then post the dump.txt file as well as the plug-in logs (com.plexapp.plugins.hdgrandslam.log).

Hi:
I am running Windows 10 (Intel i3) and tried running the script (line by line) with in the indicated folder; within the command prompt.
As you can imagine, Windows 10 doesn’t even understand the first line “python”.
Can you suggest some other method for getting this information to you, for me – a non programmer 😉.
Thanks,
daurora

Your server should have Python installed...
...if not, try installing 2.7.

Hi jumpmanjay
I tried installing Python 2.7 on the pc with Plex Server, however, I could not run the code you asked...like I said I am not a programmer.
All is not lost, since after playing around with some parameters, I have been able to make the Live TV functionality work. I did the following two actions to make Live TV work in my environment:

On the SiliconDust Extend webpage (for me: <IP_ADDRESS>) I set the "Default Transcode Profile" to None.

On your HDGrandSlam plugin settings, I ensured that the Checkbox is ON (Checked) for "Use configured default transcode profile on Extend tuner for Live TV".

Please note - I have one Connect tuner (<IP_ADDRESS>) and one Extend tuner (192.168.1.`122) in this single subnet; and after making the above configuration changes I now have live tv.
Many thanks for making such a needed app, I hope the information I have provided to you will further assist you in fortifying this app.
daurora

I'm glad it's finally working for you, but leaving the check box unchecked
essentially configures it to how yours is now configured- setting the
transcode to none.
On Aug 28, 2016 7:33 PM, "daurora58"<EMAIL_ADDRESS>wrote:

Hi jumpmanjay
I tried installing Python 2.7 on the pc with Plex Server, however, I could
not run the code you asked...like I said I am not a programmer.
All is not lost, since after playing around with some parameters, I have
been able to make the Live TV functionality work. I did the following two
actions to make Live TV work in my environment:

On the SiliconDust Extend webpage (for me: <IP_ADDRESS>) I set the
"Default Transcode Profile" to None.

On your HDGrandSlam plugin settings, I ensured that the Checkbox is ON
(Checked) for "Use configured default transcode profile on Extend tuner for
Live TV".

Please note - I have one Connect tuner (<IP_ADDRESS>) and one Extend
tuner (192.168.1.`122) in this single subnet; and after making the above
configuration changes I now have live tv.
Many thanks for making such a needed app, I hope the information I have
provided to you will further assist you in fortifying this app.
daurora
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jumpmanjay/HDGrandSlam.bundle/issues/1#issuecomment-243009671,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATeY4GEGhMq9RMs2dRm47Io0_q_6tZeHks5qkijZgaJpZM4Juiuq
.


Adds 3 tests for SMB EICAR file

3 tests for smb EICAR file write :
Regular write, segmentation in random size, SMBv1
Regular write, two NetBIOS messages in one TCP packet, SMBv1
Regular write, segmentation in 2 pieces after the SMB header, SMBv1
Squashed commits for Pull Request #192

CC @catenacyber

Looks good to me

CI fails because of waiting https://github.com/OISF/suricata/pull/4842#issuecomment-617258857

Merged, thanks! For future SMB tests please add the RUST feature, as Suricata 4.1 only supports SMB when Rust is built-in.


add annotsv documentation to readme

closes #28

@aarthi-mohan what do you think is the best way to add the path to a bedtools executable in the AnnotSV configFile?  Should bedtools just be installed in the base conda environment, and that path be added to the configFile?

@aarthi-mohan what do you think is the best way to add the path to a bedtools executable in the AnnotSV configFile? Should bedtools just be installed in the base conda environment, and that path be added to the configFile?
@Madelinehazel good question! I am not sure if this will work, but I am thinking if this is going to available in path then setting as below would work?
==> AnnotSV_2.1/configfile <== -bedtools: bedtools
We would just need to create a conda env for this rule with required bedtools version

@aarthi-mohan what do you think is the best way to add the path to a bedtools executable in the AnnotSV configFile? Should bedtools just be installed in the base conda environment, and that path be added to the configFile?

@Madelinehazel good question! I am not sure if this will work, but I am thinking if this is going to available in path then setting as below would work?
==> AnnotSV_2.1/configfile <==
-bedtools: bedtools

We would just need to create a conda env for this rule with required bedtools version

This does seem to work, even though I get an error message :)


Gravity Drone jobs failing due to insufficent ephemeral-storage

Description
What happened:
A PR build failed on the new drone.teleport.dev infrastrucutre with the following error:
[ERROR]: write /drone/src/e/build/cache/gravity-state/7.0.12/packages/tmp/blob181123562: no space left on device

https://drone.teleport.dev/gravitational/gravity/68/1/9
Although different symptoms, I believe the following has the same root cause:
https://drone.teleport.dev/gravitational/gravity/70/1/9
https://drone.teleport.dev/gravitational/gravity/73/1/9
What you expected to happen:
I expect CI jobs to run to completion without infrastructral issues.
How to reproduce it (as minimally and precisely as possible):
Queue up several Gravity PRs at the same time

When I looked into this, I found some of the pods were being evicted:
Status:       Failed
Reason:       Evicted
Message:      The node was low on resource: ephemeral-storage. Container drone-4ig7p4tf79bebcqfw0x9 was using 2204Ki, which exceeds its request of 0. Container drone-rv43li9h56l51t5j128p was using 224Ki, which exceeds its request of 0.

Worse, the /var/lib/docker FS had filled up causing docker to get in a strange state were it was up and systemd though it was healthy, but it wouldn't actually turn on any pods due to a stale socket.
Ultimately, this is because gravity builds (with robotest artifacts) weigh in at about 30GB of data, and the current node pool has 100GB of ephemeral storage.  3 builds on the same node and everything falls over.

drone-runner-kube doesn't allow a node to specify its ephemeral storage requirements:
https://github.com/drone-runners/drone-runner-kube/blob/5abe9d7f0d2ddcc0ff4b2fd8c2ae6dfa2a727def/engine/resource/pipeline.go#L188-L203
So we'll need to use something else to proxy for that for the time being.  CPU is probably fine -- have gravity jobs request < 50% of a node's CPU and no two will ever get scheduled on the same node.

Also, I'm moving gravity CI to its own nodepool, which will have larger root volumes (200gb).  It is a notoriously bad neighbor to other jobs, and we don't want to decrease the overall QoS because of one ill behaved customer.
Currently using worker-pool-gravity and working on new policies (https://docs.drone.io/runner/kubernetes/configuration/policies/) that will route jobs appropriately.

cc: @webvictim @knisbet @a-palchikov

Also, to address "Why now?"
The old drone had 3 large nodes minimum, and ran all workloads in that common pool (including the server as well as jobs).  For security reasons, we moves all jobs to a seperate pool and scaled down (vertically) the pool hosting service components.  This means in slow times we'll often have 0-1 nodes available in the worker pool, thus all jobs will get scheduled on them, wheras previously we had 3 nodes minimum that would get balanced amongst -- meaning it was quite unlikely for 3 gravity jobs to be scheduled on the same node.
Thinking about it some more, maybe I'll bump up the worker pool minimum to 3 until I can get my other mitigations in.

Thinking about it some more, maybe I'll bump up the worker pool minimum to 3 until I can get my other mitigations in.

Done worker-pool is now in 3 zones with a minimum of 1 nodes per zone.
$ k get nodes
NAME                                             STATUS   ROLES    AGE    VERSION
gke-drone-cluster-service-pool-2-2180ef97-xzao   Ready    <none>   17d    v1.19.9-gke.1400
gke-drone-cluster-service-pool-2-c26f0f4c-0r6w   Ready    <none>   17d    v1.19.9-gke.1400
gke-drone-cluster-service-pool-2-daf1d320-n5at   Ready    <none>   17d    v1.19.9-gke.1400
gke-drone-cluster-worker-pool-3f7d91d4-th4g      Ready    <none>   119s   v1.19.9-gke.1400
gke-drone-cluster-worker-pool-b0ec9ea8-2wbg      Ready    <none>   66m    v1.19.9-gke.1400
gke-drone-cluster-worker-pool-f4f21b0e-vn8x      Ready    <none>   32m    v1.19.9-gke.1400

We'll worry about efficiency later.


NETWORK_ERROR on sharing

share callback always returns NETWORK_ERROR on iOS. Haven't test it on Android yet.

@gbermudez1992 Hi
Are you using mobile data or wifi?

@Lg0gs also getting NETWORK_ERROR on every share attempt. IOS both wifi and cell data. Specific error codes are -1, 2002 Invalid Params

@GeoffAbbott
Strange, I created a new RN app and auth and sharing work.
Did you follow those steps and modified AppDelegate.m and Info.plist correctly?


[db2] [tests] Fix Db2ConnectorITCase cleanup failure

Currently, Db2ITCase fails occasionally due to attempts to cancel jobs which isn't running. Fixed this by adding a wrapper function and ignoring any IllegalStateException.

Possibly fixes this failure case:
 [INFO] Running com.ververica.cdc.connectors.db2.table.Db2ConnectorITCase
 [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 228.558 s <<< FAILURE! - in com.ververica.cdc.connectors.db2.table.Db2ConnectorITCase
 [ERROR] testConsumingAllEvents(com.ververica.cdc.connectors.db2.table.Db2ConnectorITCase)  Time elapsed: 70.203 s  <<< ERROR!
-java.lang.IllegalStateException: MiniCluster is not yet running or has already been shut down.
- 	at com.ververica.cdc.connectors.db2.table.Db2ConnectorITCase.testConsumingAllEvents(Db2ConnectorITCase.java:166)


如何限制用户只能提交合并请求，但是无法确认合并，必须由指定权限的用户来进行合并呢?

如何限制用户只能提交合并请求，但是无法确认合并，必须由指定权限的用户来进行合并呢?

Please speak English.
Chinese forum can be found here: https://discuss.gogs.io/c/getting-help/getting-help-chinese

Translation:
How to restrict a user to submitting merge requests only, without the right to merge. i.e. Merge request can only be merged by users with specific privilege.
Applogize for the trouble of Chinese speaking of our Chinese users. Wish that will help.

I think this is duplicated to https://github.com/gogs/gogs/issues/4376.


Revert 5afd3c3b4c569522ae3ed34080a4a03255b0f7c5

Thank you for your contribution to the KodaDot NFT gallery.
I broke release notes in 5afd3c3b4c569522ae3ed34080a4a03255b0f7c5 so it would be nice to revert that
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Looks like it is not correct

?

@roiLeo I accidentally merged hyper-jpeg into main and wanted to revert that commit, see the description


Capture and send code coverage to codecov.io

Description
Sample implementation found at https://github.com/sevro/rust-codecov
Also as cargo ext https://github.com/kennytm/cargo-kcov
Technically, codecov doesn't need any GITHUB_TOKEN for public repos.
Use Case
Continuously measuring code quality and stability of connector. We should aim at 85% coverage, so that more people have confidence in using this repo.

👋 Hi this is my first OSS ever (most likely will comment questions here quite often)... interested in picking this up tho, as I need to sharpen my rust... are these still good instructions to follow?

Hi @irishuangg,
thanks for looking into this. Its been a while since I looked into coverage.io support for rust. I do seem to remember though that it used to rely on tests being run with nightly features. Thus i would recommend doing a bit of research on what the current state is, since its been a while since the ticket was originally opened.


[Feature] 当spark执行时候依赖了很大的jar包的时候会导致服务器空间的浪费

it wourld waste lot of ROM space  when executing a spark task if a resource jar size is very large. because every time spark will copy the dependent jar file to execute instance dictonary.
当spark执行时候依赖了很大的jar包的时候会导致服务器空间的浪费因为spark每个实例任务会在 worker机器上创建一个目录并且把依赖文件复制过去。
So create a shared dictonary on HDFS and link to spark call would be a good way. or try other better way.

a good suggestion


Update Camera2BasicFragment.java

Fix checkSelfPermission issue.
http://stackoverflow.com/questions/32545668/whats-the-workaround-or-maybe-deprecated-version-of-checkselfpermission

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


selenium.update deletes /bin directory (this should be reflected in docs) ...

Hi Fellow Grouponians,
It's unclear from docs (readme) that using selenium.update will DELETE your /bin directory ... 😞
see: /lib/index.js#L75 or /src/index.coffee#L65
I just spent 10 mins re-writing code (we're keeping other useful scripts in our /bin directory) that I had not yet committed to git and got rm -rfd when I tried to update the version of selenium ...

Hi Nelson, that sounds really scary! Can you elaborate on what the /bin directory is in your case? Are you using selenium-download as part of testium or standalone? We might not have documented that behavior because in the context of testium it should use a private/hidden bin directory that user scripts would never end up in. But that's not a great assumption when using it outside of testium.

Hi @jkrems, not running selenium-download with testium, just using it to ensure that selenium is installed before running some simple nightwatch tests: https://github.com/nelsonic/learn-nightwatch/blob/d420b55f24abd99cff989cfb24a446ab7f6d377c/bin/selenium_child_process.js#L4


Consider generalizing backends of array APIs

I remember a f2f discussion a while ago with @Giulero about how to generalize algorithms to work on NumPy / JAX / PyTorch etc. At that time, there was no concrete solution excluding what today became Farama-Foundation/Jumpy that was only supporting NumPy and JAX.
After a couple of years, it seems that the community is trying to address this use case with the Python array API standard. It seems that this solution is the one that got major traction and attracted most of the interest towards this unification.
ADAM, today, generalizes the underlying array APIs used by the RBDAs by introducing a custom abstraction layer based on adam.core.spatial_math.{ArrayLike|ArrayLikeFactory|SpatialMath}, which has implementations in CasADi, JAX, NumPy, and PyTorch.
I think that CasADi --at least in the short term and at least officially-- won't be compatible with these Array APIs. However, providing in ADAM a new backend based on these new APIs could ease the maintenance of the other backends (or, possibly remove them), and could bring with no additional effort also support for all other array providers that are adhere with the API standard.
A good starting point could be the data-apis/array-api-compat wrapper^1, its usage seems pretty straightforward.

Thanks a lot @diegoferigo! <3
This would be lovely indeed. I agree that finally exploiting these new Array APIs will make the library more maintainable.
Regarding CasADi, we could maybe maintain the actual abstraction layer and implement a new backend for what we can unify. A sort of hybrid structure, eventually converging to a cleaner solution when we find a solution for the CasADi backend.
As soon as possible I can try to draft a PR and ask you other suggestions ;)


fix: check for nil pointer dereference

Fixes https://github.com/aws/karpenter-provider-aws/issues/7184
Description
Fixes a nil pointer dereference where we attempt to access a slice on nil.
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 80.936%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/disruption/multinodeconsolidation.go
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>0:
0.07%

Covered Lines:
8495

Relevant Lines:
10496

💛  - Coveralls


[fix] catch exception in timer

Hi,
I get an unhandled exception in appdomain
System.Net.Sockets.SocketException (0x80004005):
   в System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   в Rssdp.UdpSocket.SendTo(Byte[] messageData, UdpEndPoint endPoint)
   в Rssdp.Infrastructure.SsdpCommunicationsServer.<>c__DisplayClass21_0.<SendMessage>b__0()
   в Rssdp.Infrastructure.SsdpCommunicationsServer.Repeat(Int32 repetitions, TimeSpan delay, Action work)
   в Rssdp.Infrastructure.SsdpDevicePublisherBase.SendAliveNotification(SsdpDevice device, String notificationType, String uniqueServiceName)
   в Rssdp.Infrastructure.SsdpDevicePublisherBase.SendAliveNotifications(SsdpDevice device, Boolean isRoot)
   в Rssdp.Infrastructure.SsdpDevicePublisherBase.SendAllAliveNotifications(Object state)
   в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   в System.Threading.TimerQueueTimer.CallCallback()
   в System.Threading.TimerQueueTimer.Fire()
   в System.Threading.TimerQueue.FireNextTimers()

And app crashes due to an unhandled exception in the threadpool
It's very easy to repeat
Create publisher on specified address:
var socketFactory = new SocketFactory("..");
var communicationsServer = new SsdpCommunicationsServer(socketFactory, 0);
var devicePublisher = new SsdpDevicePublisher(communicationsServer);

And next disable the adapter which associated with this address

Tell me please, in the near future do you merge this PR?

This should be merged and published now.

Thanks


Bug: 401 Error

Describe the Bug
After following the steps to set up the plugin and restarting homebridge the log shows an unknown status code 401.
Not possible to see the plugin on Homekit.
To Reproduce
Install the plugin.
Follow the steps to set up the plugin.
Restart homebridge.
Check the log.
Expected Behavior
No errors in the log after restarting homebridge.
Relevant Log Output
[9/26/2023, 8:01:51 PM] Registering platform<EMAIL_ADDRESS>[9/26/2023, 8:01:51 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v2.9.0 child bridge successfully
[9/26/2023, 8:01:51 PM] Loaded 0 cached accessories from cachedAccessories.0EE6A9846810.
[9/26/2023, 8:01:52 PM] Homebridge v1.6.1 (HAP v0.11.1) (SwitchBot) is running on port 55198.
[9/26/2023, 8:01:52 PM] [SwitchBot] Unknown statusCode, statusCode: 401, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[9/26/2023, 8:01:52 PM] [SwitchBot] Unknown statusCode, statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBugis

Config for homebridge-switchbot
{
    "bridge": {
        "name": "Homebridge",
        "username": "xx:xx:xx:xx:xx:xx",
        "port": xxxxxx,
        "pin": "xxx-xx-xxx",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": xxxx,
            "platform": "config"
        },
        {
            "name": "Nuki",
            "platform": "NB",
            "_bridge": {
                "username": "xx:xx:xx:xx:xx:xx",
                "port": 31419
            }
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "notice": "Keep your Token & Secret a secret!"
            },
            "platform": "SwitchBot",
            "_bridge": {
                "username": "xx:xx:xx:xx:xx:xx",
                "port": xxxxx
            }
        }
    ]
}

Screenshots
No response
Device and Model
iMac (Retina 5K, 27-inch, 2019)
Node.js Version
v18.18.0
NPM Version
v7.22.0
Homebridge Version
v1.6.1
Homebridge Switchbot Plugin Version
v2.9.0
Homebridge Config UI X Plugin Version
v4.50.5
Operating System
macOS Ventura 13.5.1

401 Error, Something to do with your Account.

Can you all try the latest beta:

Click here to find out how to install Beta
And report back.

Same here.
I uninstall 2.9.0 and did fresh installation. But I got similar logs.
[10/17/2023, 12:35:49 AM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge) is running on port 51440. [10/17/2023, 12:35:50 AM] [SwitchBot] Unknown statusCode, statusCode: 401, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug [10/17/2023, 12:35:50 AM] [SwitchBot] Unknown statusCode, statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug

@ablyeom 401Errors are related to account not much I can do.

@freesouldesign Hey...
Are you solved this problem? I'm stocked on same issue with you.
I tried several times to try something for something...
but I couldn't....

@ablyeom
no, not solved, and I have no idea how to solve it

@freesouldesign
I've just solved now.
Did you check your system time? I did sync time with NTP server and then successfully access with token and secret.


control progressbar via verbose command

Codecov Report

Merging #9 into master will decrease coverage by 2.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   81.98%   79.78%   -2.20%
==========================================
  Files           9        9
  Lines         272      282      +10
==========================================
+ Hits          223      225       +2
- Misses         49       57       +8

Impacted Files
Coverage Δ

src/load.jl
93.61% <100.00%> (+0.28%)
:arrow_up:

src/types/dense.jl
57.14% <0.00%> (-9.53%)
:arrow_down:

src/files.jl
74.19% <0.00%> (-5.12%)
:arrow_down:

src/utils.jl
67.85% <0.00%> (-2.52%)
:arrow_down:

src/tags.jl
66.07% <0.00%> (-1.21%)
:arrow_down:

src/ifds.jl
91.46% <0.00%> (-1.13%)
:arrow_down:

src/types/strided.jl
0.00% <0.00%> (ø)

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 fe43936...56c2285. Read the comment docs.


Preset the naming method of some files or directories?

Preset some naming schemes?

camel: foo bar → fooBar
pascal: foo bar → FooBar
constant: foo bar → FOO_BAR
dot: foo bar → foo.bar
kebab: foo bar → foo-bar
snake: foo bar → foo_bar
title: foo bar → Foo Bar
lower: FOO BAR → foo bar
upper: foo bar → FOO BAR

Use this plugin: https://github.com/75lb/renamer-case...
How to use plugins: https://github.com/75lb/renamer/wiki/How-to-use-replace-chain-plugins

ERROR: plugin could not be found: renamer-case

Hi, yes I just spotted this issue myself - renamer is not finding the globally-installed renamer-case plugin.. it should find it, I will fix that now.
In the meantime, please install the plugin package locally like this:
npm install --save-dev renamer-case

If renamer is still installed globally, then run this to test the plugin loads (you will see the plugin is loaded because it shows in the usage guide. )
renamer --chain renamer-case --help

Rename files - don't forget --dry-run first.
renamer --chain renamer-case --case kebab * --dry-run

Windows：

In C:\nodejs\node_global\node_modules\renamer execute the command npm install --save-dev renamer-case;
Move the directories and files that need to be processed to the C:\nodejs\node_global\node_modules\renamer\examples directory, and then renamer --chain renamer-case --case kebab **/*;

Nice!
thank you, it helped me a lot.

Thanks, that's good news..
The issue with loading globally-installed plugins has been fixed and released in renamer v3.0.2. With the latest renamer version you will not get the "plugin could not be found" error you saw earlier.


Revert "fix: Using Crowdin action implement translation sync"

Sorry, I might make a mistake

No need to revert, we directly fix the history.


🐛 Bug Report: missing webpack loader for webp imports

📜 Description
Webpack configuration is missing a loader for handling imports of *.webp images.
👍 Expected behavior
It should be possible to import webp images from typescript srouce files.
👎 Actual Behavior with Screenshots
Webpack error is thrown.

👟 Reproduction steps
Create a .webp image and try importing it into a source file.
📃 Provide the context for the Bug.
No response
🖥 Your Environment
Current master branch of the backstage repo.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

I hope you don't mid me reporting this as a bug. It could be considered a new feature request, as I think this never worked. I opened it as a bug because I noticed there is some config for webp in asset-types.d.ts, so I guess that there is assumption that it should work.

Thank you for reporting!
This would require fixes in these areas:

bundling: https://github.com/backstage/backstage/blob/e4125fb698cd361086918a5acd4f21727126c001/packages/cli/src/lib/bundler/transforms.ts#L144-L152
building: https://github.com/backstage/backstage/blob/ea1663376eb45753c0de4722a0e25e2faefbd82f/packages/cli/src/lib/builder/config.ts#L165-L174
testing: https://github.com/backstage/backstage/blob/6819f8cef2ad79583750ebb893073159c67b1007/packages/cli/config/jest.js#L216

Would you like to contribute a fix?


Can't install because of ultraopt

I know this is ultraopts fault and not yours, but they seem to be abandoned over there.
Hope you can find a work around! Seems cool.
This is from google colab:
!pip install --verbose humpday[full]
Using pip 23.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting humpday[full]
  Using cached humpday-0.7.1-py3-none-any.whl (64 kB)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (0.40.0)
Requirement already satisfied: numpy>=1.21.5 in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (1.22.4)
Collecting importlib-metadata>=1.7.0 (from humpday[full])
  Using cached importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
Collecting getjson (from humpday[full])
  Using cached getjson-2.0.0-py3-none-any.whl (2.6 kB)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (1.10.1)
Collecting funcy (from humpday[full])
  Using cached funcy-2.0-py2.py3-none-any.whl (30 kB)
Collecting winning>=0.4.6 (from humpday[full])
  Using cached winning-1.0.3-py3-none-any.whl (23 kB)
Collecting microconventions>=0.5.0 (from humpday[full])
  Using cached microconventions-1.0.0-py3-none-any.whl (16 kB)
Collecting landscapes (from humpday[full])
  Using cached landscapes-0.0.12-py3-none-any.whl (15 kB)
Collecting pymorton (from humpday[full])
  Using cached pymorton-1.0.5-py2.py3-none-any.whl (4.4 kB)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (1.2.2)
Collecting bayesian-optimization>=1.2.0 (from humpday[full])
  Using cached bayesian_optimization-1.4.3-py3-none-any.whl (18 kB)
Collecting optuna (from humpday[full])
  Using cached optuna-3.2.0-py3-none-any.whl (390 kB)
Collecting platypus-opt (from humpday[full])
  Using cached Platypus_Opt-1.1.0-py3-none-any.whl (76 kB)
Collecting poap (from humpday[full])
  Using cached POAP-0.1.26-py2.py3-none-any.whl (36 kB)
Collecting pysot (from humpday[full])
  Using cached pySOT-0.3.3-py2.py3-none-any.whl (72 kB)
Collecting ultraopt (from humpday[full])
  Using cached ultraopt-0.1.1.tar.gz (67 kB)
  Running command python setup.py egg_info
  error in ultraopt setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /usr/bin/python3 -c '
  exec(compile('"'"''"'"''"'"'
  # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  #
  # - It imports setuptools before invoking setup.py, to enable projects that directly
  #   import from `distutils.core` to work with newer packaging standards.
  # - It provides a clear error message when setuptools is not installed.
  # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize

  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)

  __file__ = %r
  sys.argv[0] = __file__

  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"

  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/tmp/pip-install-k96thyuw/ultraopt_7f8d5aef22944107814b189095618d0d/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-4j3gsifo
  cwd: /tmp/pip-install-k96thyuw/ultraopt_7f8d5aef22944107814b189095618d0d/
  Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Any workarounds?

ah maybe I should remove


Memory leaks fix and added hero image and circle cropped picture feature

Dear Mohabouje,
I have merged my memory leaks fix and added hero image and circle cropped picture in this PR. Read about the memory leak fix in my article: https://www.codeproject.com/Articles/5286393/Cplusplus-Windows-Toast-Notification
The main memory leaks are in activatedToken, dismissedToken and failedToken which have to be removed after each callback.
There is a breaking change in showToast()'s handler parameter type which is changed from raw pointer to shared_ptr.
I want to thank you and your contributors on the behalf of all Windows programmers for writing and giving us WinToast. Thanks for this excellent library!

Amazing contribution! I'm a little bit busy in the coming days but I will have a look later this week and prepare a new release with the changes.

If you have any questions about my code and its rationale for doing so, please feel free to ask me here. It is faster to ask me than to figure out by yourself. I am in Singapore timezone, so I may not respond ASAP.
If there is any code that you do not agree in my implementation, I'll suggest that you merge my PR first and do the refactoring yourself rather than you and me going back and fro on how to edit my PR.

I have added SAL annotations and followed WinToast coding conventions for my code in the latest commit.
And showToast() is reverted to use IWinToastHandler raw pointer.

Dear Mohabouje,
It has been more than 2 months and this PR is still not approved. Have you reviewed the code yet?

@mohabouje Any plans to review and merge this soon?

@mohabouje It would be nice if this PR would be merged.


Z80 has no unit tests

Thomas Harte may provide some, or someone else, or I may translate the Ares Z80 into a unit test generator

Unit test generator written; all tests pass; Z80 in better shape.
Not 100% confident in accuracy of tests, but they're there now.


Enable kubefed init accept a file to set up the control panel

 Issue by gyliu513
Thursday Aug 17, 2017 at 02:28 GMT
Originally opened as https://github.com/kubernetes/kubernetes/issues/50817

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

/kind feature
What happened:
Now I need to use a complex command to for kubefed init to set up the federation control panel as following:
kubefed init federation-cluster \
     --host-cluster-context=host-context \
     --dns-provider="coredns" \
     --dns-zone-name="example.com." \
     --dns-provider-config="/root/federation/coredns-provider.conf" \
     --api-server-service-type="NodePort" \
     --api-server-advertise-address="x.x.x.x" \
     --etcd-image="library/etcd:v3.1.5" \
     --etcd-persistent-storage=false \
     --etcd-pv-capacity="10Gi" \
     --etcd-pv-storage-class="" \
     --federation-system-namespace="federation-system" \
     --image="kubernetes:v1.7.3" \
     --apiserver-arg-overrides="" \
     --controllermanager-arg-overrides=""

It would be great to enable kubefed init can accept a file just like what we do for kubectl apply -f <filename>, so that I can put all parameters in a file which is easy to maintain.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Cloud provider or hardware configuration**:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/sig federation
/cc @kubernetes/sig-federation-feature-requests

 Comment by tengqm
Friday Aug 18, 2017 at 06:15 GMT

Alright, you are talking about a special "kind: FederationInitialization" struct. I am not voting against this as an alpha feature.
The thing I'm challenging is the fact that all these are hardcoded into the kubefed binary. In real life, the deployment of the federation control plan may have a lot knobs for tuning. I'd prefer a collection of well structured Shell scripts for this. After all, the stability of a software doesn't get improved by the fact it has been compiled into a binary.

 Comment by tengqm
Tuesday Sep 05, 2017 at 02:23 GMT

#12245

cc @gyliu513


Ubuntu 20.04

the app image do not work on Ubuntu 20.04
I tried Alpha, Beta and the official release
Error is L-100

the app image do not work on Ubuntu 20.04
I tried Alpha, Beta and the official release
Error is L-100

@syralk
try sudo apt install intel-media-va-driver-non-free libva-glx2 && LIBVA_DRIVER_NAME=iHD ./Shadow.AppImage --no-sandbox
Check the low configuration mode if you still have L-100 errors.

@aquadzn lié à #48 ?

the app image do not work on Ubuntu 20.04
I tried Alpha, Beta and the official release
Error is L-100

@syralk
first enable the low configuration mode.
If you still have L-100 errors, try sudo apt install intel-media-va-driver-non-free libva-glx2 && LIBVA_DRIVER_NAME=iHD ./Shadow.AppImage --no-sandbox

I switch to Manjaro 20
wokred great :)
I dont think I will go back to ubuntu lol

@agentcobra j'ai eu le même problème avec le menu rapide oui

@aquadzn
first enable the low configuration mode.
If you still have L-100 errors, try sudo apt install intel-media-va-driver-non-free libva-glx2 && LIBVA_DRIVER_NAME=iHD ./Shadow.AppImage --no-sandbox

Hi, thanks for the tip, it works well know... I uess it s due to the  lack of proper intel driver...

Now it opens but I am getting this:
Any ideas?

@jamesweech allow_rgb10_configs=false ./ShadowBeta.AppImage

Hi, i'm having l-100 issue with shadowAlpha.appimage and ubuntu 20.04, the stream is fine I can use it sometimes for hours sometimes I only have L-100 errors in a row.
Stream is ok bug the alpha client quits often.
Cursor is locked, I have multi screens shadow client is on the main one.
Here's my config report https://nicolasguilloux.eu/hostbin/739552264
I prefer the Alpha app it's better and I have two computer one of them (on Zorin os) needs Alpha and I don't want to change to shadow everytime I change computers.
To gets the client to work properly I've use this command
sudo apt install intel-media-va-driver-non-free libva-glx2 && LIBVA_DRIVER_NAME=iHD ./ShadowAlpha.AppImage --no-sandbox
And I have change the /etc/drirc files for this one:
<driconf>   <device driver="iris">     <application name="Shadow" executable="Shadow">       <option name="allow_rgb10_configs" value="false" />     </application>   </device> </driconf>
Everythings runs fine excepts for almost random L-100 errors that can be annoying especialy during games when client quits during a fight !

@aarnoud I'm afraid even with that env variable setting set I get the same issue

@jamesweech you could try changing the /etc/drirc file on your system (with sudo) and changing content I have found two examples on the discord, this one work on my ubuntu 20.04

or another example

disabling RGB10 on GPU that doesn't support it, is the only way to fix this reddish colour issue


Confusion matrix visualisation size for higher number of classes

Confusion matrix visualisation fails when no classes.csv is present.

Looks great! Label text is a bit small (not the actual labels, just the 'Predited label'), but this works for me now because I can see the actual results :)


switch over to eslint and use common ruleset

run first npm install once, and then npm run lint for every linter run

👍

👍


Add PHP 7.1 to build matrix (nightly build is already PHP-7.2)

Refs #195

Current coverage is 100% (diff: 100%)

Merging #196 into master will not change coverage

@@           master   #196   diff @@
====================================
  Files         135    135
  Lines        7905   7905
  Methods       860    860
  Messages        0      0
  Branches        0      0
====================================
  Hits         7905   7905
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 3b34e3b...11c4f96