Import fails due to missing BaseBackend in Terra

ImportError                               Traceback (most recent call last)
Input In [3], in <cell line: 1>()
----> 1 from qiskit_ibm_provider import IBMProvider
File /opt/miniconda3/envs/qiskit/lib/python3.10/site-packages/qiskit_ibm_provider/init.py:80, in
77 from typing import List, Optional, Union
78 from datetime import datetime, timedelta
---> 80 from qiskit.providers import BaseBackend, Backend  # type: ignore[attr-defined]
82 from .ibm_provider import IBMProvider
83 from .ibm_backend import IBMBackend
ImportError: cannot import name 'BaseBackend' from 'qiskit.providers' (/opt/miniconda3/envs/qiskit/lib/python3.10/site-packages/qiskit/providers/init.py)

BaseBackend was removed 6 months ago in https://github.com/Qiskit/qiskit-ibm-provider/pull/326

Ahh yes, it seems that pip installing over an older version was causing issues.


Optimize dispatch for fused memoryview types

By converting them to a memoryview once, checking some of the
details of that, and then using that to initialize the
Cython memoryview.
Also closes https://github.com/cython/cython/issues/3798 as an implementation detail.
I measure something like ~7% speedup on a small toy example
that selects between 3 types of memoryviews

Draft because it's broken PyPy2


Run and configure ADT explorer

Hi,
I am currently working through the "Quickstart - Explore a sample Azure Digital Twins scenario using ADT Explorer" section but I am stuck when I get to the "Run and configure ADT explorer" section. When I run "npm install", here what is displayed:

Following this, running "npm audit fix" does not seem to fix anything. "npm audit" displays the following options:

Running these commands seemed to fix the "high severity vulnerability", so I ran "npm install" again, and then "npm run start":

As you can see the issue seems to come from the dependency tree. I tried to fix this by using the steps above but nothing seemed to work. I am aware that this issue is due to my own inexperience, but that would be amazing if you could help me fix this.
Thank you in advance!

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

ID: d81034c0-f8e3-a26a-acaa-0513d2762a98
Version Independent ID: 864d5793-8ec9-6baf-7f3a-a4896e77a931
Content: Quickstart - Explore a sample scenario - Azure Digital Twins
Content Source: articles/digital-twins/quickstart-adt-explorer.md
Service: digital-twins
GitHub Login: @baanders
Microsoft Alias: baanders

Hello @MakeSense27
Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @MakeSense27 While We check with the team, could you please confirm if you still see issues with the ADT Explorer tool.

Hi @SatishBoddu-MSFT,
Sorry, I managed to fix the problem yesterday. Somehow npm was making dependencies issues and the same was happening when I tried using yarn. So I uninstalled/reinstalled Node.js and, even though npm still wouldn't work, yarn did the trick !
Thank you for your help !

Thank you for the feedback!
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.


Show system notifications, based on a setting

@kzhovn, this PR adds the option of system notification.
I like to have that and this is also requested in #38
The implementation of the system notification the same as with the Obsidian Reminder plugin:
https://github.com/uphy/obsidian-reminder/blob/master/src/ui/reminder.ts#L24
Which is based on the Electron documentation:
https://www.electronjs.org/docs/latest/tutorial/notifications
https://www.electronjs.org/docs/latest/api/notification

Thank you @cbos , and sorry for the delay!

Hmm. I'm not getting system notifications on my computer. This might be an effect of my system (Ubuntu + i3). Can I ask what OS you tested this on?

I have tested it on MacOS, there is it working as expected.
I have developed it on Ubuntu and there is was working fine as well.

Swapped to regular old Ubuntu without i3 and everything is working fine, so whatever the issue is it's i3's fault. I might try debugging later but that's rare enough I'm happy to merge anyway.

Okay, should be live, let me know if there are any issues.

Thanks a lot 👍!


User/orilevari/update debug readme

Rework custom operator README and include separate linked debug_readme document which explains in detail the intended usage of the debug operator. Also reworked directory structure to match user samples better.

I also added a link in the base readme for the adapterselection sample since that was forgotten in its already approved and merged pull request

This pull request also includes a small bug fix in the custom op sample app which was incorrectly converting relative path to absolute path.


Add testcases to siddhi-query-api module

Purpose
Add testcases to siddhi-query-api module
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Codecov Report

Merging #1266 into master will increase coverage by 0.29%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1266      +/-   ##
============================================
+ Coverage     61.46%   61.75%   +0.29%
  Complexity       35       35
============================================
  Files           619      619
  Lines         24939    24939
  Branches       3907     3907
============================================
+ Hits          15328    15402      +74
+ Misses         8286     8220      -66
+ Partials       1325     1317       -8

Impacted Files
Coverage Δ
Complexity Δ

.../processor/stream/window/DelayWindowProcessor.java
87.27% <0%> (-5.46%)
0% <0%> (ø)

.../io/siddhi/core/util/snapshot/SnapshotService.java
38.5% <0%> (+0.2%)
0% <0%> (ø)
:arrow_down:

...ery/compiler/internal/SiddhiQLBaseVisitorImpl.java
41.14% <0%> (+0.75%)
0% <0%> (ø)
:arrow_down:

...xecution/query/input/stream/SingleInputStream.java
40.96% <0%> (+1.2%)
0% <0%> (ø)
:arrow_down:

...iddhi/query/api/definition/AbstractDefinition.java
41.86% <0%> (+2.32%)
0% <0%> (ø)
:arrow_down:

...ava/io/siddhi/query/api/expression/Expression.java
28.76% <0%> (+2.73%)
0% <0%> (ø)
:arrow_down:

...siddhi/query/api/expression/condition/Compare.java
40.62% <0%> (+3.12%)
0% <0%> (ø)
:arrow_down:

...iddhi/query/api/execution/partition/Partition.java
37.5% <0%> (+3.12%)
0% <0%> (ø)
:arrow_down:

...ion/query/input/stream/BasicSingleInputStream.java
73.33% <0%> (+3.33%)
0% <0%> (ø)
:arrow_down:

...uery/api/execution/query/input/handler/Filter.java
20% <0%> (+5%)
0% <0%> (ø)
:arrow_down:

... and 8 more

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 e0af3dc...923c510. Read the comment docs.


[dps-nft-strategy] change an issue with request on dps-nft-strategy

Fixes # .
Changes proposed in this pull request:

change the params of the request
change some logic in strategy

@andreibadea20 Can you fix conflicts plz


Is this project still alive?

title

@fariasfrancisco I have tried to reach out for the winston team to offer help in maintaining the project but i have gotten no reply yet. I am still offering my help to do so.
I really hope for winston to stay The logging module to use for javascript.

Yeah, this is a shame because it means Ill have to redesign the whole logging for my app if winston is dead

Yes - very much alive. Currently triaging 3.0.0-rc* bugs.


Docker Image does not exist

The docker image that is linked in the README.md does not exist anymore: https://hub.docker.com/r/grafana/okta-logs-collector
Could you please add it again?

Hey @chhauss-a,
The image is public now.


Proposal:

Proposal: [Synchronize TwoPaneView scrolling]
Summary
I am building a TwoPaneMarkdownEditor using the Windows Community Toolkit's Markdown controls, with Markdown in Pane1 and rendered results in Pane2.  I wish to synchronize the scrolling in each pane, similar to how the Markdown editor in Visual Studio Code works.  For example, if I scroll in Pane1, I want Pane2 to track this and move simultaneously, and vice-versa.
Rationale
The benefits of scroll synchronization between the two Panes are obvious in an Editor application.
Important Notes
You may use my TwoPaneMarkdownEditor UWP solution as test code for this feature.  It may be found at:  https://github.com/PaulaScholz/TwoPaneMarkdownEditor
TwoPaneView is central to UWP app development for Windows 10x.  This feature should have the highest priority.

A Boolean dependency property that toggles simultaneous scrolling capability would ideal.


Update quick-start.md

Files don't exist anymore:

install/kubernetes/istio-demo.yaml
install/kubernetes/istio-demo-auth.yaml
There is only the helm charts.

Related https://github.com/istio/istio/pull/6348

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: veggiemonk
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: frankbu
Assign the PR to them by writing /assign @frankbu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @veggiemonk. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@veggiemonk thanks for the contribution.  I think there is some confusion in the parent of this issue related to how tags should be handled for a "build from master" scenario.  It does not seem quite sorted out as to how/if we deliver that functionality.
For the time being, I'd recommend following the developer wiki and building your own images:https://github.com/istio/istio/wiki/Dev-Guide
Cheers
-steve


Azure deployment Error: Object # has no method '_extend'

I am setting up a confirmation email feature which works perfect locally, but not on Azure. On Azure, I've even set my app environment variable WEBSITE_NODE_DEFAULT_VERSION set to both 0.10.x and 0.12.x just for good measure with no luck.
My code(hardcoded values):
'use strict';

/**
* Module dependencies.
*/
var sgUserName = 'USERNAME',
	sgPassword = 'PASSWORD',
	sendgrid = require('sendgrid')(sgUserName, sgPassword),
	swig  = require('swig');

/**
* Send Email to User
*/
exports.confirmationEmail = function(attendee, cb) {
	var person= {
		email<EMAIL_ADDRESS>		first: 'john',
		last: 'doe'
	};
	try {
		// Testing purposes.
		var email     = new sendgrid.Email({
			to:       person.email,
			from<EMAIL_ADDRESS>			subject:  'This is the subject',
			text:     'Hello world'
		});
		sendgrid.send(email, function(err, json) {
			if (err) {
				console.error('error happened',err);
				return cb(err);
			} else {
				console.log('success',json);
				return cb(null, json);
			}
		});
	} catch (error) {
		console.error('CATCH_ERROR:', error);
		return cb(error);
	}
};

