Missing dependencies

|████████████████████████████████| 53.9MB 87kB/s
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/44/g40pxdxd0q9_3hktw5c79g280000gn/T/pip-install-ckl_jm0b/matplotlib/setup.py'"'"'; file='"'"'/private/var/folders/44/g40pxdxd0q9_3hktw5c79g280000gn/T/pip-install-ckl_jm0b/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /private/var/folders/44/g40pxdxd0q9_3hktw5c79g280000gn/T/pip-install-ckl_jm0b/matplotlib/
Complete output (64 lines):
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [2.0.2]
                python: yes [3.7.4 (default, Aug 13 2019, 15:17:50)  [Clang
                        4.0.1 (tags/RELEASE_401/final)]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.17.2]
                   six: yes [using six version 1.12.0]
              dateutil: yes [using dateutil version 2.8.0]
           functools32: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [using pytz version 2019.3]
                cycler: yes [using cycler version 0.10.0]
               tornado: yes [using tornado version 6.0.3]
             pyparsing: yes [using pyparsing version 2.4.2]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.26]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
                qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.15]
           ghostscript: yes [version 9.23]
                 latex: yes [version 3.14159265]
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
MISSING DEPENDENCY SOMEWHERE WHEN INSTALLING REQUIREMENTS.TXT

I have the same error occurring. Did you find any solution?

Just checking but this repo only works with python3.7.

under debian 9 this went away for me after installing libfreetype6-dev

I got something similar but with both freetype and png


custom dialog

Tried to use @timmo001's nicely styled dialog in my card and it doesn't work until you bring up a card edit dialog. After you do that, it works great. Something being loaded by that edit card dialog that allows the confirmation dialog to then render? I'm not seeing what that would be. @bramkragten, got a second to take a look? thanks.

All dialogs are dynamically imported, so you don't have the dialog element before hass opened one.
But you can just fire the event to open the official one, you don't need to add your own dialog.


Firing Error in a Docker container

Songbird version: 0.4.3
Rust version (rustc -V): 1.80.1
Serenity/Twilight version: Serenity 0.12.2
Output of ffmpeg -version, yt-dlp --version (if relevant): yt-dlp 2024.08.06
Description:
I'm running Call::play_only_input() with a YoutubeDl source inside a Docker container. In case of interest, the code is here.
This is my Dockerfile (tranzistorak is the bot):
FROM rust:1.80-bullseye AS builder

RUN apt-get update
RUN apt-get install -y cmake

WORKDIR /usr/src/tranzistorak
COPY . .

RUN cargo install --path .

FROM debian:bullseye-slim AS runner

RUN apt-get update

RUN apt-get install -y python3-pip
RUN python3 -m pip install -U yt-dlp

RUN apt-get install -y libopus-dev

COPY --from=builder /usr/local/cargo/bin/tranzistorak /usr/local/bin/tranzistorak
COPY ./.env /usr/local/bin/.env

WORKDIR /usr/local/bin
CMD ["tranzistorak"]

When I build the image and run a container locally (Arch Linux), it works as expected with no problems:
INFO start:start_connection{start_shard=0 end_shard=0 total_shards=1}:initialize:boot{shard_info=[ShardId(0), ShardId(1)]}: serenity::gateway::bridge::shard_manager: Telling shard queuer to start shard 0
INFO run: serenity::gateway::bridge::shard_runner: [ShardRunner ShardInfo { id: ShardId(0), total: 1 }] Running
INFO runner{config=Config { crypto_mode: Normal, gateway_timeout: Some(10s), mix_mode: Stereo, preallocated_tracks: 1, driver_retry: Retry { strategy: Backoff(ExponentialBackoff { min: 250ms, max: 10s, jitter: 0.1 }), retry_limit: Some(5) }, use_softclip: true, driver_timeout: Some(10s), disposer: Some(DisposalThread(Sender)), scheduler: None }}: songbird::driver::connection: Connected to: frankfurt9728.discord.media:443
INFO runner{config=Config { crypto_mode: Normal, gateway_timeout: Some(10s), mix_mode: Stereo, preallocated_tracks: 1, driver_retry: Retry { strategy: Backoff(ExponentialBackoff { min: 250ms, max: 10s, jitter: 0.1 }), retry_limit: Some(5) }, use_softclip: true, driver_timeout: Some(10s), disposer: Some(DisposalThread(Sender)), scheduler: None }}: songbird::driver::connection: WS heartbeat duration 13750ms.
INFO runner: songbird::driver::tasks::events: Global event added.
INFO runner: songbird::driver::tasks::events: Global event added.
INFO runner: songbird::driver::tasks::events: Event state for all tracks removed.
INFO runner: songbird::driver::tasks::events: Event state for all tracks removed.
INFO runner: songbird::driver::tasks::events: Event state for track 1 added
INFO runner:run{interconnect=Interconnect { core: Sender, events: Sender, mixer: Sender }}: songbird::driver::tasks::ws: Changing to SpeakingState(MICROPHONE)
INFO runner: songbird::events::store: Firing Preparing for [0]
INFO symphonia_core::probe: found the format marker [1a, 45, df, a3] @ 0+2 bytes.
INFO runner: songbird::events::store: Firing Playable for [0]
INFO runner: songbird::events::store: Firing End for [0]
INFO runner: songbird::driver::tasks::events: Event state for track 0 of 1 removed.
INFO runner:run{interconnect=Interconnect { core: Sender, events: Sender, mixer: Sender }}: songbird::driver::tasks::ws: Changing to SpeakingState(0x0)

When I do the same (build and run a container) in a different environment (a VPS with Debian), there is an error:
INFO start:start_connection{start_shard=0 end_shard=0 total_shards=1}:initialize:boot{shard_info=[ShardId(0), ShardId(1)]}: serenity::gateway::bridge::shard_manager: Telling shard queuer to start shard 0
INFO run: serenity::gateway::bridge::shard_runner: [ShardRunner ShardInfo { id: ShardId(0), total: 1 }] Running
INFO runner{config=Config { crypto_mode: Normal, gateway_timeout: Some(10s), mix_mode: Stereo, preallocated_tracks: 1, driver_retry: Retry { strategy: Backoff(ExponentialBackoff { min: 250ms, max: 10s, jitter: 0.1 }), retry_limit: Some(5) }, use_softclip: true, driver_timeout: Some(10s), disposer: Some(DisposalThread(Sender)), scheduler: None }}: songbird::driver::connection: Connected to: frankfurt9728.discord.media:443
INFO runner{config=Config { crypto_mode: Normal, gateway_timeout: Some(10s), mix_mode: Stereo, preallocated_tracks: 1, driver_retry: Retry { strategy: Backoff(ExponentialBackoff { min: 250ms, max: 10s, jitter: 0.1 }), retry_limit: Some(5) }, use_softclip: true, driver_timeout: Some(10s), disposer: Some(DisposalThread(Sender)), scheduler: None }}: songbird::driver::connection: WS heartbeat duration 13750ms.
INFO runner: songbird::driver::tasks::events: Global event added.
INFO runner: songbird::driver::tasks::events: Global event added.
INFO runner:run{interconnect=Interconnect { core: Sender, events: Sender, mixer: Sender }}: songbird::driver::tasks::ws: Changing to SpeakingState(MICROPHONE)
INFO runner: songbird::driver::tasks::events: Event state for all tracks removed.
INFO runner: songbird::driver::tasks::events: Event state for all tracks removed.
INFO runner: songbird::driver::tasks::events: Event state for track 1 added
INFO runner: songbird::events::store: Firing Preparing for [0]
INFO runner: songbird::events::store: Firing End for [0]
INFO runner: songbird::events::store: Firing Error for [0]
INFO runner: songbird::driver::tasks::events: Event state for track 0 of 1 removed.
INFO runner:run{interconnect=Interconnect { core: Sender, events: Sender, mixer: Sender }}: songbird::driver::tasks::ws: Changing to SpeakingState(0x0)

I even tried not building the image on the VPS and rather copying the local one – no difference. For me, this is really unexpected, weird and maybe more of a Docker issue.
Still, please, is there a way to enable more logging? How to find out what is going on? My guess is some dependencies could be missing. Or is it possible that it is caused by the performance difference between my PC and the VPS?
Steps to reproduce:
Run Call::play_only_input() with a YoutubeDl in a container built from the mentioned Dockerfile.

I've just tried this with a File instead of a YoutubeDl and the result is the same.

I have also tried to run it on another PC and there is a new line in the logs:
ERROR symphonia_core::probe: reached probe limit of 1048576 bytes.

just above the Firing Error line.

That error message implies that songbird/symphonia has no idea how to parse whatever you were served from the URL you supplied -- either you're missing a codec, or the link was not actually valid. What website were you querying, and what codecs do you have enabled?

I'm playing a YouTube video through a regular link, e.g. https://www.youtube.com/watch?v=7T_YtklLyyo.
You were right – a codec was probably missing – enabling all of them in Symphonia with
[dependencies.symphonia]
version = "0.5.4"
features = ["all"]

solves the new error line that appeared on the second PC:

I have also tried to run it on another PC and there is a new line in the logs:
ERROR symphonia_core::probe: reached probe limit of 1048576 bytes.

just above the Firing Error line.

And on the second PC everything is now working.
Running it on the VPS results in the same log as before, though:

...
INFO runner:run{interconnect=Interconnect { core: Sender, events: Sender, mixer: Sender }}: songbird::driver::tasks::ws: Changing to SpeakingState(MICROPHONE)
INFO runner: songbird::driver::tasks::events: Event state for all tracks removed.
INFO runner: songbird::driver::tasks::events: Event state for all tracks removed.
INFO runner: songbird::driver::tasks::events: Event state for track 1 added
INFO runner: songbird::events::store: Firing Preparing for [0]
INFO runner: songbird::events::store: Firing End for [0]
INFO runner: songbird::events::store: Firing Error for [0]
INFO runner: songbird::driver::tasks::events: Event state for track 0 of 1 removed.
INFO runner:run{interconnect=Interconnect { core: Sender, events: Sender, mixer: Sender }}: songbird::driver::tasks::ws: Changing to SpeakingState(0x0)


