NCCL communicator error: Socket Timeout when finetuning 70B model on 2 * (8* A100(80G))

When fine-tuning the 70b model, I always run into an error while loading the model. Usually, after loading 4 to 10 shards (totally15 shards), the following error occurs(see Error Message).
I'm using two nodes, and on the first GPU of the first node, the memory usage is always a bit lower, as shown in the image below.
Error Message:
Warning: unknown parameter local_rank
Clearing GPU cache for all ranks
--> Running with torch dist debug set to detailWarning: unknown parameter l[rank14]:[W socket.cpp:432] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
Traceback (most recent call last):
File "examples/finetuning.py", line 8, in     fire.Fire(main)
File "/usr/local/lib/python3.8/dist-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/usr/local/lib/python3.8/dist-packages/fire/core.py", line 475, in _Fire    component, remaining_args = _CallAndUpdateTrace(
File "/usr/local/lib/python3.8/dist-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/data/user/llama-recipes/src/llama_recipes/finetuning.py", line 325, in main    model = FSDP(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/fully_sharded_data_parallel.py", line 476, in init
_auto_wrap(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/_wrap_utils.py", line 101, in _auto_wrap
_recursive_wrap(**recursive_wrap_kwargs, **root_kwargs)  # type: ignore[arg-type]
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/wrap.py", line 543, in _recursive_wrap
wrapped_child, num_wrapped_params = _recursive_wrap(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/wrap.py", line 543, in _recursive_wrap
wrapped_child, num_wrapped_params = _recursive_wrap(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/wrap.py", line 543, in _recursive_wrap
wrapped_child, num_wrapped_params = _recursive_wrap(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/wrap.py", line 561, in _recursive_wrap
return _wrap(module, wrapper_cls, **kwargs), nonwrapped_numel
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/wrap.py", line 490, in _wrap    return wrapper_cls(module, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/fully_sharded_data_parallel.py", line 502, in init
_init_param_handle_from_module(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/_init_utils.py", line 587, in _init_param_handle_from_module    _sync_module_params_and_buffers(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/fsdp/_init_utils.py", line 1068, in _sync_module_params_and_buffers
_sync_params_and_buffers(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/utils.py", line 303, in _sync_params_and_buffers    dist._broadcast_coalesced(
torch.distributed.DistBackendError: [14] is setting up NCCL communicator and retrieving ncclUniqueId from [0] via c10d key-value store by key '0', but store->get('0') got error: Socket Timeout
GPU Usage:
Every time, the first gpu of master node only using 3m until crashed.

Env
cuda-python                   11.7.0+0.g95a2041.dirty
cupy-cuda118                  11.0.0
dask-cuda                     22.10.0a0+23.g62a1ee8
nvidia-dali-cuda110           1.20.0
pytorch-quantization          2.1.2
pytorch-triton                2.1.0+6e4932cda8
torch                         2.2.0.dev20231116+cu118
torch-tensorrt                1.3.0a0
torchaudio                    2.2.0.dev20231116+cu118
torchdata                     0.6.1
torchtext                     0.15.2+cpu
torchvision                   0.17.0.dev20231116+cu118
transformers                  4.35.0
Training script
export NCCL_IB_HCA=mlx5
export NCCL_IB_TC=136
export NCCL_IB_SL=5
export NCCL_IB_GID_INDEX=3
export NCCL_SOCKET_IFNAME=bond0
export NCCL_DEBUG=INFO
...
cd /llama-recipes
torchrun --nproc_per_node=${KUBERNETES_CONTAINER_RESOURCE_GPU}
--master_addr=${MASTER_ADDR}
--master_port=${MASTER_PORT}
--nnodes=${WORLD_SIZE}
--node_rank=${RANK}
examples/finetuning.py
--enable_fsdp
--low_cpu_fsdp
--fsdp_config.pure_bf16
--model_name /airoboros-l2-70b-2.1
--batch_size_training 1
--dist_checkpoint_root_folder /checkpoints
--dist_checkpoint_folder fine-tuned
--dataset "alpaca_dataset" 2>&1 | tee t44_lr.log
Has anyone else encountered a similar problem? Do you know what might be causing this? Thanks.

@yguo33 I wonder if you run into the same issue with a slurm script as well?

I ran on single node with 16xA100-40GB and having same issue
torch.distributed.DistBackendError: [9] is setting up NCCL communicator and retrieving ncclUniqueId from [0] via c10d key-value store by key '0', but store->get('0') got error: Socket Timeout

@HamidShojanazeri , I run with slurm on a compute cluster with 4 nodes (8 A100). I face the same issue. Note that it happens for 70B model with low_cpu_fsdp, it does not happen for smaller model 7B, 13B.

Apparently, I needed to export following NCCL env variable:
export NCCL_ASYNC_ERROR_HANDLING=1
this fixed the NCCL socket time out issue.

@avanindra thanks for the update, @giaosudau @yguo33  does that work for you too?

@HamidShojanazeri, this still happens to me even after i use export NCCL_ASYNC_ERROR_HANDLING=1

Hi @HamidShojanazeri
I am also seeing this issue. I have tried both export NCCL_ASYNC_ERROR_HANDLING=1 and export TORCH_NCCL_ASYNC_ERROR_HANDLING=1 but I still get the error:
torch.distributed.DistBackendError: [14] is setting up NCCL communicator and retrieving ncclUniqueId from [0] via c10d key-value store by key '0', but store->get('0') got error: Socket Timeout
Any thoughts?

@tginart can you please share a repro, your command, your env ( some specifications) + GPU type.

@yguo33 hello, same issue, is your issue solved?

set "CUDA_DEVICE_MAX_CONNECTIONS" to 32 maybe you need in environment. pls have a try @yguo33 @gonggaohan @tginart

RuntimeError: Using sequence parallelism requires setting the environment variable CUDA_DEVICE_MAX_CONNECTIONS to 1, when i set CUDA_DEVICE_MAX_CONNECTIONS to 32, it rases a new error

@tginart please let us know if you would still be interested in sharing some more details for us to repro. Thanks!


Updated README

Pull Request Test Coverage Report for Build 28

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

Totals

Change from base Build 26:
0.0%

Covered Lines:
732

Relevant Lines:
982

💛  - Coveralls


Creating blue and mauve accents for catppuccin themes

Hey,
Thanks for creating this awesome project on top of quartz, I was really a breeze to setup a catppuccin theme for my quartz site!
I am not a huge fan of the blue accent an usually have the mauve accent when I use those themes and figured I would spend a bit of time creating the mauve accent version of the theme that you created.

I used the current catppuccin themes as the blue accent variants
Modified a few colours and created the mauve variant

changed the blue for mauve (special text and all that were using same colour), also changed the lavender for rosewater (lines) and the sapphire for pink (hover and related)

This has been tested on my quartz instance, works locally and deploys correctly (I am using my fork as submodule)

Let me know if you see any issues, I also tried to update the READMEs accordingly as well.
N.B. I know next to nothing about css or webdev for forgive me if I have made some obvious mistakes hah!

Hey, let me know if you'd like to refactor the readme to the best of my abilities or if you'd like to handle that yourself!

Hey, let me know if you'd like to refactor the readme to the best of my abilities or if you'd like to handle that yourself!

Thanks for your PR. I have made significant changes to the way Quartz Themes is used and installed a few days ago. The old method remains supported for now.
I plan to incorporate functionality similar to the Theme Settings plugin in Quartz Themes in the coming weeks. This would also include the various versions of the Catppuccin and Anuppuccin Obsidian themes.


Running Get-AzExemptions produces error

Trying to run Get-AzExemtions.ps1 script but it produces a bunch of errors below. I'm on 6.3 release.
Split-AzPolicyResourceId: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:45:24
Line |
  45 |      $resourceIdParts = Split-AzPolicyResourceId -id $testId
     |                         ~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'Split-AzPolicyResourceId' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
MethodInvocationException: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:52:9
Line |
  52 |      if (!$scopeTable.ContainsKey($scope)) {
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "ContainsKey" with "1" argument(s): "Value cannot be null. (Parameter 'key')"
OperationStopped: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:57:5
Line |
  57 |      $scopeEntry = $scopeTable.$scope
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Value cannot be null. (Parameter 'key')
Write-Error: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:272:47
Line |
 272 |  …      $included, $resourceIdParts = Confirm-PolicyResourceExclusions `
     |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Code bug parentList is  null
Split-AzPolicyResourceId: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:45:24
Line |
  45 |      $resourceIdParts = Split-AzPolicyResourceId -id $testId
     |                         ~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'Split-AzPolicyResourceId' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
MethodInvocationException: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:52:9
Line |
  52 |      if (!$scopeTable.ContainsKey($scope)) {
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "ContainsKey" with "1" argument(s): "Value cannot be null. (Parameter 'key')"
OperationStopped: C:\repo\azure-policies-infra\Scripts\Helpers\Get-AzPolicyResources.ps1:57:5
Line |

Thank you for the contribution.


Pen Tool

I am wondering if you can add a pen tool like in radar scope to AtticRadar.
also do you have an email i can use instead so i don't clog up issues with requests thanks.

This is certainly something I intend to add in the future, along with a distance measurement tool.
Currently, I'm redoing the alerts system, and adding an auto updater. But those two things I mentioned at the start of this message will come next.
A good email to reach me at is<EMAIL_ADDRESS>Thanks for the issue!

This will now be tracked at issue #5. See comment the comment here.


Pressing enter key on the Description page adds the user to the Who was There page.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open App
Press FAB > New group > add more than two users > Press Create group
Go to the created group
Press + from composer > Split bill > Add amount > deselect one or two users from Who was there? list.
Press Description and add description and press enter
Observe the Who was there? list

Expected Result:
Pressing enter on the Description page should not have to select the user on Who was there? list.
Actual Result:
Pressing enter on the Description page is adding a user to Who was there? list.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/936f4df9-7d83-4f84-9232-9f4cba4aee94
https://github.com/Expensify/App/assets/43996225/08f093b1-7a2f-4cee-97f9-6c3caf71c37e
Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684511132545629
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Pressing enter key on the Description page adds the user to the Who was There list
What is the root cause of that problem?
Issue is happening because we have a listener on the BaseOptionsSelector component that listens enter(enterConfig.shortcutKey) key press,
https://github.com/Expensify/App/blob/9e43cb7d811599ae67d1f31d78bac8327ce2061c/src/components/OptionsSelector/BaseOptionsSelector.js#L56-L58
And when we navigate to the next screen then BaseOptionsSelector is not focused and it still listens to the enter press event
What changes do you think we should make in order to solve the problem?
On BaseOptionsSelector Component we need to  add withNavigationFocus and then here on lister unsubscribeEnter we need to add a condition that if screen is not focused then do nothing and return early
https://github.com/Expensify/App/blob/9e43cb7d811599ae67d1f31d78bac8327ce2061c/src/components/OptionsSelector/BaseOptionsSelector.js#L60-L62
need to adjust conditions like this
if (!focusedOption || !this.props.isFocused)
note: This same issue is happening at the Workspace member page, Go to any workspace > Manage members > Invite > Select few users > Press Next then on Add message page press enter It will add 1 extra user than you have selected

Result
https://github.com/Expensify/App/assets/35371050/d9512215-bbad-4af1-a643-b270461ac8aa

What alternative solutions did you explore? (Optional)
none

Reproducible 👍
I found that pressing return/enter checks the box on one previously unchecked user in the who was there list. But if I click save, user is not added

Proposal looks good to me seems straight forward, let me know your thoughts @arosiclair

@arosiclair looks like we got a proposal, what do you think?

Sorry was OOO. Proposal LGTM too!

PR is ready for review
@arosiclair @Santhosh-Sellavel

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x]  [@Santhosh-Sellavel] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/16919
[x]  [@Santhosh-Sellavel] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/16919#issuecomment-1587931411
[x]  [@Santhosh-Sellavel] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: Should have been caught based on checklist, while testing/reviewing
[x]  [@Santhosh-Sellavel] Determine if we should create a regression test for this bug.
[ ]  [@Santhosh-Sellavel] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ]  [@sonialiap] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

Regression Test Steps

Open the App
Press FAB > New group > add more than two users > Press Create group
Go to the created group
Press + from composer > Split bill > Add amount > deselect one or two users from Who was there? list.
Press Description and add a description and press enter
Verify the selection user remain unchanged. i.e. only one user is selected as it was after step 4.

👍 or 👎

Nice, thanks for the regression steps Santhosh. Working on issuing payments now

@jayeshmangwani offer sent for reporting issue + fix (bonus will be added for fast fix)
@Santhosh-Sellavel offer set for for review (bonus will be added for fast fix)

@sonialiap Offer accepted, thanks

Both payments completed, regression test issue opened. Closing ✅


Validate whitespace in and around the JSX opening and closing brackets (jsx-tag-spacing)

Enforce or forbid spaces after the opening bracket, before the closing bracket of self-closing elements, and between the angle bracket and slash of JSX closing or self-closing elements.
{
  "closingSlash": "never",
  "beforeSelfClosing": "always",
  "afterOpening": "never"
}

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md
(Also, remove the deprecated jsx-space-before-closing rule which is already enabled, but superceded by jsx-tag-spacing which is more complete)

Just updated and noticed that <TagName attr='value'/> is not allowed anymore. Personally I find that more readable than <TagName attr='value' />, especially in the context of indenting where the /> feels like its hanging out in the middle of nowhere.
<Wrapper>
  <TagName attr='value' />
</Wrapper>

Also it seems inconsistent to then allow <TagName attr='value></TagName. Shouldn't it be <TagName attr='value' ></TagName>.

The hanging space did seem a bit odd, agreed with @cpsubrian .  I personally hadn't thought about it,

This has actually been fixed for a while. Not sure what version it shipped in, but there's nothing to do here.


ndb doesn't work when debugging gitbook-cli

Steps to reproduce
Tell us about your environment:

ndb version:  1.0.6
Platform / OS version: macOS High Sierra 10.13.6 17G65 x86_64
Node.js version: v10.5.0

What steps will reproduce the problem?
Please include code that reproduces the issue.

vim /usr/local/lib/node_modules/gitbook-cli/bin/gitbook.js
insert debugger in the front of code
ndb node /usr/local/lib/node_modules/gitbook-cli/bin/gitbook.js

What is the expected result?
program stops at debugger;
What happens instead?
program goes, ignores debugger
gitbook.js after edit

program result:

devtools:

Thanks for you report!
Could you try latest ndb version? Currently it is 1.0.13.

You can go to settings and disable "Blackbox anything outside working directory" checkbox, or you can try to go to the folder with gitbook-cli and run it from there:
cd /usr/local/lib/node_modules/gitbook-cli/
ndb ./bin/gitbook.js

We will improve this use case by better detecting it and auto-disabling blackboxing feature.

@ak239 thank you, i will try soon. 😘

Issue with the same root: https://github.com/GoogleChromeLabs/ndb/issues/151 .

This issue should be fixed in<EMAIL_ADDRESS>


Make use of the race detector

The race detector is helpful for discovering race conditions in concurrent programs. The easiest way I can think of is to add a new target or some kind of env. variable in the Makefile to enabe -race. We could also begin running try.gitea.io with the race detector enabled.
Edit:this is not just a proposal, but also a call for ideas about how we are going to do it.

An env variable which is enabled on the ci makes sense

How about GOFLAGS ?

@strk I don't understand how to apply GOFLAGS to the Makefile. Can you elaborate?
Do you mean something like the following?
$(EXECUTABLE): $(SOURCES)
          go build -i -v $(GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@

Yes, I meant something like that.
I'm not sure $(GOFLAGS) would expand to the env variable, give it a try.
If it doesn't work, try ${GOFLAGS}


[CLOSED] Create a proof of concept of the new coordinator-provider setup

 Issue by pjnorton
Thu Feb 18 21:49:05 2016
Originally opened as https://github.com/mistifyio/mistify/issues/18

ISSUES CONTAINED IN THIS EPIC

[ ] mistifyio/coordinator#6 Add Tests to Coordinator
[ ] mistifyio/coordinator#7 Create Basic Coordinator
[ ] mistifyio/coordinator#8 Coordinator README
[ ] mistifyio/acomm#9 Acomm Request Timeouts
[ ] mistifyio/acomm#10 RawMessage for Acomm Request Args and Response Result
[ ] mistifyio/acomm#11 Acomm README
[ ] mistifyio/provider#7 Create a Basic Provider
[ ] mistifyio/provider#8 Provider README
[ ] mistifyio/provider#9 General Provider Package
[ ] mistifyio/provider#10 Add Streaming Provider Support
[ ] mistifyio/provider#11 Add Tests to Provider
[ ] #21 Integrate Coordinator and Provider
[ ] #24 Asynch Communication POC

EPIC DESCRIPTION
Based on this document: https://docs.google.com/document/d/19hYu7ZbUQWMTCqviu2BIKhDN7mweiSEjC0alDRScRsM/edit
The current hypervisor setup, with a main agent and several somewhat tightly integrated subagents, is far from ideal. Complicated and limited action "pipelines" handling (dependent steps), static config file, subagents far less pluggable and swappable than hoped, brittle or nonexistent recovery/rollback. We are looking to replace this with a simpler and far more flexible setup that can be built upon. Until we think of a better name, we will call this coordinator-provider.
The coordinator is the equivalent to the agent, but a lot simpler. It will accept incoming JSON-RPC requests, route the request to the appropriate provider based on the request task, and return the final result. Providers will "register" with the coordinator with what tasks they provide handlers for. Possibly something as simple as creating UNIX sockets in a defined way that the coordinator can access, keeping both registration and de-registration dead simple. Consider a prioritization system to help if multiple providers can handle the same task.
The providers handle the actual tasks. If there are any required subtasks to run before or after, the provider will make appropriate JSON-RPC requests to the coordinator, even if the same provider can handle it. This keeps control and decision making with the coordinator, allowing for more modularity.
Tasks should be broken down into simple building blocks. It becomes easier to plug things in and replace components. Tasks should all have an equivalent Rollback task if they make any modifications.
An example to illustrate:
Consider a situation with user User, coordinator coordinator, provider Foo, and provider Bar.

FooprovidesSystemReport, GetCPU, GetMem, and GetDisk` all at priority 50.
BarprovidesGetDisk` at priority 60.

User makes a request to Coordinator for SystemReport
Coordinatorfinds thatFooprovidesSystemReport and passes the request to Foo
Foo''s handler of SystemReportaggregates the results of several subtasks. Foomakes requests toCoordinatorforGetCPU, GetMem, and GetDisk`
Coordinator handles the new requests.
Coordinator finds that Foo provides GetCPU, routes the request to Foo and response back to Foo
Coordinator finds that Foo provides GetMem, routes the request to Foo and the response back to Foo
Coordinator finds that both Foo and Bar provide GetDisk. Since Bar is higher priority, the request is routed to Bar and the response back to Foo
Foo aggregates the responses and returns to Coordinator
Coordinator returns to User

 Comment by pjnorton
Thu Feb 18 21:50:36 2016

Discussion with Josh and Manny today on the communication:
Everything will be async and it is up to the caller to decide how it wants to handle things.
Requesters will provide an id, "webhook" location, and the arguments.
Providers will respond immediately (either "ok" or some error if parameters are missing, etc.)
Providers then do work and send the id and real response to the webhook location from the request.
Some method of keeping track of these requests and responses will be needed, but shouldn't be terribly complicated. It should be able to handle both unix sockets and http.


Model does not load after clicking "Slice"

I upload a file to octoprint on a pi 3 click the "Slice" button and it does not show up in the bed of the slicer.

Does it happen to every STL files or just some specific ones? Can you attach one of the STL files that failed to load? Thanks!

Let me know if you are still experiencing this issue @robogeek1234 . I just pushed a new release with bug fixes and cool features. Upgrade your plugin to see if the problem is gone now.

I assume this issue no longer exists. You can re-open it if you still run into the same problem @robogeek1234 .


last line missed if no CR/LF

What's wrong?
Greetings
loving alloy! when you have a list of entries in a log file, the last line is skipped if it does not have a CR/LF
Thanks
Steps to reproduce

create a log file with 4 lines of any type of log data
an alloy config that reads file and processes this file

notice last line is missed in the echo section of the spun up alloy docker
Thanks
System information
docker image of alloy
Software version
alloy
Configuration
loki.source.file "files" {
  targets    = [
    {__path__ = "/tmp/juicy.log"},
  ]
  forward_to = [loki.echo.debug.receiver]
}

loki.echo "debug" { }

#podman-compose up -d --force-recreate
version: "3"
networks:
  alloy:
services:
  alloy:
    image: grafana/alloy:latest
    ports:
      - 12345:12345
    volumes:
      - ./config.alloy:/etc/alloy/config.alloy
      - ./data/sample.log:/tmp/juicy.log

    command: [
          "run",
          "--server.http.listen-addr=<IP_ADDRESS>:12345",
          "--storage.path=/var/lib/alloy/data",
          "/etc/alloy/config.alloy",
        ]
    #"--stability.level=public-preview",    xperimental, public-preview, generally-available
    networks:
      - alloy

Logs
16:50:24.431 food=bar
16:51:24.432 food=bar
16:52:24.433 food=bar
16:53:24.434 food=bar

@clayton-cornell can you check this out please?

@clayton-cornell sorry :) maybe you are just docs

No worries. I have taken a look. I don't think this is directly a docs issue with the Alloy docs. I've poked the dev team to see if they can take a look. It might take a day or two (or four) to get a reply.

Hi @yosiasz  It turns out it's something I can resolve in documentation. It's expected behaviour.  You are reading line-oriented log entries. New entries are forwarded whenever a line ends with the \n character; otherwise the component would not know whether the line is completed and it should be forwarded as a long entry, or if there will be more content coming in.  See also: https://github.com/grafana/alloy/issues/451
I'll add this to my ToDo list and try to get something added into the documentation.


Fucked up with this

I tried this project to my website, and the result is my website now have a good design. Thank you, Nata.

Hi @RaiBoyIsGood ,
Thanks for reaching out to me! Thank you for your time, and for using something that I build .

Oke


Feature/missing key

closes #180
@xmedeko did you mean this type of implementation
@UeliHilfiker and @Skuriles you should no able to just give you custom defines Result from the MissingKeyEvent

Yeah, I meant something like you have implemented 👍

Has this been merged in current 3.3.1 or is this part of the 3.4 Alpha (or not in nuget package at all)?

@Skuriles I just generated a new alpha release. This should be online in about 15min.
https://www.nuget.org/packages/WpfLocalizeExtension/3.4.0-alpha0039


Block and Inline:

Checks

[X] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
[X] I have thoroughly read and understand The Odin Project Contributing Guide
[ ] Would you like to work on this issue?

Describe your suggestion
I've just gone through the second CSS exercise from the Block and Inline lesson and was confused to no end about where the top margin of the title element came from. The solution shows that you need to add "  margin-top: 0;" to it. But how are we supposed to know this? As far as I'm aware nothing of the sort was ever mentioned anywhere in the course material so far.
After asking for help on Discord, @FireHeart eventually mentioned the CSS Cascade lesson where default values were very briefly mentioned. But only in the context that different browsers can have different default values for elements, leading to unexpected behavior.
To me this looks like an oversight because stuff like this definitely needs to be explained clearly in the lesson where it's relevant. And I've probably wasted more than an hour now on trying to figure it out. And being very confused the whole time about why it hasn't been mentioned anywhere so far. When explaining this in just 1 or 2 lines would have already avoided that. Maybe it's missing because of some changes that were made to the course but I couldn't say.
Path
Foundations
Lesson Url
https://www.theodinproject.com/lessons/foundations-block-and-inline
(Optional) Discord Name
spektukal
(Optional) Additional Comments
No response
Acceptance Criteria

[ ] Remove the margin-top: 0; style from the solution CSS on the .title element
[ ] Update the screenshot in the README to reflect the above change (the screenshot should show the default margin-top for the "I'm a card" text)

@thatblindgeye Do you mind if I work on this? I would love to take this up as my first issue.


Document SettingsFacet

Description
See: https://github.com/jmix-framework/jmix/issues/1578

Done: https://docs.jmix.io/jmix/flow-ui/facets/settings.html


useEthers gives undefined chainId

I am trying to create a Dapp using React. I have the following code:
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <React.StrictMode>
        <DAppProvider config={{networks: [Rinkeby, Kovan]}}>
            <App/>
        </DAppProvider>
    </React.StrictMode>
);

import {useEthers} from "@usedapp/core";

function App() {
    const {chainId, error} = useEthers()
    console.log('chainId', chainId)
    console.log('error', error)
}

I am on the Rinkeby test network. The console output that I get is:
chainId undefined
error undefined
chainId undefined
error undefined
chainId undefined
error undefined
chainId 4
error undefined
chainId 4
error undefined
chainId undefined
error ChainIdError: Not configured chain id: 4.
chainId undefined
error ChainIdError: Not configured chain id: 4.

Here it first detects the chainId correctly but then gives undefined. Is this a bug in the library?

I downgraded the version from 1.1.3 to 0.11.0 and this seems to have solved the problem.

@ArpitShukIa You seem to be missing some config options that are now required, specifically endpoints for connecting to chains.
Try the following:
const config: Config = {
  readOnlyChainId: Rinkeby.chainId,
  readOnlyUrls: {
    [Rinkeby.chainId]: getDefaultProvider('rinkeby'),
    [Kovan.chainId]: getDefaultProvider('kovan'),
  }
}

...
<DAppProvider config={config}>
...


allow methods to use de_train_h5ad instead of de_train.

Describe your changes

Checklist before requesting a review

[ ] I have performed a self-review of my code

Check the correct box. Does this PR contain:

[ ] Breaking changes
[ ] New functionality (new method, new metric, ...)
[ ] Major changes
[ ] Minor changes
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[ ] CI Tests succeed and look good!

for the issue in def set_par_values(config) -> None:
I think we could replace with:
    # find value
    if arg["type"] != "file":
      value = arg.get("default", arg.get("example", "..."))
    elif key == "de_train":
      value = "resources/neurips-2023-kaggle/de_train.parquet"
    elif key == "de_train":
      value = "resources/neurips-2023-kaggle/de_train.h5ad"
    elif key == "id_map":
      value = "resources/neurips-2023-kaggle/id_map.csv"
    else:
      key_strip = key.replace("output_", "")
      value = f'{key_strip}.h5ad'

after the 2 small changes I commented on above, lgtm!


calling StartWorkflowExecution from C# using generated thrift results in FATAL UNHANDLED EXCEPTION: Thrift.Transport.TTransportException: Cannot read, Remote side has closed

I generated the C# on windows using a copy of the content of
cadence/idl/github.com/uber/cadence
using
thrift-0.11.0.exe -r --gen csharp cadence.thrift
This was successful.  I was able to build a C# "client" console app using the thrift dll associated with that compiler.
Running the app on windows using mono resulted in an transport exception on the first RPC call to Cadence: StartWorkflowExecution
Is this expected to work?  Are the thrift go and C# thrift libraries compatible?
Is it possible the thrift version used in Cadence is incompatible with the C# libraries?
How do I figure out which version Cadence uses?
I built an console application .exe with the following Program.cs:
================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thrift.Protocol;
using Thrift.Transport;

namespace CadenceClient
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                TTransport transport = new TSocket("localhost", 7933);
                TProtocol protocol = new TBinaryProtocol(transport);

                WorkflowService.Client client = new WorkflowService.Client(protocol);

                transport.Open();

                try
                {

                    StartWorkflowExecutionResponse startWorkflowResponse= client.StartWorkflowExecution(
                        new StartWorkflowExecutionRequest()
                        {
                            Domain = "samples-domain",
                            TaskList =  new TaskList() { Name = "hellowWorldGroup", Kind = TaskListKind.NORMAL},
                            WorkflowId = "workflow" + Guid.NewGuid(),
                            WorkflowType = new WorkflowType() { Name = "main.Workflow"}
                        });

                    Console.WriteLine("start workflow successful - run id is {0}", startWorkflowResponse.RunId);
                }
                finally
                {
                    transport.Close();
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
    }
}

==================================================================
The full stack of the exception is:
Thrift.Transport.TTransportException: Cannot read, Remote side has closed
  at Thrift.Transport.TTransport.ReadAll (System.Byte[] buf, System.Int32 off, System.Int32 len) [0x00058] in <824ad39ec03c4c78ae51dc5737c50741>:0
  at Thrift.Protocol.TBinaryProtocol.ReadAll (System.Byte[] buf, System.Int32 off, System.Int32 len) [0x00001] in <824ad39ec03c4c78ae51dc5737c50741>:0
  at Thrift.Protocol.TBinaryProtocol.ReadI32 () [0x00001] in <824ad39ec03c4c78ae51dc5737c50741>:0
  at Thrift.Protocol.TBinaryProtocol.ReadMessageBegin () [0x00009] in <824ad39ec03c4c78ae51dc5737c50741>:0
  at WorkflowService+Client.recv_StartWorkflowExecution () [0x00001] in <cc6f517eaa754dbbbd8fd8af335f56d8>:0
  at WorkflowService+Client.StartWorkflowExecution (StartWorkflowExecutionRequest startRequest) [0x00009] in <cc6f517eaa754dbbbd8fd8af335f56d8>:0
  at CadenceClient.Program.Main (System.String[] args) [0x0008c] in <cc6f517eaa754dbbbd8fd8af335f56d8>:0

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

Cadence server uses tchannel binding for yarpc as the rpc stack for hosting the thrift API.  Unfortunately there is no good .NET client for tchannel yet.  I think the best path forward is to expose http or grpc transport for Cadence server.  Considering it is already using yarpc it should be relatively straightforward to expose another gateway.  There is another request (#348) to expose http gateway for Cadence API.
Let's keep this issue open until we can have someone work on this.


Nordic system timer driver incompatible with LEGACY_TIMEOUT_API

At some point the implementation started depending on support for absolute timeouts: attempts to build hello world with CONFIG_LEGACY_TIMEOUT_API=y produce errors.
The "fix" for this may be to stop supporting LEGACY_TIMEOUT_API.  #30860 shows that a breaking change to that implementation can go almost two weeks without being noticed.

I've noticed that issue yesterday after bumping Zephyr in one of old downstream projects. In most cases that doesn't happen, as projects tend to rely on stable releases instead. So that breaking change could be noticed even after 2.5.0 would be released.
Anyway, the problem comes from incomplete testing of CONFIG_LEGACY_TIMEOUT_API=y I guess.

@nashif Should we plan to remove LEGACY_TIMEOUT_API for LTS?

@nashif Should we plan to remove LEGACY_TIMEOUT_API for LTS? AFAICT it was introduced at the start of 2.3 by #23382

yes, we should.

@nashif Should we plan to remove LEGACY_TIMEOUT_API for LTS? AFAICT it was introduced at the start of 2.3 by #23382

yes, we should.

we need to create another issue for that though..

@pabigot  what is the reason you are still using the legacy timeouts with nordic timer?

I'm not; I was trying to validate #30842 and had to use NXP because Nordic doesn't build hello world with that option.    Also see https://github.com/zephyrproject-rtos/zephyr/issues/30862#issuecomment-748049838 for why this might show up in the real world.

Obviated by https://github.com/zephyrproject-rtos/zephyr/pull/30903 FWIW

duplicate of #30893

duplicate of #30893


Accept "diary --help"

Currently:
% diary --help
diary: invalid task '--help'

This is really dumb.

Closing due to lack of demand, as project is no longer actively maintained


{ARM} Fix the bugs for failed cases in live tests

Description

Fix the bugs for failed cases in live tests
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

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

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

[x] I adhere to the Command Guidelines.

add to S172

/azp run


Add social icons for fellows

At the moment, it only displays the fellow name and location. To help people network, we should add social icons to each of the fellow cards.

[ ] Add LinkedIn icons to the card
[ ] Add Twitter icons to the card
[ ] Add Resume icons to the card
[ ] Add GitHub icons to the card

Hi,
Could @arteevraina and I work on this issue? Please let me know if someone else has already taken it?

This issue is closely connected to #13 as well so I am wondering if we could deal with both of those together. I am almost done working on this issue.

I just saw that #13 is assigned to @Mitali-laroia and @samarthya-jha. I am actually pushing a change to the fellows.yml file which might lead to conflict with your pull request. Could you pull these changes first or reach out to me or @arteevraina to discuss the changes before you make your PR? Thanks!


How can I connect webcam to Mediapipe for Hand Tracking

I've tried to run Object Detection on Desktop (CPU) with Webcam but I have some problems. Below is the error shown on the screen
I1114 15:44:40.590370  3102 demo_run_graph_main.cc:52] Initialize the calculator graph.
I1114 15:44:40.613526  3102 demo_run_graph_main.cc:56] Initialize the camera or load the video.
E1114 15:44:40.616816  3102 demo_run_graph_main.cc:141] Failed to run the graph: ;_ capture.isOpened()(mediapipe/examples/desktop/demo_run_graph_main.cc:64)
Please show me what I should do.
Thank you.

The error seems to occur because of capture.isOpened() failing. Are you able to use your webcam in OpenCV?
Try a script with just OpenCV (something like https://answers.opencv.org/question/1/how-can-i-get-frames-from-my-webcam/) to confirm that you are able to use your webcam in OpenCV.

@eknight7 Thank for your help. But I don't know how can I able to use my webcam in OpenCv with this script. Because I have access to mediapie while I have very little knowledge of programming. Thank you.

Are you able to use your webcam in another user facing application, such has hangouts or skype?

Hi Esha,
Yes,  I can.
I can use the Webcam normally for applications like Skype Hangouts or Line
Vào 13:02, Th 6, 15 thg 11, 2019 Esha Uboweja<EMAIL_ADDRESS>đã
viết:

Are you able to use your webcam in another user facing application, such
has hangouts or skype?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/mediapipe/issues/246?email_source=notifications&email_token=ANYSLWFO2PXLAG54T36RAJDQTYUQFA5CNFSM4JNHLEHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEEKBEY#issuecomment-554213523,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYSLWHK3FTWZKIXVXF2MDDQTYUQFANCNFSM4JNHLEHA
.

It seems like the error is because of OpenCV not being able to access the camera. Since your camera works in other applications, it is likely that there is an issue with using OpenCV on your desktop.
Are you seeing the same issue when you try to run the GPU version?

When I try to run the GPU version on my laptop I also have the same problem.

Save the file from https://answers.opencv.org/question/1/how-can-i-get-frames-from-my-webcam/ as vid.cpp.
Then in your terminal, run:
g++ -w vid.cpp -o vid `pkg-config --libs opencv`
./vid

Does that work?

@eknight7  Sorry for my late reply.
It's still can not work. :(

My terminal displayed:  Failed to run the graph: ; capture.isOpened( (mediapipe/examples/desktop/demo_run_graph_main.cc:64), although I don't connect webcam with my PC

Were you able to try and run the standalone OpenCV script as described in my previous comment?

I've already tried to run as described in your previous comment, but  I don't know where I will put the vid.cpp file. I try to put vid.cpp in same installation directory with opencv but It displayed :
g++: error: vid.cpp: No such file or directory

Can you put the vid.cpp file in a different directory, outside the opencv installation directory and try?

I tried it but it still didn't work

Mediapipe relies on opencv to connect to the webcam.
If running the simple vid.cpp camera test didn't work (i.e. didn't connect to and display the webcam), then unfortunately the issue is with opencv installation on your machine, and outside the scope of mediapipe.
Once you get opencv connecting to your webcam, then the mediapipe demos should work.

@ngocthangbme
Are you able to run other desktop demos, such as object detection? (https://mediapipe.readthedocs.io/en/latest/object_detection_desktop.html)
Are you able to run an offline demo such as in https://mediapipe.readthedocs.io/en/latest/object_detection_desktop.html without connecting to a live webcam?

Hi @ngocthangbme ,
Did you finally find how to put a webcam to Mediapipe for Hand Tracking ? I am really interested.
Thanks

@romaindebraize can you please describe your issue? We didn't get a follow-up from @ngocthangbme .

@ngocthangbme i have a UVC camera that i can connect to my Android Phone and i would like to use handtracking with it. To do so, i want to change the input_stream with the stream from my webcam. Any idea ?
Thanks

@eknight7 hi, can you help me? i have the same problem of the guy. I study computer since and i am only missing my final project that i should finish in november and consist in create a system able to understand if hand/hands is/are wearing or not gloves.
Now, i have the same problem of the guy:
I1114 15:44:40.590370 3102 demo_run_graph_main.cc:52] Initialize the calculator graph.
I1114 15:44:40.613526 3102 demo_run_graph_main.cc:56] Initialize the camera or load the video.
E1114 15:44:40.616816 3102 demo_run_graph_main.cc:141] Failed to run the graph: ;_ capture.isOpened()(mediapipe/examples/desktop/demo_run_graph_main.cc:64)
I tried to create a vid.cpp as you said with the code took by the site thay you said but i've this problem:
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
/home/diego/Scrivania/vid.cpp:1:10: fatal error: cv.h: File o directory non esistente
#include "cv.h"
^~~~~~
compilation terminated.
So honestly i have no idea about how to solve this.
Any advices?
many thanks


Upgrade testing-related dependencies

I was warned by Sauce Labs that they are deprecating some older versions of their API, which made me realize I probably needed to upgrade karma-sauce-launcher. I decided to grasp the opportunity to upgrade more devDependencies. I'll be pushing the commits one by one to check that everything still works after every change.

Coverage remained the same at 95.217% when pulling cb353dd0328fd35fe3db41565adeae9cf4531d58 on upgrade-sauce into a15d1afc708ec23894880b2ec4c1eb309447a906 on master.

Browser tests through Sauce Labs intermittently fail, for three reasons:

Full page reloads in Firefox 11 for unknown reasons (probably a test framework compatibility issue).
Temporary failure to establish a connection with Sauce Labs.
The well-known, highly sporadic failure of the throttle/debounce reentrant tests, usually in old Edge or old Firefox.

The first reason is by far the most common, and I'll be documenting it in a new issue. The upgrades otherwise seem unproblematic and are quite necessary, so I'm still going to merge this.


Watcher events include the namespace in the path

Unless I am missing something, if I have an object that wants to use watches then I must pass it the namespace that was used with the CuratorFramework client was created.
In the following tiny example program, I would expect it to print "/foo" for the path but it prints "/namespace/foo".
public class WatchIncludesNamespace {
public static void main(String[] args) throws Exception {
    CuratorFramework client = CuratorFrameworkFactory.builder().connectString("pt.devel.vivisimo.com:21181")
            .retryPolicy(new RetryOneTime(10)).namespace("/namespace").build();
    client.start();
    Watcher watcher = new Watcher() {

        public void process(WatchedEvent event) {
            System.out.println("Event for " + event.getPath());
        }
    };
    try {
        client.create().forPath("/foo", null);
    } catch (NodeExistsException e) {
    }
    client.getData().usingWatcher(watcher).forPath("/foo");
    client.setData().forPath("/foo", "bar".getBytes("UTF-8"));
    client.close();
}

}

I just noticed that 1.0.1 has been released and this has been fixed in that release.  Sweet!


AWS referer checks. Fix #58.

@afred?

@mccalluc what is the point of explicitly setting the referrer in TranscriptsController#show? It seems like the whitelist of hosts on AWS should make it so we don't have to do this.

@mccalluc also, it looks like the whitelist on AWS isn't working. This will cause all PRs to fail, since there is tight coupling between some tests and S3, e.g. #144 seems to be failing because of this.

@mccalluc did you apply the S3 bucket policy via command line, or UI?


Timeline: Auto attach links stopped working

glOnSpaceEnterInEditor is notified when Ctrl+V is used only. Previously it worked on space enter too.

can't reproduce


Issues with new Username authentication flow

Update
I'm not actually sure whats going on here, it seems to authenticate and then the request is rejected with a 401.
File "espnTool.py", line 188, in <module>
   displayMenu()
 File "espnTool.py", line 171, in displayMenu
   getScores()
 File "espnTool.py", line 40, in getScores
   league = League(leagueID, year, username, password)
 File "/usr/local/lib/python3.7/site-packages/ff_espn_api/league.py", line 55, in __init__
   self._fetch_league()
 File "/usr/local/lib/python3.7/site-packages/ff_espn_api/league.py", line 65, in _fetch_league
   checkRequestStatus(self.status)
 File "/usr/local/lib/python3.7/site-packages/ff_espn_api/league.py", line 24, in checkRequestStatus
   raise Exception("Access Denied")
Exception: Access Denied

Oh, my apologies, I've figured out my issue. I was using my username, but in reality, the API expects the email associated with the account (which can be different than username). The documentation should probably be updated to reflect that.

Interesting I thought I used my username to test out the Authentication. I will look into and make sure the documentation is updated!
Thanks!

Oh interesting, I wonder if its contingent on how you created your account or something like that...in my case my username was always denied and email always accepted but I'm not sure if thats universally the case.

Actually, now I'm not too sure anymore. I'm failing to authenticate at all, unless going with a public league. Must've had a false positive before with the email. So I'm not sure what's broken but unfortunately the only output I get is Access Denied so not immediately sure what the issue is

Hmm could you show me an example on how you are calling the League constructor with your sensitive info faked

Sure, I created a mini script just to test this...
`from ff_espn_api import League
from prettytable import PrettyTable
from collections import Counter
from os import system, name
league = League(SAMPLE_ID, 2019)
print(league)
league = League(SAMPLE_ID, 2019, 'SAMPLE_USER', 'SAMPLE_PASS')
print(league)
`
First one will succeed, second throws the error. Worth noting that with the latest changes I still can successfully authenticate with the old swid method.

From your error message in the beginning it looks like you got past the username and password authentication and then it failed on _fetch_league. Was there any other messages printed to the console? If it fails the username and password it should print to the console.

No, no other message. Just what I copied over here.
I suppose if thats the case its failing on https://github.com/cwendt94/ff-espn-api/blob/660ef8b3a98fad03e1bebcaf1375a57a52b4af23/ff_espn_api/league.py#L66 ... so not auth, but API key? It seems like you're right and I've already authenticated and it isn't allowing me to make the request. This works fine for you, right?

Yeah it does seem weird. When you initialize the League object are you writing out the input variables like League(league_id=123, year=2019, username=“username”, password=“pass”)

My little script which he was using did not input the variables that way.
https://github.com/drippyer/ESPN_FF_Tool/blob/d80ce0ed744d1b24586043c19b75c1a52c28562b/espnTool.py#L40

interesting! I've got it working but it took a little messing around. I think the issue was simply that I had somehow not gotten the updated version of the library installed correctly. Basically I needed to python3 -m pip uninstall ff_espn_api then python3 -m pip install ff_espn_api but it appears to be working now...Sorry for the confusion! I'll close the issue out.

No worries! When the new authentication was put in I didn’t realize it switched the order of variables which could mess up programs that didn’t assign the variables in the constructor

Yeah, had this issue with https://github.com/dtcarls/fantasy_football_chat_bot/issues/64 a quick way to make it backwards compatible would be make the contructor
def __init__(self, league_id: int, year: int, espn_s2=None, swid=None, username=None, password=None)
instead of
def __init__(self, league_id: int, year: int,  username=None, password=None, espn_s2=None, swid=None)
I'll submit a PR

I'll be setting specific variable assignments going forward just in case, thanks for the info!


Update ecdsa_secp256k1.nr with a test

Greetings!
I feel like this test should pass, but it fails! Could you, pls, indicate the cause of failure? Maybe I just got something wrong. =(

Thank you for the link and sorry for bothering!
Should I just close the PR or is it better to add a corrected version of the test that you posted so that future reader won't fall into the same misunderstanding?

We can add a test. Can you fix it?

yeah, of course
I'll update this one!


xDnsServerDiagnostics: New resource proposal

Description
Some DNS Server Diagnostic settings can not be directly configured with the current xDnsServerSetting resource. I would like to create a new resource to add this functionality leveraging the Get-DnsServerDiagnostics and Set-DnsServerDiagnostics.
Proposed properties
SaveLogsToPersistentStorage
Queries
Answers
Notifications
Update
QuestionTransactions
UnmatchedResponse
SendPackets
ReceivePackets
TcpPackets
UdpPackets
FullPackets
FilterIPAddressList
EventLogLevel
UseSystemEventLog
EnableLoggingToFile
EnableLogFileRollover
LogFilePath
MaxMBFileSize
WriteThrough
EnableLoggingForLocalLookupEvent
EnableLoggingForPluginDllEvent
EnableLoggingForRecursiveLookupEvent
EnableLoggingForRemoteServerEvent
EnableLoggingForServerStartStopEvent
EnableLoggingForTombstoneEvent
EnableLoggingForZoneDataWriteEvent
EnableLoggingForZoneLoadingEvent
Special considerations or limitations

This was added in PR https://github.com/dsccommunity/xDnsServer/pull/92


Can't add dns and links parameter in docker-compose.yml

[root@hadoop01 harbor]# cat docker-compose.yml
.......
.......
networks:
  harbor:
    dns: <IP_ADDRESS>
    external: false

[root@hadoop01 harbor]# docker-compose restart
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.harbor value Additional properties are not allowed ('dns' were unexpected)
[root@hadoop02 harbor]#

Add the follow the extra_hosts parmater，not add dns parameter：
extra_hosts:
- "hadoop1.com:<IP_ADDRESS>"
- "hadoop2.com:<IP_ADDRESS>"
[root@hadoop1 harbor]# cat docker-compose.yml
..................
  ui:
..................
    networks:
      - harbor
    extra_hosts:
      - "hadoop1.com:<IP_ADDRESS>"
      - "hadoop2.com:<IP_ADDRESS>"

[root@hadoop1 harbor]# cat restart_harbor.sh
#!/bin/bash
cd /usr/local/harbor
docker-compose down
./prepare
docker-compose up -d

[root@hadoop1 harbor]# ./restart_harbor.sh
[root@hadoop35 harbor]# docker exec -it harbor-ui /bin/sh
sh-4.3# cat /etc/hosts
<IP_ADDRESS>	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
<IP_ADDRESS>	hadoop1.com
<IP_ADDRESS>	hadoop2.com
<IP_ADDRESS>	e334f8258ff5
sh-4.3# curl hadoop1.com

301 Moved Permanently

301 Moved Permanently
nginx/1.11.5

sh-4.3# curl <IP_ADDRESS>

301 Moved Permanently

301 Moved Permanently
nginx/1.11.5

sh-4.3# exit

close this issue.


feat: adding GeLU algorithm in layers

GeLU
The Gaussian Error Linear Unit (GeLU) stands out as a robust and high-performing neural network activation function. It draws inspiration from an amalgamation of characteristics found in dropout, zoneout, and Rectified Linear Unit (ReLU) functions. GeLU introduces a smooth and continuous non-linearity, which effectively addresses the vanishing gradient problem often encountered in deep neural networks.
Refence
GAUSSIAN ERROR LINEAR UNITS (GELUS)

Amazing addition! I'll review and test it, then merge it straight away. Thanks for the contribution!

Hey, the GeLU was resulting in some NaNs, so I went to the paper you cited and I have a question: wouldn't this be closer to what it describes?
forward(z: Tensor): Tensor {
    // Implementasi forward pass untuk GeLU nonlinearity di sini
    const erf_coeff = 2/Math.PI;
    const exp_term = z.mul(z).mul(-1).exp();
    const erf_term = exp_term.mul(erf_coeff).sqrt().add(1);
    const result = z.mul(0.5).mul(erf_term);
    return result;
  }

In your code, you added z to erf_term inside of the last parenthesis. What is your opinion?

Hey, the GeLU was resulting in some NaNs, so I went to the paper you cited and I have a question: wouldn't this be closer to what it describes?

However, the explanation regarding GeLU is similar to ReLU, with the distinction that GeLU permits the output to include small negative values when the input is less than zero.
for erf_term,i think like want calculation erf_term first,after that i multipilcation with z and 0.5

Just a quick thought, but worth doing some unit tests, and something to think about on additions for the algorithms going forward.

Sounds like some unit tests are needed atleast to interrogate it. Not necessarily to push to develop branch all of them. I'm more in favour of unit tests being kept to smaller numbers where possible.

@kayabaakihiko13 could you perhaps support by committing some tests to your PR ?

@eduardoleao052 just a quick question but why do we multiply the GeLu applied tensor by the input tensor ?
I've just been getting my head around this feature and layers in general and isn't it such that we apply GeLu to a tensor and return that tensor ?

@medic-code
In the ReLU, what we're doing is creating a mask tensor, containing 0 where the input is negative, and 1 where the input is positive. Then we're multiplying it by the input tensor.
It could just create an output tensor by directly modifying the negative numbers in the tensor to zero, but that would mess with the tensor's gradients. By multiplying by a mask, it just multiplies by it in the backprop as well.

I suppose my question is why do we multiply by the input tensor ? Is it not that we apply ReLu and pass the modified tensor to the next layer ? I apologise i'm not an ML expert so just curious.
https://www.cs.cmu.edu/~./15780/notes/pytorch.html - The simple two layer network's forward method seems to suggest what I'm saying.

That implementation is correct, however it requires a differentiable (with backward pass) torch.maximum(a,b) operation, that compares the input tensor a and a zeros tensor b, returning the largest and thus applying ReLU.
In my implementation, I multiply by a b tensor as well, that simply has zeros where the input tensor must become zero. I multiply by the input tensor to make the operation differentiable. This way, when the tensors are coming from the output tensor, they reach the input tensor through a simple multiplication.


Anuglar Material 2 doesn't work in Electron

Bug, feature request, or proposal:
When including the Material module in an Electron App, the App crashes.
What is the expected behavior?
It should include the module and show the material components.
What is the current behavior?
The app crashes when loading the module. It shows the following error:
bootstrap 5765295…:111

Clone [this](https://github.com/DevWurm/hello-electron) small sample project and run `npm install`. Install the `@angular/material` package in a version `>= beta.0` and import it in `src/app.module.ts` and add a material component to `arc/app.component.html`. Set the environment `NODE_ENV` to `development` to easily see the error messages. Run the app with `npm run start`. The error occurs in the console.

#### What is the use-case or motivation for changing an existing behavior?
I want to use Angular Material in an Electron App

#### Which versions of Angular, Material, OS, browsers are affected?
The bug occurs since version `2.0.0-beta.0`. It works flawlessly until `2.0.0-alpha.11`. I use the following other packages:
```json
  "dependencies": {
    "@angular/common": "~2.1.0",
    "@angular/compiler": "~2.1.0",
    "@angular/core": "~2.1.0",
    "@angular/forms": "~2.1.0",
    "@angular/http": "~2.1.0",
    "@angular/material": "^2.0.0-beta.0",
    "@angular/platform-browser": "~2.1.0",
    "@angular/platform-browser-dynamic": "~2.1.0",
    "@angular/router": "~3.1.0",
    "core-js": "^2.4.1",
    "rxjs": "5.0.0-beta.12",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.6.23"
  },
  "devDependencies": {
    "@types/jasmine": "^2.2.30",
    "@types/node": "^6.0.42",
    "angular-cli": "1.0.0-beta.19-3",
    "codelyzer": "1.0.0-beta.1",
    "concurrently": "^3.1.0",
    "copy-webpack-plugin": "^4.0.1",
    "cpx": "^1.5.0",
    "electron": "^1.4.12",
    "electron-packager": "^8.4.0",
    "jasmine-core": "^2.5.2",
    "jasmine-spec-reporter": "2.5.0",
    "karma": "1.2.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-electron": "^5.1.1",
    "karma-jasmine": "^1.0.2",
    "karma-remap-istanbul": "^0.2.1",
    "protractor": "4.0.9",
    "ts-node": "1.2.1",
    "tslint": "3.13.0",
    "typescript": "~2.0.3",
    "webdriver-manager": "10.2.5"
  }

Is there anything else we should know?
It may be related to this issue.

It works for me on version 2.0.0-beta.1
Perhaps it is fixed.
Can be closed?

I can't confirm this :(
The issue still appears in my sample project. You can find the code, where the error occurs in the issue-1 branch of DevWurm/hello-electron.
After running npm install you can run NODE_ENV=development npm run start to see the error.

The issue still appears with the latest version of angular-cli (1.0.0-rc.0) and @angular/material (2.0.0-beta.2).
No error is written in the console but a basic material input doesn't work.
Does anyone have a solution or is working on this problem?

I tried it recently and it worked :)


istio-operator can not uninstall  when istiod not deploy success

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title:
i deploy istio in k8s singe node, and node has tatints
1 then i create istiooperator cr
2 istio-operator is pending
3  delete istiooperator cr
4 istio-operator is running
5  but istiooperator cr can not be delete
this is log

2022-01-19T09:43:59.641849Z	info	klog	successfully acquired lease istio-system/istio-operator-lock-1-12
2022-01-19T09:43:59.655137Z	info	proto: tag has too few fields: "-"
2022-01-19T09:44:00.161364Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.164323Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.204629Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
2022-01-19T09:44:00.212293Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.216443Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.225206Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
2022-01-19T09:44:00.237870Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.241271Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.250813Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
2022-01-19T09:44:00.271982Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.275272Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.287416Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
2022-01-19T09:44:00.329815Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.333136Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.343007Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
2022-01-19T09:44:00.426441Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.428918Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.440726Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
2022-01-19T09:44:00.603118Z	info	installer	Reconciling IstioOperator
2022-01-19T09:44:00.607666Z	info	installer	Deleting IstioOperator istio-112
2022-01-19T09:44:00.618840Z	error	installer	reconciler Delete   get err failed to check proxy infos: failed to get proxy infos: unable to find any Istiod instances
it seems when delete istiooperator cr,   istio operator will find the success istiod instance ?
but  i never success deploy istiod instance,
we should ignore the error  when istiod not deploy success ?

This is not an Envoy issue but istio issue. Please open an issue in github.com/istio/istio


Add a assistant for schedule patterns

Is your feature request related to a problem? Please describe.
I'm always frustrated when I want to add a schedule and have to look up how the pattern must be used. In the Javascript adapter of iobroker, there is an assistant integrated to ease the creation and adaption of schedule patterns.
Example:
schedule('25 1 * * *', async function () {...
Describe the solution you'd like
Could you please implement some support for the schedule patterns?
In iobroker it is an assistant loking like this (for example):

You can activate it by pressing the clock symbol:

Describe alternatives you've considered
Currently, I use the assisstant provided by iobroker, which is cumbersome.

I like the idea, but i am not sure how to implement this. As soon as my spare times allows and I've got a good idea, I will post it here.

Great to hear 👍


Build requirements for Java 11

When running the project with Java 11 (LTS), it will crash with Type javax.xml.bind.JAXBContext not present
Here a guide how to fix this: https://crunchify.com/java-11-and-javax-xml-bind-jaxbcontext/

@hz-lschick thanks for the how-to-fix guide. I created a PR for this: https://github.com/project-a/mondrian-server/pull/4


attachment: together does not work as expected if attachment width greater than target width

If the attachment width is greater than the target width the attachment: together constraint doesn't act as expected. It should essentially have the opposite behavior.
Video example:
https://vts-monosnap.s3.amazonaws.com/screencast_2016-11-18_12-12-42.mp4

Sorry, this was for the wrong project


Remove single-step flow logic from run()

This PR removes the single-step flow logic from the top of run(), one of our cleanup backlog items. I replaced it with a helper function to take care of some of the boilerplate required when creating a single-step graph (import no-op, default metric weights).
A consequence of this change, however, is that we will no longer be able to concisely run a single tool step through the CLI.

I wanted to get thoughts on this before finalizing this change. I could see it as a dealbreaker, since I think quickly running a tool directly is a good use of the SC CLI.

Note to self: weights are actually set up by node(), so can remove that boilerplate from the single_step() function.

I am not sure about this. Everything else is built around "flows", so I think we need to think some more about what it means to run a tool as standalone. It's definitely useful for testing purposes, but the way we were doing previously it was definitely awkward. I am not sure we should officially support launching tool in standalone mode?

Okay, sounds good. I'll modify this PR to get rid of the new single_step() function, and refactor the tool tests to create flows inside the tests.

Yes!


🐛 useExhaustiveDependencies: allow effects with no dependency arrays

Environment information
https://biomejs.dev/playground/?indentStyle=space&quoteStyle=single&trailingComma=none&code=aQBtAHAAbwByAHQAIAB7ACAAdQBzAGUARQBmAGYAZQBjAHQALAAgAHUAcwBlAEwAYQB5AG8AdQB0AEUAZgBmAGUAYwB0ACAAfQAgAGYAcgBvAG0AIAAnAHIAZQBhAGMAdAAnADsACgAKAGYAdQBuAGMAdABpAG8AbgAgAHUAcwBlAEMAdQBzAHQAbwBtAEgAbwBvAGsAKAB2AGEAbAB1AGUAOgAgAHUAbgBrAG4AbwB3AG4AKQAgAHsACgAgACAAdQBzAGUARQBmAGYAZQBjAHQAKAAoACkAIAA9AD4AIAB7AAoAIAAgACAAIABjAG8AbgBzAG8AbABlAC4AbABvAGcAKAB2AGEAbAB1AGUAKQA7AAoAIAAgAH0AKQA7AAoACgAgACAAdQBzAGUATABhAHkAbwB1AHQARQBmAGYAZQBjAHQAKAAoACkAIAA9AD4AIAB7AAoAIAAgACAAIABjAG8AbgBzAG8AbABlAC4AbABvAGcAKAB2AGEAbAB1AGUAKQA7AAoAIAAgAH0AKQA7AAoAfQAKAA%3D%3D

https://biomejs.dev/playground/?indentStyle=space&quoteStyle=single&trailingComma=none&code=aQBtAHAAbwByAHQAIAB7ACAAdQBzAGUARQBmAGYAZQBjAHQALAAgAHUAcwBlAEwAYQB5AG8AdQB0AEUAZgBmAGUAYwB0ACAAfQAgAGYAcgBvAG0AIAAnAHIAZQBhAGMAdAAnADsACgAKAGYAdQBuAGMAdABpAG8AbgAgAHUAcwBlAEMAdQBzAHQAbwBtAEgAbwBvAGsAKAB2AGEAbAB1AGUAOgAgAHUAbgBrAG4AbwB3AG4AKQAgAHsACgAgACAAdQBzAGUARQBmAGYAZQBjAHQAKAAoACkAIAA9AD4AIAB7AAoAIAAgACAAIABjAG8AbgBzAG8AbABlAC4AbABvAGcAKAB2AGEAbAB1AGUAKQA7AAoAIAAgAH0AKQA7AAoACgAgACAAdQBzAGUATABhAHkAbwB1AHQARQBmAGYAZQBjAHQAKAAoACkAIAA9AD4AIAB7AAoAIAAgACAAIABjAG8AbgBzAG8AbABlAC4AbABvAGcAKAB2AGEAbAB1AGUAKQA7AAoAIAAgAH0AKQA7AAoAfQAKAA%3D%3D
What happened?
Effect hooks with no dependency arrays are valid, in some cases we do want to run the effect on every render, or avoiding re-runs isn't important enough to add the array.
Expected result
Biome shouldn't flag these as issues.
Although maybe it could be a separate rule to enforce all effects to have a dependency arrays.
I don't know if anyone would be interested.
Code of Conduct

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

Looking at the source code of the ESlint-plugin-reacts-hooks plugin doesn't look like a bug, it's normal behavior.
https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js#L1458

@nstepien can you share a reproduction with eslint hooks rule?

@nstepien can you share a reproduction with eslint hooks rule?

https://stackblitz.com/edit/node-qj3asz?file=src%2Findex.js
npm run lint

@ematipico
https://stackblitz.com/edit/node-8xjn11?file=src%2Findex.js
npm run lint
@msdlisper
The issue is that missing dependency arrays should not be flagged as problems.

@ematipico https://stackblitz.com/edit/node-8xjn11?file=src%2Findex.js npm run lint Notice that the rule does not flag hooks with no dependency arrays.
@msdlisper The issue is that missing dependency arrays should not be flagged as problems.
Sorry made a mistake, I edit a link again, https://stackblitz.com/edit/node-pxeyhl?file=src%2Findex.js can have a try

I have a question, is the final standard for our lint rules ESLint? For example, I think it's better to give hints for this rule, but ESLint does not report errors

I have a question, is the final standard for our lint rules ESLint? For example, I think it's better to give hints for this rule, but ESLint does not report errors

Generally, we should not emit false positive errors compared to the eslint rule, but emitting more information is a nice addendum that is always more than welcome.


Rendering issue with flutter run -d chrome --web-render html

Steps to Reproduce
Please see the code below.

Execute flutter run on the code sample
The app can render correctly with other platform except in the chrome with --web-renderer html, the rect is not rendered at all.
Running flutter doctor...

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.3, on macOS 12.4 21F79 darwin-arm, locale en-SG)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    ! CocoaPods 1.10.1 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
[✓] VS Code (version 1.68.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.
4. ...
5. ...
Expected results:
The rectangle should be rendered as in other platforms.
Actual results:

Code sample

import 'dart:math';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ColoredBox(
      color: Colors.white,
      child: CustomPaint(
        painter: PaperPainter(),
      ),
    );
  }
}

class PaperPainter extends CustomPainter {
  @override
  void paint(Canvas canvas, Size size) {
    canvas.save();
    canvas.translate(size.width / 2, size.height / 2);
    canvas.drawPath(
        Path()
          ..addOval(
              Rect.fromCenter(center: Offset.zero, width: 200, height: 200)),
        Paint()
          ..color = Colors.green
          ..style = PaintingStyle.stroke);
    final path = Path()..addRect(const Rect.fromLTWH(0, 0, 130, 10));
    final textPainter = TextPainter(
      textDirection: TextDirection.ltr,
      text: const TextSpan(
        text: 'ABC',
        style: TextStyle(color: Colors.black, fontSize: 16),
      ),
    );
    textPainter.layout();
    textPainter.paint(
      canvas,
      const Offset(0, -150),
    );
    canvas.drawPath(path.transform(Matrix4.rotationZ(pi).storage),
        Paint()..color = Colors.green);
    canvas.restore();
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return false;
  }
}

Logs

If I exclude the following code,
textPainter.paint(
canvas,
const Offset(0, -150),
);
It will render properly.

Thanks for the report. Using code sample provided, I observed that it renders properly using canvaskit, but not using html:

With canvaskit:

With html:

Commenting out below code snippet and running with html rendering works as expected:
textPainter.paint(
canvas,
const Offset(0, -150),
);

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.0.3, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.0.3 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 676cefaaff (4 days ago), 2022-06-22 11:34:49 -0700
    • Engine revision ffe7b86a1e
    • Dart version 2.17.5
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[[✓] Flutter (Channel master, 3.1.0-0.0.pre.1376, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.1376 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3598f20002 (7 hours ago), 2022-06-26 18:19:04 -0400
    • Engine revision ee56813c14
    • Dart version 2.18.0 (build 2.18.0-228.0.dev)
    • DevTools version 2.14.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Quick fixes don't work if 'typescript.tsdk' doesn't point to a node_modules-parented folder

As I try newer versions of TypeScript that aren't npm install-ed, I find quick fixes haven't been working. Is there a reason they're disabled by default?
@mjbvz @mhegazy

@DanielRosenwasser, in your settings.json file set:
	"typescript.tsdk_version": "2.2.0",

along with "typescript.tsdk".
@mjbvz we need a cleaner way of doing this, how about adding a new command to the server to return the version? we can back port this to 2.1 and 2.2 if needed.

Since VSCode 1.8, the tsdk_version setting isn't officially exposed/supported anymore. We now always try to pick up the version from the package.json located in the typescript.tsdk path.  The only case this does not work is when you are using a version of tsserver that does not come from some node_modules like location
I'm hesitant to rely on a tsserver command for the version info because we've seen several issues where tsserver crashes on startup. What are the use cases for non-npm installed versions of typescript?

What are the use cases for non-npm installed versions of typescript?

Mainly us working on TS.

Yes, typically when I'm prototyping features like quick fixes that actually go into VS Code. 😉

@DanielRosenwasser + @mhegazy Can you symlink together an environment together that looks like an npm installed version of TypeScript?

I suppose we can make our build create a synlmlink to the package.json. Should not be that big of a change.

yes, I think that would work better. Here's the logic we use for picking up the version for what it's worth: https://github.com/Microsoft/vscode/blob/master/extensions/typescript/src/typescriptServiceClient.ts#L748
All we need is a package.json that contains:
{
    "version": "2.2.3"
}


[BUG]Service Bus QueueClient throws continual stream of exceptions when Queue status set to ReceiveDisabled

Describe the bug
Setup a queue client and register a message handler.  This requires you to register an exception handler.  Once active and listening to a service bus queue, set the queue status to ReceiveDisabled.  Once that happens, the service bus queue client starts throwing what is essentially a stream of exceptions with the same exception message.  The message will be something like: "Message handler encountered an exception Microsoft.Azure.ServiceBus.MessagingEntityDisabledException: Messaging entity 'sb://{sbnamespaceurl}.servicebus.windows.net/{somequeuename}' is currently disabled."
The problem here is that when this happens, even if I put nothing in the exception handler but a return of Task.Completed, my CPU starts cranking up.  If I have multiple queue listeners (which I do) then it takes my CPU to max levels.
This seems like a bug.  If not a bug then certainly undesired behavior as the queue client becomes unusable and even threatens the server by maxing out the CPU.
Expected behavior
I expect that when I set my queue to receivedisabled, the queue client will not continually throw these exceptions.
Actual behavior (include Exception or Stack Trace)
Please see my description above.
To Reproduce
See description above.
Environment:

Name and version of the Library package used: Microsoft.Azure.ServiceBus 4.1.3
IDE and version : Visual Studio 2019 Enterprise 16.6.2

//cc: @JoshLove-msft, @MiYanni

@adamkjonesmesh,
Could you provide some more details -

How many concurrent operations are being done in the handler?
How long is the queue disabled?

Couple of things you could try -

Put a Task.Delay() in the exception handler when this exception is thrown so that you reduce the number of exceptions thrown.
See if you can stop the handler when you run into this issue and then restart it after you think the entity is enabled.

This is by design currently, and throwing exceptions will always use more CPU. Not sure if anything else can be done here. I'm going to close this as by-design. If you think there are other solutions that SDK should provide, let us know and we can reopen it for you.


Create did:web for other domains

Small feature request: would be great if SSIkit could easily create did:web's for other domains than yours.
(I did manage for testing purposes with changing a DID document to another domain, but it also required some manual changes in your SQLite database, so it's a bit hack-ish. ;))

I fully agree that this important feature is missing for did:web. Due to other priorities did:web was not too much in the focus. So thanks for the reminder at this point! We will now happily solve this issue asap.

Thanks also, works nicely here.


"return redirect" fully reloads the page

I have been developing a Laravel 9 application with Livewire and using Turbo Laravel package for give it a SPA feeling. It works fine with regular links, but there is a register page in my application and after registration is successful, I have given a redirect to the same page. but after I clicked the register button the page does a full reload. How can I fix that? Is this a issue with the package. I have tried different redirect notations but the issue remains.
$user = new User;
        $user->name = $this->name;
        $user->username = $this->username;
        $user->gender = $this->gender;
        $user->user_image_path = $userImageName;
        $user->email = $this->email;
        $user->password = Hash::make($this->password);
        $save = $user->save();

        if ($save) {
            return redirect('/regsiter');
        } else {
            return $this->error = 'Something went wrong! Please try again.';
        }

Sorry my bad, I have missed the step where I should install the Turbo HTTP Middleware thinking it is optional. This issue is fixed now.

redirecting to the same page will trigger a full page reload because you are on the same page. try return redirecting to login page to see if it works...

redirecting to the same page will trigger a full page reload because you are on the same page. try return redirecting to login page to see if it works...

I tried that but did not work.

Try redirecting to a named route...
return redirect()->route('register');

@pasindujr where is this redirect happening? Is that in a Livewire action? Or a controller action? Can you provide a sample application code where this happens? I'd recommend creating a fresh Laravel app where this error happens and publishing that to GitHub.

Closing this for now since I didn't get an answer and doesn't seem like an issue for this package. Feel free to reopen it if you think it is and, pls, try creating a demo app where you're able to reproduce the issue, publish that to GitHub and share with me.


Insert image by URL

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
In Google Docs/Slides, the insert-diagram or new-diagram workflows are cumbersome.
Describe the solution you'd like
Often I'm editing in the diagrams app already (and with this https://github.com/jgraph/drawio/issues/1863, I can also easily create new diagrams in folders in drive). However, it's then a pain to have to navigate to that diagram the add-on UI in Google Docs/Slides.
I would love to have an option to 'insert from URL'. This would mean:

In the Google Docs/Slides plugins, have an option "Insert via APP-URL". This should allow pasting in the URL (https://app.diagrams.net/#..., together with an optional page number) or the 'tab url' (https://viewer.diagrams.net/?page-id=...#...)
Ideally, there would be an option in app.diagrams.net, for right-click on tab called something like 'copy APP-URL'.

Describe alternatives you've considered
At the moment, I do this manually:

drop random image (e.g. a tiny screenshot) into Doc/Slide
in diagrams.net, right-click on tab -> link -> OK, then copy.
adjust the copied 'viewer url' to be an 'app url' [which can be accellerated through a clipboard transformation script]
back to google doc, ctrl-k to assign url, update selected diagram.

Now - that looks kinda convoluted, but it's actually faster for me to do than the insert image (which sometimes hangs).

This isn't possible, we can only get a handle on the file via the user interaction in the picker. A straight URL often will have a permissions issue.

This is use case is really interesting. Why not enable it only for publicly-shared diagrams stored in Google Drive? That would enable users to render public diagrams.net diagrams in places that don't admit JS (e.g. Github READMEs) while making it easier to share and edit.


Are takeovers of azureedge.net cnames meant to show the new site in the url?

Service name
azureedge.net (Azure CDN Provider)
As part of a bug bounty test I have found a subdomain which has a CNAME entry pointing to an azureedge.net instance. I believe I have correctly taken over the subdomain. However, when I visit the original domain it behaves almost like a redirect changing the url in my browser to my site I took it over with. Is this the expected behaviour? everywhere I look online people are saying that it should only render my content with the url bar still showing the original domain

there someone who solve this?


Whisper Parsing Job Needs to be Redone

The parsing job on received whispers for WhisperMessages is lazy and not very tolerant of changes. It needs to go in the direction of ChatMessage.

parse job reworked.


Add project description in 'About'

On the front page of the repository we're missing text in the 'about' section describing our project.

[x] Add a description to the about section

Closing as has already completed.


Can you do image editing?

The operation of the attention mechanism in this paper is similar to that of P2P and PnP in the field of image editing. Have the authors done any experiments on image Editing? Is the result good?
Thanks

We utilize a similar dual-path architecture as P2P and PnP. However, we do not support image editing because it requires the injection of Query features, which we donot have.


Added username flickrOption in .search() method to support search within specified flickr user

Hi,
I just added username flickrOption in .search() method to support search within specified flickr user. By this feature, we can get specific flickr user's interesting photos in galleria.
I've also updated the Docs accordingly. Please let me know if the changes looks ok.
Cheers,
Abhinay

This is pretty handy, but I think we should supply a separate API call for this instead of using an option that only applies for a single API call. Ideas?


This overload appears to be missing in .NET Core 2.0, at least in a vanilla console app

https://github.com/aspnet/Docs/blob/cd0f36ce9f3be0513692415d2ab1eeecfc48c598/aspnetcore/fundamentals/configuration/sample/IOptionsSnapshot2/Startup.cs#L73
I can't bind a poco options class to a subsection, i have to use the lambda syntax with a call to .Bind(), like so:
serviceCollection.Configure<MyPoco>(opts => config.GetSection("MyPoco").Bind(opts));

But that's obviously more verbose, plus I have to add a dependency on the Binder package. Am I just missing something or is that just the way it is now?

Moved to https://github.com/aspnet/Configuration/issues/748.


Initial theme manager

Quite similar to: https://github.com/jenkinsci/simple-theme-plugin/pull/7
Allows themes to be registered through an extension point
Features:

global theme
user theme
block users from being able to change their theme (not sure why but @oleg-nenashev asked for it)

Downstream plugin PR: https://github.com/jenkinsci/dark-theme/pull/77
Todo:

~extract themes to plugins~ - done for dark mode, probably all I will do
~serve resources from plugin instead of CDN~ - done, both modes are supported
~login theme integration~
~docs~ - done
~tests~ - jcasc tests are in

Thoughts?
cc @oleg-nenashev @TobiX @michaelneale

I like this idea, and this could replace whatn #7 does, perhaps (the idea was to ship with a default plugin so as soon as you install this, it looks different, but this seems more generally useful).

Is there a reason this is part of simple-theme-plugin and not a new library plugin? There seems to be absolutely no overlap other than the general topic.
Going with a different structure of components would also allow to open up theme configuration to Overall/Manage users without allowing them to insert XSS code into Jenkins pages (which is pretty much inherent to simple-theme-plugin).

I initially had it as a separate plugin, Oleg suggested in gitter we may not need a separate plugin and to put it here
No real opinion either way from myself.

I think this could be opened up to manage anyway? It’s not the whole plugin right just this decorator?

IMO it seems like a cleaner separation to split this off given this has absolutely no overlap. Less stuff to install, as it's not like you'd need both plugins anyway.

IMO it seems like a cleaner separation to split this off given this has absolutely no overlap. Less stuff to install, as it's not like you'd need both plugins anyway.

Sounds fine to me, I'll bring it up in the ux-sig meeting on Wednesday, (added to the agenda now)

While I like the idea, I'm with @daniel-beck here: Let's make it it's own plugin (maybe "theme-manager" or "user-themes"?) - We can put a link in the documentation of "simple-theme" to promote the new plugin later.

https://issues.jenkins-ci.org/browse/HOSTING-981

Closed based on previous discussion


Convert HTML content of "Quick Career Tips" section into Vue 3 ref() data

I want to make "Quick Career Tips" section component vue friendy by binding data with vue using ref() in Composition API

Please assign me this issue

Hi @anandanshul, please check


Content: Modern Development Practices - How to use git rebase –onto

Summary of content
A short guide around git rebase --onto. This comes from this blog post that is almost 10 years old at this point, but according to our SEO agency is still getting a lot of traffic. We would like to refresh it for the Dev Center and put some SEO energy behind it.
Summary of audiences
Developers who use git
Level of content
Level of content as it pertains to the topic proposed. Delete those not applicable.

101: "Awareness / Exploration"

Contributor Checklist

[x] I have added a card to the GitHub Content Backlog and/or moved it to the proper column. See Content Prewriting and Ideation
[ ] If contributing via Google Docs: I have added a link to my document to this issue, and set the document's Share settings to "Anyone on the internet with this link can comment".
[ ] My content is drafted in accordance with existing style guides and best practices. See Drafting Content
[ ] The front matter (metadata) is filled out completely (e.g. description, topics, tags, author, etc - as appropriate for the content type). See Drafting Content
[ ] My content has been reviewed by my team for technical accuracy. See Editing Content
[ ] My content has beed reviewed and edited by a copy editor. See Editing Content
[ ] If applicable: My content has gone through a legal review (VMware Employees Only). See Editing Content
[ ] If applicable: I have tested my content locally and everything passes. See Testing Content
[ ] Optional: I have filled out the Social Media request form (optional) (VMware Employees Only). See Next Steps
[ ] If applicable: I have created an author page and opened a pull request to get it added. See Next Steps

Reviewer Checklist

[ ] Review if the content is a good fit for the Tanzu Developer Center. See Content Prewriting and Ideation
[ ] There this GitHub issue has been added to the content backlog project
[ ] Ensure with the author that the content has been reviewed for technical accuracy.
[ ] Ensure with the author that the content has been through copy editing.
[ ] If applicable: Ensure with the author that the content has been through Legal review.
[ ] Review fit with the Tanzu Developer Center Style Guide and the VMware Style Guide (VMware Employees Only).
[ ] Ensure the front matter is filled out correctly and completely.
[ ] If applicable: Review additions to custom_dict.txt.
[ ] Ensure with the author they have reviewed the staging site for correctness. The reviewer should review this too.
[ ] If applicable: Review any new Team pages.
[ ] Optional: Ensure the author has provided copy for Social Media distribution.\
[ ] If contributing via Google Docs: Send the staging link to the author to review. The reviewer should review this too. Get the final 👍 from the author to push the content public.

Hi, I'd be interested in being assigned to this content to-do!


Send Email using Opentest

Hi all,
I did see in this issue 'Exceptions while using ReadEmailImap #208' that it is possible to reamd the email.
Is it possible to send email using Opentest?
I have created a windows PowerShell script for my test to do that but it will be nice if i can doe that in Opentest.
Iam using for that purpose gmail account

Hi
For sending emails I'm using rest api configured in free version of https://app.mailjet.com to read emails we decided to make aws java lambda which reads email map from gmail test account and returns needed data in rest api. We didn't create java actor extension because we are using this functionality also outside OpenTest in SoapUi etc. Hope this helped.

ok thank you galegor, i tried it , but did you use opentest to make the api call , if you did how did you implemented. i just need to send the mail i do read it via my application.

To send an email I'm using standard http request, implemented in this way:
description: send an email
actions:
  - description: Call MailJet API to send an email
    action: org.getopentest.actions.HttpRequest
    args:
      $localData:
        outputHeaders: $output.headers
        statusCode: $output.statusCode
        mailBody: $output.body
      url: $data("commonConfig").mailjetAPI.url
      headers:
        Content-Type: application/json
        authorization: $decrypt($data("commonConfig").mailjetAPI.authorization)
      verb: POST
      body: |
        $json(
          {
              "Messages":[
                {
                  "From": {
                    "Email": $data("commonConfig").mailjetAPI.defaultFromEmail,
                    "Name": $data("commonConfig").mailjetAPI.defaultFromName
                  },
                  "To": [
                    {
                      "Email": $macroArgs.toEmail,
                      "Name": $macroArgs.toName
                    }
                  ],
                  "Subject": $macroArgs.subject,
                  "TextPart": $macroArgs.text
                }
              ]
            }
        )
      parseBody: false

related  $data("commonConfig") looks like this:
mailjetAPI:
  url: https://api.mailjet.com/v3.1/send
  defaultFromEmail<EMAIL_ADDRESS>  defaultFromName: automated msg
  authorization: "key generated on site"

and finally a sample use:
          $runMacro("api.mail.sendMsg", {
            toEmail: $data("coreConfig").labs.manualOrderEmail,
            toName: $data("coreConfig").labs.manualOrderEmail,
            subject: $sharedData.orderNo,
            text: $localData.mailText
          });

ok thanks i will try that approach

hi I am trying this approach but i do not see where you are using the api key that generated on the site. Also i get error while I am decrypting the secret_key generated on the site.

Wisam2013, at first I would advise you to make a successful call using curl, postman or whatever other API testing tool of your choice.
I shared with you a working OpenTest example, I'm using mailjetAPI.authorization to store their API key, keep in mind that this needs to be decrypted before it can be used in the authorization header.

Thank you @galegor i used the same approach, and yes it worked in postman. but when iam using the mailjetAPI.authorization it did not work, yes i did decrypted the keys. my question was i get ( api_key, secret_key)how to use them like {Authorization: decrypt( 'api_key', 'secret_key'). In post man i have two fields to use the ( api_key, secret_key) in the header..


ISMRM Abstract | Action required from co-authors

Hi BEP001 folks!
@agahkarakuzu has written a really fantastic abstract to present BEP001 at ISMRM in 2020.
The link to the text is here: https://docs.google.com/document/d/1b-mbpHbVckd53jXfQR4mSZ_wBxqy_AdwTxkKP0HUKyg/edit?usp=sharing
We've put the following authors on the document - please add your affiliations and comment here if you're ok with being named on the abstract.

[x] @agahkarakuzu
[x] @Gilles86
[ ] @sappelhoff (BIDS maintainer)
[ ] @tiborauer
[x] @mathieuboudreau
[ ] @franklin-feingold (BIDS maintainer)
[ ] @lazaral
[ ] @ChristophePhillips
[x] @nstikov
[x] @KirstieJane

@effigies & @chrisgorgo - would you like to be in the list? We're not sure what you'd prefer and you're very welcome!
If you are not named and think you should be please let me know! @Gilles86 and I have a very strong inclusion policy! We're very sorry if we've forgotten you 😭
I think we're slightly over the word count at the moment but @Gilles86 and I figured there was no point in getting it absolutely perfect before you had the chance to comment 😆
Having said that....
The submission deadline is 6 November but the real deadline is this Sunday 3 November due to scheduling challenges next week. So please have a look through as quickly as possible - thank you so much 💖

I don't think I've contributed significantly to BEP001, but I appreciate the offer.

Tibor Auer, University of Surrey, Guildford, UK

I love Figure 3! It is a concise summary of the concept.

very cool, thanks for preparing this!

thank you for including me! looks really good and the figures are very clear!

Zooming! Thank you everyone - I think we have all of your affiliations! WAY TO GO! 🎉
There's only one substantial comment in the document about linking with other similar initiatives. We mention the ISMRM Raw Data Standard but @Gilles86 and I don't know the others 😬
If you have sugestions of ones to add then we're happy to add them, but my suspicion is that we can't get that information done in time for the deadline - it's a great point for consideration going forwards though!

Following this ISMRM abstract, should we be considering a similar (albeit much shortened) for OHBM?
Submission deadline is on December 19.