Upon further testing, error was caused by express setup.


improve some permission check related methods' docs

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[ ] Library interface (affecting end-user code)
[x] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
this pr removes dots from params of some methods and clarifies hasAccess docs

These changes seem superficial, it should be obvious that VOICE_CONNECT only matters in voice channels.

These changes seem superficial, it should be obvious that VOICE_CONNECT only matters in voice channels.

yes, it's obvious, but from the wording it sounds like it will check for VOICE_CONNECT in every case, even if the provided GuildChannel is not a VoiceChannel


Some issues with Dark Mode

If you set Dark Mode, the colors in the line chart do not change.
This point is already addressed in the code:
https://github.com/RIP-Comm/sossoldi/blob/fc3c316695686c0556543fac5da24b7b8b2b6676/lib/pages/home_page.dart#L139-L145
We could use something like blue6 (0xFF7DA1C4) to get a nice contrast:

Moreover all the account and category icons should be switched to Dark Mode in different pages (only in the settings page they are updated while, for example, in the home page they are not).
Finally in the transactions page, if you switch to Dark Mode the month selector creates so much contrast that is almost unreadable:

Hi! There is an open PR which addressed a few issues that were already found about the dark mode, if you want you could pick it up so that we can solve all the problems that we currently have for the theme

Can I work on this? There are still some issues, such as the transaction selector and line graph tooltip.

Yes @diegodiome, if you want you can also take a look at the open PR for the dark theme #124 which fixed some things but not all 😁


Block conversion breaks with foo yield

I'm not sure if you intend this to be possible, but I think it would make sense.
Given
class Foo
  def b
    with self yield
  end

  def foo
    "local"
  end
end

With p Foo.new.b { foo } we get "local" just as expected, but if we add a layer of indirection:
def a(&block)
  Foo.new.b(&block)
end

p a { foo }

we get
Error in /home/jhass/projects/crystal/with.cr:18: undefined local variable or method 'foo'

p a { foo }

Block forwarding (having to use yield in these cases) is now explained in http://crystal-lang.org/docs/syntax_and_semantics/block_forwarding.html so I'll close this.


introduce embedded kafka server integration tests

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

Hey guys y'all are doing a ton of work to get those jar dependencies when jar-dependencies should do it all for you. I know there was a bug (https://github.com/mkristian/jar-dependencies/issues/38) but it should since be fixed where you make jar-dependencies a development time requirement, it'll generate the jar include and then you download it.
I know you are moving away from jruby-kafka but I got CI tests working on it recently which may help you with the dependency part.
With jar-dependencies 0.3.2 and up you can do stuff like
  s.requirements << "jar 'org.apache.kafka:kafka_2.11', '<IP_ADDRESS>'"
  s.requirements << "jar 'org.slf4j:slf4j-log4j12', '1.7.13'"

  s.add_development_dependency 'jar-dependencies', "~> 0.3.2"

and then in rake
require 'jars/installer'
task :install_jars do
  Jars::Installer.vendor_jars!
end

and that's it!

thanks @joekiller!
I have checked that out, the reason I have not migrated to it just yet is because
we are have not finalized how we wish to take care of the jar dependencies. We have adopted the manual route for logstash-output-elasticsearch, and I was testing using jar-dependencies for this plugin's tests. and I couldn't figure out a way to separate the two. I am leaning towards re-introducing jar-dependencies as the default mechanism.
do you know how to separate test jars and runtime jars using jar-dependencies?

It looks like scope settings are supported https://github.com/mkristian/jar-dependencies/search?p=3&q=scope&utf8=✓ but I'm unsure how to trigger it.

@joekiller thanks, I'll try it out!

Closing because progress has gone stale


Added in UFO QC Ratio Check

Description
(Instructions: this, and all subsequent sections of text should be removed and filled in as appropriate.)
Provide a detailed description of what this PR does.
What bug does it fix, or what feature does it add?
Is a change of answers expected from this PR?
Definition of Done
What does it mean for this issue to be done?  Is there a specific, measurable, milestone?
Issue(s) addressed
Link the issues to be closed with this PR

fixes #<issue_number>

Dependencies
If there are PRs that need to be merged before or along with this one, please add "waiting for another PR" label and list the dependencies in the other repositories (example below). Note that the branches in the other repositories should have matching names for the automated tests to pass.
Waiting on the following PRs:

waiting on JCSDA/eckit/pull/<pr_number>
waiting on JCSDA/atlas/pull/<pr_number>

Impact
If changes in this PR will affect other repositories, please add a "waiting for other repos" label, and list the repositories that will be affected to the best of your knowledge (example below).
Requires changes in the following repositories:

[ ] saber
[ ] ioda
[ ] ufo
[ ] ...

If changes in this PR require updating test data on AWS please add an "update test data" label and list the test data that needs to be updated to the best of your knowledge (example below).
Requires updating AWS test data for the following repositories:

[ ] saber
[ ] ioda
[ ] ...

Note: to automatically run saber, ioda and ufo tests with this PR, push a commit containing "trigger pipeline", e.g.:
git commit --allow-empty -m 'trigger pipeline'

@jiaruidong2017 stop opening PRs in this repository and open one in NOAA-EMC @aerorahul


Update dependencies

Summary
Dependabot has been screaming loudly for a while so this PR updates the following dependencies, directly or indirectly, which were reported as either critical or high severity.

immer
ssri
trim-newlines
tar
ansi-html
is-svg
glob-parent
axios

Changes
This PR also upgrades package-lock.json to version 2, and this requires npm >= 7. It may or may not also require Node >= v14 due to some compilation issues in some dependencies. It should be a good idea to upgrade anyway. The current Node LTS is v16 while v14 was the previous.
node-sass vs sass and the Bootstrap 4 controversy: node-sass is native, not JS, and needs to be compiled natively for the architecture of the each machine. It was not compiling on my arm64 Mac, and the suggested solution was to move to sass which is JS-based. This brought in a newer version of SCSS (the language) which deprecates the use of / as numeric division, replaced by math.div(a, b). Bootstrap 4 is full of these, so I tried migrating to Bootstrap 5, but that made everything worse as version 5 deprecates a whole load of mixins and functions that we use all over the place. So, for the moment we are stuck with Bootstrap 4 and we'll have to live with deprecation warnings all over the place. Sorry.
webpack 5: to upgrade one of the dependencies (glob-parent IIRC) I had to upgrade webpack from 4 (or 3?) to 5. This was mostly painless but we should be aware that the build system is now one or more major version(s) ahead. I can't see how this could be a problem, but hey.
Actions and testing
It seems that we are all using at least version 7 of npm, which is a good thing. We may also want to upgrade Node to v14 or above. I would like everyone on the team to check out this branch and try the following:

npm ci first just to make sure everything works as expected
npm i to make sure your npm doesn't overwrite the whole package-lock.json file for no reason (yes, it did happen in the past, it was not fun, ask James)
npm run start-(phy|cs) and check that your dev environment still works
npm run build-(phy|cs) and check that you can build a production bundle

technically, this is not necessary, but it will just give me a little more confidence that nothing is going to break in a major way further down the line

@Morpheu5, I've had a bit of a google and it looks like the source of the current problem is that we're using history v5 with react-router v5 where as we should be using history v4 for react-router v4 or v5. https://stackoverflow.com/questions/62591351/how-to-push-to-history-in-react-router-v5
It also looks we can safely uninstall react-router as we install and import react-router-dom which itself re-exports all of react-router's exports. That would be a useful additional commit, with a few changes to import statements.
https://github.com/remix-run/react-router/issues/4648#issuecomment-284479720


serverless-newrelic-lambda-layers breaks other layers

Here is a repo where you can reproduce the issue  the issue https://github.com/Shereef/nr-lambda-issue
Whenever I enable the serverless-newrelic-lambda-layers it removes the other layers
The reason behind this is that the new relic uses per function layers which override service/provider level layers

I have also opened a support Case #00040541

@Shereef Thank you again! (Release 3.2.0 is in process.)


feature request: Interaction with Lualine

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
Hello, big fan so far!
I'm new to neovim. Wondering if it would be possible to get the same lualine functionality as when a file is open?
As of right now the git branch section of my lualine disappears inside oil. And also the filename section shows oil://... and it would be nice to have it follow the same pattern configure by lualine (relative, absolute) like netrw does.

Provide background
No response
Additional details
No response

This is something that would have to be addressed within lualine. Those components are built to check for the directory of the current file, but an oil buffer doesn't have an associated file (and has a url-formatted name like oil:///home/user/). We have chosen to name the buffers this way (instead of the raw directory name like /home/user/) in order to play nice with other file managers. If there is interest, the lualine components could be fairly easily modded to support this by adding a special-case check like
-- Assuming the component gets the current path something like this
local current_file = vim.api.nvim_buf_get_name(0)
-- If this is an oil buffer, use the API to get the current path
if vim.b.filetype == "oil" then
  current_file = require("oil").get_current_dir()
end


⚠ Minecraft has degraded performance

In 703fc84, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 864 ms

Resolved: Minecraft performance has improved in feb25fa.


