IntelliJ IDEA Java debugger does not automatically attach

When debugging a binary or test in IntelliJ IDEA, the debugger does not automatically attach to the remote debugging session and will continue to run while waiting for a debugger to be attached.
The Console tab contains the following log lines:
/usr/local/bin/bazel test --tool_tag=ijwb:IDEA:ultimate --curses=no --color=yes --progress_in_terminal_title=no --runs_per_test=1 --flaky_test_attempts=1 --build_event_binary_file=/var/folders/lw/j7k1638j7qzbrytssdwx1pgc0000gp/T/intellij-bep-50ce87e7-83ff-4d69-a88a-80c2118c7336 --nobuild_event_binary_file_path_conversion --test_filter=demo.DemoTest# --java_debug --test_arg=--wrapper_script_flag=--debug=5005 -- //examples/bazel:test
Testing started at 10:29 AM ...
WARNING: Streamed test output requested. All tests will be run locally, without sharding, one at a time
Loading:
Loading: 0 packages loaded
Analyzing: target //examples/bazel:test (0 packages loaded, 0 targets configured)
INFO: Analyzed target //examples/bazel:test (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
[0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Listening for transport dt_socket at address: 5005
[1 / 2] Testing //examples/bazel:test; 1s darwin-sandbox
[1 / 2] Testing //examples/bazel:test; 21s darwin-sandbox
[1 / 2] Testing //examples/bazel:test; 45s darwin-sandbox

The Debugger tab has the informational message:
Connecting to target VM, address: 'localhost:5005', transport: 'socket

Manually attaching a remote debugging session to localhost:5005 does cause the test to proceed as expected, however, this results in stepping through the code in a new debugger tab, rather than the one containing the test output which is a fairly awkward experience.

IntelliJ IDEA 2021.2 Ultimate Edition (Build #IU-212.4746.92)
Bazel Plugin 2<IP_ADDRESS>.2-api-version-212
OSX 10.14.6

Hello @Mrmann87, Could you please verify the above with the latest Intellij and bazel plugin. Thanks!

@sgowroji This appears to be fixed!


[AutoRelease] t2-sql-2022-11-10-31242(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/2985
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1031
BuildTargetingString
azure-mgmt-sql
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/2985


Implemented remote scene tree filtering

User can now filter the remote scene tree, like the local one is filtered, while the game is running.
Fixes #22949

Does it not make more sense to just apply the filter to the creation?

I've thought about doing it during the tree creation but settled for this solution since it was simpler to implement, it has the same logic of the local tree filtering.
Anyway I'll give it a try and see if I manage to do it during creation.

@reduz managed to filter during creation. Should be good now.

Moving to 3.2 milestone as we're about to enter the beta stage and release freeze for Godot 3.1. Only bug fixes against issues of the 3.1 milestone (or enhancements to core features of the 3.1 roadmap) will be considered until 3.1-stable is released.
Note: If it's merged after 3.1-stable is released, this change may be considered for cherry-picking into a later 3.1.x release.

Any news on this?

@Alien1993 This is still unresolved: https://github.com/godotengine/godot/pull/23270/commits/4787dff9e9078f5527b029dab625fb753fd58c66#r241542879

What's the problem thought? I've addressed the above issues but received no answer.

Well you have not addressed the issues raised in https://github.com/godotengine/godot/commit/4787dff9e9078f5527b029dab625fb753fd58c66#r241542879, at least I don't see any later commit, nor comment explaining why things are done this way.

Oh ok, I didn't understand you wanted me to better explain why things were done this way.
I'll get to it as soon as I can.

I've added some more comments, the code has been untouched. Hope it's clearer now why it has been structured like so.

Thanks and sorry for the delay re-reviewing this PR :)

No problem, I know you have several other things to do. I appreciate it anyway. :)


Export the project for Windows, Mac and Linux

Is your feature request related to a problem? If so, please describe.
Today, to work with AdMob, we only have to download the Addon from Godot and use it for the project.
But let's consider the following question: You have several projects that use AdMob, for you to have control over AdMob in each project you need to download the Addon for each one and this in a way can cause extra work.
Also, to use AdMob, we usually need to have the "AdMob" tab active on the top tab and normally we don't need to have it always there.

So I highlight the "problems":

No flexibility to change AdMob settings in different projects
"AdMob" tab usually appears to the developer, but he will rarely use it

What feature or improvement would you like to see?
First of all, we need to manage the AdMob versions directly in Godot project because if the user's AdMob Editor version is 1.3.0 and it has a newer version like: 1.4.0, it can break his project for the following reasons:
1.4.0 is a "minor" version, which means that there were probably small changes in the code generally related to the Android or iOS Plugin API call, if the user uses this version we must warn the user to update the Plugins to the appropriate versions because may break the App with errors.
This change also consists of changing the Editor, what will differ from the Editor for the Desktop version will be that it will have a part to select the project and edit it
So I believe it needs: (Issues need to be created to relate)

Create CI/CD to release for Windows, Mac and Linux
Select the project and be able to edit the AdMob values
Check the version of Editor and ask to update
Check the version of Android and ask to update
Check the version of iOS and ask to update
Install Android Dynamically
Install iOS Plugins Dynamically

Additional context
No response

Closing this Issue since seems to be very complex and theres more important things to do


How to use EventSource in redux-saga , is it possible to consume it , i did a extensive search over the internet but couldn’t find article doing it.

Description
Please provide some context about the problem and some code examples if relevant.
The best way to provide an example is repository or use Code Sandbox(there is a prepared template for Code Sandbox)

This should work - you only need to adjust this according to your needs.
function createSse() {
  const chan = eventChannel((emit) => {
    const sse = new EventSource("/api/v1/sse");
    sse.addEventListener("message", (ev) => emit(ev.data));
    return () => sse.close();
  });
  return;
}

function* saga() {
  const chan = yield call(createSse);
  while (true) {
    const data = yield take(chan);
    // do smth here
  }
}


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
14 seconds
inspect-image

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
16 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
12 seconds
sbom-json-check

✅ Succeeded
18 seconds
optional-label-check

✅ Succeeded
18 seconds
label-check

✅ Succeeded
13 seconds
show-summary


How to enable HistomicsTK web UI

I have run the docker-compose.yml in devops/dsa and got HistomicUI up and running. BTW I had trouble with Mongo refusing connections, during this part. Maybe put in a note to delete all the contents of devops/dsa/db and devops/dsa/logs if one runs into this issue when starting out.
I pulled dsarchive/histomicstk:latest, connected it to teh dsa_default network, and tried to add it in the slicer_cli_web plugin settings. Nothing in the interface changes, and there is no HistomicsTK endpoint I can reach, nor a link to it via large_image files.
I'de imagine HistomicsTK is served off a girder_worker, as per the diagrams I have seen? I am confused as to how I deploy a web app that includes the annotation tools of HistomicsTK from the command line, preferably from a single call to docker-compose.
Can you set me straight?

Bette ryet..
http://<>:8080/histomicstk
so http://localhost:8080/histomicstk
The service is already running... it's just at a different endpoint.
We are in the process of making our documentation better.... but since "we"
wrote most of this, we take for granted many things that are fundamentally
not very intuitive..
On Thu, May 28, 2020 at 5:34 PM Alex Braun<EMAIL_ADDRESS>wrote:

I have run the docker-compose.yml in devops/dsa and got HistomicUI up and
running. BTW I had trouble with Mongo refusing connections, during this
part. Maybe put in a note to delete all the contents of devops/dsa/db and
devops/dsa/logs if one runs into this issue when starting out.
I pulled dsarchive/histomicstk:latest and tried to add it in the slicer
cli web plugin settings. Nothing in the interface changes, and there is no
HistomicsTK endpoint I can reach, nor a link to it via large_image files.
I'de imagine HistomicsTK is served off a girder_worker, as per the
diagrams I have seen? I am confused as to how I deploy a web app that
includes the annotation tools of HistomicsTK from the command line,
preferably from a single call to docker-compose.
Can you set me straight?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/digital_slide_archive/issues/115,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFODTQSYQOB6FSUFU4MEETRT3KEVANCNFSM4NNOPXOQ
.

--
David A Gutman, M.D. Ph.D.
Associate Professor of Neurology
Emory University School of Medicine

That endpoint does not work

I have found that if I add it as a pip package in the dsa_girder dockerfile, create a new user, upload a file, convert it to a large image and then click open in HistomicsUI in the collections modal (while cacheing is disabled) I can get to a HistomicsTK-like interface. But it has no analyses functionality, such as color deconvolution.

You can install different algorithms via the slicer_cli_web plugin settings page.  Specifically, you can install HistomicsTK algorithms like so:

specifying the name of the docker image (dsarchive/histomicstk:latest) and clicking import.
After this finishes, the next time you got to the HistomicsUI interface and load an image, you'll see the Analyses menu which will have the HistomicsTK algorithms.

That isn't working for me

Bad user?

I ran compose with:
DSA_PORT=8080 CURRENT_UID=1000:1000 docker-compose up

Does it work for you if you use the ansible/deploy_docker.py script rather than docker-compose?
We create docker containers to run algorithms, and it sounds like the user inside the docker container doesn't have the right permissions to access the docker daemon and create a container.  The deploy_docker.py program does some things to try to alleviate these issues -- for instance, the user id within the main dsa container might be in a group that isn't the docker group outside of the container.

Also this inside worker.log:
[2020-05-29 19:16:23,629: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@rabbitmq:5672//: [Errno 111] Connection refused.
Trying again in 4.00 seconds... (2/100)

HistomicsTK loads but the menu item doesn't show up

Did you install the HistomicsTK algorithms via the slicer_cli_web plugin settings page?

Traceback (most recent call last):
  File "/opt/slicer_cli_web/slicer_cli_web/image_job.py", line 309, in getCliData
    cli_desc = getDockerOutput(name, '%s --%s' % (key, desc_type), client)
  File "/opt/slicer_cli_web/slicer_cli_web/image_job.py", line 294, in getDockerOutput
    'Attempt to docker run %s %s failed' % (imgName, command), imgName)
slicer_cli_web.models.exceptions.DockerImageError: Attempt to docker run dsarchive/histomicstk:latest NucleiClassification --xml failed (image name: dsarchive/histomicstk:latest )
Additional info:
  Request URL: GET /
  Query string:
  Remote IP: <IP_ADDRESS>
  Request UID: [none]
[2020-05-29 20:25:30,336] ERROR: Error getting dsarchive/histomicstk:latest cli data from image
Traceback (most recent call last):
  File "/opt/slicer_cli_web/slicer_cli_web/image_job.py", line 309, in getCliData
    cli_desc = getDockerOutput(name, '%s --%s' % (key, desc_type), client)
  File "/opt/slicer_cli_web/slicer_cli_web/image_job.py", line 294, in getDockerOutput
    'Attempt to docker run %s %s failed' % (imgName, command), imgName)
