Add Point Motion transform

Codecov Report
Attention: Patch coverage is 7.31707% with 38 lines in your changes missing coverage. Please review.

Project coverage is 61.16%. Comparing base (af2610a) to head (543f36a).

Files with missing lines
Patch %
Lines

src/transforms/pointmotion.jl
7.50%
37 Missing :warning:

src/grids.jl
0.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (af2610a) and HEAD (543f36a). Click for more details.
HEAD has 4 uploads less than BASE

Flag
BASE (af2610a)
HEAD (543f36a)

6
2

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
- Coverage   96.77%   61.16%   -35.61%
===========================================
  Files           3        4        +1
  Lines          62      103       +41
===========================================
+ Hits           60       63        +3
- Misses          2       40       +38

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

needs conflict resolution


BEK-only VMs still not supported for Backup.

When we try to backup VM with BEK encrypted, it still throw out error with: Single-Pass encryption is not supported.
can we change the doc as it may confuse customer?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 54252e63-be57-2c49-15fc-b9dc7fdda1b3
Version Independent ID: 30777b2a-604d-ce18-c891-4d272632f039
Content: Back up and restore encrypted VMs by using Azure Backup
Content Source: articles/backup/backup-azure-vms-encryption.md
Service: backup
GitHub Login: @Sogup
Microsoft Alias: sogup

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@LoganZhao , Thank you for raising this issue. Based on your information about the error message, Single-Pass encrypted VM is not supported, we realized there are conditions that require further explanation. We have created an internal tracking bug to update the article with additional information. We'll get this information published as soon as possible. I'm going to request closing this issue, however if you don't see the update in a timely fashion, please re-open the item and ask for status. Thanks again.

#please-close


Modifications & fixes

Added parameter "modelid" for SetVehicleSpawnInfo
Added hook for ChangeVehiclePaintjob
Some semantic fixes

Good job.

Thanks


[REQUEST] Openbullet Selenium Deactivate Headless Mode

Cant find any way deactivate the headless mode of Selenium.
It would be nice if this will be possible in future release

Config > Settings > Puppeteer > Untick "headless"
It should work for both Puppeteer and Selenium

As for the keys you were asking about, there is a link to a list of key names in the block description of the Key Press block, just add the block and then look at the top, there will be a link.


Fixing typo

even with b2clogin.com the path shall represent onmicrosoft.com domain. The Sign-on (redirect) URL shall be https://your-tenant-name.b2clogin.com/your-B2C-tenant-name.*onmicrosoft*.com/oauth2/authresp instead of https://your-tenant-name.b2clogin.com/your-B2C-tenant-name.*b2clogin*.com/oauth2/authresp

@astaykov : Thanks for your contribution! The author, @davidmu1, has been notified to review your proposed change.

This seems to be a duplicate of https://github.com/MicrosoftDocs/azure-docs/pull/17678
#please-close


user_profile_tests update

PR:

add new line in the end of the output
refactor compare function to use reflections

@Yaraslaut Impressive work!


Internal error when sending the serialized message Failed "execute_batch": (<grpc._cython.cygrpc.SendMessageOperation object at 0x...>,)

What version of gRPC and what language are you using?
grpcio [required: >=1.54.2, installed: 1.54.2]
What operating system (Linux, Windows,...) and version?
Fedora 37 (Kernel: Linux 6.1.7-200.fc37.x86_64)
What runtime / compiler are you using (e.g. python version or version of gcc)
python-3.11.1
What did you do?
I'm building a websocket which passes the received audio bytes from a device into a queue then a generator takes slices from that queue and sends them to the Google SpeechAsyncClient, which is using the gRPC protocol.
Because I never received a transcription response, I assumed there was a problem with the data format I was sending, but debugging and going further down the rabbit hole of gRPC, I just found out that the request silently fails and is never sent into the Google Speech-To-Text service. Or there is an error, but I can't really work out what it is because I get a generic error from the CPython code.
In this file: https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_call.py#L481
Catching the error:
        try:
            await self._cython_call.send_serialized_message(serialized_request)
        except cygrpc.InternalError as error:
            print(f"Internal error when sending the serialized message", error)
            await self._raise_for_status()

It fails silently with this error message
E0614 12:55:18.808765880  158402 trace.cc:66]                          Unknown trace var: 'transport_security'
E0614 12:55:19.197828848  158402 compression_filter.cc:114]            CompressMessage: len=36 alg=0 flags=0
2023-06-14 12:55:19,198 app.recordings.entities.streams INFO Sending 3200 chunks for transcribing
E0614 12:55:42.199315481  158402 compression_filter.cc:114]            CompressMessage: len=3203 alg=0 flags=0
Internal error when sending the serialized message Failed "execute_batch": (<grpc._cython.cygrpc.SendMessageOperation object at 0x7ff3c6ec15b0>,)

And searching the web for similarities revealed that there have been a few issues in the past with the exact same error, but nothing that can solve my problem.
Tracing it further, I think it might have something to do with the Batch Operation flags, specifically this line of code doesn't allow the request to be passed on, because the write_flag here is False. Or I I could be completely wrong as my C++ skills are unfortunately not so developed.
Anything else you need to know, ask me and I'll be happy to answer here.
What did you expect to see?
Response received from the Speech-To-Text service server.
What did you see instead?
Errors. :smile:
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?

Hi, in the line where we except InternalError, we should be raising an error, is there no error being raised?
For the cygrpc.InternalError itself, it usually raised when we have some unexpected errors in native/Core code so we'll need more information, can you help provide more logs by adding those environment variables: GRPC_VERBOSITY=debug GRPC_TRACE=all,-timer,-timer_check?

Thank you for the fast response. After some more careful debugging, I discovered that the data was being sent in a different order to the way it was supposed to be sent. And also, I was resetting the gRPC session every 1s, so there was the real issue.
But I still think that silent errors from the C extension shouldn't be throw away, there have to be a way to get them, by an optional flag, or maybe I'm wrong?

I just created a PR, we'll have more logs after the PR merged: https://github.com/grpc/grpc/pull/34148


[2.0-wip] Grid Customization - Important

System: windows firefox 10.
url: http://markdotto.com/bs2/docs/download.html
whatever variables you set for the grid system , you always get a span1=59.99999999px and a span12=940px.
update:
just tested with ie8, same thing for the file.
Firefox 10 stable is ready tomorrow, so maybe this needs some more attention for the launch.

This is resolved and is likely because our remote download was simply out of date.

i think it still is on your website.


Update haproxy package

This PR updates the version of haproxy to 1.8.19

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


Slack messages from "Report a Bug" don't display Korean characters

Any feedback with Korean characters in it sent through the "Report a Bug" menu shows up in Slack as "????". There seems to be an encoding problem on the Android side, as the Review messages show Korean just fine.

The best solution would be to move all the Slack stuff to the server

Problem is with Maoni. Moving to Slack might not be a good idea because it entails a ton of work with Maoni.

Decided to move the text to a separate postMessage call. Uploading the screenshot to the graphQL server is non-trivial and difficult to setup.


channel server down

Describe the bug:
channel server seems be down
Steps To Reproduce:
 curl -sfL https://get.k3s.io | sh -
$ curl -I https://update.k3s.io/v1-release/channels/stable
HTTP/2 503
server: openresty/<IP_ADDRESS>
date: Sat, 14 Nov 2020 09:56:32 GMT
content-type: text/html
content-length: 203
strict-transport-security: max-age=15724800; includeSubDomains
https://update.k3s.io/v1-release/channels/stable

Something similar for me:
[INFO]  Finding release for channel stable
[INFO]  Using stable as release
[INFO]  Downloading hash https://github.com/rancher/k3s/releases/download/stable/sha256sum-arm64.txt
$ curl -I https://github.com/rancher/k3s/releases/download/stable/sha256sum-arm64.txt HTTP/1.1 404 Not Found date: Sat, 14 Nov 2020 10:13:49 GMT content-type: text/plain; charset=utf-8 server: GitHub.com status: 404 Not Found vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With cache-control: no-cache strict-transport-security: max-age=31536000; includeSubdomains; preload x-frame-options: deny x-content-type-options: nosniff x-xss-protection: 1; mode=block referrer-policy: no-referrer-when-downgrade expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"

I have alerted our engineering team to take a look at this, but it may not be resolved until the AM (Pacific time).

Looks to me like the github latest redirect is not working? 0o
https://github.com/rancher/k3s/releases/download/latest/sha256sum-amd64.txt -> 404
https://github.com/rancher/k3s/releases/download/v1.19.3%2Bk3s3/sha256sum-amd64.txt -> works

Working again from Germany:
$ curl -sfL https://get.k3s.io | sh -
[INFO]  Finding release for channel stable
[INFO]  Using v1.19.3+k3s3 as release
[INFO]  Downloading hash https://github.com/rancher/k3s/releases/download/v1.19.3+k3s3/sha256sum-arm64.txt
[INFO]  Downloading binary https://github.com/rancher/k3s/releases/download/v1.19.3+k3s3/k3s-arm64
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s

We were getting 404 errors for the "1.18" release channel. Does anyone know if that's been revoked? @dweomer

Channel server is currently down.

Works now!

works for me - curl -sfL https://get.k3s.io | sh -
kubectl get nodes
NAME     STATUS   ROLES    AGE   VERSION
host01   Ready    master   77s   v1.19.3+k3s3

appears to be up right now..but possibly intermittently down. we're still investigating

we believe we resolved the intermitent issue. we'll keep an eye on it.

Nope, at least latest is not working again

working:  2020-11-15 @ 13:00 CET:
channel: stable => Found.
channel: testing => Found.
channel: latest => Found.
channel: v1.19 => Found.
channel: v1.18 => Found.
channel: v1.17 => Found.

Move to the "To Test" state as we are keeping an eye on it at the moment.

Closing. If this issue occurs again we can reopen the issue.

could not install k3s also with the command line, from Europe, any ways to sort it out ?

could not install k3s also with the command line, from Europe, any ways to sort it out ?