feat(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1467

Questions ?
Please refer to the Backport tool documentation


[flagd] implement flagd.feature gherkin test suite

We don't yet have e2e tests for flag changes or zero-value flags.
These are both defined in the flagd.feature test suite, and supported by the sync-testbed and flagd-testbed containers.
Tasks:

[ ] add matching steps defined in the feature file to the steps

note the Flag change event should fire automatically from both testbed containers, so there's not need to manually change the flags

[ ] load the feature file in both cucumber runs (RPC and in-process)

Hello, I am interested in doing this one

Thanks @DBlanchard88 . Assigned.


Airhandler/Heatpump API broken?

The Airhandler and Heatpump API does not work.  I am receiving a 404 when I request it.  Is this a known issue?  I am looking through the code and I think it may have something to do with getAirHandler(?) function in the infinitive.go file?

Have to get through obvious questions first.
Is the user interface working?
What URL are you using for the api?
If the ui is at
http://yourhost:8080 and http://yourhost:8080/ui/
then the heat pump and air handler would be at
http://yourhost:8080/api/heatpump
http://yourhost:8080/api/airhandler

Sorry for not being clear.  Infinitve has been working with my Bryant furnace for some time (over a year) and I utilize the API (config) with my automation system in my home.  The defined URL's for the API is as you mentioned above.  After posting this I looked in the closed issues section and I saw that the downloaded version does not include the airhandler/heatpump API and I have to build from source with go and I will try that this weekend... I suspect that it will work since it resolved others that have run into this.  I will report back once I can sit down and see if it resolves the issue.

I guess I could do a build on the Will1604 fork of Infinitive, but I wouldn't be able to get to that until the new year.

I did get compile and build from source and everything looks good as far as the API.  Not sure if we want to leave this issue open in case somebody else runs into this!
Thanks!

I'm having the same problem,  I installed this code on two PIs years ago. never been able to pull fan speed.
C:>curl -X GET http://<IP_ADDRESS>:8080/api/zone/1/config
{"currentTemp":74,"currentHumidity":51,"outdoorTemp":69,"mode":"auto","coolActive":false,"heatActive":false,"fanMode":"auto","hold":false,"heatSetpoint":71,"coolSetpoint":74}
C:>curl -X GET http://<IP_ADDRESS>:8080/api/airhandler
404 page not found
C:>


Implement u256 libfuncs.

Implement u256 libfuncs
Description
Implementation of the u256 libfuncs (except u256_sqrt):

[x] u256_is_zero
[x] u256_safe_divmod

Checklist

[x] Linked to Github Issue
[ ] Unit tests added
[x] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #161 (66309a2) into main (55d39d6) will increase coverage by 0.35%.
The diff coverage is 98.05%.

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   88.59%   88.94%   +0.35%
==========================================
  Files          25       25
  Lines        6846     7046     +200
==========================================
+ Hits         6065     6267     +202
+ Misses        781      779       -2

Impacted Files
Coverage Δ

sierra2mlir/src/compiler/types.rs
100.00% <ø> (+12.50%)
:arrow_up:

sierra2mlir/src/libfuncs/mod.rs
93.52% <97.03%> (+0.22%)
:arrow_up:

sierra2mlir/src/statements/inline_jumps.rs
99.05% <100.00%> (+0.07%)
:arrow_up:

sierra2mlir/src/statements/mod.rs
98.22% <100.00%> (+0.02%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


bidirectional lane connection UI

fixes #1214

Added VectorUtil to rotate by +-90 degree
Added DrawArrowHead() to Highlight
Added IsBidirectional to LaneEnd class (see code comments). this helps me decide if I need to draw arrow heads or not.
DrawLaneCurve() now can draw arrow head at 2/3rd of the way.

When drawing lane curve, we can draw the arrow head too if necessary.
for backward lane curve we can draw the backward arrow head on top.

when shift is pressed, both forward/backward connections are created or removed.

this is how it looks like. I can tweak the size
https://user-images.githubusercontent.com/26344691/160184632-27b8e45f-91bf-41ba-b356-8029e0919748.png

this is also possible. Also I can make it triangle.
I can also easily play with angles.

Could the arrowhead be solid triangle in same colour as the connector line?

@aubergine10 , I can make them triangle but not solid triangle.
Also if it is the same color as the line then it will be harder to detect.

@aubergine10 , I can make them triangle but not solid triangle. Also if it is the same color as the line then it will be harder to detect.

Hmm, why not use solid triangle texture and render it rotated as quad? Check out NetTool.RenderRoadAccessArrow

@krzychu124 As I said my code does has alternate to use quads. its just that its empty inside. I suspect CS quads are smaller and therefore the borders fill in the whole lane.
Since our lanes has sheath, using quad for us might get a big complicated.
I give it another try

meanwhile that I am playing with shapes. it would be nice to review the rest of the code. it does not have to wait.

meanwhile that I am playing with shapes. it would be nice to review the rest of the code. it does not have to wait.

The thing is you don't need to build the shape... Use texture decal and just rotate it to face correct direction similar to what you already done with arrows.

Does the triangle need to be so large (256x256) ?

complicated UI improvements will be tracked in: https://github.com/CitiesSkylinesMods/TMPE/issues/1500


[NFC] Adjust return type of getTypeOfExpressionWithoutApplying

A companion to #11047
Makes the return type of getTypeOfExpressionWithoutApplying just Type instead of Optional<Type>  to eliminate a potential tri-state.

@swift-ci please smoke test

I think @rudkx or @xedin should review this before you merge it. There might be a good reason it's an optional.

@swift-ci please smoke test

@swift-ci please smoke test

I don't see any uses that require using an Optional for this.

⛵


Select2 make optgroups selectable

I'm using the latest version of select2 (4.0.0) and I can't find the option to make optgroups selectable.
An optgroup is used to group different options of the dropdown, as shown in their basic examples:

I need this optgoup to be selectable too! It was possible in 3.5.1 but it isn't the default setting in 4.0.0 anymore.
My Code Looks like this:
JS:
$(document).ready(function() {
   $('#countrySelect').select2({
     data: [{
       text: "group",
       "id": 1,
       children: [{
         "text": "Test 2",
         "id": "2"
       }, {
         "text": "Test 3",
         "id": "3",
         "selected": true
       }]
     }]
   });
 });

HTML:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://select2.github.io/dist/js/select2.full.js"></script>
<link href="https://select2.github.io/dist/css/select2.min.css" rel="stylesheet" />

<select id="countrySelect" style="width: 380px;" placeholder="Select regions..."></select>

JS Fiddle: http://jsfiddle.net/swMBL/
Disclaimer: I asked the same question on stackoverflow but got no answer jet.

Duplicate of https://github.com/select2/select2/issues/520#issuecomment-103703792.
I'll cross-post this with a bit more information to Stack Overflow, where I was just looking at this question.


about keyboard manager add some default layout like Colemak and Dvorak

Description of the new feature / enhancement
sometimes when I wanna write something in another Language with colemak,
I just can type English words, there are programs just for the US language,
I need to find another way to use it, It is terrible,
I try to change the key to key in PowerToys,
but so many keys to change,
I wish you may add some default keyboard layouts for some people like me.
thanks!
Scenario when this would be used?
typing,
writing,
daily
anytime when I need a laptop
Supporting information
No response

I also want to try out colemak. According to #1881, I think the easiest way is by adding remaps to default.json. It would still be a nice feature to have a way to manage profiles in the UI.

/dup https://github.com/microsoft/PowerToys/issues/1881


Detect already merged videos

Without the '--keep-video' option the two files would be downloaded again and even using the option, ffmpeg would be run again, which for some videos can take a long time.
We use a temporary file with ffmpeg so that the final file only exists if it success

Cherry picked in 5b5fbc0867f0eb73416c10c9d692fceee92b5766

Thank you for this feature!


Please expose DD_PROCESS_CONFIG_EXPVAR_PORT

Hey all,
Much like #1670, we would like to have the ability to override process_config.expvar_port via envvar. From looking at the code, it doesn't appear that this is bound at all.
Do you take PRs?
Cheers

I'd like to second this request as this needs to be set on spark driver nodes to prevent a port conflict.

This issue tracker is primarily used to track bugs in the Agent codebase to completion. For feature requests, please contact Datadog support and share your ideas with them.
Thanks!


fix: initial commit to add keploy into the project.

warning this pull request is not read to merge and I need help
I tried to integrate keploy into the server, I create a keploy-config file where I specify the output directory and the command to run when using test and record.
the problem I am facing

I use thunderbird to individual send request and record the response using keploy. But I am confused about how to test it for /login, I current only tested for /register.
I am not sure about how to implement keploy for frontend.

an OpenAPI doc would be greater to understand the server structure.

The test of login can be done using post request on /login routes just like register
I'm also bit confused about the frontend part, I guess we'll have to use some frameworks like cypress for the frontend


[20:01:47] [INFO] 🟡 It looks like the Pyrogram session BOT is busy with another module. Waiting for 30 seconds before retrying.

from 3 modules i receive 2 with this error


multilingual translation problems

Several months ago, I released the new version (4.x), I thought this version solves the chapter/chapter name problems, but the feedbacks from users imply that these settings are NOT CORRECT.
I finally realized that ONLY the translation settings are not enough, I need the general usage of latex basic documentclass under different language backgrounds. I am familiar with Chinese, and I know the social norm of chapter which calls 第一章 (Chapter 1 in English), but I have no knowledge about other languages. So I think the maintainer of these settings should be the user of this language or native speaker, not me. You know much better than me about which package(babel and its settings or other package) you need to get the font and numbering correct.
Here, I propose you to submit pull requests to this repo, that I do a simple review, and then add to this template, improving the translation settings under different languages.
Some related issues are below:
#169 #166 #156 #133 #137 #122

I will give an example (English for illustration):
English Settings
1. Usage
1.1 normal usage in basic Book
\documentclass{book}

\begin{document}

\chapter{Introduction}

\end{document}

PDFLaTeX under TeX Live 2021 Windows 10 √
XeLaTeX under TeX Live 2021 Windows 10 √

1.2 usage in ElegantBook
\documentclass[lang=en]{book}

\begin{document}

\chapter{Introduction}

\end{document}

PDFLaTeX under TeX Live 2021 Windows 10 √
XeLaTeX under TeX Live 2021 Windows 10 √

#172

The language definitions for Spanish do not mention it.
\DeclareVoidOption{es}{\ekv{lang=es}}


VAT number is missing for organization

VAT number for organization is missing

You can create a custom attribute for VAT number for the organization as Organization, Persons, Leads, and Products all support customer attribute.


Container : FFMPEG 6.0

Waiting better integration between Nvidia and FFMPEG 6
Waiting FFMPEG 6.1


Upgrade follow-redirects to 1.14.9 [BW-1127]

<!--
Hello, friend!
Remember to mention what sort of testing/verification you performed in the course of building this PR, i.e. checking functionality in the browser locally.
Thanks!
--!>

Did some basic clicking around locally and all seems well.

@aednichols there is still an alert for the integration test usage. Can you please clean that up also?

https://github.com/DataBiosphere/terra-ui/pull/2867


City Colleges of Chicago

https://www.ccc.edu/
https://catalog.ccc.edu/transfer-pathways/computer-science-associate-science/
https://www.ccc.edu/services/configure-email-on-your-mobile-device/
Student emails use the subdomain student.ccc.edu
There are individual college names under the CCC umbrella.
ccc.txt

@davidjamesvega I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


GroupBy iterator should have better size_hint

Currently, the GroupBy iterator returns keyed groups where Group implements Iterator behavior. Because of this, it has a function size_hint. This function always returns (0, None), the most general size hint possible. It would be nice if this size hint would be more accurate. (A simple improvement would be to return (1, None) as a group is never empty.)

The size hint must always be correct, also when the iterator has been partially walked, so (1, None) is for example not right after a group of one element has had one element consumed (remaining size is 0)
I've previously decided that we can't do better for group by, but that could be wrong of course, please say if you find a good way, please open a new issue or ask to reopen this one.
See also issue #171 which is for the simpler case -- chunks.


Sync with substrate and bump version

Bump all dependencies including substrate (we got yanked errors when build --locked)
Remove unused MICROUNIT (was generating warnings)
Bump own version

Could you update the hash in the README.md as well plz? Looks good otherwise!


Enhance the footer (Issue #376)

Related Issue

Closes: #376
Description of Changes
Hello, I've successfully integrated an improved and adaptable footer that not only enhances the overall aesthetics but also effectively embodies the essence of the web application.
Demonstration:

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.

Kindly add the mobile and tablet view images also @abrehan2

Tablet:

Mobile:

Here you go. :)
If possible, please consider it a level 3 issue as I changed the entire layout for the footer, did it responsive, and even removed the necessary bugs in this component

Done.
On Fri, 7 Jul 2023, 5:16 pm Sourabh Sikarwar, @.***>
wrote:

Kindly add the mobile and tablet view images also @abrehan2
https://github.com/abrehan2
—
Reply to this email directly, view it on GitHub
https://github.com/sourabhsikarwar/Scene-Movie-Platform/pull/400#issuecomment-1625329007,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYBTD2YFVZ6FJBPFPTZFLZ3XO74Z7ANCNFSM6AAAAAA2BWXL4A
.
You are receiving this because you were mentioned.Message ID:
@.***>

In tablet view, the logo is bit bigger and looks odd.
And in mobile view, the footer content will look good as center aligned I guess.
Please look into that @abrehan2

@sourabhsikarwar It doesn't as I have checked the responsiveness through inspecting the tablets. Don't worry! It's errorless. 😅

Please merge the issue, thank you. ✨

@sourabhsikarwar okay, I will do it.

Please check now:


Graph and query result mismatch

What did you do?
Query data on Prometheus expression browser.
Result:

Graph:

What did you expect to see?
Graph should match query result data.
What did you see instead? Under which circumstances?
Query result shows the timestamp of last data point is "1666836820" (which is 2022-10-27 2:13:40 +00:00, in a readable format), but on graph, the last data point has timestamp "2022-10-27 02:18:38 +00:00", why graph has more data than query result?
System information
Windows 11 Pro 22000.1098 | Docker Desktop 4.12.0 (85629)
Prometheus version
prometheus, version 2.39.1 (branch: HEAD, revision: dcd6af9e0d56165c6f5c64ebbc1fae798d24933a)
  build user:       root@273d60c69592
  build date:       20221007-15:57:09
  go version:       go1.19.2
  platform:         linux/amd64

Prometheus configuration file
scrape_configs:
  - job_name: telegraf
    static_configs:
      - targets: ['telegraf.local:9273']

Alertmanager version
N/A

Alertmanager configuration file
N/A

Logs
N/A

The graph view does not show you the data points. It shows you the value at every step.

The data points in the graph is the step 2022-10-27 02:18:38. At that moment, pormetheus looks 5 minutes in the past and find the 2022-10-27 2:13:40 datapoint.


[Feature] - Create MemoryBuffer from byte array

Is your feature request related to a problem? Please describe.
The only way to create a BitcodeModule from memory appears to be to write the memory to a file, create a MemoryBuffer from a file, and then load the BitcodeModule from the newly created MemoryBuffer. Ideally the memory could be fed directly to the MemoryBuffer.
Describe the solution you'd like
A new constructor added to MemoryBuffer that takes a byte array (byte[]) and a buffer name (string) and internally calls LLVMCreateMemoryBufferWithMemoryRangeCopy
Describe alternatives you've considered
Writing data to a file and then loading from a file.
Additional context
The signature for LLVMCreateMemoryBufferWithMemoryRangeCopy doesn't seem right, I would have expected either a byte array or a pointer, not a string for raw data.

Indeed, it looks like the Bindings configuration for the interop layer doesn't have the mapping for that function. (For reasons not yet known the code that is supposed to catch theses sorts of things in LlvmBindingsGenerator, isn't catching this case...)

Indeed, it looks like the Bindings configuration for the interop layer doesn't have the mapping for that function. (For reasons not yet known the code that is supposed to catch theses sorts of things in LlvmBindingsGenerator, isn't catching this case...)