slicer_cli_web.models.exceptions.DockerImageError: Attempt to docker run dsarchive/histomicstk:latest NucleiClassification --xml failed (image name: dsarchive/histomicstk:latest )
Additional info:
  Request URL: GET /
  Query string:
  Remote IP: <IP_ADDRESS>
  Request UID: [none]

dsa doesn't like the image

Not sure what else I should try.

I run this:
master ▶ docker run dsarchive/histomicstk:latest NucleiClassification --xml
Traceback (most recent call last):
  File "NucleiClassification/NucleiClassification.py", line 7, in <module>
    from sklearn.externals import joblib
ImportError: cannot import name 'joblib'

I submitted an issue on the histomicstk repo

Thanks.  scikit-learn "unvendored" a dependency in the last month, causing this problem.  HistomicsTK has been updated to handle it, and new a docker image automatically was published.  Please confirm if this is now working for you.

Confirmed, it works now.

Hi! Just yesterday I deployed DSA via docker-compose and faced the same issue trying to install HistomicsTK.
Started to Load Docker images
Failed to create the Docker Client
Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))
Error with job
 Could not create the docker client (image name: None )

Any suggestions?

It sounds like a docker configuration issue.  Can you use docker on your machine?  Do docker --version and docker ps -a both work?

I will do it definitely.
For now I successfully solved it deploying with ansible.


Repro function saved from FX graph is segmented again when passed back to torch.compile

Note: If you have a model or program that is not supported yet but should be, please use the program coverage template.
🐛 Bug
In the saved reproducer function, since it's already processed by dynamo, it's possible that there are some dynamo operators such as torch.amp.autocast_mode._enter_autocast. If we pass this repro function into torch.compile again, it creates graph-break on this kind of operator, which can result in slower perf for torch.compile case.
To Reproduce
import torch
from thunder.dynamo import ThunderCompiler

def test_autocast():
    x = torch.rand(2, 2, device="cuda", requires_grad=True)

    backend = ThunderCompiler()

    def func(x):
        x = x + 2
        with torch.autocast("cuda"):
            y = torch.sin(x)
            return y

    cfunc = torch.compile(func, backend=backend)
    actual = cfunc(x)
    backend.save_reproducer_to_folder("repro")

Run the above script it produces repro function as follows, we modifies it to print out the graph break information:
import torch
def test_graph0_thunder_0():
    class DynamoModule(torch.nn.Module):
      def forward(self, l_x_ : torch.Tensor):
          x = l_x_ + 2;  l_x_ = None
          _enter_autocast = torch.amp.autocast_mode._enter_autocast('cuda', None, True, None)
          y = torch.sin(x);  x = None
          _exit_autocast = torch.amp.autocast_mode._exit_autocast(_enter_autocast);  _enter_autocast = _exit_autocast = None
          return y

    inputs = [
        torch.testing.make_tensor((2, 2), dtype=torch.float32,  device='cuda:0', requires_grad=True, low=0.32686540484428406, high=0.8776439428329468,).as_strided((2, 2), (2, 1)),

    ]

    mod = DynamoModule()
    exp = torch._dynamo.explain(mod)(*inputs)
    print(exp)

Graph Count: 2
Graph Break Count: 1
Op Count: 2
Break Reasons:
  Break Reason 1:
    Reason: torch.* op returned non-Tensor autocast call_function <function _enter_autocast at 0x76ad30d6d8a0>
    User Stack:
      <FrameSummary file /wayan/lightning-thunder/tmp.py, line 30 in forward>
  Break Reason 2:
    Reason: call_function args: AutocastModeVariable()
    User Stack:
      <FrameSummary file /wayan/lightning-thunder/tmp.py, line 32 in torch_dynamo_resume_in_forward_at_30>
Ops per Graph:
  Ops 1:
    <built-in function add>
  Ops 2:
    <built-in method sin of type object at 0x76ae6a584380>

Possible solution
Instead of using torch.compile(), we can try to pass the repro function directly to the inductor
import torch
def test_graph0_thunder_0():
    class DynamoModule(torch.nn.Module):
      def forward(self, l_x_ : torch.Tensor):
          x = l_x_ + 2;  l_x_ = None
          _enter_autocast = torch.amp.autocast_mode._enter_autocast('cuda', None, True, None)
          y = torch.sin(x);  x = None
          _exit_autocast = torch.amp.autocast_mode._exit_autocast(_enter_autocast);  _enter_autocast = _exit_autocast = None
          return y

    inputs = [
        torch.testing.make_tensor((2, 2), dtype=torch.float32,  device='cuda:0', requires_grad=True, low=0.32686540484428406, high=0.8776439428329468,).as_strided((2, 2), (2, 1)),

    ]

    mod = DynamoModule()
    # compiled = torch.compile(mod)
    # compiled(*inputs)
    from torch._inductor.compile_fx import compile_fx
    from torch.fx import symbolic_trace
    fx_graph = symbolic_trace(mod)
    compiled = compile_fx(fx_graph, inputs)
    compiled(*inputs)

cc: @kshitij12345 @mruberry @IvanYashchuk
cc @crcrpar @apaz-cli

Great issue, @kiya00! What a pain that it graph breaks on the code it generated!

Yeah, I didn't realize that before. When I tested the repro function of HF models on torch.compile backend, it runs very slow because of the graph break, here are some comparison results (and the repro script for each model is in here)
Do you think it's OK to use torch._inductor.compile_fx instead of the torch.compile to get some comparable results when benchmarking the repro function?

Yeah, I didn't realize that before. When I tested the repro function of HF models on torch.compile backend, it runs very slow because of the graph break, here are some comparison results (and the repro script for each model is in here)
@mruberry Do you think it's OK to use torch._inductor.compile_fx instead of the torch.compile to get some comparable results when benchmarking the repro function?

I think so, although @IvanYashchuk  or @kshitij12345 may have some ideas. What differences do you think there would be? We can certainly use torch._inductor.compile_fx for now if you think it's best, and then review alternatives together later.

I was wondering if using torch.compiler.allow_in_graph will work. It is used to treat the function as opaque to dynamo. If it works, then probably using this would be better as it is a public API otherwise torch._inductor.compile_fx sounds good to me.
Ref: https://pytorch.org/docs/stable/generated/torch.compiler.allow_in_graph.html

import torch

def forward(l_x_ : torch.Tensor):
    x = l_x_ + 2;  l_x_ = None
    _enter_autocast = torch.amp.autocast_mode._enter_autocast('cuda', None, True, None)
    y = torch.sin(x);  x = None
    _exit_autocast = torch.amp.autocast_mode._exit_autocast(_enter_autocast);  _enter_autocast = _exit_autocast = None
    return y

torch.compiler.allow_in_graph(forward)
# torch.compiler.allow_in_graph([torch.amp.autocast_mode._enter_autocast, torch.amp.autocast_mode._exit_autocast])
cfunc = torch.compile(forward)

x = torch.rand(2, 2, device="cuda", requires_grad=True)
cfunc(x)

The graph still breaks with allow_in_graph

In that case, torch._inductor.compile_fx sounds good for now. Thanks for checking, @kiya00


feat(RESTJSONErrorCodes): add error 50132

Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

https://github.com/discord/discord-api-docs/pull/5125

This needs a rebase


Add CI test to confirm empty inventory

It's too easy to accidentally commit an inventory that has a server listed, so write a test to prevent it (and remove my inventory entry). Also confirm the ansible-lint step into its own ci script instead of a raw command.

This looks good to me. My only thought on the inventory thing is an alternative is to create an inventory template file (eg inventory.example) with the comment in it, and then add the inventory file to the .gitignore for the repository. It would solve the accidental check-in project and allow you to safely to a git commit -a without accidentally including it.

Thank you - great suggestion. I'll update the PR.

Closing this - will reopen another one with the changes given there’s nothing to reuse in this branch.


Arduino - decoding SAS key

I am running on beta 3 of Azure SDK C with latest update from Arduino on Windows 11. If I use the example of the Sketch library to connect to Azure IoT Central I get this message as output of the device:
19:18:36.381 -> 2022/3/17 18:18:36 [INFO] WiFi connected, IP address: <IP_ADDRESS>
19:18:36.381 -> 2022/3/17 18:18:36 [ERROR] Failed decoding SAS key.
19:18:36.381 -> 2022/3/17 18:18:36 [ERROR] Failed creating mqtt password for DPS connection.
19:18:36.381 -> 2022/3/17 18:18:36 [ERROR] Failed initializing MQTT client.
19:18:36.381 -> 2022/3/17 18:18:36 [ERROR] Azure IoT client is in error state.
I know for sure that the SAS key is correct. any idea what I am doing wrong? I am using the SAS key from Security/ SAS IoT Devices in IoT Central.

The primary key. But do I need to create a device in advance? I thought with PnP the device would automatically be provisioned with the right template. (also if I see the code). I think your screenshot is also from the IoT Hub, I am using IoT Central from the SDK example library.

