Allow bitbucket app secret authentication with netlifycms

Hi,
I would like to use Netlifycms for my documentation website (docusaurus) hosted on my company’s server. My company forces me to use bitbucket as code repo so I followed the steps here: https://www.netlifycms.org/docs/bitbucket-backend/
however, for security reason and because bitbucket workspace host many code repo across my organization, the security team does not allow me to create an OAuth consumer (managed at bitbucket workspace level) with read and write access but is suggesting to create an app secret (managed at bitbucket user level) instead
is it currently possible ? If not, any alternatives.
thanks in advance for your help
Thomas

There are two ways of authenticating with Bitbucket, explained in this comment on the Netlify Forums: https://answers.netlify.com/t/setting-up-config-yml-for-cms-connection-to-bitbucket/12464/6
Have you looked at either of those methods?

Thanks for the quick response.
Correct me if I’m wrong but both ways described in the link above require me to create an oauth2 consumer in bitbucket, correct ? According to the page below, the scope of a oauth2 consumer is at workspace level and requires read and write access. https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/
this is where I’m blocked because giving read-write access to the overall bitbucket workspace is not compliant with my company policies…
security team is asking for usage of app secrets/ password in bitbucket: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
hope it helps
Thomas

Both documented methods of connecting to Bitbucket currently require oauth2 provider tokens, yes. There is no support for using Bitbucket app passwords that I am aware of.
Could you not create a new Bitbucket workspace for Decap CMS and then create an oauth2 consumer scoped to that workspace?


Create a guide for course setup & rename the instructions file

This is related to #6 but it is mostly prepping and organizing content related to setup of this course. There is now a placeholder for where content for #6 will go. This PR also changes the filename referred to in #2 from course-instructions.md to course_guide_learners_static.md and adds an instructions doc for learners who may take the dynamic version.

I am going to merge now and have a full review of these updated content guides later.


Select dropdown with [isSearchable]=true not closing when caret is clicked.

Bug description:
Not able to close a sui-select or sui-multi-select when the [isSearchable]=true. My thinking was that I should be able to click on the caret for the dropdown to collapse instead of having to click on another part of the page since there could be additional items that would be hiding behind the dropdown.  This can be recreated with the current demo.
Version of ng2-semantic-ui:
ng2-semantic-ui: 0.8.3

Hi there, good catch, and I can see what you mean. Will add a fix to make clicking the caret close all dropdowns to the next release :)

Awesome. Thank you!

A fix for this is now live in 0.8.4 😄

Thanks for the quick fix!


MVC: Enable view resolution to Sling Scripting

Currently, the Spring controllers may render their own response or utilize Jackson / gson to automatically generate responses. However, HTML responses still require a custom view rendering. Spring's MVC setup supports JSP, Velocity etc. by default.
Here, NEBA could connect Springs ViewResolver infrastructure to Sling scripting. Then, users may return a resource type from their controllers, which then results in the resolution of a SlingScript rendering the controller response. This would further improve the Sling / Spring MVC integration.
@Controller
public class SomeController {
     @RequestMapping(...)
     public String doSomething(...) {
          ...
         return "resourceType:some/resource/type"
     }
}

Subsequently, the Model provided by the controller - which is a Map - could be provided as the ValueMap view of a synthetic resource. This resource can the be used in the rendered view, making it conceptually consistent with views for JCR resources

Done! In the process, Support for the WebApplicationContext interface was added, which in turn enables using the Spring Form Tag Library for requests handled by Controllers. In addition, the ServletContextAware and ServletConfigAware callback interfaces are now supported as well.


Add support for ADC on STM32 H7 series

Add support for ADC on H7 series. Note that ADC1 and ADC2 share the same register set, so it is added as "adc12" (following conventions used in HAL APIs).
Enables ADC on Nucleo H743ZI board (ADC12 channel 15).

Performed quick tests on Nucleo H743ZI board on ADC12 CH15 and ADC3 CH6 using a signal generator as an analog test signal.
NOTE: I think that current STM32 ADC driver needs a rework, as it's in a kind of "ifdef hell" state.

^^@ABOSTM

@erwango I'll adjust node label to ADC1_2. Regarding adc12 vs. adc1_2 I'm fine with both approaches, so just let me know. I think it will be difficult to add support for ADC1/2 Master/Slave mode in a general purpose driver, I think it is designed for some specific applications (e.g. motor control where you want to sample phases in synchronization). Some details: https://www.st.com/resource/en/application_note/cd00258017-stm32s-adc-modes-and-their-applications-stmicroelectronics.pdf

@erwango updates number of channels in the driver to 20, as H7 has 20 valid external channels (F7 or F4 have 19, so the number was actually wrong).

-:70: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#70: FILE: drivers/adc/adc_stm32.c:7:

SPDX-License-Identifier: Apache-2.0