While the bindings for that LLVM function are indeed incorrect (Working on a fix for that) I'm confused on the scenario you are trying to accomplish here. You can use BitCodeModule.LoadFrom to load a memory buffer into a bitcode module, and you can use BitCodeModule.WriteToBuffer to write an existing module into a buffer.
So I'm confused on what scenarios you'd have an arbitrary blob of memory (as a byte[]) for a bit code module that wasn't read from a file? Where would you get the byte[] from if not reading it from a file?

While the bindings for that LLVM function are indeed incorrect (Working on a fix for that) I'm confused on the scenario you are trying to accomplish here. You can use BitCodeModule.LoadFrom to load a memory buffer into a bitcode module, and you can use BitCodeModule.WriteToBuffer to write an existing module into a buffer.
So I'm confused on what scenarios you'd have an arbitrary blob of memory (as a byte[]) for a bit code module that wasn't read from a file? Where would you get the byte[] from if not reading it from a file?


fix: copying an intervention while logged in or not logged in adds it to storage

To test:

[ ] copy an intervention while logged in
[ ] intervention should appear
[ ] logout
[ ] intervention should disappear.
[ ] copy another intervention
[ ] intervention should appear
[ ] login
[ ] both interventions should appear

LGTM :+1:


client-side application exception on mobile

https://evo.ninja/chat/928485a7-697c-4e3a-972c-018f3628a746

"I typed in a prompt then left the phone alone for a minute then unlocked the phone and saw this"
User was authenticated with google.

Similar issue reported here: https://discord.com/channels/1146873191969587220/1146875712352026704/1189447650861404192


Migrating the repo to org

To manage this repository by community members, I'm thinking to migrate this repository to @aws-amplify-jp.

Done 🎉


BUG 2107695: Update recovery README with wipeTable warning

Updated recovery README to clarify the extra-manifest example uses a
secondary disk and therefore includes a directive to wipe the disk,
with a warning to avoid setting the wipeTable option if using the root
disk for the recovery partition.
Signed-off-by: Don Penney<EMAIL_ADDRESS>/cc: @sabbir-47

/cc @sabbir-47

/bugzilla refresh

/lgtm

/cc @jc-rh
/uncc @fedepaol @rcarrillocruz


pip install failed in conda environment on apple silicon M1

I install Miniforge3-MacOSX-arm64.sh on my new M1 MacBook Air, then pip install pyscf leads to error

installing Miniforge3-MacOSX-x86_64.sh then pip install pyscf works, but pyscf can not be imported properly.
Any help or suggestions are appreciated.

There is no pip wheel compiled for M1 chip. You will need to compile from source code for the moment

There is no pip wheel compiled for M1 chip. You will need to compile from source code for the moment

Sorry...but how to compile from the source code?

@PKUfjh The instructions for compiling from source code are given here:https://pyscf.org/install.html. Let me know if you have any success with this. I have been trying for quite some time now without success.

Currently we are not yet support M1 natively. For development it should work to install under a Rosetta Terminal see e.g. https://www.courier.com/blog/tips-and-tricks-to-setup-your-apple-m1-for-development. That is how I am working with pyscf!
I will close for now, re-open if there are issues with Rosetta.