Update npmrc to use new artifactory token

https://collaboration.homeoffice.gov.uk/jira/browse/ASL-4304
Lenny's creds have expired so we need to update to a supported token for internal artifactory


⚠ Spryr has degraded performance

In 691641a, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3756 ms

Resolved: Spryr performance has improved in dec77be after 7 minutes.


GuzzleHttp error

Hi.
I'm getting the following error:
Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given, called in /vagrant/quantofa/vendor/guzzlehttp/guzzle/src/Client.php on line 88 and defined
While trying to follow feeds or getActivities.
I'm using Laravel 5.
Thanks

ok.. I think the problem here is that Laravel 5 uses a version of Guzzle that is not supported by GetStream?
https://github.com/guzzle/guzzle/issues/1123

afaik Laravel does not require Guzzle. what version of stream-laravel are you using?

I see.
I'm currently using ~2.1

I suggest you to update to 2.2.3
On Thu, Aug 13, 2015 at 3:43 PM Nicolas Gutierrez<EMAIL_ADDRESS>wrote:

I see.
I'm currently using ~2.1
—
Reply to this email directly or view it on GitHub
https://github.com/GetStream/stream-laravel/issues/19#issuecomment-130676518
.

No luck. I'm still getting the same error..
I just started using it and I'm doing a pretty simple test:
$comonte = FeedManager::getFeed( 'team', 'comonte' );
$nic = FeedManager::getFeed( 'user', 'nic' );
$nic->followFeed( 'team', 'comonte' );

(I created the "team" slug).

what version of Guzzle do you have installed? make sure you have >=4.0 <6.0
installed.
On Thu, Aug 13, 2015 at 4:18 PM Nicolas Gutierrez<EMAIL_ADDRESS>wrote:

No luck. I'm still getting the same error..
I just started using it and I'm doing a pretty simple test:
$comonte = FeedManager::getFeed( 'team', 'comonte' );
$nic = FeedManager::getFeed( 'user', 'nic' );
$nic->followFeed( 'team', 'comonte' );
(I created the "team" slug).
—
Reply to this email directly or view it on GitHub
https://github.com/GetStream/stream-laravel/issues/19#issuecomment-130692852
.

My composer.json file doesn't include "Guzzle", and the version that is being installed is:
guzzlehttp/guzzle : 6.0.1
guzzle/guzzle: 3.9.3

ok guzzle 6.0.1 is the issue here. something like this should make sure
composer installs the right version of guzzle
something like this should fix it
composer remove guzzlehttp/guzzle
composer remove get-stream/stream-laravel
composer remove get-stream/stream
composer install

On Thu, Aug 13, 2015 at 4:59 PM Nicolas Gutierrez<EMAIL_ADDRESS>wrote:

My composer.json file doesn't include "Guzzle", and the version that is
being installed is:
guzzlehttp/guzzle : 6.0.1
guzzle/guzzle: 3.9.3
—
Reply to this email directly or view it on GitHub
https://github.com/GetStream/stream-laravel/issues/19#issuecomment-130721757
.

Thanks for that @tbarbugli.
I managed to fix it by manually including Guzzle in my composer file as follows
"get-stream/stream-laravel": "2.2.3",
"guzzlehttp/guzzle": "<6.0"

Cheers.
Nic

Hi
Having issues with this, I cannot use the suggested solution since I already have another package which requires "guzzlehttp/guzzle": "~6.0". Any chance there is an update inbound for this package?
Best regards

working on this!

@Grusglo stream-laravel on master is now on guzzle 6

Thank you for the prompt update! Really appreciate it. @tbarbugli


[Editor] Allow to select a freetext editor when in ink mode

and when in ink mode, change the toolbar active button when
a freetext edited.

/botio integrationtest


yo this is really easy to make  i bet (2 questions)

What is your question?
does anyone have a notetype that puts a lua sprite on screen on press
and random chance lua sprite as like random chance of a sprite appearing

You could have the song's data script pick up whenever that notetype is pressed and add a lua sprite


scalene: 1.5.45 -> 1.5.46

Maintenence release
Changelog: https://github.com/plasma-umass/scalene/compare/v1.5.45...v1.5.46
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 353205 run on aarch64-darwin 1

4 packages built:

python311Packages.scalene
python311Packages.scalene.dist
scalene (python312Packages.scalene)
scalene.dist (python312Packages.scalene.dist)


Type checker does not respect unittest assertion methods

Type: Bug
If I am inside of a unittest test case, and I write some code as such:
from typing import cast
from unittest import TestCase

class TestMyTest(TestCase):
    def test_simple(self):
         testvar: int | None = cast(int | None, 1)
        self.assertIsNotNone(testvar)
        reveal_type(testvar)
        x = testvar.to_bytes()

At the reveal_type, I get Type of "testvar" is "int | None" Pylance. However, the line below says "to_bytes" is not a known attribute of "None" Pylance(reportOptionalMemberAccess).
In contrast, this code:
from typing import cast
from unittest import TestCase

class TestMyTest(TestCase):
    def test_simple(self):
         testvar: int | None = cast(int | None, 1)
        assert testvar is not None
        reveal_type(testvar)
        x = testvar.to_bytes()