It looks like the redirects are down again.
https://github.com/rancher/k3s/releases/download/stable/sha256sum-amd64.txt


Add sumconnector

This PR replaces https://github.com/signalfx/splunk-otel-collector/pull/5730 due to signature requirements for merges.
cc @greatestusername-splunk

Thanks folks! Got my signing worked out now for future PRs 😅


Add "Turn on display device" option to Compute Instance

At the moment, the option "Turn on display device" is absent in the google-compute-engine-plugin.
I think I could use the Instance template via google cloud console to mitigate this problem.
However, terraform or google deployment manager don't seem to support the option to turn on display if I want to have infra-as-code.

FYI, it is now possible to use terraform to "Turn on display device" using enable_display :
https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#enable_display
resource "google_compute_instance_template" "jenkins-template" {
  name        = "jenkins-template"
  ...
  enable_display = true
  ...
}

I'd love to see the Turn on display device field added in the plugin directly as well!


How to add CodeSandbox to a demo block

I want to add the ability to jump to the CodeSandbox editor in the toolbar of the Demo Block, but right now there are only icons for expanding and collapsing the code. How can I add this feature?

It iscurrently not supported, but we can implemement it! I can work on it when I have time this month.
Contribution is also welcome. This feature should start with changing https://github.com/vitejs/vite-plugin-react-pages/blob/main/packages/theme-doc/src/Layout/Demo/index.tsx . Look contributing.md in this repo for more detailed instruction.


search support omnisearch

search support omnisearch please.
https://github.com/scambier/obsidian-omnisearch

Can you elaborate?
Do you want

Blink to have full text search like omnisearch
Omnisearch to replace Blink as the search button
Omnisearch currently not finding certain things created by make.md that you would like

Thank you for your response。“Omnisearch to replace Blink as the search button”，that's what I wanted


Ability to set log levels by output channel

I been working on an extensions that utilizes the OutputChannel API for logging things into the output view for different log levels such as: INFO, ERROR, etc...
Each of these loggers output independent information from each other, let's call this logger A and logger B. My feature request is the possibility to allow setting an individual log level at a per logger basis, so for example logger A could have a DEBUG level and logger B could have a TRACE level logging occur. This could be further enanced by using the set log level (as it works today) if the log level is not specified for that specific logger upon creation.
This is what I envision this API to look like:
// Case where log level is defined
const outputChannel = vscode.window.createOutputChannel('loggerA', { log: true }, 'DEBUG');

// Case where log level is not defined (will use default log level)
const outputChannel = vscode.window.createOutputChannel('loggerB', { log: true });

And even perhaps add a way to update this later with something like:
outputChannel.setLogLevel('TRACE');

For setting these log level a user can perhaps even use this enumerator from VS Code's docs: https://code.visualstudio.com/api/references/vscode-api#LogLevel

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Adding some additional context here, I noticed the UI allows setting independent log levels through Developer: Set Log Level..., but is also the only way to achieve this. I would love for VS Code to add to it's API for OutputChannel to set this independent log level similar to how this UI allows it!

I would love to see this as well for the following use case: in our VSCode extension we provide a command to start a "Logging session", i.e. start recording what they do with our extension. Once they've reproduced some behavior, users can then click in the status bar to close the session. The log file opens in their OS browser and then they can just drag and drop it into a GitHub issue.
The problem is that we want to set the log level when starting the session. Right now, I do a
await vscode.commands.executeCommand('workbench.action.setLogLevel');

But this means that we have to tell users what they have to do after using our command by means of a Readme or other documentation, e.g. "Then search for <your-extension-name> and click on Trace as debug level". And this is cumbersome.


Use favicons from a generator