Would it be possible to make this work through miniforge (which most people with MacOS M1 are using)?

Just wondering what the main issue is? Personally, I was able to now build with pip from github in a conda environment (after searching for quite a bit, and having all the issues I've seen here) by using first:
conda install -c conda-forge openmpi-mpicc

So, not Rosetta needed.

@jwnys, that's good to know, thanks for sharing what worked! The original post here was trying to install a pre-built wheel with pip (which didn't exist), which I though you were also trying to do, apologies if I misunderstood. There were some other challenges on M1 machines when building with the native macos clang compiler.
For other people who get directed here in the future, the detailed discussion (which it sounds like you've already found) is here.


Sync,Accidentally identifying warnings as errors

Description of the bug:

it was WARNING not ERROR.
but

Which category does this issue belong to?
CLion
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
constraint_setting(name = "incompatible_setting")

constraint_value(
    name = "incompatible",
    constraint_setting = ":incompatible_setting",
)

cc_library(
    name = "k",
    srcs = [],
    hdrs = ["k.hpp"],
    target_compatible_with = select({
        "//conditions:default": ["//toolchains:incompatible"],
    }),
    visibility = ["//visibility:public"],
)

Which Intellij IDE are you using? Please provide the specific version.
No response
What programming languages and tools are you using? Please provide specific versions.
c++
What Bazel plugin version are you using?
2024.11.19
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?

I think it's fixed in #7119, feel free to reopen if it's still an issue


Logic for higher-order interactions not implemented

Matrix and ABM models

Completed for both matrix and ABM versions


Search bar fixes css

Did you do a test search in Arabic after setting the CSS back? The only reason I changed it was because the Arabic search appeared behind the button due to it being nested. That being the case I tweaked the bar to give the input a little distance from the button.

The arabic will work with this. I added padding-right on the input :)

tayyb :)


Getting Dynamic Content from API before Render

So, as always, emails are static. However, some of the vars, and fields that I would want filled out are still static, but the information, like a URL, data, etc. could be dynamic from an API source, database, etc.
To better illustrate this feature, I have would have this custom component:
<KB number={"0010002"}/>
This would do a AXIOS call to:
https://MYINSTANCE.service-now.com/api/now/table/ (sans the rest the of API call)
... get the output of the response. Parse it and get the data I want to be able to do the render output in the email.
And on the "Desktop" view it would render:
"KB0010002" as a link to https://my.kbsystem.link/kb?=SYS_ID. My "KB" componey would use the <Link> of React Email for the final output.
On the "HTML" and "Plan Text" side it would still render our the URL as needed.
This way it would allow me to hardcode records inside the email render/template, but since the content is dynamic based off the version of the KB article in my example, it has to be maintained.
Ideas on how to do this? I also got some code working, however the biggest issue is that this system is designed to only work with static content and render it. This has to "pre-render" and then also "pre-output the text" before the render overall function of React Email works.
Thanks for your time.

To understand a bit better, are you trying to render dynamic content from an API to the react email preview app?

Yeah. This morning when I woke up, I thought maybe use swr package, but still no go.
The idea is that the API daaa while it might be dyanmic and/or static in the DB, the emails output (source, preview, etc) would be still it's static self.
I came up with this:
export function KB (props: any)  {
    console.log(props)
   const {data, error} = useSWR('fire', servicenow)
    // const {data, error} = useSWR(    '1123', servicenow)
    console.log(data)
    // return <Link href="https://{full url}">{display name}</Link>
    return "TESTING"
};

But useSWR never fires.

What's the use case to fetch db to preview in the email locally? I think you could use props and default props values, but when you're about to send the email, then you pass the dynamic values from the database to the email created.

The Issue
I think the biggest issue that I have seen is that fetch, axios, etc. are sync. I keep getting a promise issue when rendering.
Background
So my use case at least is that I am developing all these email notification for our ServiceNow implantation. #447 was the issue for that first part.
So ServiceNow, in a nut shell has their email notification system divided into two parts:

Templates
The Body

So I have now:
const EndNewIncident_Full = () => {

    return (
        <IncidentTemplate>
           <EndNewIncident_Body />
        </IncidentTemplate>
    )
}

As a sinle file in react-email and it does render out what I want.
I wrote another script inside my project that will take the output of  <IncidentTemplate> and export the HTML and the Plain Text into the correct "database" fields in my ServiceNow Instance for the template. and <EndNewIncident_Body /> goes into the actual notification plain text and HTML fields. I linked these up with the generated GUID for those records since they are always the same.  This allows my team to also in my Git repo, my team to go in and make these corrections to emails for spelling/grammer, and also additional information they want to include in the email notifications via internal PR requests.
Why Dynamic?
However, as part of these emails, while I can insert a "string" ${caller_id} and ServiceNow will replace it with the value that it will do based off the record it's generated from, the KB articles that I want to reference in the email notification, like polcies, etc. the links are ever changing based off the newest version that come from the KB system of ServiceNow. While I know if I make an update to the KB artcile and the link would be different, my script above I could fire at anytime to update the development instance and then I can just push it out to production without having to go into this tiny editing window which is a pain already.
So I've looked through and tried different types of component structure with no luck. So the closest I come is [Promoise waiting] result, however, as soon as I start doing async/await things stop working.
<KB number={"0010002"}/> would do an API call and get the most recent published version of the KB article URL and then store it in the email and display it using the <Link> element already there.
ServiceNow does not render code, it only has an output. If it had the ability to do it on the fly, yes, then I would be able to do it, but at this point, ServiceNow logic it doesn't.
Questions?
Let me know!

Hi @bukinoshita! This would be really useful, I'll try to explain why from my perspective.
This project does not limit what kind of objects we can pass as email component props. For instance, in my project, I have classes for User and Event that are constructed from a firestore document resulting from an API call to firestore, which cannot be easily mocked. These classes provide many methods and calculated properties that can be used in the emails, better than only passing the data as a regular data object as props.
Imagine an email with a props object
interface Props {
    user: User;
    event: Event;
}

const Email = ({user, event}: Props) => {};

In order to pass a mock, what I would actually need is to make a function that calls firestore in order to get a document for user and a document for event, that I can use to construct to objects of User and Event classes, which will be my mocks.
const getMockData = async () => {
    const userDoc = await firestore().collection('user').doc('whatever').get();
    const eventDoc = await firestore().collection('event').doc('whatever').get();
    return {
        user: new User(userDoc),
        event: new Event(eventDoc)
    }
}

But then I find problems in both ways I can call my getMockData function:

I cannot call the getMockData as a top-level await

interface Props {
    user: User;
    event: Event;
}

const mockData = await getMockData(); // ERROR top-level await

const Email = ({user, event}: Props = mockData) => {};

I cannot call getMockData in a parameter initializer:

interface Props {
    user: User;
    event: Event;
}

const Email = ({user, event}: Props = await getMockData()) => {}; // ERROR await cannot be used in a param initializer.

A way to be able to call getMockData would be what this issue is asking for.
Hope it clarifies and makes this feature be implemented sooner! Congrats for the project!


Can not trainning ?  It always block when training

Hi,
I have take >200 images ,but only twice circles。
Then I clicked train , 1 epochs or 8 epochs or 10 epochs . I cannot complete progress, it always blocked. Like  the picture below.

help me!

I set it to 10W mode, it blocked too.
I see meminfo : 3.3G/4G

I have encountered the same problem and turns out that there is an image that corrupted (size = 0) and that stucks the training progress from running. You may want to check out the size of each image to see if there are any abnormality.

I have encountered the same problem and turns out that there is an image that corrupted (size = 0) and that stucks the training progress from running. You may want to check out the size of each image to see if there are any abnormality.


Fix cygwin by using std=gnu++0x

Maybe fixes #195?

Coverage remained the same at 94.224% when pulling 6d03c77592d8ca7f8ede15231a7a887e896db4d9 on std_gnu into 740b0e6d9dd359598971ff8d20c395426f9c7492 on master.


WIP: Surface Update Reason for Exit Hop HTLCs

This PR updates processExitHopHTLC to take action based on the updateResult returned by NotifyExitHopHTLC.
Reasons for the change:

More understandable handler code: as is, invoice errors such as invoice underpaid and expiry fall through to processHODLEvent and would present as if they were hodl invoice cancels (we log that we're cancelling a hodl event) and hodl acceptances are inferred by the presence of a nil hodl event, which is not clear on first read of the code.
Better unit tests: surfacing the update result allows for unit testing of specific outcomes
HTLCNotifier will be able to notify events with their specific failure reasons.

Disadvantage of change:

Update to an interface which is widely used in lnd
Potential for bugs/behaviour change (further unit tests to follow after discussion of this change)

PR created to demonstrate an approach we're not going with - goal is to move invoice awareness out of the link entirely (this does the opposite).


Optimize pointer event handling on Web

Details
Internal: b/299346052
Pointer event handling takes 23% of a frame time. We can definitely see some improvements here.
Reproduction:

Load the target Web app on a laptop with touchpad/mouse
In Chrome Dev Tools/Performance, start recording
Drag the app around
Stop recording

Target Platform: Web
Target OS version/browser: Chrome Version 116.0.5845.140
Devices: Macbook
Logs
The detailed profiling log is unfortunately extremely flaky with out-of-order or mislabeled function names, making it extremely hard to figure out the culprit. However, here's a few we could try:

Skip the resampler when it's disabled.
Re-enable the hover hit testing subtree.

@dkwingsmt Were you able to find any actionable information since you filed the issue?

No, I haven't worked on it yet. I don't expect to work on it for a while, since I'm currently fully on multi-view.

It's been a while, but I think the last time I profiled it, I found that the symbols of the Web profile during a frame was highly flaky. Very often a tracing will be lost (or be recorded out of order, maybe) so that multiple events are combined into one, creating the illusion that it's the pointer event handling that took a large portion of time.


[AutoPR eventhub/resource-manager] EventHub: Revert the NetworkRuleSet

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5363

(message created by the CI based on PR content)


[Question]: Once the first user is created, it is not possible to generate new ones.

Contact Details
No response
What is your question?
How to create a second account without getting error?
More Details
I was able to create a new user successfully on the first attempt but encountered an error when trying to create another user with a different email address. Upon further investigation, I discovered that the social network IDs (such as googleId and discordId) in the User collection must be unique.
It appears that the issue occurred because the social network IDs were null during the second account creation, resulting in the error.
What is the main subject of your question?
Documentation, User System/OAuth
Screenshots

Code of Conduct

[ ] I agree to follow this project's Code of Conduct

Can you let me know how to reproduce this? For example, I'm using Google OAuth on a fresh database collection:

I login with the first gmail account, no problem
I login with a different gmail account, no problem
I inspect the database, and they indeed have unique googleId's.

I create the first gmail account (OK)
I create a new account with a different gmail (Error)

I inspected the source code and noticed used {sparse: true} yet still encountered the errors
MongoDB version: 3.6

@danny-avila Thanks for getting back to me so quickly.
Step to reproduce

I create the first gmail account (OK)
I create a new account with a different gmail (Error)

I inspected the source code and noticed that {sparse: true} was used, yet still encountered the errors
MongoDB version: 3.6

Of course, I want to help! Hmm maybe there’s a scoping issue with the way your OAuth is setup, because the IDs are returning null in all cases. I think maybe we could implement a fallback ID in case it’s null from the provider, with a warning issued that the provider did not issue an ID and one was generated so the user could be created uniquely.
I was going to say maybe it’s mongo acting up since you have an old version but what I said before is more likely

@danny-avila
I've updated the new MongoDB version to 4.2 but it still faced the errors.
FYI
Environment: Azure

After researching, I discovered that Azure MongoDB does not support sparse indexes. Therefore, I am closing this.

Thanks

After researching, I discovered that Azure MongoDB does not support sparse indexes. Therefore, I am closing this.
Thanks

I see, perhaps we can remove use of sparse for compatibility as I would like it to be compatible with cosmosDB


GITHUB-11761 (part 2): Fix unit tests to cleany work with new TierMer…

…gePolicy delete pct default
Description
We recently changed the default delete percentage of TieredMergePolicy that broke 2 unit tests. To fix this, we originally change the delete percentage to the old delete percentage. This change makes the unit tests work with new default delete percentages without changing it.

Thank you @mdmarshmallow !


Check availability of basket products

Fixes  #138

Current coverage is 46.68%

Merging #310 into master will increase coverage by +0.23% as of 0c20aef

@@            master    #310   diff @@
======================================
  Files          115     116     +1
  Stmts         3339    3361    +22
  Branches       320     303    -17
  Methods          0       0
======================================
+ Hit           1551    1569    +18
  Partial         27      27
- Missed        1761    1765     +4

Review entire Coverage Diff

Powered by Codecov


SaveMeta should include an ID and timestamp

Is your feature request related to a problem? Please describe.
Currently metadata records are not assigned an ID or timestamp when saved to the ledger's DB.
Solution proposal
Similar to other methods on the ledger, add logic to calculate the next metadata ID. Add this to the ID field of the record. Get the current system time and add the timestamp to the record as well.
To do this we would either need to update the storage.Store interface's SaveMeta method to accept an ID and timestamp, or change the core.Metadata type to be a struct which has an ID and timestamp as fields in addition the the map[string]json.RawMessage.

Merged with #64!


Issue with not rolled back transactions

Hello,
First of all thanks for your work.
I have an issue with not rolled back transactions in my repository, even I can clearly see that in DB logs transaction is starting and rolling back. This issue occurs in my mocha tests ( data are not cleared between tests ).
I've following configuration steps but the issue still occurs. Any hints regarding what I'm doing wrong?
To reproduce just update line 115 in Equipment.spec.ts file to test equipment
Link to repository
https://github.com/Melzar/onion-architecture-boilerplate
Thanks in advance for any help and your time.

Thank you @Melzar!
Looking at your test code, I do not see you did not initialize the cls namespace.
You should do it before these test run:
import { initializeTransactionalContext } from 'typeorm-transactional-cls-hooked';

initializeTransactionalContext() // Initialize cls-hooked

Hope it helps...

@odavid Thank you for your answer.
I know what you mean but:

I'm doing it in prepareTestDB function ( at the top of the file there is a helper )
Even when I move initializeTransactionalContext at the top of the test file ( or before hook  - ) then I have the following error

Error: No CLS namespace defined in your app ... please call initializeTransactionalContext() before application start.
I remember I've managed to work around this issue somehow but still transaction rollback wasn't applied ( but I could see rollbacks and so on in DB logs )
I would be grateful for any hints.

Hi @Melzar
Took your code in order to investigate.

First comment: ormconfig.sample.js should be changed - paths are .../db/... instead of .../database/... - typeorm could not load entities.
initializeTransactionalContext should be the first thing in the file, since it initializes the cls-hooked context.

I am sorry, but I could not find why (spent 2 hours...)...
Have you tried to talk with @Kerren-Entrostat about that? Maybe he can help here...
Please let me know if you managed to solve this...

Hi @Melzar,
I think I have a clue...
It seems that you change the connection name during the tests. so it starts with onion_test and then becomes /v1/equipment and then again onion_test. I believe this is the main issue, since the context name is built on the connection name.
Hope it helps...

@odavid Regarding paths - I've refactored code structure so that was the reason - it requires just pull from repository as I've updated dependencies there.
Connection name is the same during the tests but I'm creating new database for every test suite, so tests can run in parallel. Did you manage to debug this issue with changed connection name during tests? I haven't ask @Kerren-Entrostat about that, I'm not sure but I've got a feeling that this issue can be caused by AbstractRepository in TypeOrm which I'm extending. I will try to debug source code of your lib and see what is the issue. Maybe somewhere along the code lines rollback are applied not to the DB with provided name but to default database.
I'll let you know about my findings.

@odavid I think I know what is going on, I'll try to explain.
The issue probably is related to @Transactional decorator, as it takes as parameter connectionName which for which we have then EntityManager. InTransaction hook in my repo, is evaluated and set when code is compiled and then onion_test database options are picked from ormconfig.js file. It looks like Transaction is applied to onion_test connection and entityManager not /v1/equipment or any other connections and databases. That's why probably data from databases are not cleared - transaction is not applied to correct database. To solve it, I would need a way to pass custom connection data / connection / entityManager to transaction. Do you have any idea how can I do it? If extension is needed to your lib I'll prepare something, but probably I will have to prepare additional wrapper function with optional parameters as it won't work probably with decorator - what do you think?

@Melzar - maybe connectionName can be either a string or a function that provides string...
I am +- AFK and won't be able to test that. Can you check that and if yes prepare a PR?

@odavid I've checked again - Test passed when I've provided connectionName '/v1/equipment' and commented out rest of the tests. I'll see if there is workaround for that and provide you some feedback

@Melzar - Can u please try the PR I've created here. and pass connectionName: ()=> process.env.ORM_CONNECTION in your code?

@odavid I'm on it, let me check

Please take it again... had a small bug...

@odavid Checking... I have some issues with resolving modules but it's probably on my side

I can't test it because sources are in TS not js and I have following issue
`export enum IsolationLevel {
^^^^^^
SyntaxError: Unexpected token export
`
Any idea to workaround it?

please run yarn build and then use the dist folder...

Unhandled asynchronous exception: TypeError: Object.defineProperty called on non-object
    at Function.defineProperty (<anonymous>)
    at onion-architecture-boilerplate/dist/node_modules/typeorm-transactional-cls-hooked/src/Transactional.js:25:16

Hmm not sure if it's on my side or bug

Ok I've double checked your solution - it won't work because it's a decorator which is evaluated before everything else :( so before I'm able to mock/stub function ( I have to do it in every spec in before call ) we are still returning 'onion_test' value. I think that without transaction wrapper function it won't be possible to achieve dynamic values.

@Melzar - I made it work just now.
Please pull and try again...

Commented out // await clearTestDB(testName); in Equiment.spec.js so db won't deleted
Ran psql

postgres=# \c /v1/equipment
psql (12.1, server 11.6 (Debian 11.6-1.pgdg90+1))
You are now connected to database "/v1/equipment" as user "postgres".
/v1/equipment=# select * from equipment;
 id | name | userId
----+------+--------
(0 rows)

/v1/equipment=# ```

Before it had a value all the time.

@odavid Ok checking...

@Melzar - looking forward for results 😄

@odavid You are the man! It works - but, there is one eventual issue, you can see it also in my repo and is related to User.spec.ts. We are running tests in transactions and if in repository we try to remove records in transaction ( or apply any operation in transaction, like adding / removing / updating related records ) we will face following error Error: Cannot start transaction because its already started - do you have any idea to workaround this issue ?

Well, I would remove the from the repository and move it to the service level method by wrapping it with @Transactional
It is too late for me... will merge it soon and create a new release...

Got it, I'll play around and see what I can do, thanks man for all the support!

@Melzar - released 0.1.12


Add a setting to change the exported symbol names according to the backend naming convention

Thanks for the useful crate.
I'm not good at English, so I'm not sure myself if the code comments included in this PR are appropriate.

Thanks!


Speed up input.getIndex() [5]

This is a fairly significant performance hog.
Use knowledge that index is normally 0 (for radiobuttons, the index of the parent fieldset) except when inside a repeat

profile this function separately in #53

this function is not actually causing any significant slowdown at all.


Added BenchmarkDotNet bench project + preliminary results

Thanks for the pull request; I left a few comments but if you get them fixed up I'd be happy to merge.

I redid the PR with your comments, as best I could, let me know how this attempt looks to you

Thanks for the cleanup. Merged!


Cursor is always placed into body ...

... regardless of whether I set it to be placed there or into the title.

This should also be fixed in version 2.1.3.

And it is fixed. Merci!


static background image

Is your feature request related to a problem? Please describe.

the background album art image is moving or rotating
Describe the solution you'd like

can i make it static? i want it to not move
Describe alternatives you've considered

just make it a static image instead of rotating
Additional context

i deleted some lines in the code its kind of working idk if updating it in the future will break it now

If you install through the marketplace you can easily select the NoAnimation variant

If you install through the marketplace you can easily select the NoAnimation variant

i did not install from the marketplace

i did not install from the marketplace
Then instead of
https://github.com/JulienMaille/spicetify-dynamic-theme/blob/960cf51754c329793024524cb9affdb1b6964557/README.md?plain=1#L36-L40
you should call
spicetify config color_scheme NoAnimation


socok8s ansible didn't show failure status when deploy osh operation fails in Airship

when deploy osh operation fails in Airship, the socok8s ansible playbook reports all nodes are successful (no error). The Airship Shipyard error messages are printed right before the final ansible status, just to be clear.
Modified the code so that if the Update software action failed, it prints a failed message and the deployer node status is failed
Also in the case when the no of retries are finished and the Update software action is still running, it prints a message without failing any nodes.

Closing this PR and moving the branch to own fork


Using Angular directives

Hello Pat,
According to you, what we would be the best way to use the context-menu into an Angular app ?
For instance I'd like to use Angular directives as titles.
Regards

Every time the context menu is shown, the HTML for its items is placed into the DOM. Since this action exists outside of the Angular digest cycle, you'd have to compile the HTML manually with Angular's $compile service. The way you'd do that is you'd inject the $compile service into the controller/service/directive the context menu exists in, and then execute the $compile call in the title function's return statement. Example:
app.directive(function($compile)) {
...
var menu = [
{
title: function() {
var yourHtml = '{{someVar}}';
return $compile(yourHtml)($scope);
},
action: function(elm, d, i) {
console.log('Item #1 clicked!');
}
}
]
...
} // end directive
I didn't test that, but it should work. Let me know if it doesn't.

Thank you for your answer.
Finally as I needed more customization and modularization, I created a new directive inspired from your context-menu.
When a there is contextmenu event in D3, I dispatch an event that is caught by my directive which is then displayed with the given data.

Sounds good, glad you were able to figure something out.


master branch updates

@estenberg look ok?

Yep! We could probably drop some of the older Mender client versions too (e.g. one year or older), but  nice improvement on its own.


Change deployer sub-scripts into deployer actions

Context
Currently, the deployer module has lots of useful functions, available as deployer actions https://github.com/2i2c-org/infrastructure/blob/master/deployer/README.md|
But there are also deployer "sub-scripts" like update_central_grafana_datasources.py or cilogon_app.py.
Having these sub-scripts in the same place with various deployer utilities makes it hard to know which one is which.
Proposal
We should have the sub-scripts ported as deployer actions.
Updates and actions
No response

Sub-actions to be taken here:

[ ] Move deployer/cilogon_app.py
[ ] Move deployer/update_central_grafana_datasources.py
[ ] Move shared/keys/decrypt-age.py


How to relation identity and identityserver entities?

 public class AppUser: Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<long>
    {
        public List<AspNetUserClient> Clients { get; set; }
    }

 public class AspNetUserClient
    {
        [Key]
        public long ID { get; set; }

        /// <summary>
        /// this object is from IdentityServer4.Entityframework
        /// </summary>
        public IdentityServer4.EntityFramework.Entities.Client ClientID { get; set; }

        public AppUser AppUserID { get; set; }
    }

I want make a relationship between IdentityUser and IdentityServer Client.
IdentityUser can create clients, what the best solution?
Help!!

@brockallen / @leastprivilege

I'm unclear on what's being asked.
If they want to setup some additional FKs in their DB, then go for it. But that's beyond the scope of either IdentityServer or ASP.NET Identity, I'd think.

@brockallen / @leastprivilege I think you get the point. I have tried lots of time, but still can not find the way.
Could you give me a example, thanks a lot!
    public class AppUsersController : Controller
    {
        private readonly ApplicationDbContext _context;
        public AppUsersController(ApplicationDbContext context)
        {
            _context = context;
        }

        // GET: AppUsers
        public async Task<IActionResult> Index()
        {
            var users = await _context.Users
                .Include(x => x.Logins)
                .Include(x => x.Claims)
                .Include(x => x.Roles)
               // the point is here!!  how to make this?
                .Include(x => x.Clients)
                .AsNoTracking()
                .ToListAsync();

            return View(users);
        }
}

 public class ApplicationDbContext : IdentityDbContext<AppUser,AppRole,long>
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
            : base(options)
        {
        }
        protected override void OnModelCreating(ModelBuilder builder)
        {
            base.OnModelCreating(builder);
        }

        public DbSet<AppUser> AppUser { get; set; }
    }

 public class AppUser : IdentityUser<long>
    {
        public long ParentUserID { get; set; }
    }

