[LIVE-6541] [LLD]: Improve "connect" screen during sync onboarding via USB

📝 Description
Improve stax connect screen before ESC by polling device onboarding state
https://github.com/LedgerHQ/ledger-live/assets/145363160/4522dc25-aeba-4682-83fe-2c5d45e44761

❓ Context

JIRA or GitHub link: LIVE-6541

✅ Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.

[x] npx changeset was attached.
[ ] Covered by automatic tests.
[x] Impact of the changes:

Lock stax in connect screen before/after lottie animation change
Unplug stax in connect screen before/after lottie animation change

🧐 Checklist for the PR Reviewers

[x] The code aligns with the requirements described in the linked JIRA or GitHub issue.
[x] The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
[x] There are no undocumented trade-offs, technical debt, or maintainability issues.
[x] The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
[x] Any new dependencies have been justified and documented.
[x] Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

/generateSnapshots

/generate-screenshots

/generate-screenshots


Update version: Neovim.Neovim.Nightly version 0.9.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Close with reason: Updated in #97352;


Option to append to inventory file with directives for cross-referencing?

It would be great to allow for the CLI commands generated to be loaded as well into the objects.inv that's generated alongside something like mkdocstrings. This would let me use the native cross-referencing of something like [my-entrypoint subprogram][] to generate a cross-reference, rather than [my-entrypoint subprogram](references#my-entrypoint-subprogram) at the moment.

In the meantime you could also try to enable autorefs' full-mode by listing it in plugins, in mkdocs.yml. Then just use your command anchors as identifiers: [my-entrypoint subprogram][my-entrypoint-subprogram] probably.


Fixed dependabot workflow not removing reviewer

#1090  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Fix Transfer-Encoding header not removed for buffered requests

What
by default, APICast buffers the entire request before sending it upstream, however, if proxies are involved and the request is sent with a "Transfer-Encoding: chunked" header, the API will forward the request with the full buffered request body and "Transfer-Encoding: chunked" header and thus upset the upstream server.
This PR fixes https://issues.redhat.com/browse/THREESCALE-9542 by removing the "Transfer-Encoding: chunked".

@eguzki let's try to discuss this soon. I have documented a patch here: https://access.redhat.com/solutions/7013421 and will share a gist or draft PR just as a reference but ultimately my feeling is that this is not something we want to add to the Product. I think it would be much better to solve this by adding support for chunked requests otherwise this patch is kind of anti-pattern in my opinion and customers won't realise their requests are being modified.

@tkan145 did you review my comments yet? Did you try to implement that? In the end I have actually provided a bug fix for the customer which reported the issue, it's in the original support case. I still think the correct fix that we would want to ship though is full support for chunked requests and that we don't touch any request headers. @eguzki would you agree?

@kevprice83 yes I have an updated code for this PR and I also have a patch to support the native chunked request but I haven't fully tested it. Let me know what you guys want to do and I'll send another PR

@tkan145 that should be submitted as a new PR in my opinion and this one closed.

Close this, as https://github.com/3scale/APIcast/pull/1400 has a better implementation


feature: verify server version

This pull request fixes #14 .

Good job! Before we can merge it, can you please change the untrusted version number, to match with the trusted version number? (0.2.2). Otherwise, the version checking will keep failing.
https://github.com/mithril-security/blindai/blob/396fd00e1d548ba466c37eaf5311d538bf373c46/server/inference-server/scheduler/untrusted/Cargo.toml#L9

Thanks a lot! Merging your changes.


Failed to find yamllint executable: Expected exit code 0, but got 1

2022-10-26 09:04:29,928 [39449181]   WARN - #i.a.y.YamllintExecutableFinder - Failed to find yamllint executable: Expected exit code 0, but got 1
2022-10-26 09:04:29,928 [39449181]   INFO - #i.a.y.YamllintProjectAnalyzer - No yamllint executable found, defaulting to 'yamllint'

In terminal it works:
> which yamllint
/Users/.../.local/bin/yamllint
> echo $?
0

One thing that comes to my mind is access rights, but IDEA process runs under the same user as my terminal. The other one is customised PATH I have in terminal (~/.profile) but which is not in the IDEAs cmd line.
BTW, given the fact, that plugin settings are per-project, I need to manually set the executable in each project 😿

Hey, thanks for the report!
How are you running IDEA? It looks like you're on Windows based on the path. Do you use WSL?

One thing that comes to my mind is access rights, but IDEA process runs under the same user as my terminal. The other one is customised PATH I have in terminal (~/.profile) but which is not in the IDEAs cmd line.

I'm thinking along the same lines. At what point is .local/bin/ added to the PATH?
Just to rule out any other errors, can you enable and post the debug/fine logs?
To enable it, go to Help > Diagnostic Tools > Debug Log Settings... and add: io.aesy.yamllint:all. You probably also want to remove the <component name="YamllintSettings"> section from the workspace file (usually .idea/workspace.xml when the project is closed in order to force the plugin to reinitialize when you open it again. You can then find the log file using Help > Show Log in Explorer (if you are on Windows).

BTW, given the fact, that plugin settings are per-project, I need to manually set the executable in each project 😿

The reason for that is because folks may want to use different versions of yamllint in their projects. It shouldn't be that much of an issue as long as the auto-detect feature works.

I'll close this issue for now, feel free to reopen it if you have any new findings


Logic to render a list of bucket-list items

It's done when I write logic to render a list of bucket-list items using .map.
I think I will do this second because that will make it clear that the initial state changing function is working correctly.

Simple display function
While working on issue #1, I rendered the values stored by the bucket state object inside a simple
 element, in the main BucketList component. This made it easier to know if my changes to state were working a intended; it later helped build a skeleton for rendering the bucket list items stored in state in the Bucket component.

I started with most simple rendering: a JSX expression that took the state object, at the time an array of string values, and rendered it as part of the BucketList component. By default, it returned the values as a concatenated string.

Bucket: {bucket}

When I changed the data type of the values in the array - from strings to objects - the values would no longer render to the page. The application provided me with the following error:
Objects are not valid as a React child (found: object with keys {id, text, eagerness}). If you meant to render a collection of children, use an array instead.

I resolved this with a function which would iterate through the bucket items with .map and return a JSX element: a
 item with a unique key (as required by React), and displayed the bucket list item as inner text content.

const displayBucket = () => {
    const listItems = bucket.map((item) => {
      return (

          {item.text}

      );
    });
    return listItems;

I used a JSX expression to run this function; containing it in an ul element:

{displayBucket()}

While ultimately not part of the final product, this method of rendering the bucket list items was good enough while I was developing the logic to add a bucket list item (#1).

Integrating with the Bucket component
The starter code came with an existing frame for rendering the bucket list: the Bucket component. Once I had completed the logic to add a bucket list item (#1), I worked to make the changes required to have this component render elements based on the values stored in the bucket state object. To do this, I:

Imported the Bucket component as a module in the BucketList component. This was initially a breaking change: as calls to functions that did not exist yet and elements assigned empty JSX elements as attributes prevented Bucket from rendering.
import Bucket from './Bucket';

Deleted or commented out every function call or empty attribute from the component's return value:

 ✏
 ...became...
✏

Passed the bucket state object through from the BucketList component to the Bucket component as props; as I needed to read its values to render them in the Bucket component.

Iterated through the items in the bucket array; rendered each element with text content and a key drawn from the properties of the objects in the array.

     {item.text}


Add XR_FB_hand_tracking_mesh extension wrapper and XRFbHandTrackingMesh node

Adds support for XR_FB_hand_tracking_mesh via a new XRFbHandTrackingMesh node.
https://github.com/GodotVR/godot_openxr_vendors/assets/95497005/9a830f73-940c-4a9a-9ecd-764a5f6d5232
This node is intended to work with the new XRHandModifier3D node. The target property of XRHandModifier3D needs to be directed to XRFbHandTrackingMesh's Skeleton3D after all of the bones have been constructed. So, after skeleton construction, XRFbHandTrackingMesh will check to see if it is a child of XRHandModifier3D, and it will set its target property accordingly.
XRFbHandTrackingMesh has properties (use_scale_override and scale_override) that correspond to the XrHandTrackingScaleFB struct. If use_scale_override is set to true, scale_override will be applied to the mesh/skeleton. At the moment I'm not convinced this is how the mesh is supposed to scale (the wrists don't seem to scale at all), but I'm not positive how it's supposed to look, I'll put a picture of an example of a hand scaled 0.5 and 1.75 below.

Edit: This PR currently relies on an updated extension_api.json in godot-cpp so it will fail CI at the moment.

I've updated this PR so that all of the XrHandTrackingMeshFB data is now stored in LocalVectors (so no need to worry about memory cleanup I believe), and only the data relevant to skeleton construction will persist. Meanwhile the mesh data will be used to construct ArrayMesh resources, and those will be cached instead of the raw mesh data.


Windows Firewall Data Connector

Describe the bug
Windows Firewall Logs are "not" being sent through to Sentinel after Windows Firewall connector has been configured.
To Reproduce
Steps to reproduce the behavior:

Go to "Azure Sentinel"
Click on "Data Connectors"
Scroll down to 'Windows Firewall"

Expected behavior
Windows Firewall Events to be available under the log options:

Logs
Windows Firewall
Run the default command > expecting to see results

Please request additional content if required.

First - I was there not too long ago. Same thing - disconnected, reconnected, etc.
Quick Check:
A.) Run this query in logs ->
WindowsFirewall
| limit 50
B.) Verify that the MMA agent is installed and you are receiving logs (in general from the endpoints).
C.) Check your pfirewall log (just in case) to verify that you are accumulating data ->
C:\Windows\System32\LogFiles\Firewall
If A, B, C fail - Let's go rogue.
Delete your MMA (Agent)
Grab the download file here -> 64 https://go.microsoft.com/fwlink/?LinkId=828603
32 https://go.microsoft.com/fwlink/?LinkId=828604
In Azure, Go-To Security Center
Then Security Solutions
Followed by add non Azure servers.
If you have never set this up, bind it to your Azure Sentinel logs.
Install the agent with the workspace id and key.
Give a few and then check original KQL -
WindowsFirewall
| limit 50
Success?