Ahh I see. Interesting...to be honest I haven't tried this method of connecting devices. It looks like the key in this case is much longer than just the individual device. I'm guessing some buffer isn't large enough in our code to accommodate the larger key. Let me double check on this.

Ok! So your advice is to create a device in IoT central and put the device ID and SAS key of the device in the Arduino example? I am not at home now to test this/ will be later tonight
Get Outlook for iOShttps://aka.ms/o0ukef

From: Dane Walton @.>
Sent: Thursday, March 17, 2022 8:35:16 PM
To: Azure/azure-sdk-for-c @.>
Cc: Remco Ploeg @.>; Mention @.>
Subject: Re: [Azure/azure-sdk-for-c] Arduino - decoding SAS key (Issue #2153)
Ahh I see. Interesting...to be honest I haven't tried this method of connecting devices. It looks like the key in this case is much longer than just the individual device. I'm guessing some buffer isn't large enough in our code to accommodate the larger key. Let me double check on this.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-c%2Fissues%2F2153%23issuecomment-1071268191&data=04|01||6c74b58d161f4e2c6f5a08da084d43de|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637831425179937901|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=nZKk1BDj%2BIadBqJmBTjbj7fnEc80S257PcAo8zGmhv4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL3SSDKRSPCHGE6P63TWHDTVAOCPJANCNFSM5Q7U34AQ&data=04|01||6c74b58d161f4e2c6f5a08da084d43de|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637831425179937901|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=dUjObRtctTeh%2BJD%2B8bW0aE7Y5XWxIiR5nMHCNzyyv4U%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||6c74b58d161f4e2c6f5a08da084d43de|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637831425179937901|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=YXJOzWzVXu%2BYJwMEutOXJqbXwUCctlpEAiEBa3%2Bv%2F0A%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||6c74b58d161f4e2c6f5a08da084d43de|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637831425179937901|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=6LlxbKoxH694uaxq%2Bz3rX308qY9orNcCzrUd1CwYWck%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

I can confirm if I create a device manually and use the primary key from that created device, it works. I would be great if the other option can also work.

Okay thank you for confirming. Yea I'm guessing we have a buffer size problem considering the size of the key is that much larger. I will make a note of this and get back here with updates.

Okay after a bit of research, it looks like the key which you are using should be used to generate individual SAS keys, not as an authentication itself.
https://docs.microsoft.com/en-us/azure/iot-central/core/concepts-device-authentication#automatically-register-devices
I would recommend going through the Devices->Connect-> method of getting the device auth.

Ok thanks! So in the SDK there is no standard possiblity to create a device (without creating it first in IoT Central) based on the pnp template?

I think this issue is solved. But please let us know if you have any other follow up questions or would like this reopened.


chore: remove refs to deprecated io/ioutil

Description
Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to
related issues, other PRs, or technical references.
Note that by not including a description, you are asking reviewers to do extra work to understand the context of this
change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.
Type of Change
[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)
Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

Hi @testwill, thanks a lot for bringing the issue into attention.
The suggested changes are in a generated go-swagger code, and should not be modified.
When updating the goswagger generator to the latest version (quay.io/goswagger/swagger:v0.27.0 -> quay.io/goswagger/swagger:v0.30.5) the deprecated ioutil ReadAll() is not used anymore.
We'll create a PR to bump quay.io/goswagger/swagger.
Thanks!


[WIP] CNN Why-conv.md

Job d2l-zh/PR-581/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/3 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/4 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/5 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/6 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/7 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/8 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/9 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/10 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/11 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/12 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/13 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/14 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/15 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/16 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/17 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/18 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/19 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/20 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/21 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/

Job d2l-zh/PR-581/22 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-581/


Connection lost when VPN changes server

I'm on Unraid and I'm routing aMule through Gluetun VPN and everything works fine, but when the VPN goes down then after Gluetun has established a new connection then aMule no longer works. No traffic in both directions until it's been restarted, then it gets back working as usual.
I've already tried with Rebuild-DNDC, but since the connection drop lasts 5 seconds when it checks the connection status it's already healty again, so from its point of view there's no need to rebuild the containers routed to the VPN connection.
Any possible solution ? Thanks

You can make a script to check if the VPN has changed (checking the logs of something similar) and restart the aMule container.
I'm closing this issue since it's a network problem.


Fix rounding problem for percentages

Sometimes, rounding percentage values will result in the sum being non-equal to 100%. Search for algorithms to ensure that the sum will always be 100%.

Closed by #159


allow moment 2.13.x

What is reason behind the policy of restricting the wrapper to the latest minor instead of the latest major?

Same issue. Can`t install it. Have an error in composer update

Problem 1
- The requested package bower-asset/moment >=2.8.0 <2.13.0 exists as bower-asset/moment[2.13.0, dev-develop, dev-master, dev-timrwood/babel-and-rollup, dev-timrwood/remove-old-tasks, dev-timrwood/zone-api] but these are rejected by your constraint.
Problem 2
- Installation request for bower-asset/angular-moment 1.0.0-beta.5 -> satisfiable by bower-asset/angular-moment[1.0.0-beta.5].
- bower-asset/angular-moment 1.0.0-beta.5 requires bower-asset/moment >=2.8.0,<2.13.0 -> no matching package found.

my composer.json require section
"minimum-stability": "dev",
"prefer-stable": false,
"require": {
"php": ">=5.6.0",
"yiisoft/yii2": "~2.0.6",
"bower-asset/moment": "2.8.0",
"bower-asset/angular-moment": "1.0.0-beta.5",
"bower-asset/angular": "1.5.",
"bower-asset/angular-route": "1.5.",
"bower-asset/angular-i18n": "*",
"bower-asset/angular-bootstrap": "1.0.3",
"bower-asset/angular-ui-router": "0.2.18",
},

Fixed in 1.0.0-beta.6


Split client configuration per-signal

Endpoints for cloud monitoring are different per-signal.  For example, I would want to use monitoring.googleapis.com for metrics, and tracing.googlapis.com for traces.  Overriding both signals with the same endpoint makes little sense, since it would only work for one signal.
Also, resource mappings should be nested inside monitoring, since it only applies to metrics.

Also, resource mappings should be nested inside monitoring, since it only applies to metrics.

We should support logging resource in the (very near) future.


Type icons in built-in docs' inheritance tree are no longer attached to their class name

Tested versions

Present in v4.3.dev.custom_build [4b6ad3498]
NOT present in 4.2

System information
Windows 10
Issue description
It seems like https://github.com/godotengine/godot/pull/65248 was reverted and I don't know if it's intentional or not. Did I do something wrong, perhaps?
In short, the icons used in the inheritance tree of the built-in documentation can sometimes cut off at the end of the line, with the associated class name on the next line:

This was addressed in https://github.com/godotengine/godot/pull/65248, but for some reason it came back, and it's not exactly pleasant.
To not have someone waste too much time on this, it seems like nothing about the documentation generation has really changed. RichTextLabel seems to ignore the Non-Breaking Space as a... Non-breaking space.
Steps to reproduce
Look at the built-in documentation.
Minimal reproduction project (MRP)
No need.

To not have someone waste some time on this, it seems like nothing about the generation has really changed. RichTextLabel seems to ignore the Non-Breaking Space as a... Non-breaking space.

It seems like #65248 was reverted and I don't know if it's intentional or not. Did I do something wrong, perhaps?

I don't see a revert commit, and the code from #65248 is still present. So it's just another change that broke the behavior, not a revert.
Probably related to changes done by @AThousandShips recently.

My change doesn't seem to touch any of the visible code there so don't think it's related, could be a regression in how the non breaking space is handled

I suspect this might fall under the "complex text layout" caveat for the fallback server, it feels like an advanced feature tbh

Yyeah, possibly suggesting an enhancement here.

So it seems like the TextServerFallback is currently not supporting this kind of character at all. I don't know what to make of it, but it's definitely unusual or a feature that has never existed in the first place.

Oh, this explains it, I'll take a look, non-breaking spaces should not be hard to implement.


Fix help command to properly display executable

The help command did not extend CommandBase and thus the executable name was not interpolated correctly. Copied the help command over from the base help command to be the same, but extended from CommandBase for correct interpolation
Fix platformsh/cli#40

@pjcdawkins I can't put reviewers here, but feel free to take a look when you have time.

@akalipetis You'll probably want to do the same for list to fix platform help list

@pjcdawkins good catch, I don't there's any other left. Feel free to take another look.
Another change in the docs I made was related to the example namespace, instead of platform list test we now display platform list project which makes more sense IMO.


Selecting the right features

I included 61 variables in the algorithm I submitted to the first leaderboard, before cleaning the variables to form 36 predictors. I chose them in a way that is mostly based on intuition.
PreFer_codebook.xlsx
The excel file contains 31667 variables. I scrolled through all of them and selected 351 variables, marked mostly in yellow, that 1) feel possibly relevant to our outcome AND 2) represent the latest version of the relevant concept.
Then, out of the 351 variables, I further picked 61 variables that I feel would be a pity not to include in the algorithm. These variables are marked in red.
There are 4 variables marked in green that I realized after submitting the code that probably should have ended up with the 61.
There are 2 variables marked in grey that I thought would be helpful but unfortunately had zero variance in the training set.
@emilycantrell, do you think it would be a useful exercise for you to download a fresh version of the codebook, do a similar run-through of all the variables, and then compare our results?
In addition to the two of us, we could also try to get ideas about what variables to select from other sources

Let's run a feature selection algorithm on all features to see which ones stand out.
We can ask some professors in our departments about what they would look for if they were to do the prediction challenge.
Ask ChatGPT :)

Another thing is that there are probably better ways to preprocess these variables. I did the following for preprocessing

some basic logical imputation (e.g. one cannot be married with partner if they do not have a partner)
dummy encoded categorical variables
did some scale calculations for variables that are grouped together on the LISS website (see an example of a group of variables here.
I mean imputed all the remaining missingness

If we have the time time, we might want to explore the following:

Can we reduce missingness by combining past and present versions of the same construct?
Combine categories for categorical variables with very small categories.
Check Cronbach's alpha to see if the groups of variables that I current treat as scales do indeed make sense as scales
Do something other than mean-imputation
Decide on how much missingness is too much for us to include a variable as predictor

@HanzhangRen Excellent, thank you!!!

@emilycantrell, do you think it would be a useful exercise for you to download a fresh version of the codebook, do a similar run-through of all the variables, and then compare our results?

Good idea. I briefly scrolled through your spreadsheet just to make sure I understood the gist of what you did, but I did not look at the details of what you chose, so that when I review the variables, it will be an "independent" review.
I think it will be interesting to compare the automated feature selection to the manual feature selection to see how much our choices overlap.
When we time-shift earlier data forward, my ideal would be to time-shift ALL features. However, I learned last year that some features change in the structure of their name, which makes the time-shifting more difficult (since it's harder to identify what the corresponding earlier feature was). I'm going to spend some time to look into the ability to time-shift all features forward, but if it turns out to be too difficult, an alternative is that we can time-shift only the features that we actually plan to feed into the model, after selecting them through either manual or automated feature selection.

did some scale calculations for variables that are grouped together on the LISS website (see an example of a group of variables here.

I love that you made scales!!! And the other data pre-processing also looks great. I'll think about what other data prep we might want to do.

If we have the time time, we might want to explore the following

I agree with everything you listed here.
This week, I am finally back to a normal schedule, so I'm going to start working on creating time-shifted outcome data, and then time-shifted feature data.

The following features that we are currently using don't exist in the time-shifted data. For now I'm creating columns that are all NA for the time-shifted data and then imputing it; I'll return to handle this properly later.
Income questions that were only asked in even-numbered years
We can adjust to code to use corresponding questions from other years for the time-shifted data.
ca20g012
ca20g013
ca20g078
Religiosity question
This was only asked in 2019-2020. We can still use this, it will just have to be imputed for time-shifted cases.
cr20m162
Traditional fertility variables, which were only asked in 2008, 2009, and 2010.
We can't create variables like this for the time-shifted data. We can still use these, they will just have to be imputed for time-shifted cases.
cv10c135
cv10c136
cv10c137
cv10c138

One benefit of the time shift is that now that we have more data, some previously tiny categories in categorical variables have become larger, and I have added the dummy versions of these categories because I think it's potentially helpful. I am using 50 as a threshold for the minimum category size for me to include the dummy.
Previously, I was only able to include employees, freelancers, students, and homemakers as occupation status categories. Now I can include categories for those people who lost their jobs but are currently seeking, as well as people with work disabilities.
Previously, I was only able to distinguish between people with Western and non-Western backgrounds. Now, among people with non-Western backgrounds, I can distinguish between 1st and 2nd generation immigrants. In addition, I noticed that there was a bug that prevented this immigration background variable from being used at all in our last submission, and I fixed that bug.
Previously, I had to merge the lowest 4 categories of education into 1. Now I just need to merge them into 3.

I added some other features that I thought might be useful:
# Gender of first, second, and third child
"cf20m068", "cf20m069", "cf20m070",
# Type of parent to first, second, and third child (bio, step, adoptive, foster)
"cf20m098", "cf20m099", "cf20m100",
# Current partner is biological parent of first, second, third child
"cf20m113", "cf20m114", "cf20m115",
# Satisfaction with relationship
"cf19l180", "cf20m180",
# Satisfaction with family life
"cf19l181", "cf20m181",
I added these features from the partner survey: (see #22)
# Partner survey: fertility expectations in 2020
"cf20m128_PartnerSurvey", "cf20m129_PartnerSurvey", "cf20m130_PartnerSurvey",
# Partner survey: fertility expectations in 2019
"cf19l128_PartnerSurvey", "cf19l129_PartnerSurvey", "cf19l130_PartnerSurvey",
# Partner survey: whether ever had kids
"cf19l454_PartnerSurvey", "cf20m454_PartnerSurvey",
# Partner survey: Number of kids reported in 2019 and 2020
"cf19l455_PartnerSurvey", "cf20m455_PartnerSurvey"
I also included an indicator of whether the partner survey data is non-missing, in case that helps the model differentiate between imputed and non-imputed values. However, I didn't include an indicator for imputation for other variables. We can consider that as something to add in the future, but I suspect it won't make a difference.

I made the following additions:

I constructed variables for when the respondent's most recent child was born. I included this for the respondents themselves in 2018, 19, and 20. I also added this for the partners in 2019 and 2020.
I added a variable about whether the partner has visited a gynecologist.
I augmented the variable about partner birthyear, as reported by the respondent (cf20m026), with background data from the partners themselves.
I added variables about personal income for both the respondent and the partner. If we just include information about household income, we may not be able to capture women's personal economic calculations with regard to foregone wages due to childrearing.
I calculated household income per capita.
I included "partner birth year" and "year relationship began" information from 2018 and 2019, because we have included three years of info for other basic information variables about partners.

The F-1 score for the latest model version is 0.7963717. If I were to remove these additions, the F-1 score is 0.7867618. We seem to observe an improvement of 0.01, but luck may well be involved in all this.
I also removed some variables for at least one of the following reasons: 1) They may be repetitive, and getting rid of them speeds up the code, which is getting quite slow 2) They seem less helpful for predicting the outcome, and not having them may allow the algorithm to focus on more informative features. Here are the features I removed. The total number of features went from 141 to 104:

Data about partner gender
Past fertility intention data up to 2017
Data about child gender
Type of parent (self, biological) for respondents and partner

If I were to revert these subtractions, the F-1 score is 0.7958853. Having fewer variables here seems to result in an improvement of 0.0005, but I think the larger lesson to be drawn here is that we can likely get rid of predictors without compromising performance.
This raises a question: Instead of removing variables by hand, can we rely on an algorithm to do feature selection to result in a more succinct and perhaps more powerful algorithm?
feature_selection.txt
I've attached here some code that I think allows us to do feature selection. I customized a step function for tidymodels recipes called step_feature_selection(). Prepping the recipe means that we take the training set, fit an xgboost model, and then get the top k features as defined by "Gain" in feature importance. Baking the recipe means that we select these top k features, as calculated from the training set, for both the test set.
It appears that this feature selection algorithm underperforms manual feature selection.
Recall that I was able to keep F-1 score stable going from 0.7958853 to 0.7963717 as I take the 141 features we had and reduce them to 104.
If I were to select 104 variables using the code above, F-1 score would decrease to 0.7704959. Automatic feature selection appears to be making things worse.
If I were to start from the 104 features that I hand-picked, and use the algorithm to further reduce the number of features to 90, F-1 score would decrease to 0.7710458.
If I were to further reduce it to k=25, F-1 score would decrease to 0.7698078.
If I were to further reduce it to k=10, F-1 score would decrease be 0.7751638 (the second best pipeline has an F-1 of 0.7613969)
Overall, automatic feature selection appears to be making things worse. There could be some bug with my code, or perhaps my understanding of what these variables mean helped with prediction. I'm not sure which is the case.
Perhaps some algorithm other than xgboost is better suited for the purpose of feature selection?

I also made some additional changes, e.g.

I made sure that all year variables are shifted by 3 years.
I got rid of some categorical variables that are extremely rare (cell size under 50)


Wit asset integration

@OliveGerste: is it Ok to postpone that PR for the next release?

@OliveGerste: is it Ok to postpone that PR for the next release?

Good question. I only know, that the topic is urgent for Monaco.
@LucasBrazi06 What do you think?

@OliveGerste: is it Ok to postpone that PR for the next release?

Good question. I only know, that the topic is urgent for Monaco.
@LucasBrazi06 What do you think?

This PR is not big and should not destabilize the prod, so I'll check and merge it.


corrects #5868  import vis_utils to visualize_util

documentation was out of date on how to import data viz tools for models.
updated the documentation with the new import path and the method name

It's the reverse: your proposed changes are out of date, the current version is up to date.


Enhancement request: add ability to hide private attributes from Variable Explorer Object view

Issue Report Checklist

[X] Searched the issues page for similar reports
[X] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice

Problem Description
When double clicking an object in the Variable Explorer to open the Object Viewer, one can optionally turn on and off Show Special and Show Callable by using buttons in the Object View window.  This request is to add a third option: "Show private".  Any attrs, properties, and methods with a leading underscore would be hidden when this new option is toggled off.
This would be an improvement to reduce visual clutter for viewing classes that have many private attrs.
Versions

Spyder version: 4.2.0

Hi @jbiz25 thanks for the feedback! I think that such filter could be useful. What do you think @spyder-ide/core-developers ?

Yeah, I think that would be particularly useful, and I imagine it should be relatively straightforward to implement.

Sure, it's a pretty nice suggestion, thanks @jbiz25! We'll try to implement it in a future release.

HI guys, thanks very much for the consideration!

Hi @dalthviz @ccordoba12 ...  To add onto this request, I do believe it would be very useful to make it so that when private attrs are being shown, they are placed BELOW the public ones.  As of now, all private attrs are shown at the top.  I build my classes with a fair number of private attrs, and they kind of hide the the public ones on the Variable Explorer.  I am guessing that you alphabetically sort the variables and that this woudl require a tweak so that underscore chars are moved below letters in the sorting algorithm.  Thanks guys!

@jbiz25 I'm not sure how likely this is to get implemented anytime soon; I imagine that instead of special-casing _ we could simply sort all symbols after letters not unsure how generally applicable that change is. For now, is it too much of an inconvenience to simply sort Name by ascending instead of descending, so that they get sorted at the end?


CLI: manage config path and log level with global flags

this PR introduced the usage of global flags to be able to set the path to the config file and the level of the log.
This PR must be merged after #314

thanks @juliusv !


uploadProductFirmware only tests with Buffer, and doesn't test with filename

in the documentation:
options.file Object Path or Buffer of the new firmware file
                             Either a path or Buffer of the file contents in Node, or a File or Blob in the browser.

test parameter appears to only set file to a buffer, and not a path
	file: new Buffer('ELF...'),
discovered because upload with path appears to not work as expected during testing / development.

as far as I can tell, it looks like the source code here starts to think about getting the file data, and then just doesn't (when path is specified)
https://github.com/particle-iot/particle-api-js/blob/master/src/Agent.js#L139-L153
Am I correct in thinking this functionality just wasn't developed, or was maybe dropped at some poinnt?


Make the project description more neutral / inclusive / broader

Describe the bug
As @jaywcjlove  mentioned in #357:

Now we have become very big, Different from the original idea.
Collect premium software in various categories.

To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/jaywcjlove/awesome-mac
See ' This repo is a collection of awesome Mac applications and tools for developers and designers. https://git.io/macx' description that can scare away power users, students, researches, musicians, writers, geeks and other potential, useful community members.

Expected behavior
It would be nice to have something that's friendly to all people who want to use good community approved resources, so we can share this repo or the web app link (https://git.io/macx) and grow even more / become even better.

Good idea!

@heldev This description is very good!

Now we have become very big, Different from the original idea.
Collect premium software in various categories.

Nice 👍
Could you please update the GitHub description too?

@heldev 👌

" Now we have become very big, Different from the original idea. Collect premium software in various categories. git.io/macx"
This is not a good project description. We should do some word-smithing. I'll think about it.

@alichtman 👌


Implement score multiplier

The specified score multiplier for each level does nothing atm.
-> Use the multiplier in the score calculation.

Implemented i f357a44f7e280efd408a0cf528cdb8796d4ac65a


OpenFold Singularity

I try using a Singularity version of OpenFold to run on our cluster, since Docker is not secured for such environment.
I simply built the docker as described:
docker build -t openfold:1.0.0 .

then did:
singularity build openfold_1.0.0.sif docker-daemon:openfold:1.0.0

However, I face an issue when I run it:
singularity run openfold_1.0.0.sif python3 /opt/openfold/run_pretrained_openfold.py --help

I get:
Traceback (most recent call last):
  File "/opt/openfold/run_pretrained_openfold.py", line 34, in <module>
    from openfold.data import templates, feature_pipeline, data_pipeline
ImportError: cannot import name 'templates' from 'openfold.data' (unknown location)

Any idea how I can solve this ?
Thanks for your great tool !

I am not familiar with Singularity setup, but this pretty much seems like a PYTHONPATH issue to me since the Python is not able to find the Openfold code files.
Insert a line in your execution script that adds the OPENFOLD directory to the PATH environment variable.
export OPENFOLD_DIR=
export PYTHONPATH=$PYTHONPATH:$OPENFOLD_DIR
If you provide more details about your system (OS, terminal you are using, etc), I can give you the exact commands.


Test credentials provider update

expose the provider interface and make it possible to override provider, currently only allow setting provider once before the provider is used.
make CreateTestChannel use provider API so that tests like interop client/server and others can override provider to use new credential types.

there are test failures here, but none look obviously related


[eigen3] Update to 3.3.8

Update to 3.3.8
Now CMAKEPACKAGE_INSTALL_DIR and PKGCONFIG_INSTALL_DIR are required by Eigen to be relative paths.

What does your PR fix? Fixes

None.

Which triplets are supported/not supported? Have you updated the CI baseline?

None added/removed.

Does your PR follow the maintainer guide?

Yes.

@aluaces Thanks for your PR. Now ports pcl ceres caffe2 which depend on eigen3 build failed with the following error:
D:\installed\x86-windows\include\eigen3\Eigen\src/Core/products/Parallelizer.h(162): error C2039: 'eigen_assert_exception': is not a member of 'Eigen'
D:\installed\x86-windows\include\eigen3\Eigen\src/Core/GlobalFunctions.h(54): note: see declaration of 'Eigen'
D:\installed\x86-windows\include\eigen3\Eigen\src/Core/products/GeneralMatrixMatrix.h(487): note: see reference to function template instantiation 'void Eigen::internal::parallelize_gemm<true,GemmFunctor,Eigen::EigenBase<Derived>::Index>(const Functor &,Index,Index,Index,bool)' being compiled
        with
        [
            Derived=Eigen::Transpose<Eigen::Map<const ceres::Matrix,0,Eigen::Stride<0,0>>>,
            Functor=GemmFunctor,
            Index=Eigen::EigenBase<Eigen::Transpose<Eigen::Map<const ceres::Matrix,0,Eigen::Stride<0,0>>>>::Index
        ]

Could you continue to fix it? You can download the error log from: https://dev.azure.com/vcpkg/public/_build/results?buildId=44606&view=artifacts&type=publishedArtifacts

Thanks for your fix. Now sophus:x64-windows-static build failed on CI with the following error:
ninja: error: 'D:/installed/x64-windows-static/debug/lib/openblas.lib', needed by 'test/ceres/test_ceres_se3.exe', missing and no known rule to make it

Hi, I cannot replicate the build error of sophus:x64-windows-static on my computer.  I guess that could be related to different BLAS versions.  On my system I have libblas.dll.a and blas.a, but not openblas.lib, because I have lapack-reference installed by default.
I will try to build openblas instead, but I wanted to know if the CI is using it.

Hi @aluaces
Could you please resolve the conflicts?

Ping @aluaces for response,
is work still being done for this PR?

Yes, I cannot replicate the build error of sophus:x64-windows-static on my computer. I guess that could be related to different BLAS versions. On my system I have libblas.dll.a and blas.a, but not openblas.lib, because I have lapack-reference installed by default.
I will try to build openblas instead, but I wanted to know if the CI is using it.

@NancyLi1013  isn't this obsolete due to https://github.com/microsoft/vcpkg/pull/15022 ?

@mathisloge
Thanks for your kindly reminder. eigen3 has been updated to 3.3.9 in vcpkg now.
So this PR is not needed any more.
Closing this PR in flavor of #15022.


[test-case-reporting] Define JS models & DB tables

/cc @rcebulko
Part of #881

In addition to the database initialization, in a separate PR also attached to this issue it would be useful to define the Typescript interfaces for our first-class citizens (ie. Build, Job, TestRun). This will make it easy to interface between the JS and DB later on.


Update stg_stripe__balance_transaction.sql

adding payout_id
Please provide your name and company
Link the issue/feature request which this PR is meant to address

Detail what changes this PR introduces and how this addresses the issue/feature request linked above.
How did you validate the changes introduced within this PR?
Which warehouse did you use to develop these changes?
Did you update the CHANGELOG?

[ ] Yes

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[ ] Yes

Typically there are additional maintenance changes required before this will be ready for an upcoming release. Are you comfortable with the Fivetran team making a few commits directly to your branch?

[ ] Yes
[ ] No

If you had to summarize this PR in an emoji, which would it be?

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.
PR Template

Community Pull Request Template (default)

Maintainer Pull Request Template (to be used by maintainers)

HI @lord-skinner thanks for opening this PR!
It looks like here you're adding payout_id to the balance transaction staging model. Would you be able to share a bit about the reason for this suggested addition and how you're looking to leverage this field? Would you imagine this field should be included in any downstream models (within dbt_stripe) or is this suggested addition intended only for the staging model?

cc: @rohilla-anuj


Improve README.me on pt_BR providers section

The Faker\Provider\pt_BR\Person was wrong since cnpj isn't a valid Person attribute. Move it to Faker\Provider\pt_BR\Company provider and create it.

Thanks!


Move ownership of metrics and limitEnforcer to the api type.

Enable const variants of some const-safe jsg functions.
Move ownership of metrics and limitEnforcer to the api type.
This PR has no real function and should not change anything of itself.
Instead it's just another part of the work to enable python isolate pools.
This PR does some cleanup that will later enable us to create an isolate without the data that only becomes available once we have a request.
There is also a corresponding internal PR 9105

Nice! Ownership changes look good. One tiny change seems to be to when we call customizeIsolate, but that likely isn't problematic. So LGTM!

Yep you're right, that change is indeed intended, we're going to be using this isolate before we have an Isolate class wrapping it, we need it to have a limit enforcer tied to it. I would argue the previous location was just incorrect but since the constructors were always called one after the other in quick succession it never mattered.


BUG - Bloxstrap opening themself in Chromium based browser process

I noticed that bloxstrap does something that is a little unusual for an application ie it opens in the same process as the browser and doesn't behave like roblox. Which it doesn't do that at all it just creates a separate process and doesn't plug into the browser like some spyware. After further investigation it appears that Bloxstrap only does this when the browser is based on the Chromium engine (This was tested on: Opera GX, Microsoft Edge Beta Preview and on Google Chrome) and it does not do so in the case of the Firefox browser. I recorded this phenomenon in the recording below in the following recording I used 3 browsers based on this engine and one on Gekko engine and the software I used to monitor the processes was Process Monitor from SysInternals.
Video:
https://github.com/pizzaboxer/bloxstrap/assets/43276401/7e54077b-22d4-43a9-9259-31b71c72f06f

I don't get it, what is this trying to prove? Isn't that just how browsers launch applications?

This is intended behavior, you are launching from the browser, so the browser is launching it. Does this affect gameplay or usage at all?

It's not "plugging into the browser", procexp is showing that it was started from the browser process.
So how do you explain that since ROBLOX uses its original bootstraper roblox starting as a separate process and cannot be found in the browser process?
Does this affect gameplay or usage at all?
So it affects the performance and convenience when roblox hangs because then I do not have to dig into what process it is hidden and sometimes it happens that after closing the viewer roblox just closes because the viewer process is clogged.

So how do you explain that since ROBLOX uses its original bootstraper roblox starting as a separate process and cannot be found in the browser process?

...but it does?

Malware would run regardless of whether it is in a separate process or not...


Service pull config

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


Add doc

Add js-doc for new wechaty
see https://github.com/Chatie/wechaty-getting-started/issues/23
The full doc can be seen: https://qhduan.github.io/wechaty-doc/#/
Still, have the following functions need to be add, may need @zixia do:

[x] Message.age()
[x] Message.toFileBox()
[x] Room.qrcode()

Still have the following small bug due to docsify:

[x] Rewrite the sequence of the left sidebar
[x] Contact sidebar has definition submenu
[x] Function return type have different color type
[x] PuppetName should in wechaty file but it was build in message file
[x] docsify markdown table bug

Message.age()
Returns the message age in seconds.
For example, the message is sent at time 8:43:01, and when we received it in Wechaty, the time is 8:43:15, then the age() will return 8:43:15 - 8:43:01 = 14 (seconds)
Message.toFileBox()
Extract the Media File from the Message, and put it into the FileBox.
Room.qrcode()
Get QR Code of the Room from the room, which can be used as scan and join the room.

Did you follow all my reviews? If not, which one had been skipped, and why?
Please leave message by replying the PR and let me know what you did in your lastest commits.

Yes, I follow all my reviews and change all as you request besides the following 3 things:

not totally agree with @ignore part as you said here

here you said add a link to wechaty wiki. But I have the following questions:

I agree with this suggestion but doesn't think clearly about how to add, because you just delete this and I don't know when you delete this. Then if I add something like this to the wiki, if anyone deletes this it may cause link error. But I didn't find a good solution to this.

here you said I should move wechaty-getting-started wiki to wechaty wiki, but I want to classify the wiki faq as what I did in wechaty-getting-started,  and show as doc faq showed. But I don't know whether it is allowed to classify at wechaty wiki. Maybe will better, maybe will more confuse, not very sure.

No, you missed some of those, like remove the docs/index.md at https://github.com/Chatie/wechaty/pull/1458#pullrequestreview-136093069

Yes, you are right. I agree with you.
After we finish the 3 discussions, I will remove the docs/index.md because the latest online doc depends on this branch file.

No need to discuss anymore.
Please just remove that file and I'll merge it.

I remove that file and you can merge it.

Thank you very much for the great JSDoc!


Mostly styles, some functionality improvements

Closed in favor of : https://github.com/slackernews/slackernews/pull/22
warming up, exploring some styling improvements, fixing breadcrumbs and other admin pages
https://www.loom.com/share/078d4dcbfa1a4c1d9d8dcb33c56f2341

improve breadcrumbs w/ links and child pages
Removed unused statements where I found them
restyled integrations page because it looked really crowded

Style updates
Bringing in https://www.radix-ui.com/ as a bootstrap alternative, although currently only using their flexbox / layout primitives.
Would like to consider replacing bootstrap and using this across the admin, or the whole site, but will hold off on that pending feedback / priorities.

Closing in favor of https://github.com/slackernews/slackernews/pull/22


About change in openssl/openssl

I add LoongArch target to openssl/openssl [3.0]: openssl#18807
I want to add openssl-loongarch64 into nodejs
So how to add this patch into quictls/openssl ?
Cheers~

If it was put into the openssl-3.0 branch, then when openssl-3.0r is tagged, it will be pulled in.
We only pull from upstream on tags.

OK, thanks~


Upload src file

Uploading src file will open way to contribute :D

I want to get some of the kinks out first and need to create some time in my schedule to handle pull requests.
Anyway, it's on the backlog :)


[SPARK-12040][PYSPARK][MLLIB] add toJson & fromJson to Vectors in PySpark

Add toJson/fromJson to Vectors for PySpark, please refer the Scala one SPARK-11766.

cc @yanboliang who created the Jira

Test build #47078 has started for PR 10106 at commit bd78647.

Test build #47078 has finished for PR 10106 at commit bd78647.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47078/
Test FAILed.

Test build #47082 has started for PR 10106 at commit c9730f3.

Test build #47082 has finished for PR 10106 at commit c9730f3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47082/
Test PASSed.

Merged build finished. Test PASSed.

re-ping @yanboliang / @jkbradley  if you've got some time to look at this perhaps (or if this isn't needed should we close the JIRA as won't fix)?

Test build #48494 has started for PR 10106 at commit 40de351.

Test build #48494 has finished for PR 10106 at commit 40de351.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48494/
Test PASSed.

@holdenk I do think we should close this since it isn't needed right now, but please ping if it becomes necessary.  Thanks!

Cool - I'll go ahead and close the JIRA was "won't fix" for now as well then.

oh jira already closed. excellent :)


Cap the number of gaps in lists that might contain gaps

The lists being:

sentmap
quicly_ranges_t - used for stream-level received range list (quicly_recvstate_t::received), etc.

Quicly should log and close connection when the number of gaps reaches the threshold.

Below are the objects that might contain unbounded number of gaps, the severity, and the action that should be taken when the number of gaps becomes greater than the thresholds. Each object should have their (possibly) hard-coded thresholds.

object
action
severity

quicly_pnspace_t::ack_queue
drop old ones1
high

quicly_recvstate_t::received
close the connection
high

quicly_sendstate_t::acked
drop ones with larger offsets
low

quicly_conn_t::egress.sentmap
drop old ones
deferred

quicly_sendstate_t::pending
- (capped by the limits of quicly_sendstate_t::acked)
-

1: Should also send PING, when the number of gaps reaches a different threshold that is smaller than the threshold that causes old ranges to be dropped.

@janaiyengar Does the table look correct to you?

A few clarifications:

Did you mean to add quicly_recvstate_t::recvstate instead of quicly_recvstate_t::received?
Did you mean quicly_sendstate_t::sendstate instead of quicly_sendstate_t::acked?
On egress.sentmap, the old ones are still unacked outstanding packets, right? If so, dropping them doesn't make sense. I think this should cause the connection to close.
Which one is pending?
How are you determining the severity?

Did you mean to add quicly_recvstate_t::recvstate instead of quicly_recvstate_t::received?
Did you mean quicly_sendstate_t::sendstate instead of quicly_sendstate_t::acked?
Which one is pending?

I meant the ones I stated. received which is a member of quicly_recvstate_t, and acked, pending which are nembers of quicly_sendstate_t. I used type::member notation of C++.

On egress.sentmap, the old ones are still unacked outstanding packets, right? If so, dropping them doesn't make sense. I think this should cause the connection to close.

Yes, they are unacked outstanding packets, and I am not sure if dropping them doesn't make sense. Would you mind elaborating?
We drop information of unacked outstanding packets after 3 PTO. That can sometimes happen earlier than that. Though, ... (see below).

How are you determining the severity?

The ones that are easy to trigger are marked "high."
Attack on quicly_sendstate__t::acked is marked low, because the attack is much more difficult, due to the fact that how the STREAM frames are sent is controlled by us. The attack vector is by choosing what to ack (rather than just sending something).
Attack on quicly_conn_t::egress.sentmap is marked deferred, as I am not sure if there is a security concern here, because it is my understanding that the number of packets being sent within every RTT will be reduced when there is a potential loss.

Discussed with @janaiyengar, and agreed to do the following.
We will have two watermarks for the number of ranges in quicly_pn_space::ack_queue. When we hit the low watermark, we'd send ACK+PING (maybe periodically). When we hit the high watermark, we'd drop incoming packets, while sending ACK+PING (where that ACK carries the PNs that have been received prior to the dropped packet). For quicly_recvstate_t::received, quicly_sendstate_t::acked, quicly_sendstate_t::pending, we would have hard-coded limits. We will close the connection when the number of ranges exceed those limits.
The intention is to limit the state we maintain at the cost of reducing speed when we hit an extraordinary condition. We would also log such conditions, so that we can see if we are actually hitting them.
Finally, we agreed that we do not need a limit for the number of entries in quicly_conn_t::egress.sentmap, as the addition to the sentmap is controlled by us. Rather, we need a defense against an optimistic ACK attack, for which we would skip every one packet number out of 256 packets we send. We'd register that packet number into the sentmap so that we can detect an attacker and close the connection.


How to rewrite request/response

Is there any examples of creating a handler that can rewrite the request or response as it passes through the proxy?
Is this something I should request on #45?

There is no such function to inject handlers now. The API interface is straightforward. I will consider add more features to the library


Select chart components from the events table

Select corresponding chart components from the events table.
Clicking on a line in the events table will cause a chart like "Thread
Status" to scroll vertically to the row which has the element that
corresponds to the clicked event.
Only works if the events contains matching information about start time,
PID, TID or unique process name.
This PR requires the following pull requests:

Incubator PR
tsp-typescript-client PR

https://user-images.githubusercontent.com/88502808/167218470-4d17f54a-1fc8-436a-b5bc-aeea0a34cbde.mp4
Signed-off-by: Rodrigo Pinto<EMAIL_ADDRESS>

This PR is moved to #760.


Support CUSTOM shader attributes in 2D

Closes: https://github.com/godotengine/godot-proposals/issues/6703
A general summary of changes:

The vertex shader attributes CUSTOM0, CUSTOM1, CUSTOM2, CUSTOM3 are now supported for canvas item shaders for the Forward+ and Mobile renderers
The vertex shader attributes CUSTOM0, CUSTOM1 are supported for canvas item shaders for the Compatibility renderer

The reason only CUSTOM0, CUSTOM1 is supported for OpenGL ES 3, is I don't perceive the complexity behind reorganizing these attributes in the code as worth the maintenance it would require for the change. The assumption here is the attribute layout slots 14, 15 should exist under the minimum GL specification, so all of the slots are shifted down to make use of that. You can read more about this in the proposal linked above.
Sample project:
CanvasShaderTest.zip

I haven't been able to take a deep look, but I was reminded of this while looking through the spec for something else. The spec guarantees that at least 16 vertex attribute slots will be available. You seem to have mixed up vertex attributes and varyings (vertex output to the fragment shader).
This means you have one more slot to play with than before!

Updated to move the gles3 attributes down 1 more slot.

@clayjohn @akien-mga
Is there any interest from the core team in supporting this? It's been a while. If not, I'll close.

This looks good to me on principle, but I'd like to have a testing project to make sure this works as expected. Also, this PR needs to be rebased.

Is there anything I can do to help this move forward? I need this for a couple of plugins I'm writing for advanced 2D features.

Is there anything I can do to help this move forward?

Yes https://github.com/godotengine/godot/pull/76276#issuecomment-1712829429

You squashed in a way that took the wrong commit message, and changed the author, because you used merging instead of rebasing, please fix your commit message

This looks good to me on principle, but I'd like to have a testing project to make sure this works as expected. Also, this PR needs to be rebased.

I added a sample project in the description, what specifically are you looking for in a testing project?

You squashed in a way that took the wrong commit message, and changed the author, because you used merging instead of rebasing, please fix your commit message

:pray: forgive me, have not worked in Godot world for a long time

See the PR workflow documentation 🙂

Please rebase onto master to clear up the history, and also use --reset-author to remove invalid authors of the commit 🙂

Please rebase onto master, your history is garbled 🙂, you include a merge commit indirectly

Yeah, the rebase just made it equal to master. I'm just going to manually fix this.

Github doesn't recognize that this branch can be reopened. Continued here: https://github.com/godotengine/godot/pull/86564/files


Dynamic keyboard layout

Instead of compile-time option to configure keyboard layout, it would be great to have it dynamically loaded, and have configuration support, too.
Another advantage is that RIA/VGA UF2 releases could be "agnostic" about this instead of using merican / english default.
And another idea would be to have these keyboard layouts as binary files on the SD card.
This is perhaps too long sighted for now.

Duplicate of #8.


[BUG] device stuck with yellow spinner

Describe the bug
It can happen that a device is stuck with a yellow spinner and the status does not change anymore. You have to either restart the container or change the status yourself in the backend.
I haven't found out yet when this happens. If someone has the same problem and knows a way to reproduce it reliably, please send a step by step guide.

Hello,
When I desactivate windows defender for both private and public networks, only status devices related to windows becomes green!

Hi, thanks for suggesting. However, that is not the problem. The problem is when you wake a device that the status stays yellow forever and does not turn green or red again. Your instructions just allow pinging windows pcs.

should be fixed with https://github.com/seriousm4x/UpSnap/commit/58d497eab1dc12b4176d991af9987cac4adce79c


brew install homebrew/fuse/ntfs-3g fails

==> Installing ntfs-3g from homebrew/fuse
Error: wrong number of arguments (0 for 1..3)
Please report this bug:
  https://github.com/Linuxbrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:57:in `instance_eval'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:57:in `block in satisfied?'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:184:in `block in yielder'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/extend/ENV.rb:25:in `with_build_environment'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:184:in `yielder'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:57:in `satisfied?'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/formula_installer.rb:373:in `block in expand_requirements'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:216:in `block in prune?'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:214:in `catch'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:214:in `prune?'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:205:in `block (2 levels) in expand'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/set.rb:232:in `each_key'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/set.rb:232:in `each'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/dependencies.rb:68:in `each'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:204:in `block in expand'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:203:in `each'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/requirement.rb:203:in `expand'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/formula.rb:1455:in `recursive_requirements'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/formula_installer.rb:361:in `expand_requirements'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/formula_installer.rb:310:in `compute_dependencies'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/formula_installer.rb:135:in `verify_deps_exist'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/formula_installer.rb:128:in `prelude'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/cmd/install.rb:296:in `install_formula'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/cmd/install.rb:160:in `block in install'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/cmd/install.rb:160:in `each'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/cmd/install.rb:160:in `install'
/state/partition1/home/lixn/.linuxbrew/Library/Homebrew/brew.rb:94:in `<main>'

How can I deal with this error ?

homebrew/fuse is not currently a supported tap of Linuxbrew. It would be nice to get it working, but you'll have to either troubleshoot it yourself or find someone to help you troubleshoot it. You could ask over at https://github.com/Homebrew/homebrew-fuse whether they have any interest in support Linuxbrew.


get_object_stream() no longer accepts parameter writer

Describe the bug
This is not actually a bug, but rather lack of functionality in the current beta release that was available in the stable release 0.32.3. Particularly, it seems that it is no longer possible to use tokio::net::UnixStream with get_object_stream().
I need this removed functionality to make rust-s3 inter-operate with an older C++ boost::asio code. C++ cannot use async Rust functions directly, therefore the code leverages UnixStreams that are treated asynchronously at the kernel level.
Below is an excerpt of the affected code.
#[no_mangle]
#[allow(clippy::missing_safety_doc)]
pub unsafe extern "C" fn c_init_object_stream(rt: *const Runtime, write: c_int,
    path: *const c_char) -> *mut StreamHandle
{
    if path.is_null() {
        return std::ptr::null_mut()
    }

    let rt_ref = rt.as_ref().unwrap();

    let (client, server) = init_object_stream();
    let fd = client.as_raw_fd();
    let bucket = get_bucket();
    let path = unsafe { CStr::from_ptr(path).to_str().unwrap().to_owned() };
    let join_handle = rt_ref.spawn(async move {
        let mut server = UnixStream::from_std(server).unwrap();
        let res = if write == 0 {
            get_object(bucket, &mut server, &path).await
        } else {
            put_object(bucket, &mut server, &path).await
        };
        res
    });
    Box::into_raw(Box::new(StreamHandle{
        rt_handle: rt, join_handle: Box::new(join_handle), client: Box::new(client), fd }))
}

where
type StdUnixStream = std::os::unix::net::UnixStream;

fn init_object_stream() -> (StdUnixStream, StdUnixStream) {
    let (client, server) = StdUnixStream::pair().unwrap();
    client.set_nonblocking(true).unwrap();
    server.set_nonblocking(true).unwrap();
    (client, server)
}

async fn put_object(bucket: &Bucket, server: &mut UnixStream, path: &str) -> Result<u16, S3Error>
{
    let status = bucket.put_object_stream(server, path).await;
    let status_code = match status {
        Ok(status) => status,
        Err(S3Error::Http(status, _body)) => status,
        Err(_) => 500
    };
    Ok(status_code)
}

async fn get_object(bucket: &Bucket, server: &mut UnixStream, path: &str) -> Result<u16, S3Error>
{
    let status = bucket.get_object_stream(path, server).await;
    let status_code = match status {
        Ok(status) => status,
        Err(S3Error::Http(status, _body)) => status,
        Err(_) => 500
    };
    Ok(status_code)
}

Function c_init_object_stream is synchronous (this is important!): it spawns put_object_stream() or get_object_stream() depending on its 2nd argument. Note that put_object_stream() still accepts UnixStreams in the beta release via parameter reader while get_object_stream() no longer accepts them via parameter writer (called server in the code).
So, basically, I am ok with the new design and appreciate it, except that I need the old get_object_stream() functionality too.
Environment

Rust version: [1.66.1]
lib version [0.33,0-beta5]

Additional context
The old get_object_stream() API is needed to FFI with C/C++.

@lyokha I think [get_object_to_writer](https://github.com/durch/rust-s3/blob/363a669232dda87fd819574be16f08542eed3de5/s3/src/bucket.rs#L824) is what you're after. Underlaying implementation is the same

Thanks! This works. Now I see that the function was just renamed.


⚠ Bofrost.nl has degraded performance

In 722cf40, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1262 ms

Resolved: Bofrost.nl performance has improved in 2b807dc.


[NEW ICON] Neo4j

Skill Name
Neo4j
Why?
Graph Databases are growing
Reference Image

Used by: ebay, Adobe, UBS, Levis


kubefwd does not refresh the oidc token

We're using a ~/.kube/config file with a configuration similar to this:
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: (redacted)
    server: https://api.(redacted)
  name: (redacted)
contexts:
- context:
    cluster: (redacted)
    user: (redacted email)
  name: (redacted)
current-context: (redacted)
kind: Config
preferences: {}
users:
- name: (redacted email address)
  user:
    auth-provider:
      config:
        client-id: (redacted)
        client-secret: (redacted)
        id-token: (redacted)
        idp-issuer-url: https://accounts.google.com/
        refresh-token: (redacted)
      name: oidc

While kubectl has no issue using it (and refreshing it every hour or so), with kubefwd we observed that after id_token expires it is not refreshed.
The workaround is calling kubectl manually, but any chance this functionality can be added to kubefwd?

I tried to simulate it, but my OIDC token gets refreshed. Furthermore I believe the token refresh functionality is implemented in kubernetes/client-go. @alexef Can you please check what kubefwd version do you have?

I can not reproduce this issue without more information. Seems to be working for others as well.

I know this is closed, but I started using kubefwd and am having the same problem.  .   I'm using 1.18.0 version of kubefwd on windows.  Not sure it matters, but using AKS 1.18.14 with integrated AAD.

@davejhahn kubefwd uses the official kubernetes/client-go. There is a section in readme client-go#whats-included listing the plugin/pkg/client/auth packages containing optional authentication plugins for obtaining credentials from external sources.
https://github.com/kubernetes/client-go/tree/master/plugin/pkg/client/auth
I don't see specific instructions for enabling these but I can take a deeper look this weekend unless you can point me to a good example. Thanks!


Reconstructing the project files when CP-Nav is active trigger an error

Describe the bug
Using Craft 4.x, when I try to reload the project files from the 'reload all' button in the "Config project" of the utilities panel, an error occur and the process fail.
In the log:
2022-07-21 12:04:15 [web.ERROR] [yii\base\ErrorException:2] yii\base\ErrorException: Undefined array key "permissions" in /myproject/dev/vendor/verbb/cp-nav/src/services/Layouts.php:159
When the CP-Nav is inactive, the issue does not occur.
Best,
Steps to reproduce

reload the project files
an error occur

Craft CMS version
Craft Pro <IP_ADDRESS>
Plugin version
4.0.3
Multi-site?
No
Additional context
No response

Fixed in 4.0.4


reference to peninsula case needs updating

The reference to the original peninsula testcase (in the comments op peninsula.py) should be
"""Grid representing the flow field around an idealised peninsula.

The original test description can be found in Fig. 2.2.3 in:
North, E. W., Gallego, A., Petitgas, P. (Eds). 2009. Manual of recommended practices
for modelling physical - biological interactions during fish early life.
ICES Cooperative Research Report No. 295. 111 pp.
http://archimer.ifremer.fr/doc/00157/26792/24888.pdf"""

Addressed now in example-peninsula branch.


the prefix params is not support ?

the prefix params is not support ?

Closing since this issue isn't clear at all. Feel free to open a new ticket and properly describe your issue.


bug(mat-select): Span inside of mat-select-trigger causes height to change by 1px

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Using <mat-select-trigger> with an inner span causes the element's height to change by 1px.
More precisely, in an example like this (taken from the website):
    <mat-select-trigger>
      {{toppings.value?.[0] || ''}}
      @if ((toppings.value?.length || 0) > 1) {

          (+{{(toppings.value?.length || 0) - 1}} {{toppings.value?.length === 2 ? 'other' : 'others'}})

      }
    </mat-select-trigger>

That  portion will, when rendered, cause the size of the select box to grow by 1px.
Reproduction
StackBlitz link: https://stackblitz.com/edit/33iirb?file=package.json
Steps to reproduce:

The bug can be seen in the Angular Material's example - https://material.angular.io/components/select/overview#customizing-the-trigger-label - the above StackBlitz is the same one from the example.
Expand the select box and select multiple items to make the "(+2 items)" span appear. Notice that the select box grows by 1px when this happens.

Expected Behavior
It should stay the same size.
If there's some sort of CSS rules/something that needs to apply to keep this the same size, that should be demonstrated in the example on the website.
Actual Behavior
It make's the page content bob up and down by 1px when the span is shown/hidden.
Environment

Angular: 19.0
CDK/Material: 18.2.4
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Tested on Fedora and Ubuntu

You can fix it by setting line-height: 1 on the span. I've sent a fix at #29746.


NSInternalInconsistencyException with multi section tableViews

Goals
Back a multi-section tableview from several Results<T> sources, receiving updates from observe
Expected Results
Each section updates independently, changes to one data source don't apply before their observe block is called
Actual Results
Eventually an NSInternalInconsistencyException will be thrown on the tableview.
Steps to Reproduce

Create a tableview with 2 sections
Back each section with a Results<T>
observe each data source
Insert/modify lots of values (delete is probably a problem too, but there's none of that going on in our particular case)
Crash

Code Sample
poc.zip
Version of Realm and Tooling
Realm framework version: 3.0.2
Realm Object Server version: n/a
Xcode version: 9.1
iOS/OSX version: Any (11 currently, but we've seen this crash in 10 as well)
Dependency manager + version: Cocoapods 1.3.1

I tried asking a detailed question on SO about this, but didn't get any decent responses. For reference:
https://stackoverflow.com/questions/47194597/when-are-realm-notifications-delivered-to-main-thread-after-writes-on-a-backgrou

Wondering if anyone has found a solution for this, been keeping my eye on it for several months. It's seemingly impossible to have a realm-backed table with multiple sections in it.
If that's the case, it'd be great to get some official confirmation from the Realm team so we can redesign things accordingly to get past these intermittent crashes.

I've been developing a new iOS app for about 8 months, and gradually getting into more complex scenes and tableviews – eventually running into this problem just like a lot of folks using Realm.
So some observations, and a little workaround that MAY help depending on your circumstances ...
Observations
In my observation, this NSInternalInconsistencyException only seems to arise when my two-or-more Realm-backed sections have the possibility to be mutually affected by a single DB transaction. Most often I think this would mean: multiple Realm collections that use the same underlying model.
So for example, my scenario can be boiled down to something like:
- Section 0: Inspections – filtered to incomplete
- Section 1: Inspections – filtered to complete

You can see what happens here: when ONE inspection gets completed by the user, TWO separate notifications are issued. Because the record needs to move from section 0 to section 1, two separate tableView update blocks are called – and that's where we get into trouble.
Simple workaround
If your app can tolerate losing the smooth row-level animations of dropping cells from 1 section and inserting them into the other ... well you can avoid the crash by simply collapsing two separate subscriptions into one, ignoring Realm's fine-grained notifications, and forcing both sections to reload:
// Note: 'inspections' is the larger collection, underlying both sections

dataSource.inspections.observe { [weak self] _ in
  self?.tableView.reloadSections([0 , 1], with: .automatic)
}

This approach should be expanded to cover as many table sections as could be affected by a single write transaction, of course.
To my eyes, this is fairly brute-forcey, and is only a couple notches better than just running tableView.reloadData(). But the latter is something I've tried to avoid at all costs, since it's essentially the nuclear option.
For my particular app (B2B domain, low requirements for elegant UI animations), this is perfectly adequate for the couple of areas in which I've encountered the problem so far. With any luck maybe it will help somebody else out here.


Update Test Certificates to Expire in Year 2051

Update CI/CD Audit resources (jks)
Update Minio Resources (crt,key)
Update fhir-server trust and key store (p12)
Update fhir-client (p12)
Create build/certificates with documentation on certificates and utility scripts

Closes #1276
Signed-off-by: Paul Bastide<EMAIL_ADDRESS>

Made a few documentation comments, otherwise LGTM.


Monorepo: Check in generated protos

What this PR does / why we need it:

Update bazel_to_go to copy protos not symlink
Generate a manifest of generated files.
Presubmit will ensure that manifest or the files in manifest has not changed.

NONE

@rshriram I have separated this into two commits.
1st one is script change, and 2nd one is purely genfiles.

Do we really want all generated files or just protos? Some files there are not protos at all.

Looks like checking in files into some testdata/ directories (like tools/codegen/pkg/interfacegen/testdata) -- isn't it going to make some tests pass always?  (cc/ @guptasu)

@mandarjog @jmuk What is the motivation to checkin the generated file, can't we generate them on the fly and use symlink anymore ?

@guptasu we are going to check in the generated files, as is described in https://docs.google.com/document/d/1i1PEwx0vHCD9oR5vg1QJqo_8JfQFhwzOdIYarYdH1NI

Beyond the organization, this includes a notable departure around our handling of generated code. To facilitate interop with the existing ecosystem of tools, we’ll begin to commit generated code to source control.

Thanks for doing this - I'll try to get 'dep ensure' working for mixer and istio/istio  after you submit this.


Allow to specify the blueprint xml file which is edited in the blueprint editor

Plus it should be possible to create a new blueprint file

The Blueprint Editor should not be dependent on finding the blueprints at a special location any more (Resources/Blueprints right now)


Fix format strings for exceptions

Fixes #483

FYI: I looked for other instances of this, but didn't see any using this command:
grep -nirE "except .* as" -A 5 * | grep -A 2 -E '(log|print)'


[PE-D][Tester D] Additional input for commands will still run the command [CLEAR and LIST comands]

Attackers may include their code within the clear command and your program will still run it and execute the command. If there is any malicious code added, it may break your application.
Prevent any extra inputs from being executed as it is an invalid command

Labels: type.FeatureFlaw severity.High
original: ryanongwx/ped#2

As indicated in features of our UG: https://ay2324s1-cs2103-t16-2.github.io/tp/UserGuide.html#features

In addition, as input is text-based, no forms of injection attacks will be rendered. No worries, thanks.


Wrong badge shown

Describe the bug
When you complete module Introduction to Azure Storage
https://docs.microsoft.com/en-us/learn/modules/intro-to-data-in-azure/
And then look at your techprofile
https://techprofile.microsoft.com/en-us/username
You see the badge of module Introduction to Azure networking
https://docs.microsoft.com/en-us/learn/modules/intro-to-azure-networking/

@dastaffo Can you take a look at this issue?


Retrieving PooledEngine from EntitySystem

I am currently using ashley as the ECS engine of my desktop game. Since it is a shoot em up one, I decided that PooledEngine comes handy. I have a PlayableCharacterSystem class which manages the user input in order to know when to move or open fire. In the latter case, I need to retrieve the pooled engine through the method getEngine so as to add new entities with the createEntity method, as explained in the documentation. The problem is, getEngine returns a reference to the Engine class, which has no available createEntity method, needed to use pools.
I thought in adding a reference in my EntitySystem class pointing to the main PooledEngine created in my GameScreen class and then initialized in its constructor, however that doesn't feel right at all. Is there any simpler approach?

I've been working on adding serialization support for Ashley and, in order to do that, I needed Engine to support something similar. I added this on the serialization branch.
https://github.com/libgdx/ashley/blob/serialization/ashley/src/com/badlogic/ashley/core/Engine.java#L55
Yo help you out, I could just add that in the main branch. After that gets merged you'd be able to get it from the next snapshot.
I think that's a much cleaner solution.

Great. For now I think I will be using a WeaponFactory or something similar to encapsulate that reference to the PooledEngine object into a class more wide accessible than just a subclassed entity system.

couln't you just cast the Engine reference from getEngine() to PooledEngine?
PooledEngine myEngine = (PooledEngine)getEngine();

That's another possibility, indeed. But isn't casting supposed to be an as expensive as avoidable operation? Given the fact that firing bullets is going to be a very common task, might it affect performance negatively? Either way, I consider the solution proposed by @saltares much more elegant.

Of couse it is more elegant but it requires you to modify the library codebase. My solution is meant to be a quick fix for your problem. @saltares could you also merge in my PR?

Casting is the easiest workaround for now, until I add that createEntity() method to Engine. Will try to get around to that this weekend.
@laubed PR merged.

Added in #227.


Setup Jenkins Jobs for Stress, Scale and Performance tests

Create testbeds
Setup Jenkins Jobs

Jenkins Jobs are ready.
http://cna-storage-jenkins.eng.vmware.com/job/scale-testing/
http://cna-storage-jenkins.eng.vmware.com/job/performance-testing/
http://cna-storage-jenkins.eng.vmware.com/job/stress-testing/
@tusharnt @BaluDontu @pshahzeb
Closing this issue.