I have achieved this by forking IdentityServer4.EntityFramework into my solution and extending it's entities right there. Looks a bit ugly but I don't know if there are better solution to extend IdentityServer's entities.

@jansivans  share me a link?

As this is related to IdentityServer closing.


How to use Week 6 HUD in a custom Song/use Senpai or Roses Background Freaks in custom songs

I'm currently working on my next update to my Psych Engine Mod; The Ultimate SiIvaGunner Mod, but I was going to do the Week 6 Rips, but unfortunately, I can't use the Week 6 HUD or Choose a different Background Freak Expression.
I'm using the Downloaded Build Version of Psych Engine, where I can simply put my mods under mods/. is there any way to use Week 6 Arrows, or change the expressions of the Background Freaks in the Weeb Stage?

if ya wanna add a bg object and animate it just check out bbpanzu's tutorial on psych and theres a thing tht asks for the note assets texture and splash texture so maybe input an arrow texture?


KAFKA-3830; getTGT() debug logging exposes confidential information

Only log the client and server principals, which is what ZooKeeper does after ZOOKEEPER-2405.

Review by @junrao, cc @fpj.

LGTM

+1

LGTM, thanks for spotting it @ijuma.


enable rigid optimization with geometric

Recently a rigid optimization has been introduced in geometric that may be used for calculating interaction energy curves of molecular dimers while excluding the effects of intramolecular deformations.
To enable this feature, in geometric command line the options --rigid yes and --conmethod 1 need to be used.
geometric.readthedocs.io/en/latest/constraints.html
I am using qcengine with a custom OpenMMHarness (I skip copy pasting this custom function) to run the optimization, I tried specify rigid yes and conmethod  in the keywords dict of OptimizationInput, the optimization does not give errors and finished successfully, however the conformation (i.e. bond length, angles and dihedral) of the monomers in the dimer does vary, meaning that the keywords for the rigid optimization are not passed correctly to geometric
import qcengine
from qcengine.programs.openmm import OpenMMHarness
from qcengine.programs import register_program
from qcelemental.models import AtomicInput, OptimizationInput, AtomicResult, Provenance
from qcelemental.models.common_models import Model
from qcelemental.models.procedures import QCInputSpecification
from rdkit import Chem

dimer = Molecule.from_file("path/to/molfile.mol")
model = Model(method="openff_unconstrained-2.0.0.offxml", basis="smirnoff")
qc_mol = dimer.to_qcschema()

opt_task = OptimizationInput(initial_molecule=qc_mol,
                                                 input_specification=QCInputSpecification(model=model),
                                                 keywords={"program":"openmmdimerharness",
                                                                    "coordsys": "tric",
                                                                    "maxiter": 500,
                                                                     "rigid": True,                 #    Here are the two keywords
                                                                     "conmethod": 1})         #
result = qcengine.compute_procedure(input_data=opt_task, procedure="geometric")

If the keywords simply get passed through, geometric should work with the rigid optimization as expected, however this is not the case and I suspect something would be needed in qcengine to enable this opt.
Looking forward for some help / hint

Closed since it works correctly with expected behavior. I was just connected to a notebook running the wrong geometric version :)

Closed since it works correctly with expected behavior. I was just connected to a notebook running the wrong geometric version :)


Fix add_sequence_neighbour_vector

Reference Issues/PRs
Hi, @a-r-j 👋! Currently, add_sequence_neighbour_vector has two bugs:

If conditions for adjacency fail, the vec from the previous iteration (pair of adjacent residues) is being used. So, the errors propagate silently. I fixed it to put zeros when conditions fail.
It does not handle insertion codes. Currently, I fixed it by parsing node ids first, but there probably may be a better way to get insertions.

I have also removed a redundant check for chain identity when iterating through the nodes of the same chain, and added a test.
What does this implement/fix? Explain your changes
What testing did you do to verify the changes in this PR?
Pull Request Checklist

[ ] Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
[x] Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
[ ] Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
[x] Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
[ ] Checked for style issues by running black . and isort .

Thanks @anton-bushuiev, LGTM! Can you please add a short note to the changelog?

Hi, @a-r-j  ! I have update the changelog but I am not sure how it is currently with versioning.


Add StorageEvent support

Common use-case is to synchronize information between multiple tabs of the same app (like last selected top level feature within an app).
https://html.spec.whatwg.org/multipage/webstorage.html#the-storage-event
Let me know if you want that feature introduced,
Thanks

Sounds great! Are you working on it?

probably, I started my own deeper insight into Blzr. Could do this at some point, leave open.
Thanks!

Completed with #11, Thanks @peterblazejewicz !


🐛 Samsung crashes when using flash

What's happening?
after update 3.6.4 to 3.9.0
The app turns off when using the camera on the Galaxy A33 or the flash function on the S24.
Reproduceable Code
...
const [currentDevice, setCurrentDevice] = useState<CameraDevice>();
...
const setDeviceMode = useCallback(
    (type: 'front' | 'back') => {
      let findUltraDevice = false;
      let findWideDevice = false;
      let index = 0;
      let count = 0;
      for (let i = 0; i < devices.length; i++) {
        if ((devices[i].position === type && devices[i].physicalDevices[0]) === 'ultra-wide-angle-camera') {
          if (devices[i].physicalDevices.length > count) {
            index = i;
            count = devices[i].physicalDevices.length;
            findUltraDevice = true;
          }
        } else if (
          devices[i].position === type &&
          devices[i].physicalDevices[0] === 'wide-angle-camera' &&
          !findUltraDevice
        ) {
          if (devices[i].physicalDevices.length > count) {
            console.log('wide-angle-camera => ', i);
            index = i;
            count = devices[i].physicalDevices.length;
            findWideDevice = true;
          }
        } else if (devices[i].position === type && !findWideDevice) {
          if (devices[i].physicalDevices.length > count) {
            index = i;
            count = devices[i].physicalDevices.length;
          }
        }
      }
      setCurrentDevice(devices[index]);
    },
    [devices],
  );
...
useEffect(() => {
    if (devices) {
      setDeviceMode('back');
    }
  }, [devices, setDeviceMode]);

...
return (
...
  {currentDevice && (
              <Camera
                ref={(ref) => (camera.current = ref)}
                photo={true}
                style={styles.cameraViewLayout}
                device={currentDevice}
                isActive={isActive}
                zoom={currentDevice.minZoom}
                enableZoomGesture={true}
                focusable={true}
                enableHighQualityPhotos={true}
                orientation={cameraOrientation}
              />
            )}
...
)

Relevant log output
//only Samsung A33 Thread Stack Trace

jdk.internal.misc.Unsafe in park
java.util.concurrent.locks.LockSupport in parkNanos at line 252
kotlinx.coroutines.BlockingCoroutine in joinBlocking at line 88
kotlinx.coroutines.BuildersKt__BuildersKt in runBlocking at line 59
kotlinx.coroutines.BuildersKt in runBlocking at line 1
kotlinx.coroutines.BuildersKt__BuildersKt in runBlocking$default at line 38
kotlinx.coroutines.BuildersKt in runBlocking$default at line 1
com.mrousavy.camera.core.CameraSession in close at line 92
com.mrousavy.camera.CameraView in destroy at line 135
com.mrousavy.camera.CameraViewManager in onDropViewInstance at line 38
com.mrousavy.camera.CameraViewManager in onDropViewInstance at line 16
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 635
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in dropView at line 646
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in dropView at line 399
Suspect Frame
com.facebook.react.uimanager.NativeViewHierarchyManager in manageChildren at line 499
Suspect Frame
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager in manageChildren at line 300
Suspect Frame
com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation in execute at line 217
com.facebook.react.uimanager.UIViewOperationQueue$1 in run at line 915
com.facebook.react.uimanager.UIViewOperationQueue in flushPendingBatches at line 1026
com.facebook.react.uimanager.UIViewOperationQueue in -$$Nest$mflushPendingBatches
com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback in doFrameGuarded at line 1086
com.facebook.react.uimanager.GuardedFrameCallback in doFrame at line 29
com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher in doFrame at line 175
Suspect Frame
com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1 in doFrame at line 85
android.view.Choreographer$CallbackRecord in run at line 1648
android.view.Choreographer$CallbackRecord in run at line 1659
android.view.Choreographer in doCallbacks at line 1129
android.view.Choreographer in doFrame at line 1045
android.view.Choreographer$FrameDisplayEventReceiver in run at line 1622
android.os.Handler in handleCallback at line 958
android.os.Handler in dispatchMessage at line 99
android.os.Looper in loopOnce at line 230
android.os.Looper in loop at line 319
android.app.ActivityThread in main at line 8893
java.lang.reflect.Method in invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 608
com.android.internal.os.ZygoteInit in main at line 1103

Camera Device
The app was turned off so I couldn't receive logs.

Device
Samsung A33,S24
VisionCamera Version
3.9.0
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

sentry log

It's a sentry AI solution, but I don't know if it will help.
Hello there! 👋
Problem Description
It seems like your application is experiencing an ANR (Application Not Responding) error. This means that your app has become unresponsive to user input for a significant amount of time, causing frustration and annoyance for your users. The error message simply says "ANR", which isn't the most informative, but it does convey the general idea.
Looking at the stack trace, the issue seems to be happening in the park function from the jdk.internal.misc.Unsafe module. Wow, that sounds like a really safe and reliable place for a problem to occur! From there, the error propagates through various functions in the Kotlin coroutines library (kotlinx.coroutines), until it reaches the dispatchMessage function in the android.os.Handler module. Finally, it ends up in the main function of the android.app.ActivityThread module.
Proposed Solution
To fix this ANR issue, you'll need to ensure that your app is not blocking the main thread for too long. Blocking the main thread can lead to unresponsiveness, as it prevents your app from handling user input and updating the UI.
One way to address this is by moving long-running tasks, such as network requests or heavy computations, to background threads or coroutines. This way, the main thread remains free to handle user interactions promptly. In this case, you'll need to review the code in the runBlocking function calls from the Kotlin coroutines library and make sure they are not used inappropriately or excessively.
Here's an example of how you can modify your code to use coroutines properly:
// Old code
runBlocking {
// Long-running task
// ...
}
// New code
GlobalScope.launch {
// Long-running task
// ...
}
By using GlobalScope.launch, you create a coroutine that runs on a background thread, allowing the main thread to stay responsive. Remember to handle any necessary synchronization and error handling within the coroutine.
What Else
Remember, Sentry can't fix this ANR issue for you, but it can help you identify where it's happening and provide insights into how it's affecting your users. With Sentry, you'll be able to catch and track ANR errors, allowing you to proactively address them and improve the overall user experience.

You block the main thread, causing a brawl.
But fear not, for coroutines can save the day,
Move your work off the main thread, and let it sway. 🚀

Hey - I need the native stacktrace or tombstone, otherwise I cannot do anything.

example is working,I'll solve the problem on my own

Hello There,
Any workaround for this?. We recently migrated our camera and we are getting some crashes because of this
Thanks in advance

Yes this is fixed in V4.

Hello,
Perfect, thanks for the quick reply


[4.1] Fixing repeatable saving

refs: #3153
Sorry for taking time to find the issue. I was not able to reproduce it in my local development because I already had it fixed here.
If you see the commit history: https://github.com/Laravel-Backpack/CRUD/pull/3148/commits the last commit I added already removed PHP from JS (That was the root of this problem), I then did the same here, but pushed without commiting the change.
I was about to go crazy because everything was working here. I then pulled a clean branch and did a diff so I spotted the difference immediately.
Sorry for that, hope repeatable is now fixed for good.
Please @tabacitu merge this asap :+1:
Best,
Pedro

A new inspection was created.

A new inspection was created.

The inspection completed: No new issues

The inspection completed: No new issues

Thank you @pxpm - merged and tagged.


Fix for ENOENT problem

This fix resolves problem with crashing "copy" task which has pipe conflict with cleaning task.

:ok:


Food Recipes

Description
Food recipes are a combination of different ingredients like potatos, bread, vegetables etc to combine for a product to give to the animals. There will be ~10 recipes with a combination of very simple recipes to a few slightly complex ones. The player will be able to collect these ingredients and interact with other features such as the oven, stove, deep fryer to create the food item. These different recipes and varying complexity add a layer of depth to the game which can make it more difficult every day the game is played.
SubFeature/component (optional)

Cooking the ingredient
Preparing the ingredient
Variable cooking time (can burn or undercook ingredients)
Different animals prefer different food items

Examples (Food Recipes)

Beef Sandwich
Chicken Sandwich

Reliant Features

#5
#7
#6
#8

Milestones

[ ] Decide ingredients (need to talk to item group and customer types group) - 23 Aug
[ ] Create simple recipes (at most 2 ingredients) - 20 Aug
[ ] Create complex recipes (at most 5 ingredients) - 20 Aug
[ ] Implement cooking functionality - 30 Aug
[ ] Testing Code - 30 Aug
[ ] Documentation - 30 Aug

Completion Deadline: Aug. 30
Documentation

Main description of feature
User documentation
...

Members

Willem Bor @willembor
Alexander Shomer @Ashom2
Joanna Wang @Joanna-Wang105
Ashwin Harikrishna @AshHarikrishna
Calvin Shaji @CalvinJohn99
Daleela @daleelakhairil

Right hand side (assignee, labels project needs to be filled out)