Hi RealEliteOwl,
We found that the firewall logging wasn't enabled. We have since done so and can confirm the data is accumulating.
Can you please clarify the following in regards to going rouge:

By deleting the MMA (agent) do you mean uninstall the agent?
Step 2 > go to Security Center, do you mean the log analytics workspace? We are not currently using Security Center.

Thank you for your help so far and for pointing us in the right direction with the firewall log! We didn't know that we needed it turned on.

Ah! I can see where that is confusing.
1.) Yes, deleting the agent. Early on, it did not appear that changes to settings impacted the (prior installed) agents. In some cases, we had to uninstall them and reinstall before new data was flowing.
2.) Nope - Security Center (we don't use either), but when information was not flowing correctly, we added them to it as non-azure machines and were able to get data flowing that way.
Hope that all makes sense.
You'd think that having the MMA installed would be enough to pull all the required data (like firewall data) on its own (similar to how WDATP works), but it appears that this is not the case with this implementation or it's broken - either one.
Glad to help.

Same issue not getting any data
Ensured WF log is enabled for both Drop/Success for Domain/Public/Private Profiles (Default path and file name)
Uninstalled MMA
Restarted VM (WinServer2019 Azure East Asia region same RG as Log Analytics Workspace)
Azure Sentinel followed link to Install MMA agent by connecting it MMA Version is = 1.0.18001.0
Rebooted VM after MMA installation
Log Analytics Workspace is located in Southeast Asia (Same RG as VM, just different region)
Sentinel Data Connector for WF is still showing no logs received.
Did a test with Log Analytics custom logs was able to recieve the WF log file (Default location and name) and data was showing up under Custom Logs.
A.) No results returned
B.) Heartbeat query is working and other Security Events
C.) Logs are showing SENT/RECEIVED connections
Deleted/Re-connected through Azure Exention - Check
Azure Security Center no need as this is an Azure VM

Hi I'm having the same issue. I have now created a new VM, turned on Public/Domain/Private logging for connections, default name and path, and installed MMA from the Sentinel Portal.  I am getting Security event data but not Firewall logs.  Any other ideas? Is there something else I need to install to get this working?

Hi,
assuming your agent is healthy and you are seeing Heartbeat in the workspace.
can you try to reduce the size of the FW lof on the sample VM
https://www.howtogeek.com/220204/how-to-track-firewall-activity-with-the-windows-firewall-log/
Becuse the FW upload the logs to the workspace only if the logs reach to cetren size, or after 1000 activities.
Action plan:

change the logs size to samll size ( single KB's )
do some opertion that will write to the FW lofs
check if the event is witen to the workspace

It might take time until the windows Firewall alerts appear in Log Analytics, the agent waits for 1000 entries in the log file or 4MB file size and then sending the data. Can you please check if you got the Windows Firewall logs already?

Nothing recent on this issue, closing for now.


Fix integer validation

Fix an issue where when an invalid integer is entered, error message doesn't show up.

If this is what we discussed around 6pm today, it should get merged in time for the release candidate. I'll add it to the list of pull requests

Yes.
I found out why the change event is not always fired. It was actually designed that way, I documented that in the source. So these changes are all we need to fix the validation problem.

Problems caused by the previous changes are fixed now.


Feature request: Do not add a slash for --public-url .

This is the same issue as #165, which was closed as the original reporter did not want to pursue it any further.
It would be great if there was a way to make the generated page path-independent by not using any absolute paths (I'd even argue that this should be the default). As far as I can tell, this is currently not possible; the commands suggested in #165 do not work:

trunk build --public-url . generates the following:

<script type="module">import init from '/./index-aff7550d9c9c0030.js';init('/./index-aff7550d9c9c0030_bg.wasm');</script>

trunk build --public-url '' generates the following:

<script type="module">import init from '//index-aff7550d9c9c0030.js';init('//index-aff7550d9c9c0030_bg.wasm');</script>

I can make this work by editing the generated file manually to the following:
<script type="module">import init from './index-aff7550d9c9c0030.js';init('./index-aff7550d9c9c0030_bg.wasm');</script>

If anyone has a workaround for this, that would be great — I'm planning on using sed or similar... Thanks in advance.

i would very much like this to not be closed. as it is, it seems impossible to cleanly serve multiple trunk apps from their own folders on a simple file-based web server, or deploy to a shared domain

+1 this makes it really annoying to deploy trunks app to github pages

please do not close this issue.

As PR https://github.com/trunk-rs/trunk/pull/616 was merged, I assume this should be closed with the next release of trunk.

I think that's released as part of trunk 0.18.0. If not: sorry, please re-open.

i'm a bit confused about the specifics of how this has been addressed. why are you checking for './' specifically, and not '.' or empty strings? those are the two things i thought to try, much like the author of this issue, and neither of those are respected in this case. in particular, it seems really strange to have the empty string be an option, but have it not be the result you get when you hand in an empty string

I am sure there's room for improvement. If you have a good way do deal with all of this, I would really appreciate if you could create a tracking issue with a proposal.

i could do that if you really prefer, but it would just be a duplicate of this one. my request here is for trunk to not add a leading slash when . or the empty string are handed in as --public-url. this is precisely the proposal made in this issue's title and description, and #616 does not implement it

(i also feel like i'm missing information here. i don't understand why trunk adds / at all, and i feel like . makes the most sense as a default public url. if i want a leading /, i'd type that. but changing this behaviour would be a pretty severe backwards incompatibility, and i think the changes proposed here are the best compromise for now; they are the things that people will try when they see that a / is being added)

Right, I fully agree that it's a bit messy right now. But maybe working towards a breaking change for 0.19 makes sense? But for that it also might make sense to create a tracking issue, not carrying all the history of this issue.

okay, thank you; if breaking changes are on the table, that changes things. i've opened #668


Add Stripe::Account #delete endpoint

adds Stripe::Account #delete endpoint

thank you. Please, add a test for your changes.


Empower Piped to append logged-in user to passwd

What this PR does / why we need it:
Piped gonna be able to append the logged-in user into $HOME/passwd. With nss_wrapper, Piped will look at dynamic users transparently.
Which issue(s) this PR fixes:
Ref https://github.com/pipe-cd/pipe/issues/1905
Does this PR introduce a user-facing change?:

Empower Piped to append logged-in user to passwd

/trigger integration-test

/golinter trigger

/approve

/approve cancel

/approve


system-test install-newly: remove unnecessary condition

This PR will remove unnecessary condition for that it guards duplicated instance

Thanks!


Drop only live video packets and add some logging.

drop only live video packets. We don't want VOD video packets to be dropped.
improve logging of connection that is dropping video packets. This way we can determine that a video
was choppy because live video packets were dropped due to a low bandwidth.

Thanks for the PR @ritzalam. Tested and worked OK. Merging...


Read a default tag a file for "docker build"

When you use docker build and don't tag it with the -t option, it will get built and given no tag. When developing an image, you end up having to put the image name and version in a separate build file as a wrapper around calling docker build.
A nice feature would be automatically getting a default tag from a file in the context similar to the .dockerignore file. If no tag is specified on the command line, docker could read the tag from this file as a default.
I propose that this file be called .dockertag and it should just be a simple one-line file with the tag name.

see also https://github.com/docker/docker/issues/5603

I think this not worth to implement. To easy to workaround and too hard to implement/document.


[WFCORE-621] Allow multi-process wildcard ops to work with legacy slaves

Add special handling when /host=/server= or /host=x/server=* reads are detected on the DC and some of the target hosts are running releases prior to WildFly 9.
The tests for this will be added in full's testsuite/mixed-domain in a separate PR:
wildfly/wildfly#8052
I accidentally closed an early attempt at this, and github won't let me reopen after a forced push after a rebase, so here's a new one.

Custom test of the combo of this and the full PR:
http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=69636&tab=buildResultsDiv&buildTypeId=WF_WildFlyCoreIntegrationExperiments


chore: release prep for v1.40.3

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

Project coverage is 29.08%. Comparing base (fcc57df) to head (2846fe3).

Additional details and impacted files
@@                    Coverage Diff                     @@
##           docs/changelog-v1.40.2    #1407      +/-   ##
==========================================================
- Coverage                   29.14%   29.08%   -0.06%
==========================================================
  Files                          59       59
  Lines                        5215     5215
==========================================================
- Hits                         1520     1517       -3
- Misses                       3587     3589       +2
- Partials                      108      109       +1

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

@pmalek This PR is ready for review. I have removed the conflicts that were coming up earlier.


Add ssl verify setting

Add a ssl verify setting allowing to bypass ssl verification on test/dev setup

Codecov Report

Merging #11 (24c5595) into master (858c5af) will decrease coverage by 0.37%.
The diff coverage is 59.09%.

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

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   74.58%   74.20%   -0.38%
==========================================
  Files          40       40
  Lines        2184     2210      +26
  Branches      319      326       +7
==========================================
+ Hits         1629     1640      +11
- Misses        440      449       +9
- Partials      115      121       +6

Impacted Files
Coverage Δ

cowbird/services/impl/filesystem.py
0.00% <0.00%> (ø)

cowbird/api/webhooks/views.py
77.94% <50.00%> (ø)

cowbird/services/impl/catalog.py
69.69% <60.00%> (-3.64%)
:arrow_down:

cowbird/services/impl/geoserver.py
70.58% <60.00%> (-3.61%)
:arrow_down:

cowbird/services/impl/magpie.py
68.18% <60.00%> (-5.51%)
:arrow_down:

cowbird/services/impl/nginx.py
61.11% <60.00%> (-5.56%)
:arrow_down:

cowbird/services/impl/thredds.py
61.11% <60.00%> (-5.56%)
:arrow_down:

cowbird/services/service.py
75.55% <71.42%> (-6.95%)
:arrow_down:

cowbird/services/service_factory.py
78.94% <100.00%> (+0.56%)
:arrow_up:

cowbird/utils.py
68.55% <100.00%> (+0.22%)
:arrow_up:

... and 1 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 858c5af...e48fa46. Read the comment docs.


Is onesignal using same token as in fcm?

I had react-native-fcm project previously and want to use react-native-onesignal. My server is integrating fcm services fetching user's token. My question is, is onesignal using the same token as is in firebase or they use different one?

@dooboolab if your project is using FCM then OneSignal will use the FCM token, correct

@Nightsd01 reopening this issue because I have another question. My ios app was integrated with fcm module too previously. Will ios use fcm token too? Because I am testing it right now, but push is not received from my backend. I want to make myself clear, if ios is using the fcm token too.


[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.
Cause:
failed to run the plugin with Yaegi: failed to eval `CreateConfig` function: 1:28: undefined: traefik_ocsp

Traefik Plugin Analyzer will restart when you will close this issue.
If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please fill an issue on piceus repository.

Yaegi seems to convert dashes in repo name to underscores to match the base package name. So fix is to use package traefik_ocsp instead of package ocsp, since repo name is traefik-ocsp.


Tolerance of ipython cell magics in source code cells

Environment data

VS Code version: 1.27.1
Extension version: 2018.8.0
OS and version: macOS 10.14
Python version: Anaconda Python 3.6
Type of virtual environment used: conda
Relevant/affected Python packages and their versions: N/A

Actual behavior
When using a python file as a makeshift Jupyter notebook (with use of the VSCode Jupyter extension), valid ipython kernel code is flagged as invalid by the Python parser. For instance, cell magics, which begin with one or two percent signs, are flagged as syntax errors
Expected  behavior
The parser should ignore valid ipython cell magic syntax; flagging these as problems just adds noise. A good solution might be to have the Python extension have its own internal Jupyter flag, which when enabled would understand that ipython cell magics are syntactically correct, but when disabled would treat the file as vanilla Python for the purpose of checking syntax.
Steps to reproduce:
Write e.g., %matplotlib inline at the top of the file.

Moving back to new issues to triage.
We can contribute to pylance & jedi or just swallow these messages from the middle man.

I think this can be closed, as it looks like the python extension now supports this via comments that begin with #!, e.g., #! %matplotlib inline.

I wonder if we should filter out these set of errors in the notebook language client middleware, @rchiodo do you think that's the right layer?

@rebornix, yes I think so. I believe we have another issue we're we recommended just that:
#6635

Sorry closed prematurely. This issue is I believe about magics in python files, not notebooks. Python files would not be handled by the middleware piece we have. Although maybe we'd do something similar.

Closing for now as the workaround described above should work. Otherwise we'd have to special case python files with cell markers.


Improve configuration documentation

All the components of Issuer Kit (api, issuer-admin, issuer-web) can be configured by using configuration files and environment variables.
While the configuration files are not too complicated, it would be good to have docs that outline what each setting does and describes how to correctly configure each instance of the app.

Fixed by #204


rate limit: Add quota API

Additional Description:
API for implementing #14299
This a clone of PR #15483 with comment addressed.
Risk Level: Low, new hidden API  only
Testing: docs
Docs Changes: Yes
Release Notes: N/A
Platform Specific Features: N/A
Signed-off-by: Yan Avlasov<EMAIL_ADDRESS>

As I mentioned above, I do think that we will probably wind up needing more configuration knobs here.  But I agree that those can be added later.
/lgtm api


Running examples on Google Colab

Describe the bug
When installing the library on Google Colab, Colab raises a warning for installing numpy again as it already exists in Colab by default.
WARNING: The following packages were previously imported in this runtime:
  [numpy]
You must restart the runtime in order to use newly installed versions.

Solution
Build the library without installing dev dependencies.

We can un-depend on numpy (maybe even pytorch actually since this will install a cpu version of torch)

none of the approx code is working on colab
running dir(approx) gives:
['__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__',
 '__version__',
 'approx',
 'equals']

and approx.approx is a function
Help on function approx in module approx.equals:

approx(item1, item2, rel_tol=1e-05, abs_tol=None)

I'm unable to access any of the core api

also the colab widget takes you to a colab that has no GPU


[BUG] 5000 Port number is reserved by default on Macos

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Currently, the default port number of the backend service is 5000.
Setting up the backend by following README.md throws EADDRINUSE on some latest version of macos, since 5000 port is reserved by default on it.
Ref: https://medium.com/pythonistas/port-5000-already-in-use-macos-monterey-issue-d86b02edd36c
Expected Behavior
Easy solution is to switch to some other port, that doesn't interfere with any of OS related processes. Let's do 8080 since it's a common port for local development in Node.js
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

Logs
No response
Browsers
Chrome
OS
Mac

I can fix this.

No offence, I have a mac and it works just fine, please work on some interesting issue, even if you do this you'll not get satisfaction. Aim for a bigger fish and hunt it down, you'll get good points in GSSoC if that's the end goal.
Kindly follow Code-of-conduct

No sweat. Every issue I create can't be for my learning curve, this was to make project setup easier and help beginners. GSSoC points is not the end goal, currently.

Okay cool, I'll trust you and apologize for the reply, if helping people is your aim, let's kindly connect in the Discord... And we have lots to discuss...
Pardon me to misunderstand


⚠ PrivateHD has degraded performance

In bc6d08e, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1865 ms

Resolved: PrivateHD performance has improved in e7a8123.


Not clearing previous settings when creating spreadsheet

When creating a spreadsheet the template will often be populated with text from previous uploads. For example, in this dataset Depicted Place was set to NO, but because the field had been used in a previous Lincoln University upload, it was created, with the wrong value:
|depicted people = ${depicted_people}
|depicted place = Lincoln University
|date = ${date}
|medium =
|dimensions =
|institution = {{Institution:Massey University}}
Similarly, this text from another previous upload was added after the license:

This image is one of a series of Des Helmore illustrations released under a Commons License in September 2018 through the [[:en:Wikipedia:GLAM/New_Zealand_Wikipedian_at_Large|New Zealand Wikipedian at Large]] project; for details see the [[:en:Wikipedia:GLAM/Landcare|Wikipedia project page]].

It is possible of course to manually edit out this information, but it is easy to miss something and ruin an upload. Pattypan should clear the contents of all template fields, used and unused, when creating a new spreadsheet; or at least not include unwanted information from previous uploads.

I have encountered this issue also; however the extraneous data is not in my spreadsheet; it must presumably be cached somewhere inside Pattypan. Which means I cannot remove it.


Handle multi-vector in exact search scenario

Description
When filter query is provided using Faiss engine, knn search can be run in exact search mode instead of ANN mode based on few conditions. One of the condition is when k is larger than the size of list of filtered IDs.
This PR handles multi-vector in the exact search mode with Faiss engine.
Issues Resolved
https://github.com/opensearch-project/k-NN/issues/1065
Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.

[X] New functionality has javadoc added

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Build is failing due to lucene codec upgrade.

Seeing this code is going in a feature branch, broken CI is fine. But when the whole code will be merged in main branch lets ensure that CIs are successful.


Is there an API that can obtain a list of routes that have already been opened

May I ask if there is an API that can obtain a list of pages that have already been opened in the app?
I searched the document and couldn't find such a method.
I am using version 4.6.5
If there are any, please let me know. Thank you

GetMaterialApp  has parameter called routingCallback
the value of routingCallback provide has A LOT of things you can read
you can log the navigation to a list inside a local storage
in this Example i'm using GetStorage
Example :
GetMaterialApp(
       routingCallback: (value) {
        final List<String> navHistory = box.read<List<String>>('navigation_history') ?? [];

        if (value?.current != null) {
          navHistory?.add(value!.current);
          box.write('navigation_history', navHistory);
        }

      }
....

now you can get the navigation history by calling box.read<List<String>>('navigation_history');  anywhere you want


Simple ContractModel improvement

This adds the ability to assert properties directly in the ContractModel specifications.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

@sjoerdvisscher could you have a quick look at this?

Can we have the Hydra build for this restarted perhaps?

Done! :)


Add list of figures, tables, code

I have noticed that there is no List of Figures or List of Tables (i.e. two separate lists after the List of Contents referencing and numbering all figures and tables, respectively), which would definitely be helpful for document searching. For comparison, most big chip designers use this. It can be seen on:

Intel® 64 and IA-32 Architectures Software Developer’s Manual
Qualcomm Hexagon V66 Programmer’s Reference Manual
AMD64 Architecture Programmer’s Manual Volume 2: System Programming
Synopsys Programmer’s Reference Manual for ARC EM Processors
MIPS® Architecture for Programmers Volume II-A: The MIPS32® Instruction Set Manual

Therefore, I believe supporting quick index search in both Unprivileged and Privileged manuals is a great add-on.

@aswaterman what's your opinion on List of Figures and List of Tables.  Note that only figures and tables with captions will be listed.  In the Unprivileged spec many diagrams do not have captions.  For example,  this would be listed:
include::images/wavedrom/integer_computational.adoc[]
.Integer Computational Instructions
whereas, this would not.
include::images/wavedrom/integer_computational.adoc[]
The List of Tables/List of Figures asciidoctor extension need the caption to populate the list.
Should we add captions to all wavedrom/bytefield-svg diagrams such that they get picked of and added to a List of Figures?

I've never been a fan of lists of figures, since so many figures have little meaning outside the context in which they're located.  Also, creating a table vs. using text to describe something is often an arbitrary choice, and so the list of figures ends up being fairly arbitrary as to what it includes.  The table of contents ends up being a more useful device.
With that said, if we did go this route, we'd need both short and long versions of the captions, as some of our captions are entire paragraphs.  We don't want those paragraphs to be duplicated into the list of figures.  I know LaTeX has this feature (\caption[short version]{long version}) but I don't know about asiidoc.
We'd also want to exclude this feature from the HTML version, which is already easily searchable with ⌘-F.  Including the list of figures arguably makes searching the HTML version more onerous.

@AlfredoRodrigues4 : I modified the title to make it easier for community to vote 👍 if they want this functionality. I also added "listings" (code blocks in general)
@wmat : I noticed your branch https://github.com/riscv/riscv-isa-manual/tree/1532-lack-of-list-of-figures-tables didn't have the "list of listings".  Hoping we can add that to this discussion.
I also laid groundwork for this going into docs-resources with the hopes it can then be used in docs-spec-template as well.  I understand that the content might change based on the discussion here but what I'm hoping is that whatever is decided for the isa-manual can then be easily adopted for the docs-spec-template so that any new extensions started from it will look similar to as when they land in the isa-manual.

Agree with @aswaterman as there is little utility for Lists of Tables (LoT), and Lists of Figures (LoF), out of their natural context; these lists. Instead, a "Concordance" or set of lists of specific topics, or even Frequently Looked Up discussions might be more useful--order and sequence of terms in a Concordance wouldn't need to necessarily follow order in the main document, too.
Instead of LoT's and LoF's, very helpful would be two kinds of Contents: a very short, brief or 'quick' contents list one page long showing only major items and highest level sections; and a longer detailed contents list showing all the sections and subsections within. In fact, the Brief Contents list would help one figure out on whaat page to place little finger tabs for quick and easy reference, should they ever print the document on paper.

Answering to @kbroch-rivosinc: I also agree that if the community decides to follow through with adding the LoT and LoF it would make perfect sense to add the "list of listings" making it not only easier to search the document but also keeping conformity across the index section.

Discussion on mailing list - https://lists.riscv.org/g/sig-documentation/message/290.
Closing this issue for now. We can revisit at a future time.

Discussion on mailing list - https://lists.riscv.org/g/sig-documentation/message/290.
Closing this issue for now. We can revisit at a future time.

Agreed adding up the responses from discussion forum, it looks like in general the community doesn't think this feature is that useful.
I do think it would be interesting to consider building in a "feature flag" build workflow, so although the default output doesn't use it, the community could render their own versions easier.


Wait for deletion of agent DaemonSet before deleting other resources.

Wait for the deletion of agent DaemonSet before deleting other resources.
This allows the agent to clean up cilium annotations added to the node.
Related PR: https://github.com/cilium/cilium/pull/23772

PTAL, I've also added some logging when error happens or when we successfully delete daemonset.


Writing assistant popup

For several days the application has been unusable, a full screen popup about a writing assistance feature takes up the entire page and deprives us of the translation text fields.
FDroid version 8.6
Thank you

Same issue here, I cannot click that "Start writing" either. Are all sorts of events blocked in the app, apart from few whitelisted ones?

Hi! Thank you for reporting the bug.
I could not reproduce the popup in my environment. However, the click was disabled by JavaScript, so I changed the logic and fixed it in v8.7.
If you have not fixed it, please reopen the issue. :+1:
https://github.com/sakusaku3939/DeepLAndroid/releases/tag/v8.7


Request: Allow prompting for each video on plyalist

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.02.10

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

Feature request: prompt to yes/no for each item on a playlist
I would like a way to choose which videos on a playlist are downloaded, without using each one individually.  An output such as rm -i would be ideal, however any other way to ask the user whether they wish to download each video on the list.
I came up with this when attempting to download a video from history.com (http://www.history.com/topics/roaring-twenties/videos/1920s-inventions) and it wanted to download all others on the page first.

Parameter '--playlist-prompt' added in PR #12140

@ThomasChr Thanks!! Closing.

Thanks!! Closing.

You forgot to actually close this, @smileytechguy. The issue is still open.

FYI: This issue is not closed as #12140 is not merged yet.


Fission controller + lever

Noticed this on the latest version (used in atm3) and on previous versions.
When a lever is placed on top of a fission controller and is switched on, the controller physically turns around, it's front becomes it's back.
Sometimes it doesn't happen right away but does when you log off and on, then the structure is shown as broken and doesn't work until you break and replace the controller.
All of this doesn't happen if you place a lever next to the controller, only when placed connected to a face of the controller (not entirely sure if any face or just the top).

I've been unable to recreate this in my test instances, so I'll have to download ATM3 and see if I can get it to happen there. If so, then I don't think there's anything I can do about it on my side, as there is no part of the block code that even hints that that should happen - it may well be another mod that is doing it.

Still not able to recreate this on ATM3 - which blocks are adjacent or near the controller?

Got an ae2 export bus at the front, import bus at the side and a mekanism ultimate universal cable at the bottom.
The controller is placed at the bottom right corner of the structure.
Would a video showing it happen help?

So like this then? Weird... in that case it may have just been a couple of nasty loading imperfections - it's certainly not an area I know a lot about but I suppose it's possible when there's a lot of stuff going on.

Fixed in 2.11b as far as I can tell :)


ICLR '23 | Training language models to summarize narratives improves brain alignment.

Loong Aw et. al. Training language models to summarize narratives improves brain alignment.

Overview
Building systems that achieve a deeper understanding of language is one of the central goals of natural language processing (NLP). Towards this goal, recent works have begun to

train language models on narrative datasets which require extracting the most critical information by integrating across long contexts.

However, it is still an open question whether these models are learning a deeper understanding of the text, or if the models are simply learning a heuristic to complete the task.
This work investigates this further by turning to the one language-processing system that truly understands complex language: the human brain. We show that

training language models for deeper narrative understanding results in richer representations that have improved alignment to human brain activity.
the improvements in brain alignment are larger for character names than for other discourse features, which indicates that these models are learning important narrative elements.

Taken together, these results suggest that this type of training can indeed lead to deeper language understanding. These findings have consequences both for cognitive neuroscience by revealing some of the significant factors behind brain-NLP alignment, and for NLP by highlighting that understanding of long-range context can be improved beyond language modeling.

Conclusion

In Section 4, we show that training language models for deeper narrative understanding improves alignment to human brain activity. Also, when increasing the number of words fed to the models, up to 500 words, brain alignment increases. Lastly, for each model, we identify the layers where these improvements in brain alignment occur.
In Section 5, we show that improved brain alignment in Section 4 is not due to improved language modeling (LM) ability, a possible confounding factor. By disentangling LM ability’s contribution to brain alignment, we present evidence that BookSum-trained models develop deeper language understanding.
In Section 6, we present a simple interpretability approach to study what brain-relevant information is gained by language models after training for deeper language understanding. Our results reveal that these models are learning richer representations across all tested discourse features (Characters, Emotions, Motions). Furthermore, they learn more about Characters than Emotions and Motions. This indicates that discourse features are a promising dimension to study brain alignment and deep language understanding.

Conclusion
Conclusions for brain-NLP interdisciplinary field
How and why do brain and NLP representations align? This work contributes the following findings towards this question.

(1) Understanding of characters and other discourse features is a significant factor in brain-NLP alignment.
(2) Deeper understanding of a text contributes to brain-NLP alignment independently from language modeling (LM) ability.

Overall, our work helps to fill a knowledge gap in the brain-NLP field.
Conclusions for NLP.
. Language modeling (LM) has achieved great success and popularity. However,

is LM sufficient to develop NLP models with deep language understanding?

We present a unique approach to answer this question by drawing insights from human brains. Our results reveal that:

(1) LM models achieve poorer representations for Characters and other discourse features compared to deeper understanding models.
(2) Existing training methods for narrative understanding are a first step towards developing language models with deep language understanding.

Using results from brain-NLP alignment, we argue for the need to train NLP models with deeper understanding of long-range context, going beyond language modeling.
Future work
There are multiple exciting avenues to build on our work.

(1) We showed that brain alignment differs across discourse features. Future work can investigate why these differences exist.
(2) We showed that deeper understanding in NLP models improves brain alignment. Future work can explore the mechanisms behind deeper understanding of texts in NLP models.


Ability to rename templates, scripts, images, data...

Once template is created, I can't change its name via UI....
Have to create new template, copy over contents, but then the template ID has changed so it has to be updated in the other system....
Any solutions to this?

You should be able to change the name in the properties panel.

Great !
Easy to miss, though :)
You may close this one!


[FEATURE]: Create new Highlight component to highlight part of a string

How can the project be improved?
Create a new Highlight component to be in charge of highlighting the part of a suggestions that matches the current query in the search box.
How can this be solved?
The code is already written, but as part of other components.
Proposed solution
Extract the highlight logic from the BaseSuggestion component into a new <Highlight :value="stringToHighlight" highlight="highlight" /> component. The name of the prop is just a suggestion, you can look for a better name.
This component can then be used only in components that should support highlighting, like QuerySuggestion or HistoryQuery. But not by default in NextQuery or PopularSearch.
Customizations supported
No response
Additional information
No response
Code of Conduct

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

Hey @herrardo we noticed that our delivery (that we mentioned on another issue #385 ) was based on two contributions. Can we (me and @BrunoRodrigues1999) take on this issue as well?

Also, where can we visually see this effect?

NA


Fix: Apple Maps currently searching for the title even though latitude and longitude are provided

Changing the search from using sll to use only ll as correctly pointed out here #222
According to apple docs sll will be used to determine the area where a search will be performed where, ll
will be used for centering upon a search.
These are two very different use cases, where ll is the appropriate method when we are using the showLocation option.
To achieve a behavior similar to what sll provides we might want to have a new exported function from the lib since it is a different case.
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html

Confirmed that this update works for me as well; should probably be merged.

@tschoffelen

Is it likely this will break anything for existing users? I.e. should this be released as a minor version or as a patch? Not sure if I understand the exact impact.

Is it likely this will break anything for existing users? I.e. should this be released as a minor version or as a patch? Not sure if I understand the exact impact.

Unlikely. The app right now is broken and this change is mostly to revert it the proper behaviour where lat and lon are used for searching while the title is only used for the title. Right now, the title superseeds the latitude and longitude which yields a wrong search result

Makes sense! If you are able to fix the tests, I'm happy to merge this and release a new version this evening.

Thanks for your contribution!
Released to NPM as<EMAIL_ADDRESS>


Epic launcher shows free game ads

There's an option in the epic launcher to show free game ads and it's turned on by default. It shows distracting popup toasts.

This file C:\Users\camper\AppData\Local\EpicGamesLauncher\Saved\Config\Windows\GameUserSettings.ini
[a1346fb6354b4ca98000dbf621a4e607_General]
DisableGameTabs=False
NotificationsEnabled_FreeGame=False
NotificationsEnabled_Adverts=False

The GUID appears to be tied to the user.
I think this could be implemented by a search/replace in that file:
search
DisableGameTabs=False

replace
DisableGameTabs=False
NotificationsEnabled_FreeGame=False
NotificationsEnabled_Adverts=False


MODULE NOT FOUND ERROR IN LARAGON (ALTERNATIVE OF XAMPP)

Hi There,
I am currently using Laragon instead of XAMPP and attempting to integrate the ASST package for the SAST (Static Application Security Testing) approach. However, I am encountering the following error:
Could you kindly assist in identifying if I might be missing any steps or configuration? Your guidance would be greatly appreciated.
Thank you for your time and support.

Hi,
Did you run the following command:
npm install

Thank you after run npm install command it is working.


Add sns notification support back

Hi all,
i'm trying to send notification to a SNS topic from alertmanager for trigger autoscaling of ECS,
i tried successfully slack notification,
but when i try to enable SNS notification the alertmanager panic with this error :
time="2015-11-18T15:20:11Z" level=info msg="Sent 1 notifications" file=manager.go line=353
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x6b51d2]
goroutine 1 [running]:
github.com/aws/aws-sdk-go/service/sns.New(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/app/.build/gopath/src/github.com/aws/aws-sdk-go/service/sns/service.go:53 +0x72
github.com/prometheus/alertmanager/manager.(_notifier).sendAmazonSnsNotification(0xc820194ae0, 0x1, 0xc820195560, 0xc82017c580, 0x0, 0x0)
/app/.build/gopath/src/github.com/prometheus/alertmanager/manager/notifier.go:464 +0x55
github.com/prometheus/alertmanager/manager.(_notifier).handleNotification(0xc820194ae0, 0xc82017c580, 0x1, 0xc8200d9500)
/app/.build/gopath/src/github.com/prometheus/alertmanager/manager/notifier.go:809 +0x853
github.com/prometheus/alertmanager/manager.(*notifier).Dispatch(0xc820194ae0)
/app/.build/gopath/src/github.com/prometheus/alertmanager/manager/notifier.go:817 +0x86
main.main()
/app/main.go:159 +0x1280
goroutine 17 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
i"m using Docker images with this release:
branch        master
date        20151109-20:48:36
go_version        1.5.1
revision        86f5f80
user        @afbbf75ae75d
version        0.0.4
and alertmanager.conf is this:
notification_config {
name: "alertmanager_test"
amazon_sns_config {
topic_arn: "arn:aws:sns:us-east-1:1234567890X:MyTopicName"
send_resolved: true
}
}
aggregation_rule {
repeat_rate_seconds: 300
notification_config_name: "alertmanager_test"
}
My goal is authenticate to AWS using Instance-role, so i created one that permit action to AWS SNS,  ( it's supported by AWS-SDK ) , but i also tried using credentials and environment variable but i had same issue
Best,
Enrico Casti

/cc @GiantToast This nil-pointer crash probably got introduced due to this upstream change in the Go AWS library: https://github.com/aws/aws-sdk-go/commit/1a69d069352edadd48f12b0f2c5f375de4a636d7. Would you be up for looking into it since you added the SNS support?

Sorry just seeing this. After a quick glance at that Go AWS library change and the code I added, looks like a one line change.  I don't have time right now to test it out, but I should be able to get that fixed tomorrow afternoon.

@GiantToast Any news on this?

Went to make the needed change, and everything has changed!  All that was needed was to change
sns.New(nil) to sns.New(session.New())
but it looks like the SNS stuff got lost in the rewrite.

Is anyone working on this? I think this is a pretty key feature to have

any update on this ?
we need SNS support soon in one of our prometheus deployments .
is there anything missing to make a PR with @GiantToast 's suggestion above ? ( https://github.com/prometheus/alertmanager/issues/157#issuecomment-174033404 )

The recommendation is to create a webhook notifer, as we are not currently adding new notifiers.

@stuartnelson3 do you know an example on how to configure webhook with SNS?

I have made a simple workaround, if anyone is interested.
It was my hello world in Go, so don't judge too hard.
https://github.com/b3tyar/snsgateway


Replacing Better-CSS-Syntax-for-Vim with vim-css3-syntax

Better-CSS-Syntax-for-Vim was conflicting with vim-haml on scss files. vim-css3-syntax seems to offer a similar level of css syntax highlighting without these issues.

Yeah, this seems to have made gVim infinitely slower, at least on my system. For example, loading a simple < 50 line Markdown file takes more than 7 seconds, loading html.vim three times!
9176.000  2688.000  2658.000: sourcing c:\users\ncgalopp\.vim\bundle\vim-css3-syntax\after\syntax\html.vim
...
11892.000  2656.000  2636.000: sourcing c:\users\ncgalopp\.vim\bundle\vim-css3-syntax\after\syntax\html.vim
...
14610.000  2658.000  2617.000: sourcing c:\users\ncgalopp\.vim\bundle\vim-css3-syntax\after\syntax\html.vim


Not able to swipe to reveal right after scrolling collection view children of cell content view

Hi,
I have attached a project to reproduce the issue.
When a collection view is added to the cell content view, the first swipe is working fine when we are not touching the collection view.
Once we attempt to scroll on the collection view, somehow the touches are messed up and we are not able to swipe to reveal right buttons anymore.
Please run the demo of the following repo for more details.
https://github.com/lovesharyn/MGSwipeTableCellCollectionViewTest
Thank you for your time.

Fixed ;) Thank you for the testcase.


Messing around with an audio player

@kauffj thoughts on adding audio playback? Here's an MVP showcasing my super awesome design skills.

Closing this. I think we can get a lot working with the render-media lib.

:+1: on going native or as close to native when feasible


DMN file not loading

Using this repository [1], there's an DMN file (TransactionMonitoringDMN) that fails to load and having the loading spinning forever.
[1] - https://github.com/snandakumarops/transaction-monitoring-dmn-kogito
https://user-images.githubusercontent.com/119395/254305424-59f41ce8-21bc-406a-a13d-4d4f78949ebb.mov
Workaround 01
Please notice the git repository contains the same models twice. We can see it as:

https://github.com/snandakumarops/transaction-monitoring-dmn-kogito/tree/master/src/main/resources
https://github.com/snandakumarops/transaction-monitoring-dmn-kogito/tree/master/target/classes

In these folders we will find out AmlDecisions, staticFraudRules and TransactionMonitoringDMN are duplicated.
The issue #189 is not reproducible once we delete the duplicates from https://github.com/snandakumarops/transaction-monitoring-dmn-kogito/tree/master/target/classes
Workaround 02
Using VSCode DMN Extension can be the TransactionMonitoringDMN model opened without any issue.

May be related to work with included models. Did you recheck opening of that file once you manually remove the import xml tag?

The issue really seems to be related to imports:

@tiagobento maybe include this use case as part of the new dmn editor infra?

https://github.com/IBM/bamoe-issues/issues/189#issuecomment-1673090315 @porcelli what does it mean please. Could you please clarify more?

@jomarko basically address this issue as part of the new editor effort that @tiagobento is working on. not sure if it's worth invest to fix the current one

new effort is that something specific? I know we work on removing GWT for example, but I am not aware of any other efforts regarding DMN Editor. If you, could we please share it with whole team?

This issue is probably resolved with 9.1.0 rc1 build.

Yes, using BAMOE 9.1.0-ibm-0001 and the New DMN Editor, the file can be opened.


Update docs

This should trigger RTD

Just updated the PR to be more generally realted to docs:
Changed the conf.py file to be compatible with RTD workflow. I copied snippets from pydata sphinx theme own config : https://github.com/pydata/pydata-sphinx-theme/blob/main/docs/conf.py
Changed all the relevant urls now that we have our (maybe temporary) website adress
Updated all notebooks because the widgets were missing


add code of conduct file

Fixes:  Issue#57
Summary : Added Code of Conduct
Description :  add code_of_conduct.md
Issue(s) Addressed
Closes #57

Hey @Mayank2808sharma , please assign this issue to me under GSSoC'24 & add labels like level1 , level2 & level3 .
As my PR is merged so labels are important to get points.


use pygments to highlight python instead of using the bespoke phabricator highlighter

Removing this block makes it fall through to the default, which uses Pygments.
This fixes the issue where phabricator diffs only highlight python2 syntax.

@mwaldt is this still something we need/want or has this been patched since? Can this be closed?


Fix instance state

According to EC2 Instance Lifecycle, permissible states are "pending" and "running"
There is no such state as "starting"
It's a bug.

@larroy @marcoabreu


Add. Support Lua 5.4

Coverage increased (+0.2%) to 87.192% when pulling f119045e09a5b025db5b04c148481e601922dd91 on lua_5_4 into 6270a44cd93ca16e28ce681d9014a381383073c3 on master.

Coverage increased (+0.2%) to 87.192% when pulling f119045e09a5b025db5b04c148481e601922dd91 on lua_5_4 into 6270a44cd93ca16e28ce681d9014a381383073c3 on master.

Coverage increased (+0.2%) to 87.192% when pulling f119045e09a5b025db5b04c148481e601922dd91 on lua_5_4 into 6270a44cd93ca16e28ce681d9014a381383073c3 on master.

Coverage increased (+0.2%) to 87.192% when pulling f119045e09a5b025db5b04c148481e601922dd91 on lua_5_4 into 6270a44cd93ca16e28ce681d9014a381383073c3 on master.


Someone please provide some example usage

I could not make it work on a Laravel 5.3 installation. Can someone provide some example usage?
Also, the tests added as part of this package is confusing.

@ramesh-tr sorry for the late response.
The original package propose the multi-tenancy with a column at every table that references the tenant id. With my improvement (motivated by a project at my current job), this package will use the polymorphic relations from Laravel-Eloquent to associate tables and tenants.
During install, at config file you will need tell to TenantManager which tentant relation must be considered: the original (\HipsterJazzbo\Landlord\TenantManager::BELONGS_TO_TENANT_TYPE_TO_ONE) or polymorphic (\HipsterJazzbo\Landlord\TenantManager::BELONGS_TO_TENANT_TYPE_TO_MANY). If polymorphic, default_morph_relation.tenant_model and default_morph_relation.tenant_relations_model must be informed.
No test was added after my fork from original package, sorry about that.
If you find an issue, or have a better way to do something, feel free to open an issue or a pull request.


Remove pretty printing so Java Azure Storage SDK can handle response XML messages

Removed pretty printing and tested that it's now working with the Java Azure Storage SDK

@sarintom thanks for this PR! Really appreciate your efforts here!
This particular issue was fixed just today in https://github.com/arafato/azurite/commit/3ea3c350f7c9767726ea5bfac77e03e3d8ff8e87
and released as part of v2.6.4
As @edwin-huber has already pointed out in your other PRs (which are great by the way!) please re-submit them at https://github.com/azure/azurite which is Azurite's new home since yesterday ;-)


Update credentials used in Synapse tests

Updates credentials used in Synapse tests. For more information, see here.

API change check
API changes are not detected in this pull request.

Overriding Check Enforcer, it complains about

Invalid date [ 2021-08-10 ]. The date for the changelog being released must be the latest in the file.
But there's no newer date on that CHANGELOG. Maybe there's a bug?

/check-enforcer override

/azp run java - synapse - ci


Readline eats typed text when typing |  in $()

Description

When using prezto with latest zsh (5.4.2-1), readline eats user typed text <text> when user types |  (pipe and space) inside $() when editing buffer contains $() <text>.
Expected behavior
Readline does not eat user typed text.

Actual behavior
See description.

Steps to Reproduce

create fie ~/.zshrc.prezto with following configuration:

zstyle ':prezto:load' pmodule 'editor'

source ~/.zsh/.zprezto/init.zsh

Make sure, that ~/.zpreztorc is empty or doesn't exist.

git clone prezto;
start zsh as zsh -df;
type $() xxx, move cursor inside $(), type | , buffer will contain $(| ) xxx;
source ~/.zshrc.prezto
type $() xxx, move cursor inside $(), type | , buffer will contain $(|;

It also reproduces when :prezto:load line in ~/.zshrc.prezto is loading history-substring-search instead of editor.
Versions

Prezto commit: 00f1d92
ZSH version: 5.4.2
OS information: Linux archlinux 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux

ping @sorin-ionescu

I'm also seeing this on macOS with zsh 5.4.1... this is really strange.

It's related to the magic-space bind set in the editor module. It's intended to perform history expansion on space in certain situations.
I believe you can workaround it with this:
bindkey-all ' ' self-insert

Or, if you don't want to use bindkey-all you can use the following snippet:
bindkey -M emacs ' ' self-insert
bindkey -M viins ' ' self-insert

These reset space to only insert itself and not do the magical history expansion.

@belak: Magic :sparkles: is appropriate word for that bug.
Nice catch, your workaround works. How did you find it?

I added a return to the start of the file and kept moving it lower until the bug started happening again... then I looked in that block of code for anything that messed with the space.
I'm glad the workaround works for you... I'm not sure if we'll end up removing that key bind because it was added by sorin ages ago, presumably for a reason, so I guess it counts as "expected" behavior.

@belak: It starts to happen only after recent zsh update (not sure which version), so probably it's some changes in zsh defaults.

I didn't see anything in the recent zsh changelogs relating to history or magic-space, and I don't have many versions installed to test this with... if you manage to narrow down what might have caused this, feel free to let me know and I'll see if I can come up with a workaround.


Identifiable and BelongsTo don't compose like JoinTo does.

I needed to load some posts, the users who wrote them, the comments left on those posts, and the users who left those comments. Ignoring the "tables can only appear once" restriction (pretend that the second users is avatars or something), I can write this: posts.inner_join(users).inner_join(comments.inner_join(avatars)), which would let me get back (Post, User, (Comment, Avatar). Since I can join from (posts, users) to (comments, avatars), I would expect BelongingToDsl and GroupedBy to behave similarly. We should make this code work (I've added additional intermediate vars and type annotations for clarity):
let posts_and_user: Vec<(Post, User)> = posts::table
    .order(posts::published_at.desc())
    .filter(posts::published_at.is_not_null())
    .inner_join(users::table)
    .load(&conn)?;

let comments_and_user: Vec<(Comment, User)> = Comment::belonging_to(&posts_and_user)
    .inner_join(users::table)
    .load(&conn)?;

let grouped_comments_and_user: Vec<Vec<(Comment, User)>> = comments_and_user
    .grouped_by(&posts_and_user);

let everything: Vec<(Post, User, Vec<(Comment, User)>)> = posts_and_user
    .into_iter()
    .zip(comments_and_user)
    .collect();

I think I'm hitting this use case, what is the recommended or idiomatic way to do this now?


Error code 101

I downloaded the rom from the website today and tried to run the game on my DS lite with the R4 card. The error I'm getting is this:
File /bgm/title_hook.raw not found. Error code 101.
In the video, it shows the dev playing the game on a pink DS Lite, so I'm confused as to why it's not working on mine.

Hi,
Please update the kernel installed on your flash cart, as this is the source of this error. Try installing twilight menu on it :)

Hi, Please update the kernel installed on your flash cart, as this is the source of this error. Try installing twilight menu on it :)

I did that today through this website, but I still got the same error. I also saw that the Twilight menu is mainly meant for DSi and 3DS flash carts, but is it required to play the game on original hardware?

It shouldn't be, but this error is indicative that your particular flashcart firmware isn't compatible with libfat

Ah ok, I'll try to experiment with Twilight on my cart later this week. Thanks for the info and suggestion!

Closing this as it is indeed a flashcart hardware issue typically, nothing I can really do :)


[Question] Count the occurrences of particular frontmatter?

Hey there, thanks for creating this. I've tried to use this for creating dashboards for a novel (in particular, the characters), and I'd like to be able to count the number of appearances of a particular piece of frontmatter. This is my current approach, but I'm getting the "invalid Y value in notes" error. What would be the easiest way to handle this?
searchType: fileMeta, frontmatter
searchTarget: cDate, Gender
folder: 04 Fiction/041 The Ashes Chronicles/01 Ashes/01 Characters
xDataset: 0
accum: true
pie:

Can you provide a little more detail?  What result are you looking for? (Can you provide a mock example of what you are expecting?). Just looking at what you have I would expect something like:
Male: 5
Female: 12
But I don't understand where cDate comes in? (I ass-u-me you have files in "01 Characters" like "Ned.md", "Jon.md", "Arya.md")

I did have files in "01 Characters" like what you had said - I was getting the "no valid date as X values" error, which is what I had used the cDate to temporarily fix - what you had in the comment was what I was thinking.

If you are just wanting a count like what I had you don't need this plugin. You should be able to achieve what you are after using a regular dataview query. Here is something that sounds close to what you are after: https://forum.obsidian.md/t/can-dataview-count-occurrences-of-a-value-author-name-and-sort-by-that-number/53911

Oh, alright! I was wanting to break it down into a pie chart, which is why i was confused

Tracker is for tracking things against time. It's not really a standalone visualization tool. If you just want to display static data in a pie chart you might want to look at the Obsidian Charts plugin

Alternatively, here's something that might work (I didn't read the whole page, but it skimming it sounded like what you are doing): https://forum.obsidian.md/t/dataviewjs-and-charts-how-to-make-a-pie-chart-with-values-calculated-in-dataviewjs/71405

Thanks much!
On Thu, Nov 16, 2023, 5:23 PM Joe Constant @.***> wrote:

Alternatively, here's something that might work (I didn't read the whole
page, but it skimming it sounded like what you are doing):
https://forum.obsidian.md/t/dataviewjs-and-charts-how-to-make-a-pie-chart-with-values-calculated-in-dataviewjs/71405
—
Reply to this email directly, view it on GitHub
https://github.com/pyrochlore/obsidian-tracker/issues/257#issuecomment-1815409873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACY54ODVYFHOXE2QK3N5LW3YE2G55AVCNFSM6AAAAAA7M6EHN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVGQYDSOBXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Visium datasets in Squidpy

dataset module for downloading visium and other techs
IMPORTANT: Please search among the Pull requests before creating one.
Description

How has this been tested?

Closes

[ ] finish tests
[ ] finish docs

@dineshpalli @giovp what's the status of this PR?

@dineshpalli is there else that needs to be added?

Not much, just a few mypy errors and we are good to go.

@dineshpalli can you please fix them and make lint check pass?

@dineshpalli can you please fix them and make lint check pass?

Yes, on it.

[ ] fix wordlist with RGB @dineshpalli


Problem to run migration

Hi Stefano,
I'd like to implement this backend but I get this error  "Error: Cannot register a type name as a singleton without a "to" token"
when I tried to run:
yarn dev:server
do you have any solution?
Regards,

Hi @lmoraobando,
It is probable a problem with your .env file.
Did you follow this step?
"Also, you have to configure the environment variables in the .env file, based on a .env.example file that is provided in the backend folder, change the variables according to your environment."
Best,

U need "ormconfig.json" on your backend folder, take this sample just change user,password and database:
[```
{
  "name": "default",
  "type": "postgres",
  "host": "localhost",
  "post": 5432,
  "username": "postgres",
  "password": "mdp",
  "database": "barberbase",
  "entities": [
    "./src/modules/**/infra/typeorm/entities/*.ts"
  ],
  "migrations": [
    "./src/shared/infra/typeorm/migrations/*.ts"
  ],
  "cli": {
    "migrationsDir": "./src/shared/infra/typeorm/migrations"
  }
},
{
  "name": "mongo",
  "type": "mongodb",
  "host": "localhost",
  "port": 27017,
  "database": "myLegendaryDatabase",
  "useUnifiedTopology": true,
  "entities": [
    "./src/modules/**/infra/typeorm/schemas/*.ts"
  ]
}

]


CoreGraphics resizing function from iOS (UIImage) to MacOS (NSImage)

Hi Matthias,
Were you able to run your helper functions on MacOS? I replaced  iOS (UIImage) to MacOS (NSImage), and got almost everything to work... Only the  cgImage.bitsPerPixel  part I didn't find a MacOS equivalent.
Have you tried running it on MacOS?
Cheers from Sweden!
Alex
https://stackoverflow.com/questions/67202976/coregraphics-resizing-function-from-ios-uiimage-to-macos-nsimage
What I did:
Code bellow
Problem:
Getting error on this line of code: let bytesPerPixel = cgImage.bitsPerPixel / bitsPerComponent
Error:
Value of type '(UnsafeMutablePointer?, NSGraphicsContext?, [NSImageRep.HintKey : Any]?) -> CGImage?' (aka '(Optional, Optional, Optional<Dictionary<NSImageRep.HintKey, Any>>) -> Optional') has no member 'bitsPerPixel'
iOS: UIImage
extension UIImage {

    // Resizeing using CoreGraphics
    func resize(to size:CGSize) -> UIImage? {

        let cgImage = self.cgImage!

        let destWidth = Int(size.width)
        let destHeight = Int(size.height)
        let bitsPerComponent = 8
        let bytesPerPixel = cgImage.bitsPerPixel / bitsPerComponent
        let destBytesPerRow = destWidth * bytesPerPixel

        let context = CGContext(data: nil,
                                width: destWidth,
                                height: destHeight,
                                bitsPerComponent: bitsPerComponent,
                                bytesPerRow: destBytesPerRow,
                                space: cgImage.colorSpace!,
                                bitmapInfo: cgImage.bitmapInfo.rawValue)!
        context.interpolationQuality = .high
        context.draw(cgImage, in: CGRect(origin: CGPoint.zero, size: size))
        return context.makeImage().flatMap { UIImage(cgImage: $0) }
    }
}

MacOS: NSImage
extension NSImage {

    // Resizeing using CoreGraphics
    func resize(to size:CGSize) -> NSImage? {

        let cgImage = self.cgImage

        let destWidth = Int(size.width)
        let destHeight = Int(size.height)
        let bitsPerComponent = 8
        let bytesPerPixel = cgImage.bitsPerPixel / bitsPerComponent
        let destBytesPerRow = destWidth * bytesPerPixel

        let context = CGContext(data: nil,
                                width: destWidth,
                                height: destHeight,
                                bitsPerComponent: bitsPerComponent,
                                bytesPerRow: destBytesPerRow,
                                space: cgImage.colorSpace!,
                                bitmapInfo: cgImage.bitmapInfo.rawValue)!
        context.interpolationQuality = .high
        context.draw(cgImage, in: CGRect(origin: CGPoint.zero, size: size))
        return context.makeImage().flatMap { NSImage(cgImage: $0) }
    }
}

Thanks Matthias!
I  unwrapped self.cgImage, but got same error.
Looks like bitsPerPixel is only available for iOS...   : /
Any idea what would be MacOS equivalent to bitsPerPixel?
/* Return the number of bits/pixel of `image'. */
**@available(iOS 2.0, *)**
public var bitsPerPixel: Int { get }

Value of type '(UnsafeMutablePointer?, NSGraphicsContext?, [NSImageRep.HintKey : Any]?) -> CGImage?' (aka '(Optional<UnsafeMutablePointer>, Optional, Optional<Dictionary<NSImageRep.HintKey, Any>>) -> Optional') has no member 'bitsPerPixel'

Ah I see what's going on, NSImage.cgImage is not a property but a function. Namely the function:
func cgImage(forProposedRect proposedDestRect: UnsafeMutablePointer<NSRect>?, context referenceContext: NSGraphicsContext?, hints: [NSImageRep.HintKey : Any]?) -> CGImage?

You're trying to call bitsPerPixel on the function itself, not on the CGImage that comes out of the function. ;-)

thanks for spotting that Matthias! : )
Weird that UIImage.cgImage is a property, and NSImage.cgImage is a function.
Im a bit lost here... Do you have any idea what the final resize function would look like for MacOS?

Check out this StackOverflow answer: https://stackoverflow.com/questions/11949250/how-to-resize-nsimage

Thanks again!
Finally made it work with some help from Apple, this is the final function in case you also need. : )
// Resizeing using CoreGraphics

  func resize(to size:CGSize) -> NSImage? {

       let cgImage: CGImage = self.cgImage( forProposedRect: nil,  context: nil, hints: nil)!

       let destWidth = Int(size.width)
       let destHeight = Int(size.height)
       let bitsPerComponent = 8
       let bytesPerPixel = cgImage.bitsPerPixel / bitsPerComponent
       let destBytesPerRow = destWidth * bytesPerPixel

       let context = CGContext(data: nil,
                               width: destWidth,
                               height: destHeight,
                               bitsPerComponent: bitsPerComponent,
                               bytesPerRow: destBytesPerRow,
                               space: cgImage.colorSpace!,
                               bitmapInfo: cgImage.bitmapInfo.rawValue)!
       context.interpolationQuality = .high
       context.draw(cgImage, in: CGRect(origin: CGPoint.zero, size: size))
       return context.makeImage().flatMap { NSImage(cgImage: $0, size: NSSize(width: 1024, height: 1024)) }
   }


Custom time format

Date string is formatted to add custom text.
Could we customize the time format? It would allow a 12-hour clock to be possible.
The flag for i3lock would be something like --timestr '%l:%H:%S %p'
Would you accept a pull request for this? If so, what should the flag be?

I think a flag that passes all arguments after it directly to the i3lock command would be beneficial (also reworking the command parsing should be done sometime soon as well)
just my opinion, maybe someone else has a better idea

That would be even better.
How does two hyphens sound for that?
betterlockscreen --lock -- --timestr '%l:%H:%S %p'
May look sort of convoluted.

Looking at the way variables are currently handled, I definitely agree that the command parsing rework is necessary before something like this should be added.
Considering betterlockscreen uses tools that utilize GNU programs, getopt (as opposed to getopts which cannot do long flags) would probably be one of the better options.

Possible with #79


Further Increase Volume?

Thanks for making this patch. It seems to have worked for me, but I'd like a little more. How can one get more out of this module?

I'm sorry. There must have been confusion. I was asking how we can increase the volume further in this module?

For anyone else, the answer is here: https://t.me/androidryukimodsdiscussions/96936


Improvements to Database dialog keyboard navigation, and option to kill queries on Cancel

Here's a fork containing some changes I think could benefit SqlQueryStress
Added option to cancel currently executing SqlCommands when the "Cancel" button is clicked. Added a checkbox for this under Options, enabled by default. This allows for the cancellation of queries that are running longer than expected, or will never end (e.g. "WHILE 1=1 PRINT ''").
Modified tab order in Database dialog to improve tab navigation.
Fixed issue in Database dialog where entering a server name, tabbing to the database name, entering the database name then tabbing to the OK button and pressing enter does not retain the database name but runs the query in the master database by adding an OnEnter event to the database combobox which reloads the database list, retaining any current selection.
Lowered "Actual Seconds/Iteration (Avg)" label on Form1 to be just above it's value to remove the vertical gap between this label and it's value.
Warm regards,
AndrewDP23

Hi Andrew, this looks like useful additions to the tool.
In order to be able to properly review and test your changes, can I ask you split into 3 PRs:
Cancel option,
Improvements to Database dialog
Form1 changes


Possible to use this to restrict some front-end pages and not others?

The documentation mentions restricting the "front-end" and forwarding to another page on the same site, but I am not sure this covers my use case.
Basically, I am hoping to restrict
/some-pages/*
and not
/other-pages/
Is this a possibility?
Thank you.

@jrrdnx would you be open to a sponsored addition of this feature? If yes, please let me know what'd be the best way to contact you.

Sorry for the delayed response @andreimoment , I lost track of the notification then realized the contact form on my website wasn't working and it took me too long to troubleshoot. That should be working now if you want to drop a message here: https://jarrodnix.dev/#contact


fuzz broken

It looks like a recent change, commit ec5d82d24dcf341a8420a6bc6ee043f825b6fde5, fixed fuzzing -p with list, breaks the tool.
Please check Line 158 if len(self.config.parameters) < 0: in pjf_factory.py.
The sample python script like simple_fuzzer.py no longer works as expected.

Fixed with 685e642


⚠ Bofrost.lu has degraded performance

In cdaf3a5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 3292 ms

Resolved: Bofrost.lu performance has improved in f5dad38 after 7 minutes.


[WIP] initial implementation of a scanner

related #149

pls, resend PR on specific packages

controllers -> https://github.com/prest/controllers
adapters -> https://github.com/prest/adapters


wip sample

This it RFC. @nevillelyh @andrewsmartin  (please give feedback when you have some free time).
This is suppose to cover basic use cases of sampling for pipeline testing.
The overall concept would be:

BigSampler is a "generic enough" sampling job capable of sampling Avro/BigQuery
sampling happens on user defined key(s) (either via avro-schema or fields specified CLI)

Example of execution:
> sbt pack
> ./target/pack/bin/big-sampler --sample=5  --input=<table-reference-inpute> --output=<table-reference-sample> --project=<project> --zone=<zone> --stagingLocation=<staging> --fields=user_id --runner=DataflowPipelineRunner

Manual flow for sampling and running a job on sampled data would require to sample on each input, but this process can be automated with orchestrator (example luigi).

Codecov Report

Merging #12 into master will decrease coverage by -19.67%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           master      #12       +/-   ##
===========================================
- Coverage      75%   55.33%   -19.67%
===========================================
  Files          22       25        +3
  Lines         588      797      +209
  Branches       79      120       +41
===========================================
  Hits          441      441
- Misses        147      356      +209

Impacted Files
Coverage Δ

...ala/com/spotify/ratatool/samplers/BigSampler.scala
0% <0%> (ø)

...in/scala/com/spotify/ratatool/io/FileStorage.scala
0% <0%> (ø)

...rc/main/scala/com/spotify/ratatool/io/AvroIO.scala
68.96% <0%> (-11.04%)
:x:

...n/scala/com/spotify/ratatool/serde/JsonSerDe.scala
0% <0%> (ø)

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 2ed4068...4f2e6d5. Read the comment docs.

ping @nevillelyh @andrewsmartin any poc comments?


[CSL-1307] Workaround: don't take lock at all

Workaround: don't take lock at all.

Closed due to https://github.com/input-output-hk/cardano-sl/pull/1117

Delete branch?


Datagram Support

PR to add Datagram support as stated on issue #6 .

FYI I created the web hello world setup: #9


RFC: syz-manager: facilitate automated log analysis

Update the default syzkaller log format to facilitate automated log analysis.
Set the type of some syz-manager log messages to Error.

The updated log format is:
2023/05/04 14:39:40 some-syz-manager: [ERROR] failed to symbolize report: abcd

Comments and any other ideas are welcome :)


Uncaught SyntaxError: The requested module '/_snowpack/pkg/react.v17.0.2.js' does not provide an export named 'useId'

Bug report
Current Behavior
Try to use label component from radix-ui library
Expected behavior
It works
Reproducible example
No
Suggested solution
I do not know
Additional context
        "@snowpack/plugin-dotenv": "^2.1.0",
        "@snowpack/plugin-postcss": "^1.4.3",
        "@snowpack/plugin-react-refresh": "^2.5.0",
        "@snowpack/plugin-typescript": "^1.2.1",
        "@snowpack/web-test-runner-plugin": "^0.2.2",
        "@types/snowpack-env": "^2.3.3",
        "snowpack": "^3.3.7",

Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-label
0.1.2

React
n/a
17.0.2

Browser

Chrome

Assistive tech

Node
n/a
v16.13.1

npm/yarn

Operating System
MacOS
Mont

I don't know much about the code but I suspect the reason is similar to https://github.com/radix-ui/primitives/issues/1026 ... react-id started exporting a useId instead of IdProvider, perhaps the reporter here has some components that depend on 0.1.2 but he still has 0.1.1 of react-id installed.

Why did you let this happen?
https://github.com/radix-ui/primitives/blob/55a422c5830a52d9f050369412a7dc8cf6e44786/packages/react/id/src/id.tsx#L4

Why did you let this happen?
https://github.com/radix-ui/primitives/blob/55a422c5830a52d9f050369412a7dc8cf6e44786/packages/react/id/src/id.tsx#L4

We do this to support both React 17 and React 18, so if React.useId doesn't exist, we fallback to something else.
I can't really understand why you're getting this error though 🤔
React.useId in 17 should be undefined, therefore falling back to our () => undefined.
It's as if it's trying to transform it into an import or something…
Do you have a reproduction of this somewhere we could take a look at?


Vulnerability Patch Release v2.2.3

Vulnerability Patch Release v2.2.3

Vulnerability Patch Release v2.2.3 #91  #92


Improve --platform help.

This adds a prompt to use --platform explain as a hack to get more
information from a platform parse error. Also add examples to the parse
error message to cover OSX and PyPy covering the other major variants
we support.

Now help looks like:
$ pypy ./pex.pex --help
...
    --platform=PLATFORMS
                        The platform for which to build the PEX. This option
                        can be passed multiple times to create a multi-
                        platform pex. To use the platform corresponding to the
                        current interpreter you can pass `current`. To target
                        any other platform you pass a string composed of
                        fields: <platform>-<python impl abbr>-<python
                        version>-<abi>. These fields stem from wheel name
                        conventions as outlined in
                        https://www.python.org/dev/peps/pep-0427#file-name-
                        convention and influenced by
                        https://www.python.org/dev/peps/pep-0425. For the
                        current interpreter at /opt/pypy/bin/pypy the full
                        platform string is
                        manylinux2014_x86_64-pp-273-pypy_73. To find out more,
                        try `./pex.pex --platform explain`.

And expanded help as suggested by the last sentence there looks like:
$ ./pex.pex --platform explain
Usage: pex.pex [-o OUTPUT.PEX] [options] [-- arg1 arg2 ...]

pex.pex builds a PEX (Python Executable) file based on the given specifications: sources, requirements, their dependencies and other options.

pex.pex: error: The --platform option is invalid:
Not a valid platform specifier: explain

Platform strings must be in one of two forms:
1. Canonical: <platform>-<python impl abbr>-<python version>-<abi>
2. Abbreviated: <platform>-<python impl abbr>-<python version>-<abbr abi>

Given a canonical platform string for CPython 3.7.5 running on 64 bit linux of:
  linux-x86_64-cp-37-cp37m

Where the fields above are:
+ <platform>: linux-x86_64
+ <python impl abbr>: cp
+ <python version>: 37
+ <abi>: cp37m

The abbreviated platform string is:
  linux-x86_64-cp-37-m

Some other canonical platform string examples:
+ OSX CPython: macosx-10.13-x86_64-cp-36-cp36m
+ Linux PyPy: linux-x86_64-pp-273-pypy_73.

These fields stem from wheel name conventions as outlined in
https://www.python.org/dev/peps/pep-0427#file-name-convention and influenced by
https://www.python.org/dev/peps/pep-0425.


Fix TypeScript tests so they fail for errors 😭

I noticed that the TypeScript tests aren't working. Here's a patch that should trigger a test failure:
diff --git a/index.d.ts b/index.d.ts
index fa84b3e..b788e7c 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -3,7 +3,7 @@ import { Action, ActionCreator, AnyAction, StoreEnhancer, Store } from 'redux';
 export interface StoreCreator {
   <S, A extends Action>(
     reducer: LoopReducer<S, A>,
-    preloadedState: S | undefined,
+    preloadedState?: S | undefined,
     enhancer: StoreEnhancer<S>
   ): Store<S>;
 }

Only after passing the error to done() (which totally isn't documented correctly), I get a test failure:
 FAIL  test/typescript.spec.js
  ● Console

    console.log node_modules/typescript-definition-tester/dist/index.js:28
      Global finished

  ● TypeScript definitions › should compile against index.d.ts

    AssertionError: Semantic: /Users/kumar/tmp/redux-loop/index.d.ts (7,5): A required parameter cannot follow an optional parameter.

      at diagnostics.forEach.diagnostic (node_modules/typescript-definition-tester/dist/index.js:17:15)
          at Array.forEach (<anonymous>)
      at handleDiagnostics (node_modules/typescript-definition-tester/dist/index.js:14:17)
      at compile (node_modules/typescript-definition-tester/dist/index.js:29:9)
      at walk (node_modules/typescript-definition-tester/dist/index.js:63:13)
      at next (node_modules/typescript-definition-tester/dist/index.js:82:24)
      at node_modules/typescript-definition-tester/dist/index.js:95:21

Test Suites: 1 failed, 7 passed, 8 total

There was an error about some usage of Promise which I fixed with some lib configuration. Unfortunately I couldn't find a way to use tsconfig.json directly.

oof good catch. thanks!


Change password should prompt the user to enter the current password

Currently, change the password doesn't ask for the current password for confirmation before updating the password. User should only be able to update the password if the current password is correct. This is a common practice across most web applications and it makes sense to do so.
Also, change the input labels to the following:

Current Password
New Password
Confirm New Password

Even for entering incorrect current password, password is getting updated

By adding Privileged Sessions would resolve.


chore(CPlusPlus): add segregate-even-odd-nodes-of-linked list

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR
I had added Segregate even-odd nodes of linked list in the linked list algorithm in CPlusPlus language. It was not available there.

Nice work!

Thank you


Want to shrink the so size in mobile platform, can i disable 2D related code safely?

Hi,
I want to shrink the so size, and as our main usage is in 3D, Could I disable 2D related code safely?
Disable 2D related code in UI,Audio,Scene and so on....
Will UI/Audio/Rendering system and so on ..., still works well with godot 3D Scene.
Many thanks,
Fengwei.

Pretty ping, it has been a long time without answer on this issue :smiley:
Anyway, in my opinion that shouldn't be done, since there are few (if any) 3D games that don't use 2D Control nodes for HUD or menus, plus it should shrink code enough to be worth it. Anyway, for adventurous godot users, I guess even this should be possible (albeit complicated) :wink:

Last I tried disabling 3D hardly reduced the size of the template, so I don't think disabling 2D would be particularly useful either. And indeed Controls inherit CanvasItem which is the base class of the 2D stack, so it would likely be non-trivial to implement this for little gain.
As such, I'd propose to close this issue. :)

We have this now: https://docs.godotengine.org/en/3.1/development/compiling/optimizing_for_size.html
Disabling 2D isn't mentioned there. Well, it doesn't make much sense, unless we are talking only about Node2Ds (since Controls are rather useful even for 3D...)

Thanks, closing then as the documentation needs are fulfilled indeed.


Authorization does not use custom domain

When user authorize with their custom domain, the back-end still store the .myshopify domain instead of the custom domain. This will conflict if an app wants to build a URL for that store.
Use-Case:

User authorize with shopify app.
Back-end store .myshopify domain of the store instead of custom domain.
Back-end need to build a product URL for the user, the domain is .myshopify instead of custom domain. This will make user feels like it's from a different site.

Auth with Shopify domain is always required as it's a permanent domain name, where their custom domain can change. If you need the custom domain, you will need to make an API call to the store to grab it.

Ah alright. That make sense. I am grabbing the custom domain through the shop API. Just wondering why shopify_domain is always the .myshopify domain instead of custom domain even when a user uses the custom domain to authenticate. Thanks.

Closing if it makes sense!


Circuit Breaker Abstraction

The goal here is to come up with a simple API that would allow us to support different circuit breaker implementations.
We can extend this to initially support Hystrix in Spring Cloud Netflix, as well as Resiliency4J.

Code has been moved to incubator project https://github.com/spring-cloud-incubator/spring-cloud-circuitbreaker