Please ignore these warnings (see #24921)

can you rebase to resolve merge conflict.

@galak done


Cosmetics are all black and can't paint them

Maybe it's because I've never used Blender before lmao but for some reason this happens.

I'm having the same problem, so it's not just you

do either of you have _resources.blend installed for the cosmetics?

uhhh... lemme check

I don't think I do, lemme install that rq

do either of you have _resources.blend installed for the cosmetics?

I am getting an error message

why does it skip _resources.blend...
in the updater's code, _resources is that last thing to get downloaded but if it failed people would know and they would reach out. this is a new problem and i don't know where it's coming from
here,
https://github.com/user-attachments/files/17620295/_resources.zip

Thank you! :D

why does it skip _resources.blend...
in the updater's code, _resources is that last thing to get downloaded but if it failed people would know and they would reach out. this is a new problem and i don't know where it's coming from
here, https://github.com/user-attachments/files/17620295/_resources.zip

Real quick question; Do I need to extract the file from the zip folder?

why does it skip _resources.blend...
in the updater's code, _resources is that last thing to get downloaded but if it failed people would know and they would reach out. this is a new problem and i don't know where it's coming from
here, https://github.com/user-attachments/files/17620295/_resources.zip

Real quick question; Do I need to extract the file from the zip folder?

Okay, extracting the files worked! TY! :D

why does it skip _resources.blend...
in the updater's code, _resources is that last thing to get downloaded but if it failed people would know and they would reach out. this is a new problem and i don't know where it's coming from
here, https://github.com/user-attachments/files/17620295/_resources.zip

Sniper's Hat With No Name is still all black

Still Void...

Another cosmetic with the void


Mesoshttp 0.3.2 for 5.9.6

This PR includes all changes that will be applied to the 5.9.6 release of Scale. This is to resolve the issue with Scale losing connection to Mesos and failing to re-establish itself as a framework during an extended network partition.

This has been squashed down for a 5.9.6 tag in https://github.com/ngageoint/scale/tree/5.9.6-prerelease. I've tested for proper scheduling behavior in AIS Omega cluster and am cutting the release based on instructions here: https://github.com/ngageoint/scale/wiki/Creating-a-patch-release


Move ConvertCUDNNToRuntime implementation to transforms

I was actually following IREE style (e.g. https://github.com/openxla/iree/tree/main/compiler/src/iree/compiler/Dialect/VMVX), to keep conversions (populateXYZ) separate from passes that compose these conversions into "units of work", and cudnn to func seems to be a "conversion" in MLIR terminology

The rule of thumb is that if you use ConversionPatternRewrite, it should go under conversions, otherwise it can go under transforms, though all passes always defined under transforms for some reason

Ah, interesting. Yes, I thought both, conversion and transform make sense in this case, just found it strange that this would be separated in two files. Is that a conscious decision in IREE?
Also, probably not the most important thing.

Not sure, but vmvx is the newest dialect and I assume it has all “best practices” in it, so I just followed it


State transition breaks ES6 Map when passed through optional $stateParams

When using an ES6 Map as a optional state param in order to pass data from one state to another, the Map object's methods stop working once passed through to another state.
http://plnkr.co/edit/TVANV1Cnb8B7h95mNjmW?p=preview
in the plunkr, transitioning between states without passing any stateParams works, and just instantiates a new Map.  If you click one of the links that passes the Map as a stateParam, the plunkr breaks with the error:
Method Map.prototype.<methodName> called on incompatible receiver #<Map>

Just did a little more digging, and its specifically ui-sref links with params that break.  I've updated the plunkr to add two buttons that call $state.go instead, and those pass the parameters as expected.
http://plnkr.co/edit/b5Sja92rOcMpeKUrgebL?p=preview


"double" posting to emulator when attempting UpdateCardMsgDialog.cs

Hi, I'm seeing a strange behaviour when the bot emulator runs the UpdateCardMsgSetupDialog.cs.  The bot emulator shows two messages being posted -

The first <-message shows the correct timestamp and an ID:

The second POST 200 shows no ID and a different timezone:

It renders the card, the button renders but does nothing, and the text is there but cannot be changed.

I tried from the GIT example here and then pulled the code into a "clean" VS project and I still get the same symptoms.
Can someone give me a hand? Or is this an easy fix?

And I'm running it all on my local PC, no ngrok intervention. Thanks,

Hi ileonc - this specific project is targeted at running the bot in the Teams app. There are some things that do work in the Emulator, but for certain things (specifically here with updating messages), they will only work in the Teams app. I would suggest getting your bot to work in the Teams app and looking at the functionality there.


Vertical tabs content border top

When I use .tabs .contained with .vertical, the JS works fine. But it lack the top border of the tab's content. Juste restore it with a border-width: 1px 1px 1px 1px;

I'm not sure using the contained content for vertical tabs makes too much sense, since the columns will probably separate them anyways, but someone might. Thanks for the fix.


bugfix: 修复初次部署Django migrate报错：globalsettings doesn't exist (fixed #152)

Codecov Report

Merging #155 (8278ac5) into V2.1.348rc (439c4bf) will increase coverage by 0.01%.
The diff coverage is 57.14%.

@@              Coverage Diff               @@
##           V2.1.348rc     #155      +/-   ##
==============================================
+ Coverage       61.90%   61.91%   +0.01%
==============================================
  Files             224      224
  Lines           19419    19422       +3
==============================================
+ Hits            12021    12025       +4
+ Misses           7398     7397       -1

Impacted Files
Coverage Δ

apps/node_man/apps.py
66.00% <57.14%> (+0.04%)
:arrow_up:

apps/node_man/handlers/job.py
86.60% <0.00%> (+0.49%)
:arrow_up:

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 439c4bf...8278ac5. Read the comment docs.


parseVariable() function breaks urls with querystrings

I'm using a url with a query string to pull graphs from grafana into the dashboard. The urls have a querystring, which is broken by the parseVariable() function - due to your "&" prefixes.
as an example:
www.example.com?foo=foo&bar=bar
becomes
www.example.com?foo=foo&bar=null

Well i can suggest use anonymous function that will return your url, unless we don't decide how to rewrite parser and it won't brake things much.

@NilSkilz Could you please confirm that the matter is resolved?

yup, good work!


[Req] Scrollbar support

Hi, I'm trying to display scrollbars but there seems to be a problem with the way translate/margin works. The scrollbar will shrink and grow, but never change its position.
It's easy to see in the EasyScroller demo (http://zynga.github.com/scroller/demo/easyscroller.html) by setting overflow:scroll in the #container element.
I tried to use a Jquery-UI slider by updating its position on the "render" function, but I could not get the smooth animation to work (acceleration/deceleration).
So, I would like to suggest inclusion of (auto-hidden) scrollbars. I think it's a good idea specially for long texts, where you want to know how long it is and how you're progressing towards finishing it. In my case, it's useful because I'm using a 10-20x the screen size horizontal/vertical content.

BTW, I already have a working solution for this, maybe not too elegant. Just wanted to see this as a feature here.


Docs: add missing word 'key' in embeds_many

In the documentation for embeds_many/3, One of the sentences is missing the word key in the phrase primary key.
In this PR, the phrase:

If a primary is not present

Becomes:

If a primary key is not present

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Please invite me to the community

Name
trendy
Additional Context
I really love to work with big community.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


[WIP] TensorDict.is_shared() and updates of the object

When a tensordict is shared in memory, all of its tensors have a storage that is changed accordingly.
We need to decide what happens when a tensor is added to the tensordict. Here are the various use-cases:

The tensordict is shared, the tensor is not, the key already exists, inplace
The tensordict is shared, the tensor is not, the key already exists, out-of-place
The tensordict is shared, the tensor is not, the key does not exist
The tensordict is on cuda (hence it is shared) and all of the above

We could probably lock a tensordict once it's shared (if it is on cpu only). Like this we would prevent any unwanted behaviour


Use docker hub triggers for integration tests

We should trigger an integration test whenever a new container appears on docker hub. Should be trivial with the docker hub trigger feature.  Once that's done, we can reduce the hourly run to something less frequent. Perhaps twice a day?

https://trello.com/c/KANKX2zW/22-use-docker-hub-triggers-for-integration-tests


NLTK Error Occurring During Upload with 'directoryloader'

I am using the 'directoryloader' component in a flow, and I encounter an error whenever I attempt to upload.
I have two questions.
First, my NLTK version is 3.8.1. NLTK seems to be properly installed, but it appears I need to download additional data.
Locally, the issue can be resolved by manually downloading the data.
However, we are operating a server that will be used by many users.
Is there a way to automatically download the required NLTK data during the Docker build process on the server?
Can we include the download command in the pyproject.toml or Dockerfile?
Second, is it necessary to both install NLTK and download additional data?
Could there be a solution involving encoding or something similar during the upload process that might resolve this?
Are there any other possible solutions?

How do I then apply this to the 'directoryloader' source code?

@dosubot How do I then apply this to the 'directoryloader' source code?
can I include the NLTK download command in the pyproject.toml file?

Hello,
Sorry for the delay. Did you try using the new version? Does the error still persist?

Hi @peterjacksonwonka
We hope you're doing well. Just a friendly reminder that if we do not hear back from you within the next 3 days, we will close this issue. If you need more time or further assistance, please let us know.
Thank you for your understanding!

Thank you for your contribution! This issue will be closed. If you have any questions or encounter another problem, please open a new issue and we will be ready to assist you.


Error with message WARNING: Clicking Start Training will incur costs!

Following blog https://huggingface.co/blog/Llama2-for-non-engineers to finetune llama2 model. But training is not getting initiated. Getting error without any mention of reason

you can click on logs to get more information about the error. my guesses are: no access to llama models, or no valid payment method in account.

I got same problem like him and I have checked log, the error messages are :
Traceback (most recent call last):
File "/app/env/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/app/env/lib/python3.10/site-packages/gradio/blocks.py", line 1433, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "/app/env/lib/python3.10/site-packages/gradio/blocks.py", line 1243, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "/app/env/lib/python3.10/site-packages/gradio/components/dataframe.py", line 211, in preprocess
return pd.DataFrame(x["data"], columns=x.get("headers"))
File "/app/env/lib/python3.10/site-packages/pandas/core/frame.py", line 806, in init
arrays, columns, index = nested_data_to_arrays(
File "/app/env/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 520, in nested_data_to_arrays
arrays, columns = to_arrays(data, columns, dtype=dtype)
File "/app/env/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 845, in to_arrays
content, columns = _finalize_columns_and_data(arr, columns, dtype)
File "/app/env/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 942, in _finalize_columns_and_data
raise ValueError(err) from err
ValueError: 3 columns passed, passed data had 0 columns
is this means there is something wrong with my data? or other problems?


Add parameters 4 and 5

Found here: https://www.support.getzooz.com/kb/article/996-zen34-remote-switch-advanced-settings/

@zwave-js-bot fix lint

@zwave-js-bot fix lint

Judging from https://www.support.getzooz.com/kb/article/1101-zen34-remote-switch-change-log/ these parameters were added in later firmware versions (1.30 and 1.40 respectively) and as such would need the according firmware conditionals.

Currently waiting on confirmation from Zooz what the actual firmware versions are (1.3 or 1.30, 1.4 or 1.40)


Upgrade fuel-core to 0.28.0

Changelog notes:

https://github.com/FuelLabs/fuel-core/releases/tag/v0.28.0

We probably need to revert what was done in:

https://github.com/FuelLabs/fuels-ts/pull/2430

In the end, we'll likely have all URLs simultaneously.

Also, we must first run these E2E's against the devnet.


Enhance prettier rules and fix lint issues

Adjust prettier config to match other projects
Fix lint issues
Remove copyright from all files

Depends on https://github.com/stolostron/cluster-templates-console-plugin/pull/7

/lgtm


Can I export to two different sheets in an Excel file?

Hi
This library looks interesting.
Is there an example to show how to export to two different sheets?
Thanks

Hello.
There is no need for special settings to use several sheets.
You just put named range to the certain sheet, and then the library put band data there.
Please let me know if you still need an example, and I will add it to the examples.

Thanks for the headsup, I will take another look at the example


Add jecelynyeen contributor

What's changed, or what was fixed?

Add jecelynyeen contributor

Fixes: N/A
Target Live Date: YYYY-MM-DD

[ ] This has been reviewed and approved by (NAME)
[x] I have run npm test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:+1:


Delete and shift key behavior plus rudimentary sound handling

Delete key handling is currently messy, but it works well enough to see how it feels.
Plays one sound on key up for any key.  Doesn't check to see if sound should play or not.

Greg, you don't have to pull this in, but you can build the branch and try it on your phone.  Then we can tweak it as needed and clean up the implementation.

Added double-tap gesture handling for the spacebar.


Background Text

Description of the new feature/enhancement
Within Profile Settings add the ability to not only have a Background image but also background text. This is set-up within the Profile Settings as either within Background Image Settings or as its own group of properties.
Why:  When using multiple profiles with lots of Tabs open its handy to be able to recognise which server etc I'm working on at any one time and having an opaque reminder is really handy. Currently I'm doing this with images (see Mockup Below), however it would be nicer to have the option to just add text to the background.
Example Mockup:

Proposed technical implementation details (optional)
Within Profile Settings and "list"
"list":
        [
            {
                // Make changes here to the powershell.exe profile.
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false,
		"backgroundText" : "IamServer1",
		"backgroundTextFontStyle" : "Bold",
		"backgroundTextFontSize" : "32",
		"backgroundTextFont": "Sans-Serif"
		"backgroundTextFontColor": "#93f533"
		"backgroundTextAlign": "centre"
		"backgroundTextOpacity": 0.1"
            },

Thanks for the request, and I'm sorry to take so long to get back to you!
This isn't something we're likely to add to the core Terminal, but I think it would make a great extension idea.
Linking: #4000.


chore(blog): add a post about kvrocks and go-redis

This post explains how to get started with Apache Kvrocks using go-redis client. It also
demonstrates how you can use OpenTelemetry and Uptrace to monitor Kvrocks on both client
and server sides.
Let me know if this is appropriate for Kvrocks blog and if any changes are needed.

Cool! Thank you @vmihailenco :)
I'll give it a review in days.

Many thanks to @vmihailenco

@tisonkun applied all suggestions - thanks for the review :+1: PTAL

My pleasure! Thank you!


Add infra-only mode to host monitoring sample

Description
Host monitoring sample is updated such that it has infra-only mode enabled by default.
How can this be tested?
Checklist

[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report

Merging #2301 (e1a2bd6) into main (3d745b0) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main    #2301   +/-   ##
=======================================
  Coverage   64.47%   64.47%
=======================================
  Files         253      253
  Lines       15905    15905
=======================================
  Hits        10254    10254
  Misses       4902     4902
  Partials      749      749


Grading

Graded By Mihir Thaha
All self and by peer grading must be complete prior to Teacher review date(s).  Show a direct link to the tangible(s) for each line item.
Sprint1 Key Objectives
During the sprint you need to complete all of these key objectives and find and complete supporting hacks that show level of command you are declaring.
Rank to Ratio, rank is an integer
0 = .00 work, but faking understanding/accomplishment
1 = .55 incomplete assignment, big gaps
2 = .75 meeting some objectives, multiple little gaps
3 = .85 meeting most objectives, one little gap
4 = .90 meeting all objectives
4+Mastered-Y = .95 exceeding all objectives, requires links and  office hours verification

Skill
Mastered (Y/N)
Rank (1-4)
Ratio
Notes

Laptop Verification or Cloud Workspace
[ N ]
4
.90
verification by Linux commands notebook

VSCode
[ N ]
4
.90
live change code, commit, make, run localhost, test, debug

Show VSCode GitLens
[ N ]
4
.90
verify commits, show change, comments, reset to commit, run on old commit

GitHub student_2025 repo
[ N ]
4
.90
template create, push changes, verify id, review analytics

GitHub Pages Actions
[ N ]
3
.85
review runs and verify runtime, receive demo

Hacks Tools & Equipment Play
[ N ]
3
.85
Hacks

Hacks GitHub Pages Playground
[ N ]
3
.85
Hacks

Hacks SASS Basics
[ N ]
4
.90
Hacks

Hacks Frontend
[ N ]
1
.55
Hacks

Pair Programming
[ N ]

.55
tangibles that show coop work

Total
N/A

Average
N/A

Learning Habits Table
Review criteria in habits.  In this review, pairs should rate each other base on their experience with the person on the line item.
Rank to Ratio, rank is an integer
1 = .55
2 = .75
3 = .85
4 = .90
4+Mastered-Y = .95

Skill
Mastered (Y/N)
Rank (1-4)
Ratio
Notes

Attendance
[ N ]
4
.90
On time 100% of the time

Work Habits
[ N ]
2
.75
Not always on task

Behavior
[ N ]
4
.90
Always willing to help

Timeliness
[ N ]
3
.85
Submits work on time

Tech Sense
[ N ]
2
.75
New to computer science

Tech Talk
[ N ]
2
.75
New to computer science

Tech Growth
[ N ]
2
.75
Only been a few weeks

Advocacy
[ N ]
3
.85
Always willing to ask for help

Comm & Collab
[ N ]
4
.90
Great partner

Integrity
[ N ]
4
.90

Organized
[ N ]
2
.75
Not super comfortable

Total
N/A
28
9.05

Average
N/A
2.55
.82

You had a  cool approach to the hacks, and I liked the articles and games. I also liked how you had many interests and passion projects on your website, and it was inspiring to look at. One point of growth I would suggest is to alter the index.md so that it has buttons/pictures that represent your government.


Remove TensorFlow dependency from frontend tests

Context:
Currently, running make test-frontend fails if TensorFlow is not installed.
Description of the Change:

Surrounded TensorFlow import in test_states_probabilities.py with try block.
Removed TestBackendImport from test_tf_import.py since it is largely a duplicate of TestFrontendImport.
Fixed test_incorrect_tf_version unit test in test_tf_import.py in the event where TF is not installed.
Safeguarded TensorFlow import in test_engine_integration.py and tfbackend/__init__.py.
Fixed obsolete mock import in test_utils_integration.py.

Benefits:

TensorFlow is no longer a hard dependency for running the frontend tests.

Possible Drawbacks:
None.
Related GitHub Issues:
None.

Thank you very much for the reviews and feedback, @josh146, @antalszava, and @thisac! 🚀


Variable name mismatch

$GPUpartition = Get-VMGpuPartitionAdapter -VM $testvm
Remove-VMGpuPartitionAdapter -VM $testvm -AdapterId $GPUpartiton[0].id

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

ID: 3c8d77dd-3fcd-d514-928f-27fd794ae204
Version Independent ID: d2ae7d5b-9989-0295-ddc9-e97bccf21845
Content: Remove-VMGpuPartitionAdapter (Hyper-V)
Content Source: docset/winserver2022-ps/hyper-v/Remove-VMGpuPartitionAdapter.md
Product: w10
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Add proxy support.

Hello!

I want add proxy support for this script.

This scraper uses requests. Requests' documentation mentions the environment variable HTTPS_PROXY: http://docs.python-requests.org/en/master/user/advanced/#proxies
Did you try using that?

Thank you for the reply!
I'm thinking about a pool of proxies, because some proxies may don't work, may be banned.

A potential solution would be to write a small shell script to loop over a list of proxies and set the aforementioned environment variable.

There is proxy support now, this issue can be closed.

Hi guys, can you confirm if the proxy support is actually working? My local IP got banned (get this error all the time "ERROR: Error getting user details for nencita. Please verify that the user exists.") and I cannot make it work with a list of Proxies I got from webshare.io . I know my code works because when I ran it connecting my local machine to my cel phone network (tethering) it runs. I therefore conclude the proxies are not working.

It works, can confirm

Thanks, now it works. Now I get the 403 error but now that the Proxies are working 👍
Any recommendation on proxies that work with this tool? As I mentioned I'm using webshare.io service (100 fixed IPs). Perhaps I should use a "Private Proxy". Thanks again for any recommendation, it's a great tool!

Hi again, now I'm trying to use a JSON file with hundred IPs as input (three shown as example):
json_input = {"https": ["https://<IP_ADDRESS>:80/", "https://<IP_ADDRESS>:80/", "https://<IP_ADDRESS>:80/", "https://<IP_ADDRESS>:80/"]}
but I'm receiving this error:
Python37-32\lib\urllib\parse.py", line 120, in _coerce_args
    raise TypeError("Cannot mix str and non-str arguments")
TypeError: Cannot mix str and non-str arguments

Thanks again!


feat(rust): override inlet policy when starting kafka services

The current node manager policy expects the project identity to have project_id attribute, but currently, this is not true. When starting the kafka service it overrides the policy, checking if the secure channel identity is the same as the project.
Current Behavior
A manual policy override is needed to make the kafka demo work:
ockam policy set --at consumer -r tcp-inlet -a handle_message -e true
Proposed Changes
The policy override is automatic and specific for the project identity, no manual policy override is needed

It seems to be working fine with orchestrator and with local project node.


Getting an issue on trying this plugin on Windows 10

Hi Team,
This is a wonderful plugin and can easily visualize it's bright future.
I tried to give it a shot on Windows 10 machine for Android.
I was able to install the plugin successfully using npm install
But, when I try to execute my script having driver.FindElement("-custom","ai:plus");
I receive this error:-
{ Error: Cannot find module '../build/Release/canvas.node'
at require (internal/modules/cjs/helpers.js:22:18)
at Module.require (internal/modules/cjs/loader.js:637:17)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) code: 'MODULE_NOT_FOUND' }
Somewhere I read to upgrade node.js to latest version to get rid of this issue. But, even after upgrading to 10.15.3, getting same error.
Any idea why this might be occurring?
Any near future plans for supporting this plugin against Windows ? It would be awesome if it starts working against Windows.
Thanks & Regards,
Nishant Shah

Hi Team,
Any updates on this?

Hi Team,
Any updates on this ?


feat: add pactffi_log_to_file for consumer/verifier

Add ability to log to file, via pactffi_log_to_file
Will go someway to address https://github.com/pact-foundation/pact-js/issues/954
(will need adding into pact-js)
Passed in via an optional param, to getFfiLib which is called by a couple of functions, as an optional param. Wonder if it would be better to have these in an opts object that can take named params.
note, the option used to be called log in pact-js v2 and is moved to deprecated now. should we retain log or use a more descriptive logFile
https://github.com/pact-foundaton/pact-js/tree/9.x.x#constructor

Looks alright to me. I left a number of style comments inline.

feat: add pactffi_log_to_file for consumer/verifier

Note that this ends up in the changelog, and this message describes the internals of the change, not how users of pact-js-core will see the change. I think it should describe how the users of pact-js-core will see the change.

Passed in via an optional param, to getFfiLib which is called by a couple of functions, as an optional param. Wonder if it would be better to have these in an opts object that can take named params.

See my comments inline. I don't think it's a good idea to pass optional parameters down to child functions.
I also think that introducing an options object just for this seems unnecessary (and is kind of a workaround for the child function problem). Is there some reason you can't use the same pattern that the rest of the options uses?

Thanks for the review dude will address these when I get time :)

feat: add pactffi_log_to_file for consumer/verifier

Note that this ends up in the changelog, and this message describes the internals of the change, not how users of pact-js-core will see the change. I think it should describe how the users of pact-js-core will see the change.

Updates to reflect the end user facing argument that has been added, and to which functions they have been added, which is more sensible 👍🏾 thanks for the comment, totally agree

Sorry for the late response - just added a couple more comments now, but thanks for the initiative and moving this forward!


YJDH-176: Run Browser tests against test/staging environment

Description :sparkles:

Run browser tests against test and staging (every hour from 7 to 20 finnish time)
Sends slack message from failed run to #yjdh-alerts channel
copy-pasted the implementation of workflow and slack messager from events-helsinki-ui
TODO: ask from backend api is the expected version deployed and run only if it is. Now there is a chance that the latest commit is not yet deployed.

Issues :bug:
https://helsinkisolutionoffice.atlassian.net/browse/YJDH-176
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Should this be fixed in this PR as well?
https://github.com/City-of-Helsinki/yjdh/runs/4080369183?check_suite_focus=true

Should this be fixed in this PR as well?
https://github.com/City-of-Helsinki/yjdh/runs/4080369183?check_suite_focus=true

Something wrong with environment:

503 Service Temporarily Unavailable

      nginx

I fixed the syntax error and pushed, let's see if this get sorted as well. The environment was ok now when I opened it:  https://ks-empl-431.test.kuva.hel.ninja


useMemo demo not working

The useMemo demo is currently not working, the error message is: Could not find module in path: 'react/jsx-runtime' relative to '/src/index.js'
Just update react and react-dom to the latest version and it will work again.

Ok, I updated package.json to the latest versions.

Solved in https://github.com/uidotdev/usehooks/pull/150


v0.1.2 not available on packagist

It seems that the latest version v0.1.2 is not available on packagist: https://packagist.org/packages/steverhoades/oauth2-openid-connect-client.
composer require steverhoades/oauth2-openid-connect-client gives me v0.1.0.

Apologies.  I have corrected this.
https://packagist.org/packages/steverhoades/oauth2-openid-connect-client


Question about m6A result compare with tombo

hi @ralowe @al-mcintyre  Thanks for share the project , nice work.
I use mCaller detect m6A meth susses, but when I compared the result with tombo, they are so big big big big big difference，the same sample detect result just like this：

mCaller result：total meth position ：5954091，overlap with tombo 21876 (0.3%)
tombo: total methy position：10532279，overlap with mCaller 21876 (0.2%)
overlap methy position relation ：-0.1
and i found that the mCaller methy lever higher than tombo two or more

So, my question is why are these two soft's results so differentiations, and could you give me the answer about these results, and which one close to the reality?
(my opinion : I suppose to tombo, cause that the methy lever most lower, the higher methy lever gets higher false positive rate)

tips：J01 is mCaller result ,J02 is the tombo result.

Hi @hygine,
Sorry, I'm a bit confused. To summarize, Tombo calls > 10M sites as methylated, mCaller calls ~6M but you are saying the methylation level from Tombo is lower? Based on what we've seen and report in our paper, I would expect most of the calls from both methods to be false positives. Although our accuracy at any given position rose quite high (depending on motif), if you are making predictions at 10M sites, 90% accuracy would still give ~1M false positives.
Two questions for you:

What species are you studying/how long is the genome?
Is there a known restriction-modification system for your strain of interest?

Thank you for your answer . @al-mcintyre
I mean mCaller methy lever higher than tombo, not the detect modfication number.
And my species is human, 3G genome.
sorry for that my testing sample have not known restriction-modification system .
I was confused that why was overall rate only have 2%~3% with these two methods ?

Ah ok. In that case, I would be particularly cautious in interpreting the output from either tool. I don't know if you saw this paper? Anyway, 6mA is expected to be extremely rare in metazoan DNA, if present at all, and may be randomly distributed throughout the genome. That said, you could still try to determine if any motifs in particular appear methylated, starting with the sites predicted by both tools, then those predicted as highly methylated by one or the other.


Use Small ThreadPool for collections

Wont do at this point. Perhaps I revisit this in some major release of the library.


python310Packages.prometheus-client: 0.15.0 -> 0.16.0

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 215880 run on x86_64-linux 1

53 packages failed to build:

dbx
ihaskell
jupyter
manim
python310Packages.Nikola
python310Packages.ansible-kernel
python310Packages.arviz
python310Packages.augmax
python310Packages.bambi
python310Packages.batchspawner
python310Packages.dalle-mini
python310Packages.dockerspawner
python310Packages.einops
python310Packages.elegy
python310Packages.jupyter
python310Packages.jupyter-lsp
python310Packages.jupyter-server
python310Packages.jupyter-server-mathjax
python310Packages.jupyterhub
python310Packages.jupyterhub-ldapauthenticator
python310Packages.jupyterhub-systemdspawner
python310Packages.jupyterhub-tmpauthenticator
python310Packages.jupyterlab
python310Packages.jupyterlab-git
python310Packages.jupyterlab-lsp
python310Packages.jupyterlab_launcher
python310Packages.jupyterlab_server
python310Packages.jupytext
python310Packages.mkdocs-jupyter
python310Packages.nbclassic
python310Packages.nbdime
python310Packages.nix-kernel
python310Packages.notebook
python310Packages.notebook-shim
python310Packages.notedown
python310Packages.oauthenticator
python310Packages.phik
python310Packages.pymc
python310Packages.pymoo
python310Packages.treex
python310Packages.vector
python310Packages.vega
python310Packages.xarray-einstats
python311Packages.ansible-kernel
python311Packages.cairo-lang
python311Packages.gradient
python311Packages.jupyter-server-mathjax
python311Packages.jupyterlab-git
python311Packages.nbdime
quarto
sage
sageWithDoc
wolfram-notebook

81 packages built:

datadog-agent
datadog-process-agent
dmarc-metrics-exporter
home-assistant-component-tests.prometheus
matrix-synapse
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-shared-secret-auth
mautrix-facebook
mautrix-googlechat
mautrix-signal
mautrix-telegram
mlflow-server
netbox
peering-manager
prometheus-bitcoin-exporter
prometheus-kea-exporter
prometheus-knot-exporter
prometheus-pve-exporter
prometheus-tor-exporter
prometheus-xmpp-alerts
python310Packages.aiohttp-openmetrics
python310Packages.cairo-lang
python310Packages.django-prometheus
python310Packages.finitude
python310Packages.flower
python310Packages.gradient
python310Packages.gradient-utils
python310Packages.karton-dashboard
python310Packages.mlflow
python310Packages.prometheus-client
python310Packages.prometheus-flask-exporter
python310Packages.py-air-control-exporter
python310Packages.ray
python310Packages.uptime-kuma-monitor
python311Packages.Nikola
python311Packages.aiohttp-openmetrics
python311Packages.augmax
python311Packages.batchspawner
python311Packages.django-prometheus
python311Packages.dockerspawner
python311Packages.einops
python311Packages.finitude
python311Packages.gradient-utils
python311Packages.jupyter
python311Packages.jupyter-lsp
python311Packages.jupyter-server
python311Packages.jupyterhub
python311Packages.jupyterhub-ldapauthenticator
python311Packages.jupyterhub-systemdspawner
python311Packages.jupyterhub-tmpauthenticator
python311Packages.jupyterlab
python311Packages.jupyterlab-lsp
python311Packages.jupyterlab_launcher
python311Packages.jupyterlab_server
python311Packages.jupytext
python311Packages.karton-dashboard
python311Packages.mkdocs-jupyter
python311Packages.mlflow
python311Packages.nbclassic
python311Packages.nix-kernel
python311Packages.notebook
python311Packages.notebook-shim
python311Packages.notedown
python311Packages.oauthenticator
python311Packages.prometheus-client
python311Packages.prometheus-flask-exporter
python311Packages.py-air-control-exporter
python311Packages.uptime-kuma-monitor
python311Packages.vega
sourcehut.buildsrht
sourcehut.coresrht
sourcehut.gitsrht
sourcehut.hgsrht
sourcehut.hubsrht
sourcehut.listssrht
sourcehut.mansrht
sourcehut.metasrht
sourcehut.pastesrht
sourcehut.todosrht
tandoor-recipes
xandikos

Thanks, updated the commit message, and switched back to using hash.
Out of curiosity, would pythonPackages.prometheus-client have been an acceptable prefix to the commit message, since this package is in both python310Packages and python311Packages?

No, since pythonPackages refers to the python2 package set.

I see but python3Packages would have been acceptable?

Yes, it would. But there exists an ofBorg issue related to that: https://github.com/NixOS/ofborg/issues/577


[BYOC] Update CUTLASS backend (SIMT support and codegen clean up)

The CUTLASS backend in Relay BYOC has been heavily refactored this month in the tlcpack/relax repo (as part of Relax BYOC effort). This PR brings the same change to apache/main and also adds SIMT fp32 support. All tests in test_cutlass.py pass.
Original PRs
Codegen clean up: https://github.com/tlc-pack/relax/pull/442, https://github.com/tlc-pack/relax/pull/451
SIMT fp32 support: https://github.com/tlc-pack/relax/pull/448
@vinx13

Thank you @masahi

@tqchen as this isn't on the unity branch, could you allow others time to review in line with the code review guidelines?

Did this PR pass CI? I thought the upstream CI is broken with an Android problem.

In this case it is a positive change overall so I think merging would benefit the community. I have also reviewed and confirmed the related logics. Happy to followup with necessary steps if there are more comments.
The android CI breakage is not relevant to the particular change.


Change things in the song depending on your life

What is your question?
Is it possible to make changes to the song depending on your life?
For example, change the inst or add an object to the background when you are below 50% in the healt bar

yes

getProperty('health') (full health = 1.0)


[UPDATE] lncalendar to v1.0.0

https://github.com/lnbits/lncalendar/releases/v1.0.0

Shouldn't previous versions have max_lnbits_version?


Error not defined help

hi,
maybe you can spot where I made a mistake.
I just wanted to try to add some specific Errors which seems all fine but in Fact test I get an error:
UndefVarError: EmptyNodeError not defined

if I do the first fact example in the REPL
julia> import Lexicon.Elements:

           document,
           section,
           page,
           docs,
           config,
           Node,
           Document,
           Section,
           Page,
           Docs,
           EmptyNodeError,
           ChildTypeError,
           ParentTypeError,
           MissingKeyError

julia> document(section(page(outname = "p",), outname = "s"), outname = "d")
ERROR: Lexicon.Elements.EmptyNodeError("Empty 'Lexicon.Elements.Page'.")
 in build! at /home/workerm/.julia/v0.4/Lexicon/src/Elements/Elements.jl:56
 in build! at /home/workerm/.julia/v0.4/Lexicon/src/Elements/Elements.jl:58 (repeats 2 times)
 in document at /home/workerm/.julia/v0.4/Lexicon/src/Elements/Elements.jl:49

julia>

Thanks
Can be deleted after wards.

Can you apply this diff to FactCheck.jl master:
diff --git a/src/FactCheck.jl b/src/FactCheck.jl
index ba29e58..22e5bfd 100644
--- a/src/FactCheck.jl
+++ b/src/FactCheck.jl
@@ -181,10 +181,10 @@ macro fact_throws(args...)
                           $(if is(extype, nothing)
                               :((true, "error"))
                             else
-                              :(if isa(ex,$extype)
+                              :(if isa(ex,$(esc(extype)))
                                   (true,"error")
                                 else
-                                  $(:((false, "wrong argument type, expected $($extype) got $(typeof(ex))")))
+                                  $(:((false, "wrong argument type, expected $($(esc(extype))) got $(typeof(ex))")))
                                 end)
                             end)
                       end,

Appears to fix the issue of unescaped extype not allowing for custom exceptions.
I'll send a PR if it works for you.

Ok I will try that just some minutes

:+1:
julia> Pkg.test("Lexicon")
INFO: Computing test dependencies for Lexicon...
INFO: No packages to install, update or remove
INFO: Testing Lexicon
Elements.
     - Empty Nodes.
3 facts verified.
INFO: Lexicon tests passed
INFO: No packages to install, update or remove

julia>

lucky me was one time not my mistake ;)
BTW: Do you mind if we specify the Error a bit like this: makes it easier in the fact tests.

lucky me was one time not my mistake ;)

Yeah, when there's an problem with a macro call I always go to macroexpand immediately. You'll notice that at # line 185: the exception type is returned as FactCheck.EmptyNodeError:
julia> macroexpand(:(@fact_throws EmptyNodeError document(a = 1)))
quote  # /home/mike/.julia/v0.4/FactCheck/src/FactCheck.jl, line 177:
    FactCheck.do_fact((()->begin  # /home/mike/.julia/v0.4/FactCheck/src/FactCheck.jl, line 177:
                try  # line 178:
                    document(a=1) # line 179:
                    (false,"no error")
                catch #22#ex # line 181:
                    if FactCheck.isa(#22#ex,FactCheck.EmptyNodeError) # line 185:
                        (true,"error")
                    else  # line 187:
                        (false,"wrong argument type, expected $(FactCheck.EmptyNodeError) got $(FactCheck.typeof(#22#ex))")
                    end
                end
            end),$(Expr(:copyast, :($(QuoteNode(:(document(a=1))))))),FactCheck.ResultMetadata(line=FactCheck.getline(),msg=nothing))
end

BTW: Do you mind if we specify the Error a bit like this: makes it easier in the fact tests.

Yes, that's fine, but let's not end up with dozens of different error types. And only when a new FactCheck.jl version has been  tagged of course.


Fix for sign issues in electrostatics and Pauli calculations.

Fixes #112
The sign of the Pauli force was coming out wrong in the pyridine density overlap example. The underlying issue was that the FFT convolution for calculating the force had one minus sign missing. This also affects the electrostatics calculation that had another minus sign missing due to wrong input units, which was previously cancelling out.
Also changed the Pauli prefactor in the pyridine example from 1.0 to 18.0, because that is the default and is also used in a publication.

@ProkopHapala also wanted to see the energies and forces plotted to make sure that they make sense, so I plotted them along the z-axis over the N-atom in the pyridine example.
Electrostatics:

vdW:

Pauli:

FD there stands for a centered finite difference derivative.

I wasn't closely following this issue, so I don't think that my review makes a lot of sense. I let others comment on this.

OK, perfect Niko. And the df images looks still roughly the same? I'm a bit hoping they improved ?

OK, perfect Niko. And the df images looks still roughly the same? I'm a bit hoping they improved ?

They do look different. Whether it's an improvement is a harder question to answer, but in theory the physics should be more correct now.
Old:

New:

Here it is with the colorbars. The absolute values are changed quite a lot.
Old:

New:

Here's the plot above the carbon:

I would say the vdW and Pauli look fine, but the electrostatic force is in the completely different direction. No clue where that comes from. This PR should not affect the final electrostatic force in any way.

Actually what is the system, that you are using for these tries?

Here's the plot above the carbon:
I would say the vdW and Pauli look fine, but the electrostatic force is in the completely different direction. No clue where that comes from. This PR should not affect the final electrostatic force in any way.

yes, this is the issue we discussed with Ruben & Pablo several times. The difference is that:

In the original implementation of Ellner et.al they calculate electrostatic energy as intraction of the total electron density with total electrostatic potential. => it is atractive.
In my implementation I calculate just the interaction of denisty difference ( delta rho =  rho_SCF - rho_NA). The reason was that it was supposed to be combined with Lennard-Jones, and the repulsive part of Lennard-Jones is not very accurate. This makes sure that we do not have to really on too much compensation between Pauli repulsion and electrostatics.

NOTES:

I think comparison of these two graphs is misleading because they are in very different units. I'm pretty sure that electrostatics from Ellner paper has not only opposite sign, but is also order of magnitude larger than our electrostatic force.
You should not look too much how the curves looks at close approach because: (a) they are wrong anyway (when you have large overlap between the clouds orbitals will re-hybridize and you have to do new quantum SCF, not just this 1st order perturbation) (b) they are irelevant for Probe-Particle becuase probe particle will deflect much sooner.
This is also one reason what I don't like about the plot form the Ellner paper. Visually is seems as if electrostatic interaction between pyridinic nitrogen and CO oxygen is attractive (!!!) which is in contrast to chemical intuition, because both nitrogen and CO has negative partial charge. But this is only because you focus to much on the curve at close distance where you penetrate the electron clouds. At far distance these partial atomic charges attract each other, but it is not visible because of the scale (it is 1-2 orders of magnitude).
We were discussing this many times, but I have still feeling that Ruben does not fully appreciate what I'm trying to say.
Also we had an agreement, that I will give them PPM with implmentation of Density-Overlap and they will compare it with their implementation, and write paper together where we clearly explain these things. But nothing really come out of that. They instead used PPM to make the QUAM database. Som I'm quite pissed of because of that.

@ProkopHapala Thanks for clarifying the point about the electrostatics.

Actually what is the system, that you are using for these tries?

It's the same pyridine molecule

I'm pretty sure that electrostatics from Ellner paper has not only opposite sign, but is also order of magnitude larger than our electrostatic force.

I think we are using eV/Å = 1602 pN, so the scales are not that different.
I think overall everything here looks as expected then, so we can merge this if everyone approves.

I think overall everything here looks as expected then, so we can merge this if everyone approves.

yes, Niko, definitely go ahead with merge.
It would be good to do some proper study/comparison with the Ellner approach (using the whole density + repulsion of the nuclei), but that is not matter of this pull-request

yes, Niko, definitely go ahead with merge.

@ProkopHapala  Can you make an approving review to make it explicit, so I can do the merge without a bypass.

Here's the plot above the carbon:
I would say the vdW and Pauli look fine, but the electrostatic force is in the completely different direction. No clue where that comes from. This PR should not affect the final electrostatic force in any way.

@NikoOinonen Perhaps looking at carbon alone does not give us much understanding. It would be useful to compare curves for nitrogen and carbon. Most importaintly Electrostatics, but also maybe Pauli (vdW is irellevant). If it works properly electrostatics for nitrogen should be more repulsive (less attractive) than for nitrogen. But it is also importaitn to look at proper range of distances (around sum of vdW radius).

Here it is with the colorbars. The absolute values are changed quite a lot.
Old:
New:

Can you plot the forcefield (and energy if possible)  without relaxation, and without vdW ?


Enhance template engine in BultInit plugin to be usable for generating samples

The PR provides enhancements to the template engine, which can be used to generate full samples/guides with readme. This was used for: #14291

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle QF

Sorry I don't understand what you said, please type @bot-gradle help to get help.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.


Add temporal kernels for arithmetic with timestamps and durations

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am trying to arithmetically create date / time columns. In my case I want to add some duration (7 days) to a Date32 column
Describe the solution you'd like
I would like temporal kernels that allowed operations such as:
TimestampNanosecondArray + Duration --> TimestampNanosecondArray
Date32Array + Duration --> Date32Array
etc.
I would like to be able to do something like
    let date_strings = vec![
        Some("2020-01-01"),
        Some("2020-01-02"),
        Some("2020-01-03"),
        None,
        Some("2020-01-04"),
    ];
    let arr_date32 = arrow::compute::cast(&arr_string, &DataType::Date32).expect("casting to date");

    // note there is no such thing as DurationArray at this time
    let offset_seconds = DurationArray::from_days(vec![1, 2, 3, 4, 5]);
    let arr_date32_offset = compute::kernels::add(arr_date32, offset_seconds)

    // expect the output is
    // 2021-01-02
    // 2021-01-04
    // 2021-01-06
    // None
    // 2021-01-08

Describe alternatives you've considered
It might be nice to extend the arithmetic kernels to take Arc<dyn Array> rather than the PrimitiveArray as they do now and do the casting / calling specific implementations directly.
Additional context
Add any other context or screenshots about the feature request here.

FYI @velvia

anyone taking this? also is there any reference implementation in other languages?

@Jimexist  no one that I know of is taking this on. If you were interested that would be awesome
The reference implementation would probably still be postgres in my mind. There is a nice table https://www.postgresql.org/docs/current/functions-datetime.html#OPERATORS-DATETIME-TABLE that describes all the operators, input types, and output types. I think it helps because certain combinations, such as date + date don't really make logical sense so having the reference to guide what is needed would help a lot
@velvia / @andygrove / @jorgecarleitao  any thoughts?

this also relates to #45

This is definitely a good feature.
It seems to me that in most cases, that time/duration manipulations could be based on existing arithmetic kernels, that'd be one way to go about it.
ie some combination of cast(date32 -> i32) -> math add kernel -> cast back for example.
Or at least, leveraging existing math kernels would make a ton of sense.

Or at least, leveraging existing math kernels would make a ton of sense.

I agree -- it may be that since the date/time arrays are PrimitiveArrays it might already work. But I remember problems when I tried.
My selfish initial desire is to be able to write a filter like "the last 5 minutes" in DataFusion so something like
SELECT ...
WHERE
   timestamp_column > (now() - interval `5 minutes')

I would say that we need to generalize the compute arithmetic kernels to support &dyn Array and then specialize based on DataType or bail if the operation is not valid for that datatype.
We do this in arrow2 thanks to @elferherrera, here: https://github.com/jorgecarleitao/arrow2/blob/main/src/compute/arithmetics/mod.rs#L126

I would say that we need to generalize the compute arithmetic kernels to support &dyn Array and then specialize based on DataType or bail if the operation is not valid for that datatype.

I very much support this notion -- I have filed https://github.com/apache/arrow-rs/issues/558 to track it.
I can take a crack at the proposed interface if this seems reasonable to people

I have some kernels doing time arithmetic for a personal project. I think it is helpful to consider more than just durations since, those are the easiest case. Specifically, we should also be able to add intervals to timestamps.
I think it may be difficult to do these using existing arithmetic kernels. For the case of fixed durations (5000 seconds) it may be possible, but when handling intervals we'll need special kernels (eg., add 5 calendar days). One possible interface would be something like add_time<Time, Delta>(time: &PrimitiveArray<Time>, delta: &PrimitiveArray<Delta>) -> PrimitiveArray<Time>, for some traits that define temporal types and deltas.
Then we can use chrono and chronoutil to support adding a duration or relative duration by having implementations of something like an ArrowTimeDelta trait for the data types that represent fixed or relative durations.

Yeah, handling intervals will take some finagling / handling intervals that aren't fixed numbers of seconds.
However, I think the type system can represent such durations (using a DataType::Duration: https://github.com/apache/arrow-rs/blob/master/arrow/src/datatypes/datatype.rs#L97) so we can perhaps use PrimitiveArray<Duration> when you refer to Delta above

I don't think that entirely works for two reasons -- first, there are actually multiple Duration types (in Rust) for the same DataType. Second, the delta may also be an interval. Specifically, it needs to be constrained in a way that supports the following arrays:

PrimitiveArray<DurationSecondType> - add a fixed number of seconds
PrimitiveArray<DurationMicrosecondType> - add a fixed number of microseconds
PrimitiveArray<DurationMillisecondType> - add a fixed number of milliseconds
PrimitiveArray<DurationNanosecondType> - add a fixed number of nanoseconds
PrimitiveArray<IntervalDayTimeType> - add a number of calendar days (and seconds) (description says this is a pair of i32 packed into an i64)
PrimitiveArray<IntervalYearMonthType> - add a number of calendar months

From an implementation, I think we can do this using chrono and chronoutil. Something like:
pub trait ArrowTimeDelta: ArrowPrimitiveType {
    fn add_to(time: NaiveDateTime, value: Self::Native) -> NaiveDateTime;
}

impl ArrowTimeDelta<RelativeDuration> for IntervalDayTimeType {
    fn get_delta(value: Self::Native) -> RelativeDuration {
        // DayTime is represented as a 64 bit value -- 32 bit day and 32 bit seconds.
        let days = RelativeDuration::days(value >> 32);
        let seconds = RelativeDuration::seconds((value as i32) as i64);
        days + seconds
    }
}

impl ArrowTimeDelta for IntervalYearMonthType {
    fn add_to(time: NaiveDateTime, value: Self::Native) -> NaiveDateTime {
        // YearMonth is represented as a 32 bit value containing the number of months.
        time + RelativeDuration::months(value)
    }
}

impl ArrowTimeDelta for DurationSecondType {
    fn add_to(time: NaiveDateTime, value: Self::Native) -> NaiveDateTime {
        time + Duration::seconds(value)
    }
}

impl ArrowTimeDelta for DurationMillisecondType {
    fn add_to(time: NaiveDateTime, value: Self::Native) -> NaiveDateTime {
        time + Duration::milliseconds(value)
    }
}

impl ArrowTimeDelta for DurationMicrosecondType {
    fn add_to(time: NaiveDateTime, value: Self::Native) -> NaiveDateTime {
        time + Duration::microseconds(value)
    }
}

impl ArrowTimeDelta for DurationNanosecondType {
    fn add_to(time: NaiveDateTime, value: Self::Native) -> NaiveDateTime {
        time + Duration::nanoseconds(value)
    }
}

Then the implementation is basically iterating over a pair of arrays and callling add_to.

From an implementation, I think we can do this using chrono and chronoutil. Something like:

That looks like a great idea to me. Nice

Added a rough draft. The temporal values are a bit odd -- it looks like there is as_datetime but that doesn't respect the timestamp of the input, and seems like it would be doing a match inside the loop, so I added a method to ArrowTimestampType. Not sure if there is a better way to operate on the date time -- maybe a method that returns a closure that gets inlined away?


Error when trying to define new value for default color

When I try to set a new value for i.e. "blue" in tailpress.json
{
    "colors": {
        "blue": "#77a9c1"
    }
}

and then run
 npm run development
I'm getting an error:
The `text-blue-500` class does not exist, but `text-gray-500` does. If you're sure that `text-blue-500`
exists,  make sure that any `@import` statements are being properly processed before Tailwind CSS
sees your CSS,  as `@apply` can only be used for classes in the same CSS tree.

Any idea how to overwrite the value of an existing color?

It will conflict with the classname of the Tailwind colors itself as it turns out. Workaround would be to use a different name or to remove the blue colors from your tailwind.config.js.

As I'm not really sure what TailPress should do with this, I'm going to close this issue. If anyone has an idea, feel free to share it.


Definition for rule 'react/wrap-multilines' was not found

I'm getting this error using eslint-plugin-react v7.3.0. I understand this is supposed to be a deprecated rule, so why am I getting this error?
Errors:
  1  https://google.com/#q=react%2Fwrap-multilines
 @ ./src/common/index.js 16:14-33
 @ ./src/app/App.jsx
 @ ./src/main.jsx
 @ multi webpack-hot-middleware/client?reload=true?path=http://localhost:5000/__webpack_hmr react-hot-loader/patch babel-polyfill ./src/main.jsx

ERROR in ./src/main.jsx

  ✘  https://google.com/#q=react%2Fwrap-multilines  Definition for rule 'react/wrap-multilines' was not found
  src/main.jsx:1:1
  import React from 'react';
   ^

✘ 1 problem (1 error, 0 warnings)

Can you give your eslint config please? My guess is you may be extending some eslint configuration that has this rule still enabled.

// .eslintrc

/**
 * These rules are for React and JSX syntax using a modified version of the AirBnB config files.
 * https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb/rules/react.js
 */
{
    "extends": [
        ".es6-eslintrc"
    ],
    "env": {
        "browser": true,
        "es6": true
    },
    "parser": "babel-eslint",
    "parserOptions": {
        "sourceType": "module",
        "ecmaFeatures": {
            "jsx": true,
            "modules": true,
            "experimentalObjectRestSpread": true
        }
    },
    "plugins": [
        "react",
        "promise"
    ],
    "rules": {
        "jsx-quotes": [2, "prefer-double"],
        "react/display-name": [0, { "ignoreTranspilerName": false }],
        "react/forbid-prop-types": [0, { "forbid": ["any", "array", "object"] }],
        "react/jsx-boolean-value": [1, "always"],
        "react/jsx-closing-bracket-location": [2, "line-aligned"],
        "react/jsx-curly-spacing": [2, "never", { "allowMultiline": true }],
        "react/jsx-handler-names": [0, {
            "eventHandlerPrefix": "handle",
            "eventHandlerPropPrefix": "on",
        }],
        "react/jsx-indent-props": [2, 4],
        "react/jsx-key": 0,
        "react/jsx-max-props-per-line": [0, { "maximum": 1 }],
        "react/jsx-no-bind": [2, {
            "ignoreRefs": true,
            "allowArrowFunctions": true,
            "allowBind": false,
        }],
        "react/jsx-no-duplicate-props": [0, { "ignoreCase": false }],
        "react/jsx-no-literals": 0,
        "react/jsx-no-undef": 2,
        "react/jsx-pascal-case": 2,
        "react/sort-prop-types": [0, {
            "ignoreCase": false,
            "callbacksLast": false,
        }],
        "react/jsx-sort-prop-types": 0,
        "react/jsx-sort-props": [0, {
            "ignoreCase": false,
            "callbacksLast": false,
        }],
        "react/jsx-uses-react": "error",
        "react/jsx-uses-vars": "error",
        "react/no-danger": 0,
        "react/no-deprecated": "error",
        "react/no-did-mount-set-state": [2],
        "react/no-did-update-set-state": [2],
        "react/no-direct-mutation-state": 0,
        "react/no-is-mounted": 2,
        "react/no-multi-comp": [2, { "ignoreStateless": true }],
        "react/no-set-state": 0,
        "react/no-string-refs": 0,
        "react/no-unknown-property": 2,
        "react/prefer-es6-class": [2, "always"],
        "react/prefer-stateless-function": 2,
        "react/prop-types": [2, { "ignore": [], "customValidators": [] }],
        "react/react-in-jsx-scope": 2,
        "react/require-extension": [0, { "extensions": [".jsx"] }],
        "react/require-render-return": 2,
        "react/self-closing-comp": 2,
        "react/jsx-space-before-closing": [2, "always"],
        "react/jsx-wrap-multilines": ["error", {
            "declaration": true,
            "assignment": true,
            "return": true,
            "arrow": true
        }],
        "react/sort-comp": [2, {
            "order": [
                "constructor",
                "static-methods",
                "lifecycle",
                "/^on.+$/",
                "/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
                "everything-else",
                "/^render.+$/",
                "render"
            ],
        }],
        "react/jsx-first-prop-new-line": [2, "multiline"],
        "react/jsx-equals-spacing": [2, "never"],
        "react/jsx-indent": [2, 4],
        "complexity": [0, 0],
        "dot-notation": [2, {
            "allowKeywords": true,
            "allowPattern": "^[a-z]+(_[a-z]+)+$" // Allow snake case.
        }],
        "max-len": [2, 160, {"ignorePattern": "\\s*<"}],
        "new-cap": [2, {
            "newIsCap": true,
            "capIsNew": false
        }],
        "no-console": [2, {allow: ["info", warn", "error"]}],
        "spaced-comment": [2, "always", { "exceptions": ["*"] }]
    }
}

// .es6-eslintrc

/**
 * These rules are for vanilla ECMAScript 6, and make no assumptions
 * about environments (e.g., Node, Browser).
 *
 * Rules for ECMAScript 6 and specific environments are present in other files.
 */
{
    "extends": ".es5-eslintrc",
    "rules": {
        "constructor-super": 2,
        // Allows for the most consistency between named, anonymous, and shorthand generator functions.
        "generator-star-spacing": [2, {
            "before": true,
            "after": false
        }],
        "no-inner-declarations": 0,
        "no-lone-blocks": 0,
        "no-this-before-super": 2,
        "no-var": 2,
        "object-shorthand": 2,
        "prefer-const": 2
    }
}

// .es5-eslintrc

/**
 * These rules are for vanilla ECMAScript 5, and make no assumptions
 * about environments (e.g., Node, Browser).
 *
 * Rules for ECMAScript 6 and specific environments are present in other files.
 */
{
    "rules": {
        "accessor-pairs": 2,
        "array-bracket-spacing": [2, "never", {
            "objectsInArrays": false
        }],
        "block-scoped-var": 2,
        "brace-style": [2, "1tbs", {
            "allowSingleLine": false
        }],
        "camelcase": [2, {
            "properties": "always"
        }],
        "comma-dangle": [2, "never"],
        "comma-spacing": [2, {
            "before": false,
            "after": true
        }],
        "comma-style": [2, "last"],
        "complexity": [2, 5], // Evaluate this in real-world development.
        "computed-property-spacing": [2, "never"],
        "consistent-return": 2,
        "consistent-this": [2, "that"],
        "curly": [2, "all"],
        "default-case": 2,
        "dot-location": 0,
        "dot-notation": [2, {
            "allowKeywords": false,
            "allowPattern": "^[a-z]+(_[a-z]+)+$" // Allow snake case.
        }],
        "eol-last": 2,
        "eqeqeq": 2,
        "func-names": 0,
        "func-style": [2, "expression"],
        "global-strict": 0, // This is deprecated, but breaks unless we turn it off.
        "guard-for-in": 2,
        "indent": [2, 4],
        "key-spacing": [2, {
            "beforeColon": false,
            "afterColon": true
        }],
        "keyword-spacing": 2,
        "linebreak-style": [2, "unix"],
        "lines-around-comment": [2, {
            "allowBlockStart": true,
            "beforeBlockComment": true,
            "beforeLineComment": true
        }],
        "max-depth": [2, 3],
        "max-len": [2, 80], // Evaluate in real-world development.
        "max-params": 0, // Often, constructors may require many dependencies.
        "max-nested-callbacks": [2, 3],
        "max-statements": 0,
        "new-cap": [2, {
            "newIsCap": true,
            "capIsNew": true
        }],
        "newline-after-var": [2, "always"],
        "new-parens": 2,
        "no-alert": 2,
        "no-array-constructor": 2,
        "no-bitwise": 2,
        "no-plusplus": 0,
        "no-caller": 2,
        "no-catch-shadow": 0, // only for IE8 and earlier
        "no-cond-assign": [2, "except-parens"],
        "no-console": 2,
        "no-constant-condition": 2,
        "no-continue": 0,
        "no-control-regex": 2,
        "no-debugger": 2,
        "no-delete-var": 2,
        "no-div-regex": 2,
        "no-dupe-args": 2,
        "no-dupe-keys": 2,
        "no-duplicate-case": 2,
        "no-else-return": 2,
        "no-empty": 2,
        "no-empty-character-class": 2,
        "no-eq-null": 2,
        "no-eval": 2,
        "no-ex-assign": 2,
        "no-extend-native": 2,
        "no-extra-bind": 2,
        "no-extra-boolean-cast": 2,
        "no-extra-parens": 0, // Can aid readability.
        "no-extra-semi": 2,
        "no-fallthrough": 2,
        "no-floating-decimal": 2,
        "no-func-assign": 2,
        "no-implied-eval": 2,
        "no-inline-comments": 0,
        "no-inner-declarations": [2, "functions"], // Only appropriate for ES5 code.
        "no-invalid-regexp": 2,
        "no-irregular-whitespace": 2,
        "no-iterator": 2,
        "no-label-var": 2,
        "no-labels": 2,
        "no-lone-blocks": 2, // Only appropriate for ES5 code.
        "no-lonely-if": 2,
        "no-loop-func": 2,
        "no-mixed-spaces-and-tabs": 2,
        "no-multi-spaces": 2,
        "no-multi-str": 2,
        "no-multiple-empty-lines": 2,
        "no-native-reassign": 2,
        "no-negated-in-lhs": 2,
        "no-nested-ternary": 2,
        "no-new": 0, // Can be useful, e.g. when passing a new instance as a parameter.
        "no-new-func": 2,
        "no-new-object": 2,
        "no-new-wrappers": 2,
        "no-obj-calls": 2,
        "no-octal": 2,
        "no-octal-escape": 2,
        "no-param-reassign": 2,
        "no-proto": 2,
        "no-redeclare": 2,
        "no-regex-spaces": 2,
        "no-return-assign": 2,
        "no-script-url": 2,
        "no-self-compare": 2,
        "no-sequences": 2,
        "no-shadow": 2,
        "no-shadow-restricted-names": 2,
        "no-spaced-func": 2,
        "no-sparse-arrays": 2,
        "no-ternary": 0,
        "no-throw-literal": 2,
        "no-trailing-spaces": 2,
        "no-undef": 2,
        "no-undef-init": 2,
        "no-undefined": 2,
        "no-underscore-dangle": 0,
        "no-unexpected-multiline": 2,
        "no-unreachable": 2,
        "no-unused-expressions": 2,
        "no-unused-vars": [2, {
            "vars": "all",
            "args": "after-used"
        }],
        "no-use-before-define": 0,
        "no-warning-comments": [2, {
            "terms": ["todo"],
            "location": "start"
        }],
        "no-with": 2,
        "object-curly-spacing": [2, "always"], // Can prevent crowding, e.g., passing options object as a parameter.
        "one-var": 0, // Case-by-case
        "operator-assignment": [2, "never"],
        "operator-linebreak": [2, "before"],
        "padded-blocks": [2, "never"],
        "quote-props": [2, "as-needed"],
        "quotes": [2, "single", "avoid-escape"],
        "radix": 2,
        "semi": [2, "always"],
        "semi-spacing": [2, {
            "before": false,
            "after": true
        }],
        "sort-vars": 0,
        "spaced-comment": [2, "always"],
        "space-before-blocks": [2, "always"],
        "space-before-function-paren": [2, "never"],
        "space-in-parens": [2, "never"],
        "space-infix-ops": [2, {
            "int32Hint": false
        }],
        "space-unary-ops": [2, {
            "words": true,
            "nonwords": false
        }],
        "strict": [2, "global"],
        "use-isnan": 2,
        "valid-jsdoc": [2, {
            "prefer": {
                "returns": "return",
                "class": "constructor",
                "default": "defaultvalue"
            },
            "requireReturn": true,
            "requireParamDescription": true,
            "requireReturnDescription": false
        }],
        "valid-typeof": 2,
        "vars-on-top": 0, // Case by case.
        "no-void": 2,
        "wrap-iife": [2, "inside"],
        "wrap-regex": 2,
        "yoda": [2, "never"]
    }
}

The rule is jsx-wrap-multilines, not wrap-multilines. Your eslintrc has an error.

Uh, no it doesn't. My .eslintrc file is already using jsx-wrap-multilines as you can see above. I'm aware that wrap-multilines is deprecated, and yet I'm still receiving the error that the definition can't be found. But, of course it's missing. I've removed it from my eslintrc file.

Hmm, sorry, I guess I misread.
Is this happening on the command line? It's weird that there's a google URL in the error message.

Yeah. If it helps, I'm using:

node v8.4.0
npm v5.3.0
webpack v3.5.6

Basically all of my dependencies are at the latest version.

Is webpack running eslint for some reason?

I'm basically creating my own personal React boilerplate for my own projects. You can download and run it locally if you want: https://github.com/goodbomb/react-redux-webpack-starter
You can see all of my eslint files and package.json there

OK, so what happens if you run npx eslint .?

I use it during hot module reloading so I can immediately detect style issues. Regardless, I'm seeing the same error in Visual Studio Code.

It's quite frequent that "running eslint on anything but directly on the command line" causes issues, so it's always important to ensure that you can reproduce the issue there.
For example, often, editors (and probably webpack) need to be restarted after any node_modules changes in order to pick them up; but the command line command does not have this problem.

I'll try deleting node_modules and reinstalling tomorrow. I need to head to bed for now. I'll let you know what happens. Thanks for the quick responses.

Looks like it was a different rule entirely that was causing this issue. Weird.
I needed "react/jsx-tag-spacing": [2, { "beforeSelfClosing": "always" }], instead of "react/jsx-space-before-closing": [2, "always"],
Your suggestion of running eslint directly seems to have done the trick. Thanks for the tip.

Very weird. Glad you figured it out!


importib-metadata is too much constrainted for older environment than python 3.10

Hello team, thanks for the work!
Regarding this https://github.com/Python-Markdown/markdown/issues/1203 issue, I also ran into a dependency problem regarding the latest markdown 3.3.6 pushing for using importlib-metadata>=4.4 and latest flake8 constraining it to importlib-metadata<4.3 💥 : conflict.
I'm a bit confused as I see that markdown support python 3.6->3.10.
According to importlib-metadata Changelog, https://importlib-metadata.readthedocs.io/en/latest/history.html markdown should need only 3.0.0 to support python 3.6.
So I would suggest restricting importlib-metadata to >=3.0.0 to keep backward dependencies compatible code with the ecosystem (who is not up to date with python 3.10 which requires 4.4 ;) ).
I'm downgrading markdown in my projects to 3.3.4 due to that but it makes me sad.
Theorie reasoning behind.
I'm a user of both flake8 and markdown (requirements.txt only contains flake8 and markdown).
constraints are free (no pinned version)
on a python3.6->3.9 I won't be able to install the latest markdown -> conflict
on python3.10 flake8 will be the bad guy... but that is expected as flake8 does not support python3.10 yet (nor 3.9).
With a lighter constraint, I'll be able to have markdown installed in every python3.6 -> 3.10 ecosystem
Also according to importlib-metadata 1.4 is used in python (stlib) 3.8.
I also discovered that pip6 support python version constraint so it could be something like that (didn't test it):
importlib-metadata >=1.4, <4.4; python_version <= '3.10'
importlib-metadata >=4.4 ; python_version >= '3.10'

Originally posted by @Krilivye in https://github.com/Python-Markdown/markdown/issues/1203#issuecomment-1054619758

I'm a bit confused as I see that markdown support python 3.6->3.10.

There is nothing to be confused about. So long as you don't have any third party libs installed which don't conflict, then Python-Markdown works in all of those Python versions. The problem is that some more popular third party packages have been slow to adopt Python 3.10. It is those packages which are causing the problem.
We are not going to revert our support of Python 3.10. However...

importlib-metadata >=1.4, <4.4; python_version <= '3.10'
importlib-metadata >=4.4 ; python_version >= '3.10'

That might be a reasonable way to approach this. I hadn't thought of that. A PR is welcome.

We need at least 3.6.0 to support group argument.
Also why putting an upper bound? I would suggest something like this if we want to change it:
importlib-metadata >=3.6
importlib-metadata >=4.4; python_version >= '3.10'

Upon further review, I am closing this as wontfix. As explained in #1228 (and elsewhere), Python 3.10's Release Notes states that Python 3.10 has feature parity with import-metadata 4.6. Therefore, my assumption is that any earlier version of importlib-metadata will not behave exactly as expected in every edge case. And I'm not interested in testing every edge case. Therefore, we will not be supporting any earlier version.


Atomic Test cases for amominu (and potentially others) Sail is not generating the correect signature

Ref.disass code for inst_0 for amominu.w
0000000080000400 <inst_0>:
80000400:	bff00f13          	li	t5,-1025
80000404:	01e0b023          	sd	t5,0(ra)
80000408:	fff00f13          	li	t5,-1
8000040c:	03ff1f13          	slli	t5,t5,0x3f
80000410:	00008f93          	mv	t6,ra
80000414:	c1efafaf          	amominu.w	t6,t5,(t6)
80000418:	01f0b423          	sd	t6,8(ra)
The first signature should have been FFFF FFFF FFFF FBFF What Sail is storing is: FFFF_FFFF_0000_0000
I have not looked further into the signature to see if others are also wrong.
I have attached all the files from the ref dir under riscof_work for amominu.w
amominu.w.zip

If I am understanding this correctly ,
memory has the value FFFF FFFF FFFF FFBF
register  has the value  8000 0000 0000 0000
amominu will replace the value in memory with the unsigned minimum of the
lower 32bits of each, and put the sign extended low 32bits into rd.
So, the unsigned min of (FFFF FFBF, 0000 0000), is 0000 0000,
What you should be seeing in the signature is the upper half unchanged and
upper half updated with the min (FFFF FFFF 0000 0000).
What you should be seeing in the signature+8 is the original value in
memory, (FFFF FFFF FFFF FFBF)
So Sail is doing the right thing, as far as I can tell.
(And, if this were an actual bug, it should be filed against riscv-sail,
not against riscv-arch-test
On Tue, Jan 23, 2024 at 8:05 AM InspireSemi @.***>
wrote:

Ref.disass code for inst_0 for amominu.w
0000000080000400 <inst_0>:
80000400: bff00f13 li t5,-1025
80000404: 01e0b023 sd t5,0(ra)
80000408: fff00f13 li t5,-1
8000040c: 03ff1f13 slli t5,t5,0x3f
80000410: 00008f93 mv t6,ra
80000414: c1efafaf amominu.w t6,t5,(t6)
80000418: 01f0b423 sd t6,8(ra)
The first signature should have been FFFF FFFF FFFF FBFF What Sail is
storing is: FFFF_FFFF_0000_0000
I have not looked further into the signature to see if others are also
wrong.
I have attached all the files from the ref dir under riscof_work for
amominu.w
amominu.w.zip
https://github.com/riscv-non-isa/riscv-arch-test/files/14026954/amominu.w.zip
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/430, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJST3JKOYNU5QTU3ZF3YP7NV5AVCNFSM6AAAAABCHICRJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TMNBSG44TGOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[Bug]: Error after updating to v2.12.0

Similar Issues

[X] Before filing, I have searched for similar issues.

Neovim Version
NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3

Steps to Reproduce

Update to version 2.12.0
Bind:

{ "<C-p>",  "<Cmd>Legendary<CR>", description = "not relevant", mode = "n", opts = { noremap = true } },

using Legendary.
3. Try to activate the binding.
4. It errors:
Error executing Lua callback: ...share/nvim/lazy/legendary.nvim/lua/legendary/ui/init.lua:34: attempt to index local 'opts'
 (a nil value)
stack traceback:
        ...share/nvim/lazy/legendary.nvim/lua/legendary/ui/init.lua:34: in function 'select_inner'
        ...share/nvim/lazy/legendary.nvim/lua/legendary/ui/init.lua:98: in function 'select'
        ...al/share/nvim/lazy/legendary.nvim/lua/legendary/init.lua:124: in function 'find'
        ...hare/nvim/lazy/legendary.nvim/lua/legendary/api/cmds.lua:38: in function <...hare/nvim/lazy/legendary.nvim/lua/l
egendary/api/cmds.lua:10>

See minimal init.lua below.
Expected Behavior
No error. Things should work as they worked in the previous version.
Actual Behavior
The binding does not work, and instead gives an error.
Minimal Configuration to Reproduce
-- Place this file into:        `~/.config/nvim_repro/init.lua`

-- Then launch Neovim using:    `NVIM_APPNAME=nvim_repro nvim`
-- NOTE: I think this might require nvim version 0.9.0 or above.

-- NOTE: When using `NVIM_APPNAME=nvim_repro` to launch into this alternate Neovim config,
-- this data path will not conflict with or pollute the primary data folders.
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"

-- Lazy Bootstrap:
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        "git",
        "clone",
        "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git",
        "--branch=stable", -- latest stable release
        lazypath,
    })
end

vim.opt.rtp:prepend(lazypath)

-- `lazy.nvim` config options
local lazy_opts = {
    root = vim.fn.stdpath("data") .. "/lazy",               -- Directory where plugins will be installed.
}

local plugins = {
    "folke/tokyonight.nvim",
    {
        "mrjones2014/legendary.nvim",
        version = "2.12.0",     -- This does not work.
        -- version = "2.11.0",  -- This works
        dependencies = {
            "nvim-telescope/telescope.nvim",
            "stevearc/dressing.nvim",
        },
    },
    {
        "nvim-telescope/telescope.nvim",
        dependencies = {
            "nvim-lua/plenary.nvim"
        },
    },
}

-- Lazy Setup:
require("lazy").setup(plugins, lazy_opts)

require("dressing").setup()

require("legendary").setup()

-- Bind this thing.
require("legendary").keymaps({
    {
        "<C-p>", "<Cmd>Legendary<CR>",
        description = "Legendary: Search/Find Keymaps/Commands/Autocommands",
        mode = "n", opts = { noremap = true }
    },
})
-- Try activate the binding. It errors on v2.12.0.

-- Colors
vim.opt.termguicolors = true
vim.cmd([[colorscheme tokyonight]])

-- End of File

My template is a bit different, but this should work very easily with the instructions at the top of the file. Was easier for me to do this way.
Output from :LegendaryLog

:LegendaryLog output (click to expand)
[Sat 08 Jul 2023 01:26:45 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:26:02 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:22:42 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:20:43 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:20:26 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:20:08 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:19:41 AM EEST][legendary.nvim] setup() parsed and applied all configuration.
[Sat 08 Jul 2023 01:18:20 AM EEST][legendary.nvim] Launching select UI
[Sat 08 Jul 2023 01:18:19 AM EEST][legendary.nvim] setup() parsed and applied all configuration.
[Sat 08 Jul 2023 01:18:10 AM EEST][legendary.nvim] setup() parsed and applied all configuration.
...

When the binding causes the error, only a "Launching select UI" entry is added to the log.
Additional Details and/or Screenshots
Edit: The require('legendary').find() command also errors in the same manner.

Sorry about that folks. I will get it fixed later today.

 Fixed in v2.12.1


Bug: reenter in sibling states

XState version
XState version 5
Description
Reenter attribute doesn't work on sibiling states
Expected result
[...]
states:{
state1:{
entry: console.log(''state1")
on:{
'':{target: 'state2'
reenter: true},
},
},
state2:{
entry: console.log(''state2")
on:{
'':{target: 'state1'
reenter: true},
},
},
}
[...]
output: state1
state2
state1
state2
state1
state2
[...]
Actual result
output: state1
state2
and stops here, doesn't reenter in states that are not parent-child
Reproduction
i dont really know how to make those options of reproduction
Additional context
No response

Reentry does not apply here since you are not reentering the same (or ancestor) state.

But how could I achieve this functionality? Just to be clear, i have no parente-child state, only sibiling states. And I want transition many times to the same state during the execution in a way that every time the state execute it's entry function

Reentry does not apply here since you are not reentering the same (or ancestor) state.

But how could I achieve this functionality? Just to be clear, i have no parente-child state, only sibiling states. And I want transition many times to the same state during the execution in a way that every time the state execute it's entry function

Closing this as invalid – if you can explain your use-case a bit more, I can help you figure out a better solution. However, reentering is not related to sibling states.


Add oauthd instructions

Please provide enough information so that others can review your pull request:
Added instructions on how to start an oauthd instance as it is required to use the Twitter functions of the app.
Test plan (required)
Tested the instructions locally. No test cases written as only documentation was updated.
Closing issues
Related to Google Code-in Task: https://codein.withgoogle.com/dashboard/task-instances/6415652575772672/

@JosephSemrai looks good, just squash all commits in one!!


mismatch of roles and actions

the tables in
Synapse RBAC roles and the actions they permit
and
Synapse RBAC actions and the roles that permit them
do not match
the roles and actions in one do not directly map to the other

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

ID: 49a5eb79-6b7b-c217-36cd-b38c32dd1404
Version Independent ID: 0e54e680-a48e-97d0-abd2-25c7a4051d6b
Content: Synapse RBAC roles - Azure Synapse Analytics
Content Source: articles/synapse-analytics/security/synapse-workspace-synapse-rbac-roles.md
Service: synapse-analytics
Sub-service: security
GitHub Login: @RonyMSFT
Microsoft Alias: ronytho

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

We have assigned the issue to the content author . They will evaluate & update the document as appropriate

#assign:meenalsri

@andoius Thank you, this issue will be fixed within the week.

@julieMSFT please close the issue.

#please-close


ZVIDEOS Jaden Newman Viral Leaks Video On Social Media X Twitter[B180K]

1 minute ago Jaden Newman, ZVIDEOS Jaden Newman Viral Leaks Video On Social Media X Twitter[B180K]

Jaden Newman's latest video has rapidly gained traction across various social media platforms, captivating audiences and igniting extensive discussions. This talented digital creator has garnered significant attention for her engaging content, particularly her recent Spiderman-themed video, which has gone viral. Viewers are actively seeking out where to watch the full video, with many turning to platforms like Instagram, Twitter (X), and Discord for access.
As the excitement surrounding Jaden Newman continues to build, fans are sharing their reactions and enthusiasm online. The viral success of her video underscores the influential role social media plays in elevating creators to prominence. With her distinctive style and innovative approach, Katherinne has quickly established herself as a noteworthy figure in the digital arena, leaving audiences eager to learn more about her upcoming projects and content.

FG

vf

cdfgdfg


github social login , i got a error :This account is already in use.

it not go to /user/login_error

my settings
SOCIAL_AUTH_LOGIN_ERROR_URL="/user/login_error"

same issues : https://github.com/python-social-auth/social-core/issues/506

i got https://stackoverflow.com/questions/19305986/how-do-i-handle-exceptions-on-python-social-auth


polymer-cli - breaks on install due to obsolete dependencies

Was trying to install via pwa-starter-kit
Issues posted on pwa-start-kit:
https://github.com/Polymer/pwa-starter-kit/issues/100
https://github.com/Polymer/pwa-starter-kit/issues/99
Looking into packages.json of polymer-cli, I can see it still has multiple bower dependencies.
I thought the whole deal of polymer 3.0 was to get away from bower??
    "bower": "1.8.2",
    "bower-json": "^0.8.1",
    "bower-logger": "^0.2.2",

There seems to still be dependencies to web-components ^1.0.7 which conflicts
yarn install in pwa-starter-kit, trips on polymer-cli:
Resolving packages...
warning polymer-cli ><EMAIL_ADDRESS>...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
warning polymer-cli ><EMAIL_ADDRESS>'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
warning polymer-cli > web-component-tester ><EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
warning polymer-cli > web-component-tester > sinon ><EMAIL_ADDRESS>This package is unmaintained. Use @sinonjs/formatio instead
warning replace ><EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
warning replace ><EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning wct-browser-legacy > sinon ><EMAIL_ADDRESS>This package is unmaintained. Use @sinonjs/formatio instead
info Unable to find a suitable version for "@webcomponents/webcomponentsjs", please choose one by typing one of the numbers below:
  1) "<EMAIL_ADDRESS>which resolved to "2.0.0"
  2) "<EMAIL_ADDRESS><EMAIL_ADDRESS>which resolved to "1.2.0"
Answer?:

What to do? Looks like this is not ready yet, loads of dependencies need to be updated and resolved!? Please advice or fix ASAP. Thanks.

I'm a n00b (so sorry if this is relevant) but did get it to run after running:

npm i npm @latest -g
npm i npm

although stuck on 'npm audit' -> (55 vulnerabilities)
and npm 'run test' -> Selenium won't run even though I've just updated Java

https://github.com/Polymer/pwa-starter-kit/issues/99 depends on this one... any news?

Hi,
Keanu, can I humble ask... how come npm works, whereas yarn doesn't? The
answer is probably obvious -- apologies.
On Tue, 18 Dec 2018 at 08:27, Keanu Lee<EMAIL_ADDRESS>wrote:

Closed #374 https://github.com/Polymer/tools/issues/374.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Polymer/tools/issues/374#event-2031730115, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACB7XoHA0vdA0dds5OVgaHXIQOpIUmNZks5u6DZygaJpZM4T83gx
.

--

yarn used to require flat installation, which required that there be only one of each dependency. polymer-cli requires<EMAIL_ADDRESS>through web-component-tester, and this conflicts with pwa-starter-kit requiring<EMAIL_ADDRESS>so flat installation isn't possible.
It's been a while since this issue was created, and now yarn does not require flat installation by default. Instead, in my previous comment I was really trying to say that yarn install --flat won't work because of conflicting versions. (yarn by itself should work and respect package-lock.json.) Hope that makes more sense.

thank you and sorry for the bother! Yep, the --flat bit (or lack thereof)
confused me :D
On Tue, 18 Dec 2018 at 09:11, Keanu Lee<EMAIL_ADDRESS>wrote:

yarn used to require flat installation, which required that there be
only one of each dependency. polymer-cli requires
<EMAIL_ADDRESS>through web-component-tester, and
this conflicts with pwa-starter-kit requiring
<EMAIL_ADDRESS>so flat installation isn't
possible.
It's been a while since this issue was created, and now yarn does not
require flat installation by default. Instead, in my previous comment I
was really trying to say that yarn install --flat
https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-flat
won't work because of conflicting versions. (yarn by itself should work
and respect package-lock.json.) Hope that makes more sense.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Polymer/tools/issues/374#issuecomment-448058923, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACB7Xq4A-JQaggY3m_QujArP0d8Pb63wks5u6EC4gaJpZM4T83gx
.

--