At the reveal_type, I get Type of "testvar" is "int" Pylance, and no more error on the line below. I think the type checker should be able to equate the assert* methods with the assert statement.
Extension version: 2024.11.3
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Darwin x64 24.0.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz (4 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
2, 2, 2

Memory (System)
32.00GB (8.77GB free)

Process Argv
--crash-reporter-id 1eb59a8f-a777-446b-b97e-fe7c3d092446

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

There's currently no mechanism in the Python type system to support this scenario. What we'd need to support this is a feature found in TypeScript called a "type assert". There has been some discussion in the Python typing forums about adding something like this, but they haven't materialized into anything concrete. If you'd like to champion such a feature, here is the process for amending and extending the Python type system.
In the meantime, the best solution is to use the built-in assert statement rather than library calls that perform similar functions. The built-in assert statement is understood by type checkers, and most unit test frameworks also understand assert statements.


Raw body support for application/ld+json and application/activity+json

This PR implements raw body support for application/ld+json and application/activity+json

Thanks for the PR
Why it is closed now?

I found it causes some trouble with preexisting handlers in some cases. For example: https://github.com/misskey-dev/misskey/commit/04075ee0bede198452dcd5e8ca6a00a3b750208b
I think this should be improved before merging in

I re-opened it but put it in draft state

I think this should be handled in a better way (or should state that it breaks some compatibility)

The best approach would be to accept a new user's config to set the content type.
Please, add some tests too

Done! Could you review this patch set? @Eomm


built in emulator errors with multipart/form-data

When attempting to send it multipart form data to the local emulator, I've encountered this issue:
{'errorMessage': 'Unable to unmarshal input: Expecting value: line 1 column 2 (char 1)', 'errorType': 'Runtime.UnmarshalError', 'requestId': '9aca3c44-1abd-459b-9343-3c32ba2a8ffe', 'stackTrace': []}

The code i am running to call my handler:
    files = [("file", ("file1.txt", open("/dir/file1.txt")))]
    response = requests.post(
        f"http://localhost:9000/2015-03-31/functions/function/invocations",
        files=files
    )

Is this supposed to happen? Is there any work to support this right now?

I have the same issue. Have you found a way to send the multipart form data? I tried using the following CURL request:
curl -X POST -H "Content-Type: multipart/form-data" -F<EMAIL_ADDRESS>http://localhost:9000/2015-03-31/functions/function/invocations

My main.py, where the handler was located, is simple.
def lambda_handler(event, context):
    print("Inside the function!")

    return {
        "statusCode": 200,
        "body": { "result": "Success!" }
    }

The returned value from doing this request is the following:
{
    "errorMessage": "Unable to unmarshal input: 'utf-8' codec can't decode byte 0xd0 in position 155: invalid continuation byte",
    "errorType": "Runtime.UnmarshalError",
    "requestId": "ae9d267c-c694-4333-8eda-41e32db24c77",
     "stackTrace": []
}

The Dockerfile used to build this image is the following.
FROM public.ecr.aws/lambda/python:3.10-arm64

# Install the function's dependencies using file requirements.txt from your project folder.
COPY requirements.txt .

RUN pip install --upgrade pip -q
RUN pip install -r requirements.txt --target "${LAMBDA_TASK_ROOT}"

# Copy function code to the image.
COPY main.py ${LAMBDA_TASK_ROOT}

# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD [ "main.lambda_handler" ]

It seems this will not work because, in production, the way to get multipart/form-data into Lambda is through an API Gateway proxy given that Lambda only supports JSON inputs. This is discussed in this Stack Overflow answer, but wanted to check if there's a way to send this data through the emulator. Can someone confirm?

My current solution is not relying on the base image, but instead have a separate docker image that I use for local testing and emulate my services running in lambda.
Now that I think about it, it may be possible to build something in front of it to emulate the api gateway, if there's not already out there somewhere.


New Feature: BuildingUnlockCount

Same as CountyUnlockCount, but using the building_type from event.EventData in the building_type_unlocked event
Main feature is the total count, with a “breakdown” subfeature

Resolved in #171


(FM-7457) conversion of snmp_notification_receiver to agentless

Codecov Report

Merging #28 into puppet6 will increase coverage by 0.15%.
The diff coverage is 92.1%.

@@            Coverage Diff             @@
##           puppet6     #28      +/-   ##
==========================================
+ Coverage     1.45%   1.61%   +0.15%
==========================================
  Files          178     179       +1
  Lines        21956   21994      +38
==========================================
+ Hits           320     355      +35
- Misses       21636   21639       +3

Impacted Files
Coverage Δ

...provider/snmp_notification_receiver/cisco_nexus.rb
92.1% <92.1%> (ø)

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 f1c6420...7d43f88. Read the comment docs.


Automate release

Description of the issue
We should automate our releases - including testing, bumping versions, raising PRs, some of the release notes generation so that we can avoid mistakes like missing a bumped version for example. Context: https://github.com/quantumlib/Cirq/pull/4121#pullrequestreview-664588494

Some of this has been done, but there's probably still room for improvement.


sharded-test-server: support standalone vw server

Summary
When running sharded-test-server, if you now pass --shard-run-virtual-workspaces=false, it will run virtual-workspaces in
standalone mode, and configure the front proxy to map to the virtual-workspaces process for /services.
Note, this does not currently wire anything into CI/e2e tests. Figured we'd want to discuss where to plumb this in.
Related issue(s)
Fixes #1702

/lgtm
/approve


Fix MARL long lasting bug: dynamic randomization and max step termination handling

What changes do you make in this PR?

Please describe why you create this PR

resolve #161
Checklist

[x] I have merged the latest main branch into current branch.
[x] I have run bash scripts/format.sh before merging.
Please use "squash and merge" mode.

Merge this branch when all test passed


Handle multiple cameras

I have an OBS virtual camera in addition to my built-in Mac one. QuickMirror.me already handles it, so we could steal the code from that.

Will do!  I had this on my wishlist


Config feature

Coverage decreased (-0.6%) to 68.548% when pulling<PHONE_NUMBER>4b89185fa5f926d999b89d40bf6622 on configFeature into 9a0bb2b840904b297fb508a50825ccea833107d6 on master.


User permissions Bug

Hello Traccar Team
I think I just came across a possible bug on version 3.9 . When I connect as admin and click on Users I  have 3 accounts as you may see on the picture below

I edit the account Joe to be readonly , then log into that account and confirmed that changes took effect. Then I log into admin again and  click on Joe, and select Admin priviledges and deselect readonly. I log back again with Joe account and saw that changes took effect. Now I log back again like Admin and edit Joe account and remove Admin permissions .
I just want to leave Joe account as regular user (no checkmarks). However the system do not let me have Joe account without any checkmarks on the roles

As soon I click the save button checkmark on the bottom to save changes , the privileges stay the same and right now I can't change Joe as regular user.

After changes saved I click edit and this is how it looks

Hope makes sense my explanation.

The issue has already been fixed in https://github.com/tananaev/traccar-web/issues/356. The fix will be included in the next release.


Builder constant issue

im having a issue with the BuildConstants

The BuildConstants file is generated when the project is built. The file won't exist until then. Run the "Build Robot Code" command and you should see it appear in the Robot folder.

It wouldnt let me build the code every time i try it says build failed after 1 actionable task : 1 executed

Would you share a link to your project in GitHub (or some other version control system)?

I had a similar problem.  My build.gradle was not completing because I did not have the command line version of git in my path.  this is needed for the repositories   url = uri("https://maven.pkg.github.com/Mechanical-Advantage/AdvantageKit".
Once Installed git the file was created, and the problem went away.

@lolp1229 If @martygubow's suggestion doesn't address your issue, please reopen. I've updated the README to state that git is an external dependency.

ive been trouble shooting for a few days and i still cant get it to work
https://github.com/lolp1229/Main-code-2023-OKC heres the current code

Here's an update build.gradle file. If you want to use the automatically generated BuildConstants file, you need to include the gversion plugin and add the additional specifications at the bottom of the file. You also need to include the specify the dependency on AdvantageKit's annotation processor.
Rename this build.gradle
build.gradle.txt

thank you it works now


Switch options validation to superstruct

The joi validation package is deprecated/moving repository.
Going off shellscape/webpack-plugin-serve#188 superstruct seems a solid replacement. Basic validation works fine, and can be customised as needed.
Add some tests for option validation.

This is awesome, thank you so much!

Do you mind if I wait until #28 is done before releasing a new minor version?

@unindented Thanks for review and landing!
Waiting to release with other breaking change sounds reasonable to me. I've also got a change that avoids reading the package.json and license files from disk multiple times, just haven't decided yet what the right interface change to propose is yet.


Zoom in and zoom out screen.

Description of the new feature / enhancement
Feature for zoom in and zoom out the screen similar to zoom in and zoom out in the browser.
Scenario when this would be used?
When the user presentations or during share screen with another colleague.
Supporting information
No response

Zoomit by sysinternal team. https://learn.microsoft.com/en-us/sysinternals/downloads/zoomit


Fancy Zone Memory Leak?

Microsoft PowerToys version
0.68.0
Installation method
GitHub
Running as admin
No
Area(s) with issue?
FancyZones
Steps to reproduce
Had computer uptime of 5 days.
✔ Expected Behavior
Memory to be low?
❌ Actual Behavior

6.28 GB!
Other Software
wsl2
phpstorm
intelij
vscode
google chrome
opera
apex legends
steam

I have the same problem. I was not sure why a PC with 32GB of RAM AND another ~37GB of virtual memory was making Chrome crash (fair enough, with WSL2 programming, 3 chrome windows with 50+ tabs etc).
My Committed Memory kept rising and rising for some reason, and in the Resource Monitor, fancy zones had ~32GB commited (just closed it and don't have a screenshot, will update with one when it happens again).

If it helps at all I had quite a few windows open and multiple virtual desktop to switch between.

Same for me, I have 3 Virtual Desktops and about 12-15 windows open in total. The issue is replicated since yesterday, memory usage currently at ~10GB after 24 hours, in which 12 hours the PC was in Hibernate mode and was used for 12 hours approximately:

Wonder if its virtual desktops doing it hmn

I also encountered this problem. After a period of time (about 6 hours), it will commit more than 20GB of memory. At this point, the total committed memory of my system reaches the upper limit of 52GB, and the application starts to crash.

I've just had this issue on my end - fancyzones ate all the memory causing out of memory errors for other programs.

I also ran into this just now and while it's happened before, apparently, I thought it was bad memory.  Was all over the place troublshooting this one, but found this event today:
Log Name:      System
Source:        Microsoft-Windows-Resource-Exhaustion-Detector
Date:          1/11/2024 1:59:08 PM
Event ID:      2004
Task Category: Resource Exhaustion Diagnosis Events
Level:         Warning
Keywords:      Events related to exhaustion of system commit limit (virtual memory).
User:          SYSTEM
Computer:      -
Description:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: PowerToys.FancyZones.exe (13304) consumed<PHONE_NUMBER>80 bytes, vmmemWSL (19572) consumed<PHONE_NUMBER> bytes, and vmmemWSA (42764) consumed<PHONE_NUMBER> bytes.

I have the same problem since some weeks, probably as I started using Virtual Desktops.

Also running into this. An easy way to reproduce this is to run FancyZones on a multi-monitor setup, and then reconnect one of the displays a few times. Mine increases by ~400MB every time I do so (all are 4k@10bpc), and does not cap until I notice running out of memory north of 40GB usage.
I assume that people using virtual desktops are hitting the same 'reconnecting display' logic as I am.
v0.78.0 on 10.0.22631.3007
@Aaron-Junker Given this is a rather bad bug affecting a fair few people, can you confirm it is reproducible with the above?

Oh I wonder if this happens also when switching display between two inputs or when it goes to sleep/awake or power off.
Or when changing resolution.

Actually after thinking about it a bit there is an even easier way to get it to exhibit this behavior even with one monitor: Rebuild the DWM surfaces. That can be done easily by hitting "Win+Ctrl+Shift+B". I hit that a few times and it did indeed add a few gigabytes to the process's commit.
Note that when attempting to reproduce this, if you are using the built-in task manager you need to add the "Commit" column to view the memory usage. The leak does not contribute to the private working set which is the only thing shown by default in the new task manager.

Great, now we have a reliable way to reproduce it I didn't think of that shortcut good thinking @timber-schroeder
I wasn't able to compile the project with Rider tried last weekend, would need Visual Studio it looks like.
Would we be able to find memory leaks by using something like this?
https://learn.microsoft.com/en-us/cpp/c-runtime-library/find-memory-leaks-using-the-crt-library?view=msvc-170
Or the profiler in Visual Studio?

Also running into this. An easy way to reproduce this is to run FancyZones on a multi-monitor setup, and then reconnect one of the displays a few times. Mine increases by ~400MB every time I do so (all are 4k@10bpc), and does not cap until I notice running out of memory north of 40GB usage.
I assume that people using virtual desktops are hitting the same 'reconnecting display' logic as I am.
v0.78.0 on 10.0.22631.3007
@Aaron-Junker Given this is a rather bad bug affecting a fair few people, can you confirm it is reproducible with the above?

I can reproduce this.

Can someone attach /bugreport? @LiamKarlMitchell @timber-schroeder

PowerToysReport_2024-02-13-15-35-42.zip

Thank you worthless stale bot. If it has a stable repro the bot shouldn't take action on the issue...
I doubt this will clear it as I am not the 'author' but here:
PowerToysReport_2024-02-18-17-30-05.zip

Can't test easily as the build pipeline does not appear to publish the executables it tested with (I only see MSBuild logs stored as artifacts...), and I have a very nonstandard Windows SDK setup that won't build it even if I was using Visual Studio.
I will wait for the next release and can test the cases that I see the leaks with then.

Confirmed the bug is fixed for me on 0.79. Was unable to reproduce with various DWM surface changes.
Thanks @SeraphimaZykova!

This has been worked on during the 0.79.0 release cycle.
Please update to the latest: https://github.com/microsoft/PowerToys/releases


Add a smoke test and configure CI to run the test on every update

My suggestions are:

Jest
TravisCI

Done. Here is Travis build results https://travis-ci.org/github/kkomelin/isomorphic-dompurify


[Click here] for ALL resolution support (Keyboard Mouse Only)

Summary
I've edited the KBM version to include all resolution support and some other neat features. Sadly, I've been unable to do the same for the controller version due to the way we're detecting inputs.
Here's the link to the .bat and .py file or download it from my fork, for anyone interested in this all resolution version! (GitHub doesn't let users attach .bat or .py files)
Please leave a comment if you're having issues with any particular resolutions and I'll try work on a fix ASAP.
I'll be continuing development and hoping to get controller support and a UI setup before submitting a pull request.
Solution
We're scaling the resolution by dividing the variables provided and multiplying by the detected resolution.
Controller and other issues
The issue with the controller version is how we're detecting inputs. TL;DR, it doesn't work (at least not as of Sep 2023). From my testing the program isn't able to detect the auto play button at all, even in the KBM solution I've attached. It's basically redundant so we should remove it.
Extra info (for anyone interested)
It seems that the only thing triggering the selecting of dialogue is the "is_dialogue()" function, in the controller version, and the "is_dialogue_option_available()" function, in the KBM version, because of this, and the way the conditions are setup in main, the program just tries every dialogue selection option regardless of UI (KBM, DS4, Xbox) and hopes one works (define_ui() and is_dialogue_playing() are currently broken, they can be removed and the code still works). We'll need a better way of detecting game pads (they do exist, it can be done).

Thank you @OWalbridge for providing the all resolution support + constructive criticism.
I will make the kbm_only branch the main branch and will make the current main branch into gamepad_only branch. Then, I will remove any keyboard support from the gamepad_only branch and for now will left the hacky approach of detecting gamepads as it is, as I don't have any game pads to properly test it. The gamepad_only branch will be described as "experimental" in the readme.
After all that, I'll look into your all-resolution approach, test it and if I get it to work properly - push it with some note about how all-resolution works in the readme if necessary. I will also close all of the issues that mention a need for support of resolutions other than 1080p and describe the recent changes we made and how it can be done.

@1hubert Sounds good. I've finished the GUI on my fork. I'll make a pull request once I've hooked it up to the back end. I'll attach some screenshots:

https://github.com/1hubert/genshin-dialogue-autoskip/assets/141431038/bd88435b-9cf6-423e-9821-8bcdeb2ffef0

Hey @OWalbridge, I've tested and pushed your solution to auto resolution scaling to the main branch. Works great. I've added an .env file to store the resolution so that once a user knows it's correct, he doesn't have to deal with the Is the resolution correct? (y/n) every time he runs the script.
Your GUI looks super good. It honestly means a lot to me that people continue the work I did. Together, we can waste less time on filler genshin story and learn some coding along the way. I'll be waiting for your pull request.
Closing this issue as it's related to all resolution support. Thank you again.


firehose metrics - include linked accounts metrics

Pull Request Description
Description
This PR introduces an option to include metrics from source accounts that are linked to the monitoring account in the CloudWatch metric stream.
According to AWS best practices, it's recommended to have a centralized monitoring account, and we should aim for a single metric stream in this account. This reduces the need for multiple data streams, simplifying metric management and reducing costs.
Changes:

Added a new variable include_linked_accounts_metrics to control the inclusion of linked account metrics.
Updated relevant files to incorporate this change.

How Has This Been Tested?
This feature has been tested by:

Updating the example configurations in the examples directory.
Validating that the include_linked_accounts_metrics option correctly influences the behavior of the metric stream.

Reproduction Steps:

Navigate to examples/firehose-metrics/main.tf.
Set the include_linked_accounts_metrics variable to true.
Deploy the configuration and verify that metrics from linked accounts are included in the metric stream.

Test Configuration:

AWS account with necessary permissions to create metric streams.
Terraform version: Terraform v1.6.0 on darwin_arm64

Checklist

[ 🟢 ] I have updated the relevant example in the examples directory for the module.
[ 🟢 ] I have updated the relevant test file for the module.
[❌ ] This change does not affect the module (e.g., it's a README file change).
[ 🟢 ] Documentation for the new variable has been added to the module README.

Hey @jakeskyaws, the PR looks good, for the version i think its should be 2.1.0 (feat) as you add a new feature for the integration. We require the PR title and commits to be in a specific format in order for a new version to be released otherwise the version will not be released you can see more information here,


Integrate some components from solanabeach frontend

nvm moved back to https://github.com/solana-labs/solana/pull/11331


PHOENIX-6274 : Deflake TableSnapshotReadsMapReduceIT.testMapReduceSnapshotsMultiRegion

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
14m 13s
master passed

+1 :green_heart:
compile
0m 56s
master passed

+1 :green_heart:
checkstyle
0m 31s
master passed

+1 :green_heart:
javadoc
0m 44s
master passed

+0 :ok:
spotbugs
3m  1s
phoenix-core in master has 972 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
7m 29s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

+1 :green_heart:
checkstyle
0m 31s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 47s
the patch passed

+1 :green_heart:
spotbugs
3m 13s
the patch passed

_ Other Tests _

-1 :x:
unit
113m 53s
phoenix-core in the patch failed.

-1 :x:
asflicense
0m 27s
The patch generated 1 ASF License warnings.

149m 55s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1028

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux 08d95f0a3872 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
master / 3d9627f

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/1/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/1/testReport/

asflicense
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
6727 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/1/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
7m 39s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

+1 :green_heart:
checkstyle
0m 28s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 44s
the patch passed

+1 :green_heart:
spotbugs
3m 11s
the patch passed

_ Other Tests _

-1 :x:
unit
111m 30s
phoenix-core in the patch failed.

-1 :x:
asflicense
0m 27s
The patch generated 1 ASF License warnings.

148m 28s

Reason
Tests

Failed junit tests
phoenix.end2end.UpsertSelectIT

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1028

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux d16aa69b316f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
master / 3d9627f

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/2/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/2/testReport/

asflicense
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
6904 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1028/2/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


nargo compile crashes

Aim
nargo --version
nargo 0.10.5 (git version hash: 91efe44d17762ea883d9a576d530049ad20f1393, is dirty: false)
git clone git@github.com:Savio-Sou/recursion-demo.git
nargo compile
Expected Behavior
Success
Bug
after fixing to:
fn main(
verification_key : [Field],
proof : [Field],
public_inputs : [Field],
key_hash : Field,
input_aggregation_object : [Field; 16],
proof_b : [Field],
nargo compile
The application panicked (crashed).
Message:  internal error: entered unreachable code: ICE: Params to the program should only contains numbers and arrays
Location: crates/noirc_evaluator/src/ssa/acir_gen/mod.rs:283
This is a bug. We may have already fixed this in newer versions of Nargo so try searching for similar issues at https://github.com/noir-lang/noir/issues/.
If there isn't an open issue for this bug, consider opening one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml
To Reproduce

See above

Installation Method
Binary
Nargo Version
nargo 0.10.5 (git version hash: 91efe44d17762ea883d9a576d530049ad20f1393, is dirty: false)
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Apologies for the bad error message! The error is trying to say that only numbers (field & integer types) and arrays (not slices!) are supported as parameters to main. So in your example:
fn main(
    verification_key : [Field],
    proof : [Field],
    public_inputs : [Field],
    key_hash : Field,
    input_aggregation_object : [Field; 16],
    proof_b : [Field],
)

Several parameters are slices instead of arrays which causes this panic. We'll work on making this panic a proper error message but when that is done the code will still be invalid. As a workaround to not supporting slices, you can choose an arbitrary maximum size for each slice, change them to arrays, and fill the rest of the new elements with some padding in the Prover.toml.


Minor fixes

change hovering color to white, remove a redundant div, switch BsTextIndent icon from left to right, add flex-grow to mainBody div

Great! Thanks! 👍


How do I bundle a static file as a resource

Hello everyone,
lets say I have a bolt which requires some input file to do some computations. This file never changes and is quite small. Imagine a use case where I want to use some pickled scikit-learn model to perform a prediction.
Adding the file to the  :resource-paths ["_resources"] folder does not seem to work. It gets bundled in the Jar I believe. However I don't know how to access it from python then.
Any pointers would be much appreciated.

The simplest method for shipping that along is to just put the file in the same directory as your code before you do sparse submit, that'll make it get put in the JAR and have it get uncompressed in the same directory as your Python code. Then you can just do the usual os.path.dirname(os.path.realpath(__file__)) trick to find the current directory and load your model.
The _resources folder is a special folder that streamparse creates and destroys at will, so you can't rely on anything actually being in there if you put it in there.


Add Logo icon

Issue: #8
New icon is now visible in both header and readme.MD.

@8G6 done

@8G6 According to hacktoberfest rules, this PR comes under the no-code category but still hasn't been labelled as 'accepted' .


Release v0.2.3

https://github.com/yaml/libyaml/projects/2

@ingydotnet requested a last minute change:

Can you rename libyaml files to License , Changes and ReadMe.md ?

I renamed CHANGES and LICENSE, but README is currently not markdown, so I kept that.

@ingydotnet requested that I convert the README to markdown.
Will fo that and do another force push.

Released, added tags 0.2.3 and dist-0.2.3.
Updated pyyaml.org


Add log variable to integration tests

Closes #470

@AlekSi suggested another solution for #470, so I think we can just close this one.


fluent-bit collect log "invalid tag_regex pattern for file /var/lib/rancher/rke/log/kubelet"

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
using fluent-bit 1.5.0 to collect log "/var/lib/rancher/rke/log/*.log"
Result:
invalid tag_regex pattern for file /var/lib/rancher/rke/log/kubelet_edce64a1dc94fbde14ad278ff2c6b3690eb5b01bcac1c2ff36a40029d389c0d8.log
Other details that may be helpful:
seem related https://github.com/fluent/fluent-bit/issues/1092
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):rancher/rancher
Installation option (single install/HA):single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
AWS EC2
Machine type (cloud/VM/metal) and specifications (CPU/memory):
8core 32G
Kubernetes version (use kubectl version):
1.15

(paste the output here)

Docker version (use docker version):
1.19

(paste the output here)

i thought /var/log/containers/*.log should same as "/var/lib/rancher/rke/log" , but why the fluent-bit is invaild ....


[Discussion] Folder structure - cs vs csharp

I don't remember which PR was the initial discussion with @IEvangelist.
The current folder structure uses vb, csharp, and fsharp folder names inside the snippets folder for each doc.
David was suggesting to use cs as it's shorter.
It looks like an automated tool could rename csharp to cs and update the articles to use it as well.
If you wish to use cs instead of csharp (and probably fs too?), a PR will be needed to update this guide, then I can try to write a tool to rename the current csharp files.
I'm personally with David's opinion, but I'd like consistency too.
@adegeo @BillWagner Opinions?

Note: this doesn't apply to the samples folder in the repository root, but applies to snippets folders under docs.

@Youssef1313 In #17297 we standardized on csharp. We chose that because is the same as the language identifier we use in code fences.
/cc @IEvangelist

@Youssef1313 In #17297 we standardized on csharp. We chose that because is the same as the language identifier we use in code fences.
/cc @IEvangelist

I'm good with the naming.

Great. One thing caught my eye is:

These folders are not needed in the language guide area, where only one language is assumed.

This is not mentioned in https://docs.microsoft.com/en-us/contribute/dotnet/dotnet-contribute#example-folder-structure
I'll open a PR to clarify this, and make sure it's actually followed. Then close the issue.


Add files via upload

Hi @Abdukadirova, please note that you should not merge directly into the master branch. You should merge firstly into develop and then create a pull request to merge develop into master. This will allow you to check your changes on the staging site (https://sdg-kyrgyzstan.github.io/open-sdg-site-starter/) before making the changes live at https://sustainabledevelopment-kyrgyzstan.github.io/. This will help avoid pushing mistakes/errors to the live site for everyone to see.
Please let me know if you have any questions.


Add Areachat

It seems lack the area chat ,so I add this type.

That is great! Could you please add few more tests mostly around the chart itself? Could you also add an example in the example documents?

That is great! Could you please add few more tests mostly around the chart itself? Could you also add an example in the example documents?
add the example and some chart count test

I've added some modifications. For your change of int to  is that because it's possible to use float/double or what's the use case?

yes,when I used the double for the electricity energy used like kw/h .thanks for your modify


add tex0l in the contributors & bump version to 1.2.0

Following up on https://github.com/Crypho/react-native-scrypt/pull/22#issuecomment-715068333

Thanks again :)


Gene expression app & RAMPAGE tab

Collape all doesn't work (in https://screen-git-gene-expression-weng-lab.vercel.app/)

Collapse all does work, default value was not set. worked after closing one. fixed in next commit


Socks proxy support

Add support for Socks proxy.

+1
Need this to use my Tor instances as Proxies for crawling.

+1
Need this to use my Tor instances as proxies, for crawling.


where to add the config ???

Where exactly does this go ?
I tried adding it into configuration.yaml:
lovelace            : !include pac/yaml/lovelace.yaml

# include pac/yaml/lovelace.yaml
kiosk_mode:
  user_settings:
    - users:
        - paul
      hide_sidebar: true
    - users:
        - dave
      kiosk: true
      ignore_entity_settings: true

That does not work.
find . -name "lovelace"
>> ./.storage/lovelace

The only files found in .storeage/lovelace* - are json format, I have no clue where to add this code :-)
kiosk_mode:
  hide_header: true

views:
Note: views: is added in the example above to show where kiosk_mode: should be placed in your Lovelace config

Where precisely path/filename is this: should be placed in your Lovelace config

OK, got it.
in the GUI frontend, you open the dashboard you want to control, click the 3 dots on the right and use the raw configuration editor to add the code just above views.
Might be good to update the readme so that dumb people like me can understand :-)


Set up and tune RoadRunner

[x] Tune DriveConstants
[x] Set up dead wheels
[x] Tune max velocity
[x] LocalizationTest
[x] Tune feedforward control
[ ] StraightTest
[ ] Tune track width
[ ] TurnTest
[ ] SplineTest

This isn't totally done, but it's mostly set up and I need to pull the upstream.


Expose home-manager module #33

Adds the home module under nixosModules.home

Is there no agreed upon flake output for home manager modules, like homeModules, hmModules, or homeManagerModules? If not, I will merge this and if in the future there is one, we can just output it both ways.

Some people do put it under homeModules, however that attribute is not specified anywhere in the official flake output schema. Neither is nixosModule for that matter. However to the best of my knowledge the nixosModules.default has no extra behaviour associated with it unlike packages.<system>.default. nixosModules always have to be selected manually in the importing flake.
It's unlikely for homeModule to get included in the official schema as it's not part of the main nixpkgs repository, but we can put the module anywhere we want. nixosModules.home just felt like the most reasonable to me personally.

In another project I went with homeModules, but nixosModules.home in this case feels just as well. I might add a homeModules variant later on, but I don't see the harm in having nixosModules.home as well, so I merged it, thanks for the PR!


NVIDIA Tesla P4 not available in us-west1-b for Google Cloud

In the fast ai setup guide for GCP, https://course.fast.ai/start_gcp.html
it was recommended to use us-west1-b. However Nvidia Tesla P4 is not available in this instance and is available in us-central1-a.
Further, in instance creation code, Nvidia tesla p100 was provided in config which has a much higher budget ($0.43 per hour vs $0.26 per hour).
Hence request to change the instance creation configuration in Step 3 ( https://course.fast.ai/start_gcp.html#step-3-create-an-instance ) to the following:
export IMAGE_FAMILY="pytorch-latest-gpu" # or "pytorch-latest-cpu" for non-GPU instances
export ZONE="us-central1-a"
export INSTANCE_NAME="my-fastai-instance"
export INSTANCE_TYPE="n1-highmem-8" # budget: "n1-highmem-4"
# budget: 'type=nvidia-tesla-k80,count=1'
gcloud compute instances create $INSTANCE_NAME
--zone=$ZONE
--image-family=$IMAGE_FAMILY
--image-project=deeplearning-platform-release
--maintenance-policy=TERMINATE
--accelerator="type=nvidia-tesla-p4,count=1"
--machine-type=$INSTANCE_TYPE
--boot-disk-size=200GB
--metadata="install-nvidia-driver=True"
--preemptible

I had a similar issue I solved using a Tesla K80 due to restrictions you can find here:
https://cloud.google.com/compute/docs/gpus
I managed to create it in us-west1-b using this:
export IMAGE_FAMILY="pytorch-latest-gpu" # or "pytorch-latest-cpu" for non-GPU instances
export ZONE="us-west1-b"
export INSTANCE_NAME="my-fastai-instance"
export INSTANCE_TYPE="n1-highmem-4"
gcloud compute instances create $INSTANCE_NAME
--zone=$ZONE
--image-family=$IMAGE_FAMILY
--image-project=deeplearning-platform-release
--maintenance-policy=TERMINATE
--accelerator="type=nvidia-tesla-k80,count=1"
--machine-type=$INSTANCE_TYPE
--boot-disk-size=200GB
--metadata="install-nvidia-driver=True"
--preemptible


Feature: Export duration as decimal

Is your feature request related to a problem? Please describe.
I want to be able to pull the data into a spreadsheet to process it further. Having the duration be in decimal form would simplify matters a lot
Describe the solution you'd like
Either a setting for how to export the data when copying to CSV or similar to the setting for the Timestamp display format, have a setting for the duration format
Describe alternatives you've considered
Some pretty ugly excel formulas, and also the dataviewjs API but this feels like a good addition to the plugin itself

Sounds good, going to see what I can do around this tonight. Will probabbly go with a drop down setting to pick timestamps or durations.

Have added a new setting for choosing the duration format for CSV & Markdown (They use the same logic for generating the flat display rows so the formatting logic is linked)


fix: Bump @octokit/rest to 18.0

Codecov Report

Merging #33 (6f1ba72) into master (16546ed) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          109       109
  Branches        25        25
=========================================
  Hits           109       109

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 16546ed...6c1cc53. Read the comment docs.

:tada: This PR is included in version 1.1.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG] Test case test_migration_with_unscheduled_replica failed

Describe the bug
Test case test_migration_with_unscheduled_replica failed on master-head:
https://ci.longhorn.io/job/public/job/master/job/sles/job/amd64/job/longhorn-tests-sles-amd64/961/testReport/tests/test_migration/test_migration_with_unscheduled_replica/
clients = {'ip-10-0-2-218': <longhorn.Client object at 0x7f7cfef25810>, 'ip-10-0-2-225': <longhorn.Client object at 0x7f7cff5642d0>, 'ip-10-0-2-51': <longhorn.Client object at 0x7f7cfd30c550>}
volume_name = 'longhorn-testvol-8zm4do'

    @pytest.mark.coretest  # NOQA
    @pytest.mark.migration # NOQA
    def test_migration_with_unscheduled_replica(clients, volume_name):  # NOQA
        """
        Test that a degraded migratable RWX volume that contain an unscheduled
        replica can be migrated.

        1. Disable the scheduling for one node.
        2. Create a new RWX migratable volume.
        3. Attach to test node to write some test data on it.
        4. Detach from test node.
        5. Get set of nodes excluding the test node.
        6. Attach volume to node 1 (initial node).
           The volume should be Degraded with an unscheduled replica.
        7. Attach volume to node 2 (migration target)
        8. Wait for migration ready (engine running on node 2).
           The newly created migration replica count should be the same as
           that of the current replicas.
           And there is one migration replica not scheduled, either.
        9. Detach volume from node 1.
        10. Observe volume migrated to node 2 (single active engine)
        11. Enable the scheduling for the node and wait for rebuilding complete.
        12. Validate initially written test data.
        """
        # Step 1
        client = get_random_client(clients) # NOQA

        # local_node : write data / migrate target
        # hosts[0] : migrate initial node
        # hosts[1] : node to schedule on/off
        local_node = common.get_self_host_id()
        hosts = get_hosts_for_migration_test(clients)
        schedule_node = client.by_id_node(hosts[1])

        set_node_scheduling(client, schedule_node,
                            allowScheduling=False, retry=True)

        # Step 2,3,4
        volume = client.create_volume(name=volume_name, size=SIZE,
                                      numberOfReplicas=3,
                                      backingImage="",
                                      accessMode="rwx", migratable=True)
        volume = common.wait_for_volume_detached(client, volume_name)
        attachment_id = common.generate_attachment_ticket_id()
        volume.attach(attachmentID=attachment_id, hostId=local_node)
        volume = common.wait_for_volume_degraded(client, volume_name)

        data = common.write_volume_random_data(volume)
        common.check_volume_data(volume, data)

        # collect replicas name before detaching,
        # unscheduled replica would be deleted.
        old_replicas = []
        v = client.by_id_volume(volume_name)
        replicas = v.replicas
        for r in replicas:
            old_replicas.append(r.name)
        volume.detach(attachmentID=attachment_id)
        volume = common.wait_for_volume_detached(client, volume_name)

        # Step 6
        attachment_id_1 = common.generate_attachment_ticket_id()
        volume.attach(attachmentID=attachment_id_1, hostId=hosts[0],
                      attacherType=common.ATTACHER_TYPE_CSI_ATTACHER)
        volume = common.wait_for_volume_degraded(client, volume_name)

        # Step 7
        attachment_id_2 = common.generate_attachment_ticket_id()
        volume.attach(attachmentID=attachment_id_2, hostId=local_node,
                      attacherType=common.ATTACHER_TYPE_CSI_ATTACHER,)

        # Step 8
        volume = common.wait_for_volume_migration_ready(client, volume_name)
        volume = common.wait_for_volume_degraded(client, volume_name)

        new_replicas = []
        v = client.by_id_volume(volume_name)
        replicas = v.replicas
        for r in replicas:
            if r.name not in old_replicas:
                new_replicas.append(r.name)

>       assert len(old_replicas) == len(new_replicas)
E       assert 3 == 2
E         +3
E         -2

test_migration.py:202: AssertionError

It expects the initial node and migration target have the same number of replicas.
On master-head, even though there is a node unschedulable, the initial node will still have 3 replicas created (2 healthy replicas + 1 unschedulable replica):

But when attached to the migration target, there are only 2 replicas created:

To Reproduce
Run test case test_migration_with_unscheduled_replica.
Expected behavior

Support bundle for troubleshooting

Environment

Longhorn version: master-head
Impacted volume (PV):
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.30.0+k3s1

Number of control plane nodes in the cluster:
Number of worker nodes in the cluster:

Node config

OS type and version: sles 15-sp5
Kernel version:
CPU per node:
Memory per node:
Disk type (e.g. SSD/NVMe/HDD):
Network bandwidth between the nodes (Gbps):

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context

@c3y1huang Can you help check if it also needs an update in test case? Thank you.

Cause:

The volume controller permits multiple Replicas to be replenished in a single reconcile loop for a new volume.
Unscheduled Replica is later deleted.
During migration, duplicated replicas are created based on the existing Replicas.
Because the number of replicas in the volume is unmatched, the controller attempts to replenish another Replica. However, the pre-check blocks the creation of the Replica due to the lack of suitable nodes.

Proposed fix:

This is expected behavior, the test case should be updated.

Verified passed on master-head (longhorn-tests 06b484a). The test case passed: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7131/.


How to automatically select top 50 coins by market cap and buy instead of having to confirm purchase a coin one by one each time?

Hi! First off, love the idea of buying the top 50 coins! Great idea!
I'm not a techie guy and am having a bit of a difficult time trying to figure how when I want to make my weekly $100 buy, instead of having to type out each coin's symbol and buy each coin one by one and specifying yes to each transaction, is there a way where I can lump together a bunch of coins i want to buy and then specify to buy $2 of each?
The latter way I feel like can save a lot of time.

Not yet. In the future I hope to add a command like that, if there's enough interest in this tool.

Ah, I hope so too! I really like it! I already did my weeks worth 👍

@johntitus this is awesome if you can add a single command:
coinx buy -t 50 -$ 2
-t is top 50 etc.

I've not used this tool but if you are on Linux or Mac you should be able to use the 'yes' command on the command line to pipe in the required confirmation string an infinite number of times, each with a newline after it.  Windows may have something equivalent through PowerShell.  When coinx is done with its confirmations you can use Ctrl C to cancel out of the 'yes' command.
The argument to the "yes" command below ("Yes") is the string that will be repeated with a newline after it, if you leave this off the default is to use the string "y" instead.  See more info here: https://askubuntu.com/questions/71566/what-is-the-yes-command
yes Yes | coinx buy ...

@hasanakyol 👍 Something just like that.

Implemented in 0.10.0.


Auto-detection in fenced code-blocks

It looks like there's some aggressive syntax auto-detection for fenced code-blocks?
Or possibly missing support for explicit language specification in fenced code-blocks?
Here's an example
I know that Github does language auto-detection, but they're likely using a different library to do it?
I'm not sure what this gets highlighted as, and, I could actually live with this, as I rarely use code-blocks without specifying the language after the triple-backticks, except, as in this case, for plain text - but even with text specified after the triple-backticks, auto-detection seems to override my language setting, so that probably should be fixed?

Yeah, it probably should be fixed. Thx.


What's the single Envoy instance memory cost in your production environment ?

Title: *What's the single Envoy instance memory cost  in your production environment ? *
Description:

As we know envoy instance will be widely deployed in the sidecar container as proxy when using in service mesh cases, so do we have any memory resource optimization best practice can be shared ?
We are trying to using Envoy in the Embedded system which with limit memory resource , so memory cost optimization is an important thing for us.

So what's the memory cost for since envoy instance in your production env , any optimization practice can be shared ?

@adisuissa  thanks for your comments.
For item1: We reduce our single instance memory cost to about 30M after remove the unnecessary extensions for us.
For Item2 : we will check further.
And this Item3: any tools can be shared for memory check ?
The current memory per instance cost already meet our target , but we want to know the limits of single instance after optimize

pprof is the typical tool used.
This doc may also help: https://www.envoyproxy.io/docs/envoy/latest/faq/debugging/how_to_dump_heap_profile_of_envoy


Plugin install dependencies -> recursive

Cookbook version
3.1.0
Chef-client version
Packer chef-solo -> 12.15.19-1
Platform Details
Google Compute
Scenario:
Install Plugins
Steps to Reproduce:
Install a plugin like the workflow-aggregator https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin and all of the plugins dependencies are installed. Install another plugin like github-organization-folder https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Organization+Folder+Plugin notice that the installation takes a long time as it reinstalls plugins that were already installed by the Pipeline-Plugin increasing build time.
// atributes/plugins.rb
default['project']['jenkins']['plugins'] = [
  'workflow-aggregator',
  'github-organization-folder'
]

// recipes/_plugins.rb
# Install standard plugins from default install
node['project']['jenkins']['plugins'].each do |plugin|
  log 'message' do
    message "Installing: #{plugin}"
    level :info
  end

  jenkins_plugin plugin do
    action :install
  end
end

Expected Result:
Job would quickly skip plugins that have already been installed by reciprocal dependencies
Actual Result:
Job takes quite a long time.


Pixiv bridge: Support login

Is your feature request related to a problem? Please describe.
Pixiv doesn't display R-18 and R-18G works to unregistered users.
Examples:
User with R-18 works (some non-R-18 works are also hidden)
User with R-18G (gore) works
Describe the solution you'd like
Login support should be added/documented like with Instagram/Twitter. It may be possible to copy cookies like with the Furaffinity bridge, but I haven't looked into it much.
Describe alternatives you've considered
I'm not aware of any way to access R-18+ works without an account.
Additional context
This would also be a prerequisite for adding a bridge for https://www.pixiv.net/bookmark_new_illust.php which displays recent works of your followed users. That endpoint would also be nice for users with lots of follows since it would avoid hammering pixiv's servers.

If this is added, it should be as a checkbox, "Show R-18 works"

As discussed earlier, this goes against the nature of the project. But I can accept placing this bridge in e.g. ./contrib folder. Or add a configuration value that is used if present. I guess im okay with a form field with the user and pass but I don't like it.

Configuration values for API keys were what I was thinking of, like the Twitter bridge. And now that I think about it, R-18/R-18G is a toggle in account settings, not cookies, so non-logged in bridges wouldn't need a useless check box added. Unfortunately the https://www.pixiv.net/bookmark_new_illust.php endpoint is only available for the logged in user, so maybe a bridge could be added to the ./contrib folder to support it.
Also, I looked into it more and getting a Pixiv API key is a huge hassle, but if you require the user to input their API key to a static config file, you can have them follow these instructions and paste the refresh token where RSS-Bridge can find it. RSS-Bridge would then need to fetch and cache a new refresh and auth token and their expiration time and repeat whenever they expire. One problem with this is that the refresh token in the config would no longer refer to any valid token, but maybe RSS-Bridge could just associate this old token with its current state and refresh using it only when it changes.

@guldor12 I'm looking into this, why not sue the PHPSESSID cookie instead? I'm not sure if pixiv renews the cookie when it is about to expire, but the bridge can certainly check and update the cookie in the cache as it changed.

I'm also not sure why this bridge caches the images yet - I'm going to see if using no-referrer on the images will work.

Difference between using cookie and oauth are different endpoints / and datasets to work with, but for compatibility reasons I'll work with cookies instead.

Good site to proxy images from. They also have a handy nginx or Cloudflare worker profile to use for self-hosters.
https://pixiv.cat

@guldor12 R-18 works are now supported if you follow the bridge specific documentation when hosting rss-bridge yourself.
Re: the bridge for https://www.pixiv.net/bookmark_new_illust.php You are still able to follow each user individually without needing to create a new (or edit this) bridge, but you are welcome to keep this issue open if someone is willing to add support.


Question on generation of patches

I tested pulling out one of the patches after running ers.computeSegmentation and then pulled out a submesh from for instance:
submesh = pymesh.submesh(mesh, np.where(patch_labels==2)[0], 0)

And I expected the the triangles to all be collected in a patch, however it looks like they are scattered all about from the pymol ply plugin from MaSIF.  Is this intended?  I cannot get much from the paper on what the indended behavior is.

If you use the output_patch_coords after and uncomment out the debug code in  compute_polar_coordinates from MaSIF (you can also extract subpatch charges if you want) i get test patches that are grouped near eachother.  This is done through simple run of dijkstra and then you can save some patches.


Mouse wheel zoom in outside pic

When I wheel my mouse  in Red area,the picture still zoom. But For Move action, I must mouse "on" Picture.
Can i zoom pic  like move action ,only reaction when mouse on pic.

When the image is very small, it is hard to move to operate on it.

When mouse hover in control , it not page down ,just zoom in/out pic.
I think only when mouse hover in pic (not control) to zoom  ,may be better.


refactor: trim code

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

Pull Request Test Coverage Report for Build 15

28 of 31 (90.32%) changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 85.539%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

jarslink-api/src/main/java/com/alipay/jarslink/api/impl/Utils.java
6
9
66.67%

Totals

Change from base Build 14:
-0.07%

Covered Lines:
349

Relevant Lines:
408

💛  - Coveralls

需要兼容JDK1.6，不能用JDK8特性


feat: [M3-6944]: Add Firewalls table to Linode Details > Network tab

Description 📝
Add Firewalls table to Linode Details > Network tab.
Major Changes 🔄

"Firewalls" table added to the Linode Details > Network tab
So as to be able to use the existing FirewallRow, FirewallActionMenu, and RemoveDeviceDialog: the "Unassign" button used in the new table is achieved via a predefinedAction defined in FirewallRow, which gets conditionally used in FirewallActionMenu
LinodeNetworking.tsx renamed to LinodeIPAddresses.tsx since it was specifically the IP Addresses section
LinodeNetwork.tsx created as parent component of LinodeNetworkingSummaryPanel, LinodeFirewalls, and LinodeIPAddresses, named to match the tab name for clarity
index.tsx files deleted according to our convention

To-Do:

[x] Logic cleanup + general cleanup
[x] Squash bugs

Preview 📷

No firewalls assigned

Firewalls assigned

How to test 🧪

Ensure there have been no adverse impacts to display or functionality of the IP Addresses table or Networking Summary Panel on Linode Details > Network tab, and that you can unassign a firewall from this view (and that the table updates accordingly)
Ensure there have been no adverse impacts to the Firewall row of the Firewalls landing page, or to the "Remove" functionality in the Firewall Details > Linodes tab

I do feel like we added complexity by trying to make the FirewallRow and FirewallActionMenu work for this new table. I almost feel like it would be worth just making a new Row and Action menu for this table. This was we could avoid the as unknown) as FirewallHandlers;, the predefinedActions logic, and onLinodeNetworkTab logic. I'm always on the fence about this kind of thing. I'm just trying to find the solution that is simpler and easier to consume, even if it's at the cost of more lines of code and duplicate code. I'd be curious to hear other opinions.

Same, it could go either way – happy to undo those changes and make a new row and action menu for this use case if there's consensus for that

Agreed with Banks. I really don't like the added complexity of the predefinedActions and onLinodeNetworkTab logic. Let's make a new row and action menu component


archive a teams channel

It is possible to archive only the channel and not the team?

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: 5bf689b7-a7c1-121f-578e-029e8a89c4f0
Version Independent ID: 7e6b449e-bd77-2fc4-2c3d-1f2e364e1b76
Content: Archiver ou supprimer une équipe dans Microsoft Teams - Microsoft Teams
Content Source: Teams/archive-or-delete-a-team.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

@abdelfatahDahak Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


[FEATURE] Able to autogenerate content for categories

Categories tend to be in limited size and static, even if users do want AI generated category content, it won't take them much copy pasting, or export importing to fulfill the one time need.

Yes that is correct but if you have a button added to the description field (https://github.com/mage-os-lab/module-catalog-data-ai/issues/4) then the user could add its own keywords in the description field allowing them to make AI generate content on the fly.


std::optional for cbor

The cbor implementation doesn't seem to be handling std::optional as documented (for json at least). Consider the following struct example:
struct optional_test_t {
    int i;
    std::optional<int> opt_i;
};

Reading
const optional_test_t test =
    optional_test_t{
        .i = 42
    };

std::vector<uint8_t> cbor_bytes = {
    0xA1,      // map(1)
    0x61,      // text(1)
        0x69,  // "i"
    0x18, 0x2A // unsigned(42)
};
const std::string json_string = R"({"i":42})";

auto test_from_json_res = rfl::json::read<optional_test_t>(json_string);
auto test_from_cbor_res = rfl::cbor::read<optional_test_t>((char*)cbor_bytes.data(), cbor_bytes.size());

optional_test_t test_from_json = test_from_json_res.value(); // OK
optional_test_t test_from_cbor = test_from_cbor_res.value(); // Field named 'opt_i' not found.

Writing
const optional_test_t test =
    optional_test_t{
        .i = 42
    };

const std::vector<char> expected_cbor = {
    (char)0xA1,            // map(1)
    (char)0x61,            // text(1)
        (char)0x69,        // "i"
    (char)0x18, (char)0x2A // unsigned(42)
};
const std::string expected_json = R"({"i":42})";

const std::string json = rfl::json::write(test);
const std::vector<char> cbor = rfl::cbor::write(test);

assert(expected_json == json); // OK
assert(expected_cbor == cbor); // Fail. The written cbor bytes translates to "{"i": 42, "opt_i": null}"

Just like for rfl::json, I expected rfl::cbor::read() to successfully parse a buffer of bytes that doesn't contain std::optional fields leaving the missing optionals as std::nullopt. I also expected rfl::cbor::write() to not emit std::optional fields in the buffer of bytes.
Long story short, would it be possible for rfl::cbor to behave like rfl::json when it comes to std::optional?
Thanks!

You are right...the reason this is happening is because msgpack and cbor require you to set the size of the object in advance, which makes it difficult, but not impossible to do this.
I think I could change it, and at the very least the behaviour should be documented.

[...] because msgpack and cbor require you to set the size of the object in advance

Is this related to the expectation that maps are of finite length? This issue might not be the right place to talk about this but I was curious as to what the reason is behind that decision.

I think I could change it

That would be awesome if you did :)


[KFNBC]: Add TENSORBOARD_PROXY_URL env variable

Feature description
To display Tensorboard in s2i-tensorflow-gpu-notebook image, add TENSORBOARD_PROXY_URL if not present. The default value for this env variable should be as follows:
TENSORBOARD_PROXY_URL=$(NB_PREFIX)/proxy/6006

Describe alternatives you've considered
No response
Anything else?
Related Issue: https://github.com/thoth-station/s2i-tensorflow-gpu-notebook/issues/6

@VaishnaviHire I believe this can be closed, can you confirm?

Closing this issue as stale -- feel free to reopen if needed @VaishnaviHire if you feel otherwise.


Laravel Automations Failure

This is the message I am getting and the container is restarting due to this:
warning: unable to start service laravel-automations:
Looking at the logs, it also says this:
[2023-03-13 13:29:56] production.ERROR: The /var/www/html/bootstrap/cache directory must be present and writable. {"exception":"[object] (Exception(code: 0): The /var/www/html/bootstrap/cache directory must be present and writable. at /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php:178)
My apologies, I have written and re-written this like 30 times as I have delved deeper and deeper into the error messaging available.
I am running Ubuntu 20.04 in a virtual machine.
I am using docker compose.  I used the mariaDB example provided, I changed the config location and this was the only change I made.  I checked my PUID etc that was fine.  The mariaDB is running fine, but the container for the speedtest-tracker restarts constantly.
Any help would be great.

Try to wait more time to let container started.
See this answer
Possible duplicate
What is the hardware under your virtual machine. Try to give it more ram and/or cpu and try again.

It is getting past that stage of "Attaching to..."
 s6-rc: warning: unable to start service laravel-automations: command exited 1
In a loop that includes
prog: fatal: stopping container
I spun up an entirely new VM to try it out, gave it an extra 4gb of Memory totalling 8gb now 2 core 8 threads.
I noticed that someone in your linked threads, dropped "latest" from the compose and went with a particular numbered version, I may try this...

Just for anyone else, removed "latest" from the Compose file seems to have fixed whatever that problem was...

Going to close this out as your issue as been solved. I'm looking into why latest tag is causing issues lately.

I am not sure the info is helpful, but once I had it up and running - it had been performing tests since 5pm - every hour, so I have like 4 hours of tests - which is only a short while after I set up a new VM for it - so it was kinda working but just wouldn't finalise?


:ObsidianFollowLink vsplit only works when the file's buffer does not exist

🐛 Describe the bug
If nvim has never loaded the target file, :ObsidianFollowLink vsplit (along with the hsplit variant) works as expected, opening the file in a new window. However, if nvim had loaded the file (regardless of if the buffer still exists or not), the command would open the file in the current window. I would expect that the command respects the buffer list, creating a new window only when the buffer is not actively displayed elsewhere.
Config
require('obsidian').setup {
  workspaces = {
    {
      name = "vault",
      path = "~/documents/vault"
    }
  },
}

Environment
nvim --version
NVIM v0.9.5
Build type: RelWithDebInfo
LuaJIT 2.1.1692716794
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/home/nolan/build/neovim/.deps/usr/include/luajit-2.1 -I/usr/include -I/home/nolan/build/neovim/.deps/usr/include -I/home/nolan/build/neovim/build/src/nvim/auto -I/home/nolan/build/neovim/build/include -I/home/nolan/build/neovim/build/cmake.config -I/home/nolan/build/neovim/src -I/usr/include -I/home/nolan/build/neovim/.deps/usr/include -I/home/nolan/build/neovim/.deps/usr/include -I/home/nolan/build/neovim/.deps/usr/include -I/home/nolan/build/neovim/.deps/usr/include -I/home/nolan/build/neovim/.deps/usr/include -I/home/nolan/build/neovim/.deps/usr/include

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info

nvim --headless -c 'lua require("obsidian").info()' -c q
Obsidian.nvim v3.7.3 (450c3dabffa395502800d6ac0b1d1dcd5d89f80e)
Status:
   buffer directory: nil
   working directory: /home/nolan
Workspaces:
  ✓ active workspace: Workspace(name='vault', path='/home/nolan/documents/vault', root='/home/nolan/documents/vault')
Dependencies:
   plenary.nvim: f7adfc4b3f4f91aab6caebf42b3682945fbc35be
   telescope.nvim: e9e01d699843af530ef4ad2c8679a7e273bb3dd1
Integrations:
   picker: TelescopePicker()
   completion: disabled
Tools:
   rg: ripgrep 14.1.0
Environment:
   operating system: Linux
Config:
   notes_subdir: nil

Hey @parmort, I believe I fixed that in b2df42f. Let me know if you still have issues.

It looks like it's all fixed! Thanks!


Remove useless unit-tests

Codecov Report
Base: 76.25% // Head: 83.73% // Increases project coverage by +7.47% :tada:

Coverage data is based on head (21e7f96) compared to base (9e7e5b2).
Patch has no changes to coverable lines.

: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
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
+ Coverage   76.25%   83.73%   +7.47%
==========================================
  Files          18       14       -4
  Lines         897      713     -184
  Branches      495      368     -127
==========================================
- Hits          684      597      -87
+ Misses         65       62       -3
+ Partials      148       54      -94

Impacted Files
Coverage Δ

src/Utils.cpp
100.00% <ø> (ø)

src/logging/Logger.cpp

src/logging/Loki.cpp

src/logging/Sentry.cpp

include/logging/Logger.hpp

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update cookie name

cc @Tratcher @DamianEdwards

https://github.com/aspnet/Coherence-Signed/issues/166, there, bidirectional reference.

:shipit:


[18.7.8 ] "Do not use the local DNS service as a nameserver for this system"not quite working

Hi,
I am using the firewall to resolve local names, which are in Dnsmasq/Unbound just fine.
When configuring DNS server I use OpenDNS. "Do not use the local DNS service as a nameserver for this system" is not ticked and "<IP_ADDRESS>" appears in /etc/resolv.conf as well OpenDNS.
When I untick this setting, only OpenDNS is there.
I remember quite clearly that in the past only "<IP_ADDRESS>" was there. Now I just got lucky, and the "<IP_ADDRESS>" is the first nameserver listed, which sort-of-works for now.
I read https://github.com/opnsense/core/issues/2562 is somewhat related.
Regards
Tom

Hi Tom,
Im unsure what the issue is. OpenDNS uses its own servers by definition when you enable it. From your description it seems like everything is ok and I’m missing the bit that isn’t working as expected?
Cheers,
Franco

Hi Franco,
thanks for responding.
The issue is the resolving of local machine names. It becomes a bit of a gamble in which order the /etc/resolv.conf is written.
I would expect one of the following:

ONLY use the DNS servers locally as configured in the section Networking | DNS servers.
ONLY use localhost

But the system currently is "mixing in" <IP_ADDRESS> when this option is not ticked. The order is somewhat random.
Regards
Tom
November 28, 2018 3:36 PM, "Franco Fichtner"  wrote:
Hi Tom,
Im unsure what the issue is. OpenDNS uses its own servers by definition when you enable it. From your description it seems like everything is ok and I’m missing the bit that isn’t working as expected?

Cheers,

Franco
—

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (https://github.com/opnsense/core/issues/2980#issuecomment-442490666), or mute the thread (https://github.com/notifications/unsubscribe-auth/APekUYVl4oEX8mxKTDo0ql-M4OAGicKwks5uzq1ugaJpZM4Y3SgX).

Franco,
ok, that makes sense. I tried to force it, but <IP_ADDRESS> comes always first, which works for me.
I probably have imagined it it being on 2nd or 3rd place.
Fine by me, well done, can be closed, NON ISSUE.
Regards
Thomas
November 28, 2018 5:28 PM, "Franco Fichtner"  wrote:
Hi Tom,
Thanks for explaining. As weird as this may seem it may be the intended behaviour:

The DNS servers are added as fallbacks and loopback is always first. If the loopback service goes down resolving still works, but local overrides will fail silently. If there's no fallback servers having loopback fail will prevent all resolving.

The same is true for servers acquired via PPP or DHCP, which will be between localhost and the globally defined servers when that is permitted (System: Settings: General: Override...).

Keeping in mind this is only for services running on OPNsense itself and there are no other reports of this behaviour being odd known to me: how should we proceed?

Cheers,

Franco
—

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (https://github.com/opnsense/core/issues/2980#issuecomment-442533562), or mute the thread (https://github.com/notifications/unsubscribe-auth/APekUXYb4qPWlKusykORe0RDVxVF6EQQks5uzsfRgaJpZM4Y3SgX).


Stop autoformatter moving line of example code above the comment

Stop autoformat from moving @@index above comment
https://prisma-company.slack.com/archives/C5Z9TH6N9/p1652336914065989
Describe this PR

Changes

What issue does this fix?

Any other relevant information

This has made it into the docs now via some other PR, will close.


Custom dataset with less classes?

I need to train for custom dataset with less classes.
I referred to https://github.com/edwardzhou130/PolarSeg/issues/2.
But i had a doubt on How to get the values of content:
https://github.com/edwardzhou130/PolarSeg/blob/172c6505183fee50da9a4563f5170804bf214f91/semantic-kitti.yaml#L72.
Kindly help

The content in semantic-kitti.yaml is the distribution ratio of classes in the SemanticKITTI dataset. You have to calculate the total number of points of each class in your custom dataset to get this ratio. But, you don't need this information to train PolarSeg unless you want to try some other losses, like weighted cross-entropy.


undefined headers in yoga server's context

When I try to access headers I get undefined. Here is the CodeSandbox.
The issue is mentioned as well in this issue.

I think this issue has been fixed. We have request in the initial context you can use.


Icon request for tsconfig.json

This is a special icon for config ts. I think it would be nice not to use the normal json icon.

This is my proposed design:

Clean


Add all valid countries both in english and greek language

For start we can get all the available countries with the fn getCountries({ locale: "el" });

I'll handle this issue

Hello there @Nikos-Katsafados ,
We can use all countries countries from ISO_3166-1. Below I'm proposing a JSON schema:
{
    "id": "004",
    "name": "Afghanistan",
    "officialName": "The Islamic Republic of Afghanistan",
    "sovereignty": "UN member",
    "iso31661": {
        "A2": "AF",
        "A3": "AFG"
    },
    "tld": ".af",
    "independent": true
},

Finally I suggest the below 3 fns for implementation (of course feel free to further discuss them):
getAllCountries({locale = "el" }) => Country[]
searchCountryByName({locale = "el",  searchTerm: "greece" }) => Country[]
getCountryByType({locale = "el", type: "iso31661 | tld | id | etc....", value: "value" }) => Country

best regards,
John

All data imported thanks to @Nikos-Katsafados with this PR => https://github.com/tsevdos/elUtils/pull/89
I'm working on the fns 😂


add no-deprecations ember-try scenario

This is using https://github.com/mansona/ember-deprecation-error to try to get a better error message to see why the ember-release job is actually failing

So it looks like this is failing because of an ember-data deprecation:
The filter method on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly.
In the other PR @runspired mentioned that we should probably just throw here if we have a PromiseManyArray https://github.com/adopted-ember-addons/ember-cp-validations/pull/735#discussion_r1488637020
What do we think about doing that? I'm assuming that would be a breaking change? 🤔


Upgrade eslint & add js-yaml

Codecov Report

Merging #223 (3948396) into master (b5bfb06) will increase coverage by 0.05%.
The diff coverage is n/a.

:exclamation: Current head 3948396 differs from pull request most recent head baa0874. Consider uploading reports for the commit baa0874 to get more accurate results

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
+ Coverage   93.69%   93.74%   +0.05%
==========================================
  Files          71       71
  Lines        1871     1871
==========================================
+ Hits         1753     1754       +1
+ Misses        118      117       -1

Impacted Files
Coverage Δ

lib/codenarc-caller.js
84.17% <0.00%> (+0.71%)
:arrow_up:

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 b5bfb06...baa0874. Read the comment docs.