I think this begs a different issue, if I'm wrong then sorry ^^
I think many users actually use things like realfavicongenerator & co. since they export even the strange formats(android manifest.json, browserconfig.xml and safari-pinned-tab.svg), is it possible to do this as well in this theme instead of using the script(which isn't the best when it comes to android and msedge).

Tried put both manifest and browserconfig in the root(manually changing the path) however they do not work.

realfavicongenerator
cool. I'll try it.

That site in particular, which I used for my favicons with my old hexo website, has a useful report tool to check favicon status.
i.e: your blog's report https://realfavicongenerator.net/favicon_checker?protocol=https&site=tianqi.name%2F

Is there any news on this? Since I've confirmed that putting icons in the root folder doesn't really work with the theme.

Sorry for a late answer. I just tried it, If you want make it work, you need change the path in _includes/head-icons-rel.html (just replace this to the HTML code from realfavicongenerator.com), You can see TeXt use /assets/images/logo/ as the root path.

Solved, thanks.


feat: Add script to refresh IDs to the new format.

fix: #2786
This script can also be used if we ever change the key format in the future, we just need to update the check for whether a key needs to be updated or not.
I'll run this on a machine in the US when merged.

Yep, I've tested this with a few records in staging already and it seems to work. Will do a full pass for staging before applying it to production.

A few issues I can see is all of those old oss-fuzz records that's hidden but still exists in our database, which might fail when we try to reput it.


Card Delete Functionality

In flows we need the ability to delete cards in a speech, a small subtle x in top of each card should do the trick

Implemented by @isaaclo123


Proportional resizing of panels

Description
Is there any way to turn off proportional resizing of panels?
It is not convenient that Tree-panel changes its width on resizing main window.
I suggest to don't change its width in this scenario.
It is annoying.
It forces user to do additional actions: change its width on each window resizing.
For example, when dividing a screen by half with another application using default Windows hotkey: Win + Left.
Proportional resizing maybe acceptable for Values-panel, but not for Database navigator.
DBeaver Version
Community Edition <IP_ADDRESS>407122322
Operating System
Windows 10
Steps to reproduce
https://github.com/user-attachments/assets/5cd8ba08-c5c3-41dc-9cb1-f3620651a8b2

Thank you for request.
I see your point, We will discuss it with a team.

Another case with similar issue.
I detached two windows, then drag & dropped them to one window with split.
Procedure description and some other UI items nearby - resized proportionally, but it would be better on my point of view to remain it unchanged.
https://github.com/user-attachments/assets/90fbbb35-af4b-4f02-a5f2-4f46ecbf5fd6

We wonder how many users seek this feature.
So, for someone who is interested, please vote for the issue with 👍 under the issue description to promote it to a higher priority.


initialize sharderd optimizer state

Hi,
assuming that optimizer is an Optax optimizer and params is a tree of parameters, optimizer.init(params) materializes all parameters on a single GPU device, if GPU is available. Two questions:

is it possible to initialize the parameters on CPU instead, even if GPU is available?

is it possible to shard the initialization over multiple devices?

Thanks!

The optimizer state will follow the sharding of the params pytree. So if params is sharded across GPU or TPU devices, the optimizer state will usually also be sharded in the same way. However, if params are on CPU, then it seems the optimizer state is still created on GPU/TPU device 0 (the default device in jax), which might result in OOM. You can wrap your code inside with jax.default_device(jax.devices('cpu')[0]): which should result in the optimizer state being created on CPU. Afterwards you can shard them as you like.

Thanks! I'll try this.

Closing the issue as it seems to me the question has been answered. Please reopen if that's not the case


sitemaps are not always decompressed

works for twitch.tv, fails for archive.org

Pretty sure this is a server misconfiguration on their end. Their server returns Content-Type: application/octet-stream and is missing a Content-Encoding header.


Maintainer: es-ES

I know this language and would like to help improve it by being added as a maintainer. As a maintainer I will be automatically added as a reviewer to pull requests from AI and other contributors. (I'm a native Spanish speaker)

Thank you @imaprototype !


DELETE not work in a non-local server

The code works fine while running in local. But the DELETE method doesn't run when running in
public.

What do you mean by running in public? Can you please add more details and share an example?

By 'public' I means not running as a localhost server but in public internet.

Did you modify the openapi.yaml and ai-plugin.json to point to your remote URL?

Sure, the add and list todo functions work correctly. You can verify that in the screenshot bellow

When I say something that trigger the TODO plugin to delete a todo item, I can see the action to GET the api yaml file and then nothing happened.

You can check the code here:
https://replit.com/@meebox/gpt-todo-plugin

Hi @codemee where are you storing the todos? I am looking at your code and I can see the code to add or retrieve todos but I am not seeing any reference of a database where the todos are being stored.

Its the sample of  the plugin guide from openai. It just stores the todos
in memory.
Saad Malik @.***> 於 2023年8月11日 週五 上午3:13 寫道：

Hi @codemee https://github.com/codemee where are you storing the todos?
I am looking at your code and I can see the code to add or retrieve todos
but I am not seeing any reference of a database where the todos are being
stored.
—
Reply to this email directly, view it on GitHub
https://github.com/openai/plugins-quickstart/issues/63#issuecomment-1673769864,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH5MWI4HHLNSOMTKUK73GTXUUXFVANCNFSM6AAAAAA2M6LEFY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Oh wow, so this has been going on for over a month now? I got the same problem, no localhost plugins work now. Everything is fine, but calls never reach the localhost server, so the OpenAI backend is not sending them out.


Error when using Reference Data in Tool configuration

Whenever i try to use the Reference Data workspace variables in Terra i get the following error : "identifier part expected". The reason for this error might be because there are dashes in the name of the variables. Removing the dashes in the names of these variables (in Firecloud) allows me to avoid the error but also moves the variables from the Reference Data section to the Workspace Data section in Terra.

Was able to replicate this in a different workspace based on the input that Beri submitted above from: https://broadinstitute.zendesk.com/hc/en-us/community/posts/360042965272-Workspace-Reference-Data-identifier-part-expected-

ZD ticket #1406

There is another use who wanted an update on this bug fix. I recall brad posting somewhere about this specific issue but can't remember what the explanation was on this fix!
https://support.terra.bio/hc/en-us/community/posts/360042965272-Workspace-Reference-Data-identifier-part-expected-?page=1#community_comment_360005887272


make a suggestion to add tomato and cilantro

I like tomato and cilantro with my guacamole

Nice!  Adding it!


set options: {strict: true} to cause unimplemented steps to be reported as a failure

as proposed in #25

... the call in the bin directory should parse options from the command line.
The README should be updated to document the command line options and provide an example for invoking from Gulp

This is great!  Still need to add support for calling it from the bin and updating the README.  Are you planning on doing that or would like me to step in?

Yeah, I could add yargs as a dependency and support
--strict --indent 4 --encoding "UTF-8"

With short aliases -s -i 4 -e "UTF-8" and help

@stjohnjohnson - done

Amazing!  Thanks for the great contribution!!

<EMAIL_ADDRESS>


[BUG] TD3 loss mixes actor and critic grads

Describe the bug
Sorry for the wave of issues, I am just trying to implement various baselines.
I believe that the TD3 loss might accidentally leak critic gradients into the actor.
To Reproduce
If we take a working DDPG script with separate actor/critic optimizers and repurpose it for TD3, we get
Traceback (most recent call last):
  File "/Users/smorad/code/pql/td3_torchrl.py", line 109, in <module>
    loss["loss_qvalue"].backward()
  File "/Users/smorad/miniforge3/envs/torch_rl/lib/python3.9/site-packages/torch/_tensor.py", line 487, in backward
    torch.autograd.backward(
  File "/Users/smorad/miniforge3/envs/torch_rl/lib/python3.9/site-packages/torch/autograd/__init__.py", line 200, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: Trying to backward through the graph a second time (or directly access saved tensors after they have already been freed). Saved intermediate values of the graph are freed when you call .backward() or autograd.grad(). Specify retain_graph=True if you need to backward through the graph a second time or if you need to access saved tensors after calling backward.

import tqdm
from torchrl.data.replay_buffers.samplers import SamplerWithoutReplacement
from torchrl.data.replay_buffers.storages import LazyTensorStorage
from torchrl.envs.libs.dm_control import DMControlEnv
from torchrl.envs.libs.gym import GymEnv
import torchrl
from torchrl.envs.transforms.transforms import Compose, RewardSum, RewardScaling
from torchrl.objectives import DDPGLoss
from torchrl.data import ReplayBuffer, ListStorage, TensorDictReplayBuffer
from torchrl.modules import (
    ConvNet,
    EGreedyWrapper,
    LSTMModule,
    MLP,
    QValueModule,
    TanhDelta,
)
from tensordict.nn import TensorDictModule as Mod, TensorDictSequential as Seq
from torch import nn
import torch
from torchrl.envs.transforms import DoubleToFloat, TransformedEnv
from torchrl.modules.tensordict_module.actors import ProbabilisticActor, ValueOperator
from torchrl.modules.tensordict_module.exploration import AdditiveGaussianWrapper
from torchrl.objectives.td3 import TD3Loss
from torchrl.objectives.utils import SoftUpdate, ValueEstimators
from torchrl.data.replay_buffers.samplers import PrioritizedSampler

class CriticNet(nn.Module):
    def __init__(self, obs_size, act_size):
        super().__init__()
        self.net = nn.Sequential(
            nn.Linear(obs_size + act_size, 400),
            nn.ReLU(),
            nn.Linear(400, 300),
            nn.ReLU(),
            nn.Linear(300, 1),
        )
        nn.init.normal_(self.net[-1].weight, 0, 0.001)
        self.net[-1].bias.data.zero_()

    def forward(self, observation, action):
        return self.net(torch.cat([observation, action], dim=-1))

class ActorNet(nn.Module):
    def __init__(self, obs_size):
        super().__init__()
        self.net = nn.Sequential(
            nn.Linear(obs_size, 400),
            nn.ReLU(),
            nn.Linear(400, 300),
            nn.ReLU(),
            nn.Linear(300, 1),
        )
        nn.init.normal_(self.net[-1].weight, 0, 0.001)
        self.net[-1].bias.data.zero_()

    def forward(self, observation):
        return self.net(observation)

# Config
seed = 0
gamma = 0.99
tau = 0.005
frames_per_batch = 200  # Frames sampled each sampling iteration
batch_size = 200  # in terms of rollout size
utd = 64 # update to data ratio
n_iters = 500  # Number of sampling/training iterations
warmup_frames = 100  # To prefill replay buffer
total_frames = frames_per_batch * n_iters
memory_size = frames_per_batch * 100
lr = 0.001

torch.manual_seed(0)

def env():
    env = GymEnv("Pendulum-v1", from_pixels=False)
    env = TransformedEnv(
        env, Compose(DoubleToFloat(in_keys=["observation"]), RewardSum(), RewardScaling(loc=0.0, scale=0.1))
    )
    return env

proof_env = env()
obs_size = proof_env.observation_spec["observation"].shape[0]
act_size = proof_env.action_spec.shape[0]

actor_mod = Mod(ActorNet(obs_size), in_keys=["observation"], out_keys=["param"])
actor = ProbabilisticActor(
    module=actor_mod,
    spec=proof_env.action_spec,
    in_keys=["param"],
    distribution_class=TanhDelta,
    distribution_kwargs={
        "min": proof_env.action_spec.space.minimum,
        "max": proof_env.action_spec.space.maximum,
    },
    return_log_prob=False,
)
policy = AdditiveGaussianWrapper(
    actor, annealing_num_steps=int(total_frames), sigma_end=0.1, spec=proof_env.action_spec,
)

critic = ValueOperator(CriticNet(obs_size, act_size), in_keys=["observation", "action"])

collector = torchrl.collectors.SyncDataCollector(
    env,
    policy,
    frames_per_batch=frames_per_batch,
    total_frames=total_frames,
)
buffer = TensorDictReplayBuffer(storage=LazyTensorStorage(memory_size), batch_size=batch_size)

loss_module = TD3Loss(
    actor_network=actor,
    qvalue_network=critic,
    delay_qvalue=True,
    num_qvalue_nets=2,
    loss_function="l2",
    policy_noise=0.2,
    noise_clip=0.5,
)
loss_module.make_value_estimator(gamma=gamma)
target_net_updater = SoftUpdate(loss_module, eps=1 - tau)

actor_opt = torch.optim.Adam(actor.parameters(), lr)
critic_opt = torch.optim.Adam(critic.parameters(), lr)

pbar = tqdm.tqdm(total=total_frames)
for i, tensordict in enumerate(collector):
    pbar.update(tensordict.numel())
    buffer.extend(tensordict)
    for j in range(utd):
        data = buffer.sample()
        loss = loss_module(data)
        critic_opt.zero_grad()
        actor_opt.zero_grad()
        loss["loss_actor"].backward()
        loss["loss_qvalue"].backward()
        critic_opt.step()
        actor_opt.step()
        pbar.set_description(
            "Epoch {}: episode reward {:.2f} actor loss {:.2f}, critic loss {:.2f}".format(
                i,
                tensordict['next']["episode_reward"][tensordict['next']['done']].mean(),
                loss["loss_actor"].item(),
                loss["loss_qvalue"].item(),
            )
        )
        target_net_updater.step()
    policy.step(tensordict.numel())
    collector.update_policy_weights_()

Expected behavior
Separate optimizer calls for actor/critic should not crash.
Screenshots
If applicable, add screenshots to help explain your problem.
System info
master
Additional context
Add any other context about the problem here.
Reason and Possible fixes
I think the issue might be here but I could be wrong:
https://github.com/pytorch/rl/blob/1e17304cb0732d2f30bef2c15e0e6a0172d9feb8/torchrl/objectives/td3.py#L181-L196
I checked and tensordict_qval.requires_grad=True, where the grad corresponds to the weights of the learned (not target) Q function. So when you split it into state_action_value_vector, you have some dangling Q grads going into the loss_actor.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

Thanks for spotting this
cc @BY571 who had a similar question just 10 mins ago
I don't think we mix gradients but it appears it is.
I will fix this, but here's the context
To minimize calls to some modules, we functionalize everything and try to group the computation using vmap.
What happens is that if you do
_tensordict = torch.stack([tensordict, tensordict.get("next")])
_params = torch.stack([params, target_params])
vmap(net)(_tensordict, _params)

then the results of the call to target and non target will be part of the same graph even though the second half (the target) will carry 0 gradient effectively.
Once you free the graph of the actor, you also free the one of the critic. It's suboptimal and we should keep them separated.
We actually test that the gradients are 0 for the critic when you backprop the actor and vice versa.
Again, suboptimal but not a real "bug".
While you're waiting for me to land a fix, feel free to patch your backward with a retain_graph=True.
Hope that helps!

@BY571 we should create isolated method to compute the loss of the actor and critic to avoid this.
This is not urgent :)

In the updated example I will split the actor/critic loss computations then.

Thanks
Can I ask you to check if any gradient of the critic has a norm > 0 after calling loss["loss_actor"].backward(retain_graph=True)? That shouldn't be the case

Yes, my mistake.
        data = buffer.sample()
        loss = loss_module(data)
        critic_opt.zero_grad()
        actor_opt.zero_grad()
        loss["loss_actor"].backward(retain_graph=True)
        grads = [p.grad for p in critic.parameters() if p.grad]
        breakpoint()

(Pdb) grads
[]

Okay this seems fine. I'll keep looking.

This is fixed I believe but happy to reopen if needed!


lineNumberContainerStyle is not working

You have done an excellent job. But it needs some improve.

There should be some spacing between the line number container and the content container.
The line number container should have a minimum width.
The line number container should be right-aligned.

@PravinBagde Thanks for the suggestions . It could be an upstream bug. I'll investigate it.

Thanks for your reply
On Wed, Aug 30, 2023, 5:22 PM Gowtham G @.***> wrote:

@PravinBagde https://github.com/PravinBagde Thanks for the suggestions
. It could be an upstream bug. I'll investigate it.
—
Reply to this email directly, view it on GitHub
https://github.com/gmsgowtham/react-native-code-highlighter/issues/118#issuecomment-1699018987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEMHJYPK6IQOFVUFMFCEJ6DXX4SRDANCNFSM6AAAAAA4EKF6OM
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Any update on this?
On Wed, Aug 30, 2023, 5:56 PM Pravin Bagde @.***> wrote:

Thanks for your reply
On Wed, Aug 30, 2023, 5:22 PM Gowtham G @.***> wrote:

@PravinBagde https://github.com/PravinBagde Thanks for the suggestions
. It could be an upstream bug. I'll investigate it.
—
Reply to this email directly, view it on GitHub
https://github.com/gmsgowtham/react-native-code-highlighter/issues/118#issuecomment-1699018987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEMHJYPK6IQOFVUFMFCEJ6DXX4SRDANCNFSM6AAAAAA4EKF6OM
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Issues/PRs should not go stale if they are awaiting interaction for Datyona Org

Describe the bug
Issues and PRs are incorrectly flagged as "stale" if someone from the Daytona Org does not interact with them in a timely manner. This should not occur, as it implies the issue was not addressed.
To Reproduce
Create an issue or PR as a (non-Daytona Org) user. If no one from the Daytona team responds, it will become stale.
Expected behavior
Issues should only be marked as stale if the last comment was made by a Daytona Org member. This would indicate that Daytona is awaiting further input from the user. If the user does not respond, then the issue can be considered no longer important or valid.
Additional context
Currently, neither the Probot Stale bot nor the standard GitHub Actions for marking issues and PRs as stale directly support the specific functionality of checking the identity of the last commenter before marking items as stale. Both primarily rely on activity (or the lack thereof), regardless of whether the last interaction was from a repository owner, member, or external contributor.
However, you can achieve this behavior by customizing a GitHub Action. By creating a custom action, you can script it to check the identity of the last commenter and then decide whether to mark the issue or PR as stale based on whether the last comment was made by a member of your organization. Here’s a basic outline of how you might set this up using GitHub Actions and the GitHub API:
Create a Custom GitHub Action Workflow:
You’ll create a workflow in your .github/workflows directory. This action will use the GitHub API to fetch the latest comments on each issue and PR, check the author of the last comment, and then apply a stale label only if the last comment was not made by an organization member.
Sample Workflow:
Here’s a simple example to get you started. This script uses the GitHub API to fetch issues and their comments, checks the commenter's association to the repository, and marks the issue as stale if the conditions are met.
name: "Mark Stale Issues and PRs"
on:
  schedule:
    - cron: '0 0 * * *'  # Runs every day at midnight
jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Mark stale issues/PRs
        uses: actions/github-script@v5
        with:
          github-token: ${{secrets.GITHUB_TOKEN}}
          script: |
            const org = 'your-org'; // Your GitHub org/user
            const repo = 'your-repo'; // Your repository
            const response = await github.rest.issues.listForRepo({
              owner: org,
              repo: repo,
              state: 'open',
            });
            const issues = response.data;
            for (const issue of issues) {
              const comments = await github.rest.issues.listComments({
                owner: org,
                repo: repo,
                issue_number: issue.number,
              });
              const lastComment = comments.data.pop();
              if (lastComment && lastComment.user.type !== 'OrganizationMember') {
                // Add logic to mark as stale here
                await github.rest.issues.addLabels({
                  owner: org,
                  repo: repo,
                  issue_number: issue.number,
                  labels: ['stale'],
                });
              }
            }

Adjust the Script:
Modify the script to fit your specific requirements, such as checking for specific types of comments, or adding additional labels or comments when marking as stale.
Ensure your repository secrets (GITHUB_TOKEN) are set correctly to allow the script to authenticate and perform actions on your repository.
Test and Deploy:
Test the action thoroughly in a test repository to make sure it behaves as expected.
Once confirmed, deploy it in your production repository to start automatically managing stale issues and PRs based on the last commenter's association.

I'm hesitant to go this way.
To start, I believe that, if what you're suggesting was an issue/bug and expected, the actions/stale action would have implemented a feature that covers that.
Moreover, issues that have the last comment (for example) I'll check and let me get back to you from a user outside of the org would hang forever. If we implement what you're suggesting, we would need to respond with something to every similar comment in order to qualify the issue for staleness.

You are saying because it does not exist it should not exist?
Regarding the I'll check and let me get back to you this is an edge case, and even with that in mind, I would rather have a few "I'll check" hanging issues than closing valid issues - which we are doing currently

You are saying because it does not exist it should not exist?

I'm saying that someone would probably raise this issue there. Do you have an example of an OSS repo that has what you're suggesting?

Regarding the I'll check and let me get back to you this is an edge case, and even with that in mind, I would rather have a few "I'll check" hanging issues than closing valid issues - which we are doing currently

We don't have any issues hanging that shouldn't be hanging. The stale tag triggers after 2 weeks. That's more than enough time for us to catch the issue and take further action that would delay the staleness.

I did some research and thinking about this. The stale trigger is useful for any interested party and we should not disable it unless the issue is marked with "Never stale".
If the issue is marked stale by the bot, any interested party will get a notification and can keep the issue active if they are still interested.


Roll engine d8c5ec0e11b5..a64dd4b9705e (4 commits)

https://github.com/flutter/engine/compare/d8c5ec0e11b5...a64dd4b9705e
git log d8c5ec0e11b5..a64dd4b9705e --no-merges --oneline
a64dd4b97 Roll src/third_party/skia 088b74e51314..2772ea397e04 (1 commits) (flutter/engine#7301)
4e9fb504e Roll src/third_party/skia 8be4b02b4c72..088b74e51314 (1 commits) (flutter/engine#7300)
787caecc7 Roll src/third_party/skia 481dd46cc368..8be4b02b4c72 (1 commits) (flutter/engine#7299)
c39589de6 Roll src/third_party/skia dc5863c4d665..481dd46cc368 (1 commits) (flutter/engine#7298)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

@liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6547955093864448

Commit queue failed; closing this roll.


[Discuss] animation with Bar Chart Race

Summary of this new feature
Make animation of the number cases. This is useful to track/compare the number of cases in countries/provinces.

pip install bar_chart_race: https://github.com/dexplo/bar_chart_race
Documentation: https://www.dexplo.org/bar_chart_race/

Solution for JHUData:
https://colab.research.google.com/drive/1BW2wGuttx3wQkF8ZCRo2_F8Q0krTp4vL

An alternative without this new package:
Show animation with Matplotlib and JHUData.map() method.

It will be useful to use the library with direct pip installation.


Format Amounts & Asset ID verification

Left just a comment. I don't see any snapshot from a zemu test

I updated the snapshots and test in the next branch to be merged


Monetdb JDBC Driver Query Returned Null values

Dbeaver: 4.1.2
MonetDB JDBC Driver: monetdb-jdbc-2.6.jar
MonetDB Query Example

SELECT sys.timestamp_to_str(TIMESTAMP '2016-02-04 15:30:29', '%Y%m-%d') AS date;

Result:

date |
-----|
     |

I was expecting the result to be '2016-02-04' instead of Null value. I tried using the same JDBC driver with Squirrel SQL Client and it returns a date value.
Also there is a Dbeaver warning:

org.jkiss.dbeaver.model.exec.DBCException: SQL Error [0A000]: Operation getCharacterStream() currently not supported.

Well, MonetDB returns result of sys.timestamp_to_str as CLOB.
MonetDB JDBC driver doesn't support standard way to read CLOBs (getCharacterStream) - that's why you see empty value.
Although their JDBC driver supports another way (getSubString).
I'll add support of this function in DBeaver.

I realized that this issue has the same cause as issue https://github.com/serge-rider/dbeaver/issues/2113 posted by me today. I also posted an issue in the MonetDB JDBC dev forum claiming for the implementation of getCharacterStream() method, and they answered that it will be implemented in the next release (https://www.monetdb.org/bugzilla/show_bug.cgi?id=6400). Besides that, it's curious how DBeaver and others GUI tools work differently in the same context. This could be an issue for other drivers too, not just MonetDB.

See fix in the next version


Add authentication method for Lambda Functions using SnapStart

The Secrets Manager Agent requires a session token in the X-Aws-Parameters-Secrets-Token header. When a Lambda Function is using SnapStart this token is not available. Instead container credentials are used.
For this reason, it's currently not possible to use the AWS Secrets Manager Agent with Lambda Functions that have SnapStart enabled.
Here is a code snipped that demonstrates the issue:
try {
    var awsSessionToken = System.getenv("AWS_SESSION_TOKEN");
    var request = HttpRequest.newBuilder()
                          .GET()
                          .uri(URI.create("http://localhost:2773/secretsmanager/get?secretId=<theSecretId>")
                          .headers("X-Aws-Parameters-Secrets-Token", awsSessionToken) // This will raise a NullPointerException with the SnapStart version and will work with the $LATEST or main version of the lambda
                          .build();
    var httpResponse = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
    log.info("Response: {}", httpResponse.body());
} catch (Exception e) {
    log.error("Error while calling secrets manager", e);
    throw new RuntimeException(e);
}

In case the header is omitted the agent will reject the request as documented.

The token used in the header does not need to be a session token. We accept AWS_SESSION_TOKEN as a environment variable to source the token value in order to provide intercompatibility between this agent and the AWS Parameters and Secrets Lambda Extension.
Prefer the use of environment variable AWS_TOKEN so set the agent SSRF token in your case.


[fix] #3741: Fix tempfile error in kagami validator

Description

Getting rid of tempdir was a driveby fix I did in the CI PR that wasn't merged. Also fixing two other smaller bugs that didn't even have an issue assigned.

Linked issue

Closes #3741.

Benefits
kagami validator and kagami swarm working as expected.

Checklist

[x] I've read CONTRIBUTING.md
[x] I've used the standard signed-off commit format (or will squash just before merging)
[ ] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

It works, but when I ran swarm, it produced a target dir in my CWD:
kagami swarm -p 4 dir --build /path/to/iroha ./swarm

The tree after execution:
.
├── swarm
│   ├── config
│   │   ├── config.json
│   │   ├── genesis.json
│   │   └── validator.wasm
│   └── docker-compose.yml
└── target
    ├── release
    │   ├── build
    │   │   ├── compiler_builtins-6e378bf3cc48b617
    │   │   │   ├── build-script-build
    │   │   │   ├── build_script_build-6e378bf3cc48b617
    │   │   │   └── build_script_build-6e378bf3cc48b617.d
    │   │   ├── dlmalloc-cd1a25882d084ea9
    │   │   │   ├── build-script-build
    │   │   │   ├── build_script_build-cd1a25882d084ea9
    │   │   │   └── build_script_build-cd1a25882d084ea9.d
...

I guess the solution might be to use the source repo (provided with --build argument) as a CWD when the validator is being built. I could not really say why it happens, tbh.

Seems it was a wasm_builder quirk, fixed.

Seems it was a wasm_builder quirk, fixed.

I wonder, how did you fix that?

I wonder, how did you fix that?

This behaviour only occurred when the kagami was run directly (i.e. without cargo) and from a different dir than build dir, with the wasm_builder defaulting to an out_dir named target (AKA the usecase that we actually want to discourage, but still). So yeah, as you stated above, either calling .out_dir() or setting one of the env variables does the trick.

530 files have been changed?? You probably forgot to ignore them

530 files have been changed?? You probably forgot to ignore them

Good thing it happened. Rather than ignoring, I forgot to set the out dir to target, and had it point to Iroha root instead. That's why it was happening 😢 Double checked again, release or not, now it's all fixed.

after run a comand ./target/release/kagami validator
below you can see the output of the validator
validator_output.txt

after run a comand ./target/release/kagami validator below you can see the output of the validator
validator_output.txt

That's the intended behaviour. Basically the validator if no output redirection is specified just prints all the raw bytes to stdout, and that's what that mangled thing actually is.


Elvis failed while reviewing your PR: bad_key

Elvis fails when it did a review of this PR https://github.com/inaka/shotgun/pull/89

Elvis is not longer failing for this PR.


chore(mistral): add codestral-mamba

Changelog:

Add support for Codestral-mamba

Note: The pricing is not public yet, I'll update it once it's known.

Thanks so much @streichsbaer! We can merge this as is now and as you said, update with token costs when they are known.


Strip autoplay from video tags at runtime

(and bump the version to 1.0.1)

Tested and works as expected ✅


Sound doesn't work in Safari

Videos are playing with no sound if watched in the Safari browser. (Ironic for a African wildlife project...)
This is true both in the classification interface and on Talk.
Example: you can clearly hear the hog grunting here: http://talk.chimpandsee.org/#/subjects/ACP0002rsh -- but Safari plays it silently.

Safari uses Quicktime for its codec support and so what is supported is varied on the OS X and Quicktime version that is installed. Those who are experiencing this could either use a different browser that isn't dependent on Quicktime (Firefox, Chrome) or could try installing a codec pack for Quicktime like Perian (at their own risk!).

Not Safari but Chrome on Yoga tablet. I can see the symbol for turning sound on/off, I can click on it but with no difference. It even doesn't allow me to set the volume. The sound works everywhere out of Chimp&See. Is it the same issue as the one reported on Safari?

@yshish, it may not exactly be the same issue, but may be similar in that whatever version of Chrome and Android is on your tablet may be missing the codec to play the audio properly. Since it's possible it's not a similar issue, though, could you open a separate issue ticket for this and include the Android version for your tablet?

Done! Thanks.


Added readme at root level.

Fixes #211

Merging directly since this is a documentation item with no impact on functionality.


workflows: increase VM creation retry count on external workloads

Seems like 3 is not enough, bumping to 10 as we did on cilium-cli (https://github.com/cilium/cilium-cli/pull/473).

This PR does not need to run any CI, all reviews are in, marking as ready-to-merge.


Inspire Defense Aura doesn't apply AC or resistance effects

Casting Inspire Defense will generate a new effect on the caster with an aura that applies an Inspire Defense spell effect, however the spell effect that is applied lacks rule elements for the AC bonus or physical damage resistance.
The Inspire Defense spell effect on the spell item has the correct rule element, but the effect imparted by the aura does not.

The system does not have an inspire defense aura. I believe that comes from the workbench module.


Adding function: Generate-Password which generates hard to guess pass…

Hey,
i am a noobie in github and in powershell. So i try to contribute to first project :).
But i add my simple function about generate hard to gues password for users. I think it might be useful.
Please give me code review(even if you dont use it in Carbon) because i wantto improve my powershell coding styel.

These are functions that I won't add to Carbon, but I'm happy to give you some feedback!


How to use futures_cpupool in hyper 0.12 server ?

Hey there! Do you have some details to your question? Without them, I'm not sure how to answer other than "you just use it" :D. Help me help you.


Action does not respect the reviewdog error level

The action produces error comments even when level: warning is set:
- name: pyright
  uses: jordemort/action-pyright@v1
  with:
    github_token: ${{ secrets.github_token }}
    reporter: github-pr-check
    level: warning
    filter_mode: diff_context
    lib: true

It would be great if the highest error level is reduced to the level specified in the action config.

Notes for when I loop back to fix this:

We can cap the severity here: https://github.com/jordemort/action-pyright/blob/main/pyright_to_rdjson/pyright_to_rdjson.py#L31=
But right now pyright_to_rdjson doesn't know about INPUT_LEVEL

Either need to pass it as a CLI parameter here: https://github.com/jordemort/action-pyright/blob/main/script.sh#L69=
Or just pull it out of os.environ


Add object-based save fields - Maxwell Trasient - 2025.1

Description of the feature
Available from 2025.1
Steps for implementing the feature
No response
Useful links and references
No response

Hi @jvela018,
No this is something else.
This will be the new option in 2025.1 for a transient setup:

thanks @DaveTwyman!


Change in Submit Button.

feat/build - Change in Submit Button
Related Issue
Issue Number - #752
Description

Screenshots 📷
The changed one

The old one

Type of change
What sort of changes have you made:

[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)

Checklist

[x] My code follows the code style of this project.
[x] I have followed the contribution guidelines
[x] I have performed a self-review of my own code.
[x] I have ensured my changes don't generate any new warnings or errors.
[x] I have resolved all merge conflicts.

Please resolve merge conflicts

@vishanurag I will resolve the merge conflict.

@vishanurag I've resolved the merge conflict. When will my PR be merged?


Constant fold array access even if they are out-of-bounds

This extends constant folding for aref even in the cases where the array index is out of bounds. If the user asked for range checking, we will generate an error instruction in the event that control flow reaches there, but the array index will be clamped regardless.

Addressing comments.


[Bug]: Leaderboard shows infinite loading when no search results are found

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When searching for a term which is not present in the leaderboard will result in infinite skeleton loading state.
Expected behavior
It must show no results found.
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@dhairyathedev updates?

@dhairyathedev updates?

Sorry @ashutosh-rath02 for delays, I was busy. I will try to finish this by today

Hello @dhairyathedev! Your issue #406 has been closed. Thank you for your contribution!


Write up click consensus

From #16.

Hi @MatthewJA,
I've been trying to characterise "randomness" in the DR1 FIRST consensus distributions and came to the conclusion that I need more information about the users and their clicking habits. For example, are there individual users who appear to click 10 times more host identifications per subject than other users of the same subjects.
Upon speaking to Julie, she mentioned that you are doing something more sophisticated on the click consensus within the ATLAS data so I would be very interested in reading your write-up on this work.  Can you point me to this write-up?
Thanks in advance,
Ivy

Hi Ivy.
I haven't yet written the write-up (am working on it now!) but I will link you to that when I've finished it. In the interim, here is a very quick summary of my method.
For finding click consensuses I'm clustering the volunteers' clicks using a Gaussian mixture model. The number of Gaussians is found by minimising the Bayesian information criterion over a grid search. This effectively partitions the volunteers' clicks into subsets; the mean of each subset can be taken to find the consensus for that partition. The consensus for the whole subject is the consensus of the partition with the most elements.
This doesn't account for choosing multiple host locations for the same radio combination. As far as I'm aware this is a limitation of both my approach and the KDE approach (though please correct me if I'm wrong!). I'm not sure how to handle that situation yet.

I'm reasonably happy with the writeup in fc886ef. It's about a page. I'm not sure if it needs to be more detailed.

@ivyw: The write-up is here in my thesis. Please let me know if you need more information!

Hi @MatthewJA, This is great. Thanks heaps for your quick response.  I'll digest it more thoroughly before getting back to you on this.
cheers,
ivy


'winget install' does not (properly, or at all) expand paths on Windows 11, builds 22449 through latest.

Brief description of your issue
winget install fails to expand paths when encountering user profiles with a name longer than 8 characters. Specifically, a call to std::filesystem::rename will fail. A trigger may also be a space or dot, or any other special character in the user profile path.
A notable example of the latter are accounts provisioned from Azure AD, as these commonly take the form of NameSurname, not normalizing special characters, e.g. IvoIvić, or name.surname, e.g. fran.kelava.
Steps to reproduce
This is perfectly reproducible using any package. You do not need to use the exact package from the example.
During your Windows install, sign in with an MSA/AAD account. Your resulting user directory name may include special characters or a dot separating your name and surname, and this must be the case to trigger this issue.
OR
During your Windows install, skip MSA/AAD login and create a local account longer than 8 characters in length, and add a space in it for good measure.
PS C:\Users\fran.kelava> winget install 'voidtools.EverythingLite'

Expected behavior
The command throws no error.
Actual behavior
PS C:\Users\fran.kelava> winget install 'voidtools.EverythingLite'
Found Everything Lite [voidtools.EverythingLite]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www.voidtools.com/Everything-<IP_ADDRESS>9.x64.Lite.msi
  ██████████████████████████████  1.67 MB / 1.67 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\FRAN~1.KEL\AppData\Local\Temp\WinGet\voidtools.EverythingLite.<IP_ADDRESS>9", "C:\Users\FRAN~1.KEL\AppData\Local\Temp\WinGet\voidtools.EverythingLite.<IP_ADDRESS>9.msi"

This may also be related to the problem showcased in #1203, in which an AAD-based account suffered a similar or identical issue. While the author of that issue also had special characters making the issue more difficult, the issue also plainly appears for usernames which do not feature special characters.
In #1203, the issue author saw functionality restored once the dot and special characters were eliminated from the user directory name. [UPDATE] However, based on the replies below, it seems that this is an issue with path expansion in general.
However, I'm afraid I must insist that this issue be properly fixed. It is not acceptable for winget to ship broken by default in instances where the user cannot influence the name of their user directory, e.g. Azure AD joins in OOBE.
Environment
Windows Package Manager v1.0.11694
Windows: Windows.Desktop v10.0.22449.1000
Package: Microsoft.DesktopAppInstaller v1.15.11694.0

This is a clean install of the latest Dev Channel Insiders build at the time of posting.

Here's the relevant log, this time for a Notepad++ install.
WinGet-2021-09-05-17-27-33.910.log
Note the relevant segment:
2021-09-05 17:27:36.490 [FAIL] E:\BA\98\s\external\pkg\src\AppInstallerCLICore\Workflows\ShellExecuteInstallerHandler.cpp(269)\AppInstallerCLI.exe!00007FF7B59D2F01: (caller: 00007FF7B58520B0) LogHr(1) tid(22c8) 8007023E {Application Error}

The exception %s (0x    Msg:[std::exception: rename: The system cannot find the file specified.: "C:\Users\FRAN~1.KEL\AppData\Local\Temp\WinGet\Notepad++.Notepad++.8.1.4", "C:\Users\FRAN~1.KEL\AppData\Local\Temp\WinGet\Notepad++.Notepad++.8.1.4.exe"]

2021-09-05 17:27:36.745 [CLI ] Caught std::exception: rename: The system cannot find the file specified.: "C:\Users\FRAN~1.KEL\AppData\Local\Temp\WinGet\Notepad++.Notepad++.8.1.4", "C:\Users\FRAN~1.KEL\AppData\Local\Temp\WinGet\Notepad++.Notepad++.8.1.4.exe"

This can be traced down to some behavior of std::filesystem::rename, the faulting point is https://github.com/microsoft/winget-cli/blob/master/src/AppInstallerCLICore/Workflows/ShellExecuteInstallerHandler.cpp#L266.
I don't have any experience with C++ and consequently do not know what the specifics of the call are and why it would throw in this instance.

i get error about rename the program downloaded:
➜ winget install GnuWin32.Make
Found GnuWin32: Make [GnuWin32.Make]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81.exe/download
  ██████████████████████████████  3.22 MB / 3.22 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\USER~1.HP~\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81", "C:\Users\USER~1.HP~\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81.exe"

This doesn't seem to just be if you have special characters in your name. I'm running from the local administrator account:

The last few lines of the log file:
The exception %s (0x    Msg:[std::exception: rename: The system cannot find the file specified.: "C:\Users\ADMINI~1\AppData\Local\Temp\WinGet\Mozilla.Firefox.92.0", "C:\Users\ADMINI~1\AppData\Local\Temp\WinGet\Mozilla.Firefox.92.0.msi"]

2021-09-13 09:12:23.632 [CLI ] Caught std::exception: rename: The system cannot find the file specified.: "C:\Users\ADMINI~1\AppData\Local\Temp\WinGet\Mozilla.Firefox.92.0", "C:\Users\ADMINI~1\AppData\Local\Temp\WinGet\Mozilla.Firefox.92.0.msi"

PS C:\Users\Administrator> winget --info
Windows Package Manager v1.0.11694
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22454.1000
Package: Microsoft.DesktopAppInstaller v1.15.11694.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
--------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget

Works fine for me on latest, it looks like for some reason  that the Admini~1 isn't being expanded by either winget or the system for some reason is my guess

@jedieaston This issue persists for me through a few Insider builds now. If they've been broken, they've been broken for a while now, which might be possible but seems unlikely. Considering a normal "ren" will expand the path correctly, I'm inclined to think it's not the OS.

This is the first build it was broken for me, weird. Must be a winget thing though.

i get error about rename the program downloaded:

➜ winget install GnuWin32.Make

Found GnuWin32: Make [GnuWin32.Make]

This application is licensed to you by its owner.

Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.

Downloading https://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81.exe/download

  ██████████████████████████████  3.22 MB / 3.22 MB

Successfully verified installer hash

An unexpected error occurred while executing the command:

rename: The system cannot find the file specified.: "C:\Users\USER~1.HP~\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81", "C:\Users\USER~1.HP~\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81.exe"

I make the test with winget 1.0.11692 Windows 10 (1909) and work Ok 👌🏾
The problem is in the version winget 1.0.11694 in Windows 11 Pro Insider (OS Build 22454.1000) when try execute the rename command

This issue also occurs with local accounts that have spaces in them.
This can be achieved during OOBE when skipping the MSA login and it asks for the local username.
The same error is thrown as seen above:

I think the problem is on Windows 11 build 22458. I'm on build 22454 and everything is running fine. Thanks for opening the issue otherwise I was just going to upgrade my PC.

It is borked for me on 22454. If your user folder name is less than 8 characters you won't be affected.

Same problem here. Since 22458.1000 winget no longer work with my "special" space character in my Username/Profilepath..

Same issue here.
"rename" fails on windows 11 build 22458.
Found PowerToys (Preview) [Microsoft.PowerToys] Version 0.45.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/microsoft/PowerToys/releases/download/v0.45.0/PowerToysSetup-0.45.0-x64.exe
  ██████████████████████████████  51.6 MB / 51.6 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\NAVEEN~1\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.45.0", "C:\Users\NAVEEN~1\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.45.0.exe"

Get same error with other workaround
➜ echo $env:TMP
C:\Users\USER~1.HP~\AppData\Local\Temp

➜ winget install GnuWin32.Make
Found GnuWin32: Make [GnuWin32.Make]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81.exe/download
  ██████████████████████████████  3.22 MB / 3.22 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\USER~1.HP~\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81", "C:\Users\USER~1.HP~\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81.exe"

➜ $env:TEMP = $env:TMP = (Get-Item -Path $env:TMP).FullName

➜ echo $env:TMP
C:\Users\user.HP450-2\AppData\Local\Temp

➜ echo $env:TEMP
C:\Users\user.HP450-2\AppData\Local\Temp

➜ winget install GnuWin32.Make
Found GnuWin32: Make [GnuWin32.Make]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81.exe/download
  ██████████████████████████████  3.22 MB / 3.22 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\user.HP450-2\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81", "C:\Users\user.HP450-2\AppData\Local\Temp\WinGet\GnuWin32.Make.3.81.exe"

➜ winget --info
Windows Package Manager v1.0.11694
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22458.1000
Package: Microsoft.DesktopAppInstaller v1.15.11694.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
--------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget

Still not working on 22463:
PS C:\Users\Easton Pillay> winget install spotify
Found Spotify [Spotify.Spotify] Version <IP_ADDRESS>2.g2b11de83
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.scdn.co/SpotifyFullSetup.exe
  ██████████████████████████████  68.3 MB / 68.3 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\EASTON~1\AppData\Local\Temp\WinGet\Spotify.Spotify.<IP_ADDRESS>2.g2b11de83", "C:\Users\EASTON~1\AppData\Local\Temp\WinGet\Spotify.Spotify.<IP_ADDRESS>2.g2b11de83.exe"
PS C:\Users\Easton Pillay> winget --info
Windows Package Manager v1.0.12581
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22463.1000
Package: Microsoft.DesktopAppInstaller v1.16.12581.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
PS C:\Users\Easton Pillay>

Both the winget install and the winget upgrade commands stopped working for me sometime ago. My username in Windows is shivangswain but for some reason it shows up as SHIVAN~1. PoweShell's built-in Rename-Item command and explorer both can access the file with SHIVAN~1 in the path but somehow the rename in winget messes up.
PS C:\Users\shivangswain> winget upgrade zoom
Found Zoom [Zoom.Zoom] Version 5.8.1324
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Downloading https://cdn.zoom.us/prod/<IP_ADDRESS>4/x64/ZoomInstallerFull.msi
██████████████████████████████  51.6 MB / 51.6 MB
Successfully verified installer hash
An unexpected error occurred while executing the command:
rename: The system cannot find the file specified.: "C:\Users\SHIVAN~1\AppData\Local\Temp\WinGet\Zoom.Zoom.5.8.1324", "C:\Users\SHIVAN~1\AppData\Local\Temp\WinGet\Zoom.Zoom.5.8.1324.msi"

PS C:\Users\shivangswain> winget --info
Windows Package Manager v1.0.12581
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22458.1000
Package: Microsoft.DesktopAppInstaller v1.16.12581.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

With the latest information provided by all of you, I renamed the issue to better reflect its root cause and magnitude. I can also confirm that the issue persists in build 22463.

I download and compile the project for AppInstallerCLI and this commit fix the issue when rename the installer downloaded.
  user2021-09-26 01:41:32  ~/Documents/winget/Microsoft.DesktopAppInstaller_1.16.12581.0_x64__8wekyb3d8bbwe  ﲍ 
➜ .\AppInstallerCLI.exe install --id "GnuWin32.Make"
Found GnuWin32: Make [GnuWin32.Make] Version 3.81
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81.exe/download
  ██████████████████████████████  3.22 MB / 3.22 MB
Successfully verified installer hash
Starting package install...
Successfully installed

  user2021-09-26 02:02:06  ~/Documents/winget/Microsoft.DesktopAppInstaller_1.16.12581.0_x64__8wekyb3d8bbwe  ﲍ 
➜ .\AppInstallerCLI.exe --info
 v1.0.0
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22463.1000

Logs: %TEMP%\WinGet

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Windows Terminal was also installed without any problems. It seems that only .msixbundle installers can be "renamed".

Add-AppxPackage allows you to specify a URL which means the rename isn't handled by WinGet:

Fix confirmed in v1.1.12653. winget upgrade and winget install now function as expected for .exe and .msi installers. See:
PS C:\Users\fran.kelava> winget upgrade Notepad++
Found Notepad++ [Notepad++.Notepad++] Version 8.1.5
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.1.5/npp.8.1.5.Installer.x64.exe
  ██████████████████████████████  4.13 MB / 4.13 MB
Successfully verified installer hash
Starting package install...
Successfully installed

PS C:\Users\fran.kelava> winget upgrade Cisco.WebexTeams
Found Webex [Cisco.WebexTeams] Version <IP_ADDRESS>91
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binaries.webex.com/WebexTeamsDesktop-Windows-Gold/Webex.msi
  ██████████████████████████████   242 MB /  242 MB
Successfully verified installer hash
Starting package install...
Successfully installed

PS C:\Users\fran.kelava> winget install qBittorrent.qBittorrent
Found qBittorrent [qBittorrent.qBittorrent] Version 4.3.5
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-4.3.5/qbittorrent_4.3.5_x64_setup.exe/download
  ██████████████████████████████  25.9 MB / 25.9 MB
Successfully verified installer hash
Starting package install...
Successfully installed

PS C:\Users\fran.kelava> winget install meld.meld
Found Meld [Meld.Meld] Version 3.20.4
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.gnome.org/binaries/win32/meld/3.20/Meld-3.20.4-mingw.msi
  ██████████████████████████████  42.6 MB / 42.6 MB
Successfully verified installer hash
Starting package install...
Successfully installed

with versions:
Windows Package Manager v1.1.12653
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22463.1000
Package: Microsoft.DesktopAppInstaller v1.16.12653.0


Cow: Watch matkaji.net

Cow requests the watch of the watch_keyword matkaji\.net. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

matkaji\.net has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


The data of the Z-axis and X-axis data of the IMU's gyroscope does not change

I got a D453i device with the latest firmware and found that there was something wrong with the data output from the IMU's gyroscope. When the device remains stationary, the Y and Z axes of the gyroscope respectively output 5.68157043e + 01 -2.51048164e + 01 and remain unchanged. When the device is moved, the values of the Y and Z axes of the gyroscope are still 5.68157043e + 01 -2.51048164e + 01.

https://github.com/IntelRealSense/librealsense/pull/5534 haved fix on  development branch.
git checkout development


chore: remove core.resources()

As Deno.resources() has been removed from the runtime.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.92%. Comparing base (0c7f83e) to head (4ffb7df).
Report is 116 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #897      +/-   ##
==========================================
+ Coverage   81.43%   81.92%   +0.48%
==========================================
  Files          97       98       +1
  Lines       23877    24921    +1044
==========================================
+ Hits        19445    20417     +972
- Misses       4432     4504      +72

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I would keep this one for debugging purposes in Deno CLI - if it's not exposed on the Deno namespace that should be good enough. Sometimes working on certain APIs it's useful to be able to dump all existing resources in the table.


Browser keep zooming while moving cursor on drawbu.dev

I found this issue while going to a friend website that has been built using htmx.
The webview zoom only when moving the cursor:

Logs:
$ Ladybird
Ladybird PID file '/run/user/1003/Ladybird.pid' exists with PID 2874549, but process cannot be found
89395.360 WebContent(2874749): Unhandled JavaScript exception: [ReferenceError] 'XPathEvaluator' is not defined
89395.360 WebContent(2874749):     at https://unpkg.com/htmx.org@2.0.2/dist/htmx.min.js:1:49565
    at https://unpkg.com/htmx.org@2.0.2/dist/htmx.min.js:1:49565

89395.439 WebContent(2874749): Unhandled JavaScript exception: [TypeError] Cannot access property "version" on undefined object "htmx"
89395.439 WebContent(2874749):     at <unknown>

89395.797 WebContent(2874749): ResourceLoader: Failed load of: "https://drawbu.dev/favicon.ico", Error: Load failed: 404, Duration: 198ms

Details
Linux distribution: NixOS, with Xorg
Ladybird: 0-unstable-2024-06-08 (commit 2f68e361370040d8cdc75a8ed8af4239134ae481)

Thanks for the report! I can't check right now but this sounds like a duplicate of #339.

It looks like this is still reproducible as of 108701c8997e8484890adee8dbf1d4cb81a51c39

Confirmed that it's the same issue as #339.


Rename TieredSmt::with_leaves(..) to TieredSmt::with_entries(..)

If I understand correctly the TieredSmt::with_leaves(..) takes an iterator of (key, value) pairs.  It then in turn inserts these pairs into the tree. The values provided as argument are not leaves but instead they are the values (pre-images) of the leaves stored in the tree.  As such maybe it would be more appropriate to rename the method with_entries(..) or with_values(..) to better reflect the methods semantics.

Yes, agreed that the naming is somewhat misleading. Personally, I would prefer with_entries().

Closed by #192.


Create workflow to release

Create a workflow to release automatically the project and push to pypi

Workflow created for PR and release


Sema: Diagnose declarations that are annotated to be more available than their unavailable enclosing scope

Example:
public struct S { }

@available(macOS, unavailable)
extension S { // note: enclosing scope has been explicitly marked unavailable here
  @available(macOS 11.0, *) // warning: warning: instance method cannot be more available than unavailable enclosing scope
  public func foo() { }
}

Resolves rdar://92552186

@swift-ci please smoke test and merge


nonmaxsupression Layer

layer created
model compiler changes
changed utilities/vxTensor.cpp to read int64 type tensor

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

Complexity increasing per file
==============================
- model_compiler/python/nnir.py  1

See the complete overview on Codacy

Tested with gdfs and the output matches with the onnx examples. @LakshmiKumar23 @kiritigowda

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- model_compiler/python/nnir.py  1

See the complete overview on Codacy

@LakshmiKumar23 set overlap to default value as a fail safe. Fails tests - - if(overlap <= iou_thresh[0])

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- model_compiler/python/nnir.py  1

See the complete overview on Codacy

@LakshmiKumar23 can you sync with TOT to resolve conflicts.

@kiritigowda resolved merge conflicts

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- model_compiler/python/nnir.py  1

Clones added
============
- amd_openvx_extensions/amd_nn/src/nms_layer.cpp  1

See the complete overview on Codacy


Header not fixed if input actice and page not scrollable

Just encountered a strange issue.
Headers are fixed nicely. But if you click in a form, headers start to scroll with the content. Strange thing that this do not occur when the page is scrollable.

Yeah I've noticed this particularly in modals. I believe it's something to do with native keyboards, and Ionic has a Cordova plugin that will probably fix it: https://github.com/driftyco/ionic-plugins-keyboard.


write_miriad() assigns improper baselines

When converting files to miriad format using write_miriad(), the i,j pairs are somehow assigning baselines to the wrong indexes. This issue can be see in two example PAPER64 miriad observation files located on ~/data/shared (on OSCAR), where when using plot_uv.py and looking at the antenna pair 6,33; plot_uv.py tries to plot xx,yy for the 6,33 baseline and xx,yy for the 39,32 baseline.

Fixed in latest commit.  Issue was b/c of the miriad conjugation convention.  Some baselines with i > j were being written, which was not allowed.


Bug fix/pass up cleanup set cluster

Scope & Purpose

if a test requires a cluster in order to be usefull, force it.

make sure cleanup options are passed up

[x] :hankey: Bugfix (requires CHANGELOG entry)

[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)

[ ] :fire: Performance improvement

[ ] :hammer: Refactoring/simplification

[ ] :book: CHANGELOG entry made

Backports:

[ ] No backports required
[ ] Backports required for: (Please specify versions and link PRs)

Testing & Verification
(Please pick either of the following options)

[x] This change is a trivial rework / code cleanup without any test coverage.
[ ] The behavior in this PR was manually tested
[ ] This change is already covered by existing tests, such as (please describe tests).
[ ] This PR adds tests that were used to verify all changes:

[ ] Added new C++ Unit tests
[ ] Added new integration tests (e.g. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

[ ] There are tests in an external testing repository:
[ ] I ensured this code runs with ASan / TSan or other static verification tools

Link to Jenkins PR run:
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/13641/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/13645/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/13645/

tests blue

tests blue


Shift + Tab - breaks trapped focus

When I press Shift + Tab, the focus is moved outside the modal

@AlexandraGrassi just pushed some updates for this - they should address the issue for you. Thanks again for reporting!

Thank you for such a great component! It was really an issue for me to create an accessible one.


WhatsApp Chat Analyzer -Data Analysis

Have you read the Contributing Guidelines ?
Yes
Description
This analyzer project analyzer the chat being uploaded and gives user the statistical overview of conversation.
Fixes #565

Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Kindly review my project .

@prakhar3062 have a look


Bug fix for v0.3.5

Fixed a bug in oopinterface.QGField that interpolation is done on a grid larger than the Northern hemispheric grid size when northern_hemisphere_results_only=True

Codecov Report

Merging #21 into master will decrease coverage by 0.11%.
The diff coverage is 38.23%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   23.16%   23.05%   -0.12%
==========================================
  Files           5        5
  Lines         695      707      +12
==========================================
+ Hits          161      163       +2
- Misses        534      544      +10

Impacted Files
Coverage Δ

hn2016_falwa/utilities.py
9.61% <100%> (ø)
:arrow_up:

hn2016_falwa/oopinterface.py
52.29% <34.37%> (-2.08%)
:arrow_down:

Continue to review full report at Codecov.

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


Update how service fee is computed in dashboard

The dashboard does currently not check the service fee status at the beginning of an accounting week but instead the status at the time of running the query. This can cause subtle bugs with rerunning the query.
Whenever the service fee query is updated, a parameter for the start of the accounting period should be included and that date should be checked in the dashboard.

Addressed by PR #66


Add more datasets and transformations

New things to include

[x] Fencl et al 2021: single Eband CML from https://zenodo.org/record/5013463
[x] pycomlink example data from https://github.com/pycomlink/pycomlink/tree/master/pycomlink/io/example_data
[x] Fencl et al 2020: six Eband CMLs from https://zenodo.org/record/4090953
[ ] The OpenMRG data set with a large number of CMLs and reference data from https://zenodo.org/record/6673751

Not done, but things are already working online via mybinder


adjust check for node env to handle webpack\browserify

fixes #3488

:+1:

@ghost and @jbrantly can you take a look.

Hey, this looks good. I did some tests with loading in browser as a script, bundling with webpack and bundling with browserify. The good news is the change to check process makes all three take the correct codepath. However, there is one more additional change you could possibly make.
Browserify by default shims the fs module. This means that prior to this PR, browserify would actually bundle fine. The downside is that the getNodeSystem path was still taken at runtime with shimmed modules which could have I-don't-know-what kind of effect. After this PR, the correct path is taken.
webpack does not shim the fs module by default. This means that if you simply require('typescript') without any extra configuration webpack will error that it can't find the fs module. In order to get around this I had to add extra configuration to tell webpack not to scan typescript for imports. However, it's pretty simple to fix so that webpack also bundles without configuration. Both webpack and browserify support the "browser" field in package.json. If you were to also modify package.json to add the following...
"browser": {
  "buffer": false,
  "fs": false,
  "os": false,
  "path": false
}

... this would essentially say "If any bundlers try to include this for the browser, ignore any attempts to import the 'fs', 'os' and 'path' modules". I tested this and it worked beautifully. It causes webpack and browserify to have the same default behavior, which is that the various calls to import fs, path and os are shimmed to be empty (which is fine since they're not used at runtime).
buffer is included because both bundlers also include an implementation of Buffer (which is referenced once in getNodeSystem). That takes care of browserify but not webpack, which I think is fine. You can only do so much, and it doesn't hurt anything other than filesize.

@jbrantly is there a different check that would succeeded with browserify but fail for webpack that we should be using instead?

@mhegazy Not sure I understand. The typeof process !== "undefined" && process.nextTick && !process.browser check works as intended. The other stuff is just about bundling which isn't affected by the check.

@mhegazy there are actually two places where typescript behave incorrectly when it was used with webpack.

during bundling webpack tries to statically discover all imported packages. At this point it finds: fs, os and path modules. Webpack does not provide shim for fs so it results in error during bundling. "browser" section in 'package.json' will suppress attempts to discover these modules so this category of errors will go away.
in runtime when bundle is loaded it will use wrong code path (because of weak check for node-like environments) and try to use node-based sys in browser - this issue is already fixed in this PR by using proper check

This looks good from my perspective. Even though I don't use TypeScript like this I am a big fan of webpack so I think it's really cool that you guys support this scenario. Thanks!


V1.1.9 startup problem

I can't start after an npm update -g :
 ERROR LOADING PLUGIN homebridge-broadlink-rm:
[4/16/2017, 6:07:12 PM] /usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/accessory.js:34
  async setCharacteristicValue (props, on, callback) {
        ^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:528:28)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/aircon.js:1:92)
    at Module._compile (module.js:556:32)

Strange enough:

I can start and load the plugin on a local Mac installation (learn_ir works, the buttons appear, however sent IR codes don't work on the target device)

loading the plugin with the same configuration fails on a Raspberry Pi.
npm list -g

shows identical versions at least for homebridge and  homebridge-broadlink-rm:
Raspberry:
├─┬<EMAIL_ADDRESS>....
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>(git+https://github.com/lprhodes/broadlinkjs.git#a463147a6a71855722221da0f74adcba86d7bb5b)
│   └──<EMAIL_ADDRESS>
Mac:  (with a local 1.1.9 homebridge-broadlink-rm installation):
├─┬<EMAIL_ADDRESS>(git+https://github.com/lprhodes/broadlinkjs.git#a463147a6a71855722221da0f74adcba86d7bb5b)
│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>

Solved: The Raspberry used node 6.7.0, the Mac 7.6.0.
It seems the module requires a more recent NodeJS version.

It certainly does - it's worth checking release notes for updates (https://github.com/lprhodes/homebridge-broadlink-rm/releases/tag/1.1.0). I'm not looking to add support for earlier versions, sorry.


Stream output by inheriting stdio

Inherit stdio instead of piping
Allows output to stream instead of buffering, while also allowing the script to see the TTY and (typically) output in color.
If the script interleaves stderr and stdout output, this also displays correctly.

Good point. It would be nice to support colors. The only problem of the PR is it doesn't contains tests, so I did some changes myself to support the same feature.
So I'm thinking I can merge your request first, then add my changes after that.
Could you also please help me to verify if the changes is what your wanted?

I committed my changes to master, could you please verify the behaviours? it should keeps same with your changes, now, I'm passing in stdios, so that I can capture the output and test it
execSync(hookScript, {stdio: [this.stdin, this.stdout, this.stderr]});

@wei-xu-myob Works well, thank you :)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add SporeStack

Thanks for your pull request.
I always think it's brilliant idea to sell something onchain.
BSV is capable of that, as an ECIES channel can be established since payment contains public key already.
However I don't think it's appropriate to list your site here. There are some considerations.

After a quick review, I found that it's a commercial project that use bitcoin merely as payment. It's not quite a demo for developers. (However, your server-side payment handling is)
It's very sensitive for tor hidden services(or anonymous server). I believe it's up to user to decide how to use blockchain, and it's private business. But privacy is different from anonymity in bsv, that the hidden identity can be revealed under certain circumstance defined by law. We promote strong pseudonym. (People should challenge bad laws but not be outlaws)
Though the DAO idea is brilliant, a pro bsv project (in other words, things only bsv can do) is preferred, since this is awesome-bitcoin-sv but not awesome-bitcoin for now.

I think it may be better to list your site on dir.sv.

Thank you! I'll check out dir.sv.
Would love to have spawns over Bitcoin some day.


Vitor

 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: VitorNovoa sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Updating parent-pom version in a multimodule project updates more than just the parent-pom version

Project structure
├───module1
│   └───pom.xml
├───parent-pom
│   └───pom.xml
└───pom.xml
When updating the version in the parent-pom, it updates also the parent pom in the module1
But when the version in the module1 is the same as the version of the parent pom, the version of the module1 is also updated
A proof of concept is attached
cd parent-pom
mvn versions:set -DnewVersion=2.0.0
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< test:parent-pom >---------------------------
[INFO] Building parent-pom 2.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- versions:2.15.0:set (default-cli) @ parent-pom ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: e:\poc
[INFO] Processing change of test:parent-pom:2.0.0 -> 3.0.0
[INFO] Processing test:parent-pom
[INFO]     Updating project test:parent-pom
[INFO]         from version 2.0.0 to 3.0.0
[INFO]
[INFO] Processing test:module1
[INFO]     Updating parent test:parent-pom
[INFO]         from version 2.0.0 to 3.0.0
[INFO]     Updating project test:module1
[INFO]         from version 2.0.0 to 3.0.0
mvn versions:set -DnewVersion=3.0.0
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< test:parent-pom >---------------------------
[INFO] Building parent-pom 2.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- versions:2.15.0:set (default-cli) @ parent-pom ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: e:\poc
[INFO] Processing change of test:parent-pom:2.0.0 -> 3.0.0
[INFO] Processing test:parent-pom
[INFO]     Updating project test:parent-pom
[INFO]         from version 2.0.0 to 3.0.0
[INFO]
[INFO] Processing test:module1
[INFO]     Updating parent test:parent-pom
[INFO]         from version 2.0.0 to 3.0.0
[INFO]     Updating project test:module1
[INFO]         from version 2.0.0 to 3.0.0

poc.zip

Sets the current project's version and based on that change propagates that change onto any child modules as necessary.

That's because this is a very simple mojo which is checking for all sub-modules matching <groupId>:*:<version> of the root project. So, because after the first update your module1 matched that pattern, it got updated. I don't really see a bug there to be honest.


Skipped pages show up in reftests

I noticed a number of blank pages in http://<IP_ADDRESS>:8877/aec1bf6261c835c/reftest-analyzer.html for chrome-issue1658, turns out 1-10 are skipped pages. Not sure why they're showing up in the tests.

It looks like we actually create 1x1 sized canvases when skipping pages, according to https://github.com/mozilla/pdf.js/blob/c380d2540772be2d996c6c1b932593c57a42da63/test/driver.js#L447-L462, I'm not sure why that is though.


PeakPower broken?

Since an HA update on Dec. 4th there is an error in the integration.
The "sensor.elektrisch_afnamevermogen_mijn_woning_elektrisch_afnamevermogen_current_month_peakpower_power",
"sensor.elektrisch_afnamevermogen_mijn_woning_elektrisch_afnamevermogen_last_month_peakpower_datetime", etc ... are not returning any values anymore.
Elektrisch afnamevermogen Mijn woning: Elektrisch afnamevermogen - Last month PeakPower Datetime
unknown

Do you see anything in the logs?

Can you enable debug logging for the integration and check again?
See https://www.home-assistant.io/integrations/logger/

Thx. Will look into it. Probably next week.

It seems that EnergyID removed the endpoints to fetch the peak power data.
I don't see an alternative in their documentation.
At the moment I don't see a real solution. I have contacted EnergyID. But don't get your hopes up.

Magic...

As I understand from the mailconversation with Diedrik it should be resolved.


Add the new Effector API to official docs

See: https://github.com/casbin/casbin/issues/752#issuecomment-820880206

@ErikQQY


Can we include icon for x (formerly twitter) in icons library? Right now it has older Twitter icon.

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Now that Twitter has rebranded to X, the following needs a change
import TwitterIcon from '@mui/icons-material/Twitter';
Examples 🌈
No response
Motivation 🔦
No response

Duplicate of https://github.com/mui/material-ui/issues/38480