How to extends django orm mixins

I'm using django and I need some custom methods to work on the Django User model.
So for example I need a method to get the user by a specified field.
So far I've understood I have to extends the DjangoUserMixin mixin in  storage.django_orm  but how?
I mean I can subclass the DjangoUserMixin to write my custom methods but then how to tell PSA to use it instead of the default one?

Hi there.
@omab I'm doing exactly as you said, but it is not working.
Looking through the issues I found this one and since it is the same I opted to comment it here. If you think a new issue would be better just let me know.
Anyway, I'm doing my custom model and custom storage, but both models are being created by Django, generating a conflict due to the related name in the user ForeignKey.
Here's a stub code for reference:
# users.models.py

class CustomUserSocialAuth(AbstractUserSocialAuth):
    """Social Auth association model"""

    @classmethod
    def create_user(cls, *args, **kwargs):
         # my custom method here
         pass

    class Meta:
        """Meta data"""
        unique_together = ('provider', 'uid')
        db_table = 'social_auth_usersocialauth'

-----
# user.storages.py

from .models import CustomUserSocialAuth

class PreCreatedUserStorage(DjangoStorage):
    """
    This storage was created with the sole purpose of using our pre-created
    unclaimed user accounts rather than creating brand new user objects
    """
    user = CustomUserSocialAuth

-----
# settings.py

SOCIAL_AUTH_STORAGE = 'users.storages.PreCreatedUserStorage'

The error:
    raise SystemCheckError(msg)
django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:

ERRORS:
default.UserSocialAuth.user: (fields.E304) Reverse accessor for 'UserSocialAuth.user' clashes with reverse accessor for 'CustomUserSocialAuth.user'.
	HINT: Add or change a related_name argument to the definition for 'UserSocialAuth.user' or 'CustomUserSocialAuth.user'.
default.UserSocialAuth.user: (fields.E305) Reverse query name for 'UserSocialAuth.user' clashes with reverse query name for 'CustomUserSocialAuth.user'.
	HINT: Add or change a related_name argument to the definition for 'UserSocialAuth.user' or 'CustomUserSocialAuth.user'.
users.CustomUserSocialAuth.user: (fields.E304) Reverse accessor for 'CustomUserSocialAuth.user' clashes with reverse accessor for 'UserSocialAuth.user'.
	HINT: Add or change a related_name argument to the definition for 'CustomUserSocialAuth.user' or 'UserSocialAuth.user'.
users.CustomUserSocialAuth.user: (fields.E305) Reverse query name for 'CustomUserSocialAuth.user' clashes with reverse query name for 'UserSocialAuth.user'.
	HINT: Add or change a related_name argument to the definition for 'CustomUserSocialAuth.user' or 'UserSocialAuth.user'.

I believe that if I use a different related name it will pass the initial check, but maybe the reverse relationship is used by PSA down the road.
Is there a better alternative to use a custom User model?
What I wanted to solve by creating a custom user is simply to override the create_user method. Maybe I don't need a custom UserSocialAuth model.
Thoughts?

One alternative that just occurred to me is instead of a custom storage, I can modify the social.pipepline.user.create_user function (https://github.com/omab/python-social-auth/blob/master/social%2Fpipeline%2Fuser.py#L58) to do the creation my own way.
Might work, but I still feel like this isn't the right place to do it.


use es6 proxy ?

limited to es6 but so powerfull
i tried 2 years ago in #60 but the implementation were not ready

various implementatoin per browser
various API. not providing the same feature at all

now that it is more standard. there are shim and all to

limited to es6 but so powerfull
i tried 2 years ago in #60 but the implementation were not ready

various implementatoin per browser
various API. not providing the same feature at all

now that it is more standard. there are shim and all to


Status LED/Neopixel, flash when done

I love this project! Got a all in one TTGO, esp8266 with a oled and battery charger/booster!
I want to build a few of these (9 pcs) for all the printers in our makerspace, so that the users can bring a printer-monitor with them anywhere inside the makerspace.
But I wondered if it would be possible to make a external LED/Neopixel flash only when the print is done?
I good with hardware, but not with software so I gave up trying to implement this myself

I would imagine you would want to have the LED either on of off with active printing.   It would not be hard to associate it with the active print.   Sounds like fun.   I don't have time to implement something like this right now, but it would not be difficult.

 Es wäre nicht schwer, es mit dem aktiven Druck zu verknüpfen. Hört sich nach Spaß an. Ich habe momentan keine Zeit, so etwas umzusetzen, aber es wäre nicht schwierig.

nice ;)

@shadowCZ75 Take a look at this project - you should be able to pull the necessary code to do this (and leave the Prwol stuff out). If you do so, post it up for everyone perhaps :-)

Here you go @PunyViking , I made a version in which an external LED will flash upon completion.  I hacked together code and unfortunately can't find the other donor... sorry to whoever it was for lack of credit.
@Qrome  - If you're ever making changes to your code I find this a worthwhile feature :-) Great job.

Hi everybody,
I tried to implement all things from the link @highground88 mentioned. Unfortunately, I get no Prowl-notification and the LED is not blinking. I checked the code from the PDF twice and was not able to see any errors. The code is compiled without error messages. The printing job status is displayed correctly. Is there someone with working files with this modification?


How set Bitmap?

I can set bitmap, sample:
myImageView.setImageBitmap(bmp);

I don't understand your question

How can I set bitmap in FFImageLoading?
"normal sample"
       myImageView.setImageBitmap(bmp);
"FFImageLoading sample"
?????

Please have a look at the wiki page for FFImageLoading usage: https://github.com/molinch/FFImageLoading/wiki/API
The ImageViewAsync inherits from classic ImageView so everything works the same.

I Know This https://github.com/molinch/FFImageLoading/wiki/Android-API
and FFImageLoading work on Android images can be loaded from Internet, Resources, Assets or File.
BUT my qustion is, how set bitmap to FFImageLoading?? No FileUrl No Assets No Stream
No !!

FFImageLoading does not load from bitmap.
Therefore you can do that easily with standard Android Java. Have you already tried imageView.SetImageBitmap()?

tanks for replay, i went use FFImageLoading for lazyloading and fade but for set bitmap, i shoud use standard Android Java.
tanks


VaneVerticalDirection split

Would it be possible to add indepebdent "VaneVerticalDirection" into your melcloud integration? This would allow, as per the physical remote, to direct air from left/right vane to different vertical positions, eg upper/lower floor.
Despite Melcloud (app) seemingly not supporting this, I've seen some discussions of it eg here:
https://github.com/Black-Thunder/ioBroker.melcloud/issues/24
".. I've been observing the VaneVerticalDirection and VaneHorizontalDirection in the ListDevices endpoint directly to verify my assumptions."
The HA implementation also seems to allow for it:
https://www.home-assistant.io/integrations/melcloud/

Have you already looked into this?
Thanks in advance!

Hi, I think this is not possible right now because original MelCloud app do not contain this possibility too.

The HA implementation is based on pymelcloud, and you might be correct. Although the vertical vane split is mentioned on the front page (previous screenshot), I can only find references to "split” under horizontal vane direction, when looking through eg ata_device.py.

https://github.com/vilppuvuorinen/pymelcloud/tree/master/pymelcloud
Perhaps the original developer might be able to shed some light on this?
Thanks for looking into this nonetheless! (And for bringing support to homebridge, much appreciated.)

please try 0.14.0-beta.1 and let me know, I have added this mode in buttons section

Added in 0.14.0


Robot UI: Add reference in UI working

Add reference in user interface robot test ready (src -> tests -> test_add_reference.robot) and necessary poetry dependencies (.toml and .lock) included.
To test add reference in user interface, open the app in one bash terminal (flask --app src/app.py run) and in another bash terminal type robot src/tests. The previous mentioned should be done in the root folder (ohtu-s23-miniprojekti)

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

:exclamation: No coverage uploaded for pull request base (main@4b01c7f). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage        ?   13.46%
=======================================
  Files           ?        5
  Lines           ?       52
  Branches        ?        3
=======================================
  Hits            ?        7
  Misses          ?       45
  Partials        ?        0

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


[Bug] Keyboard issue when enter the staking amount

The keyboard is hidden once user enters the number. Please check the below video:
https://user-images.githubusercontent.com/4486806/163972074-eee8bc50-3130-4d15-8f48-b1031f69918b.mp4

Please check #81


handle grid level splitting

Extracting grid element level text from a df's question label was unreliable. Slightly improved.

This PR resolves #250.


Set ::selection consistently across userstyles

Is there an existing issue outlining your problem?

[X] I have searched the existing issues and they do not solve my problem.

Describe your issue.
We have quite a few variations of theming ::selection  in this repository (see https://github.com/search?q=repo:catppuccin/userstyles+::selection&type=code). Ideally we could standardize it across userstyles, and maybe even add it as boilerplate to the template.
I've found through trial and error that the following looks the best in the most scenarios:
::selection {
  background-color: fade(@accent-color, 20%);
}

Though I am open to suggestions :)

I like the idea that you came to since that was the one I was originally for too. But the biggest issue was on some backgrounds it would look particularly odd, or make the text harder to read. So I recently started moving to
::selection {
  color: @base;
  background-color: @accent-color;
}

But i would hardly say that this is the best outcome either because on the highlight would not be seen at all on something like YouTube's subscribe button.
Ideally we would apply a fade, mix or both to the background color whilst setting an appropriate text color too.

The reason I've opted not to change the color is that that is how the default system/browser text selection appears.

I'd keep it as close to the default browser colors as-is i.e. use text for color and use accent for background with some opacity

@AnubisNekhet so does what I suggested work?

@AnubisNekhet so does what I suggested work with you have in mind? My thoughts exactly.

Yep, seems good.

Should we add stuff from the template like color-scheme and now ::selection to userstyles without them as well?

Should we add stuff from the template like color-scheme and now ::selection to userstyles without them as well?

I think we could but we would need to check each one since I remember at least one port setting the selection based on some variable.

Should we add stuff from the template like color-scheme and now ::selection to userstyles without them as well?

I think we could but we would need to check each one since I remember at least one port setting the selection based on some variable.

Should I get started in #767?

Should we add stuff from the template like color-scheme and now ::selection to userstyles without them as well?

I think we could but we would need to check each one since I remember at least one port setting the selection based on some variable.

Should I get started in #767?

sure.


Gas estimation failed error

Please Help me about error.
After git clone the nft-mx source, I tried to do deploy_advanced.py like this.
brownie run scripts/advanced_collectible/deploy_advanced.py --network rinkeby
After that, I got error such as:
Transaction sent: 0xf4595c971682aac51a0d8bd54799f2eb3f3d35e6b602bc4143b063eb6b0c6ae9
Gas price: 1.0 gwei   Gas limit: 2547768   Nonce: 190
AdvancedCollectible.constructor confirmed - Block: 8732182   Gas used: 2316153 (90.91%)
AdvancedCollectible deployed at: 0xB8843A7f249f83BcA850b62a02052eDD836783b8
File "c:\python37\lib\site-packages\brownie_cli\run.py", line 50, in main
args[""], method_name=args[""] or "main", _include_frame=True
File "c:\python37\lib\site-packages\brownie\project\scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File "\study\NFTS\nft\scripts\advanced_collectible\deploy_advanced.py", line 18, in main
fund_advanced_collectible(advanced_collectible)
File ".\scripts\helpful_scripts.py", line 16, in fund_advanced_collectible
nft_contract, config["networks"][network.show_active()]["fee"], {"from": dev}
File "c:\python37\lib\site-packages\brownie\network\contract.py", line 1676, in call
return self.transact(*args)
File "c:\python37\lib\site-packages\brownie\network\contract.py", line 1559, in transact
allow_revert=tx["allow_revert"],
File "c:\python37\lib\site-packages\brownie\network\account.py", line 600, in transfer
gas_limit = Wei(gas_limit) or self._gas_limit(to, amount, gas_price, gas_buffer, data)
File "c:\python37\lib\site-packages\brownie\network\account.py", line 367, in _gas_limit
gas_limit = self.estimate_gas(to, amount, gas_price, data or "")
File "c:\python37\lib\site-packages\brownie\network\account.py", line 561, in estimate_gas
f"Gas estimation failed: '{msg}'. This transaction will likely revert. "
ValueError: Gas estimation failed: 'invalid opcode: opcode 0xfe not defined'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.
even if I changed gas fee, but I got a same errors.
Please I appreciate if you give me advise.
Thanks.

Probably, your wallet does not have enough link. I got the same error.  Get free for rinkeby network from : https://rinkeby.chain.link/. I hope it solves the problem. If you do not have eth on rinkeby network, you can get from there : https://faucet.rinkeby.io/

Thanks @bsbatusesli!
@jhbum001 did this solve your issue?

Closing due to inactivity


[Docenhancement][AppsinMeetingsalignment]

Corrected tab switch.

Docs Build status updates of commit b96aa71:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit f826ba0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


doc: PM: Fix dereference in 'services/pm/device_runtime'

See https://github.com/zephyrproject-rtos/zephyr/issues/76741
Fixes the dereference of the PM action in the doc.

when did action became mutable?

pm_device_action_cb_t appears to be mutable?

when did action became mutable?

pm_device_action_cb_t appears to be mutable?

where in code?

when did action became mutable?

pm_device_action_cb_t appears to be mutable?

where in code?

https://github.com/zephyrproject-rtos/zephyr/blob/0c7e87714d923d5e1db89e0fb15fbdf45dcd4a00/subsys/pm/device.c#L42

Thanks @glenn-andrews


Identify queries associated with scenario/user workflow in log

As discussed with @dmlemeshko we would like to identify the ES queries issued by Kibana when a scenario is executed. We will use these queries for Rally load testing. This is possible using via elasticsearch.logQueries.
However, we also need to identify which queries are associated with which kibana API call and scenario e.g. logging into discover. When loading testing with Rally, we would execute those queries associated with a scenario together - thereby simulating a user action. In order to do this, we need someway of grouping queries in the logs.
One proposal here is for the load gen to attach a unique value to a custom header for each scenario - this could just be a generated uuid and/or the name of the scenario. We need to determine if Kibana can be made to log these headers when logging Kibana queries. A change of this value in the log would in turn indicate a new scenario.
@dliappis

@gingerwizard,
With the help of security team I may confirm that it is possible to pass a custom header, Kibana will ignore it but will print it out in requests log.

To see requests logging, it requires adding logging.verbose: true and logging.json: true in your kibana.yml

After adding custom header x-opaque-id to request, you can find it in logs:

{"type":"response","@timestamp":"2020-10-19T09:26:01-04:00","tags":[],"pid":73579,"method":"get","statusCode":401,"req":{"url":"/api/spaces/_share_saved_object_permissions?type=toa","method":"get","headers":{"x-opaque-id":"foobarbaz","kbn-xsrf":"kibana","user-agent":"PostmanRuntime/7.26.5","accept":"*/*","postman-token":"ced37fd4-c533-4196-a12f-525cfb69c372","host":"black-box.local:5603","accept-encoding":"gzip, deflate, br","connection":"keep-alive"},"remoteAddress":"<IP_ADDRESS>","userAgent":"PostmanRuntime/7.26.5"},"res":{"statusCode":401,"responseTime":26,"contentLength":9},"message":"GET /api/spaces/_share_saved_object_permissions?type=toa 401 26ms - 9.0B"}

I stumbled across this issue and I think this capability (originally requested for telemetry purposes) may be related. https://github.com/elastic/kibana/issues/77214


UA6X

Use the preview tab to see the example given below. Edit the relevant information and preview the changes before submitting. You may delete these instructions.

Key
Value

ID
UA6X

Source
Sri Guru Granth Sahib Ji

Page
722

Line
AYsy rMig rwqI. shj kI mwqI; Aihinis Bwie smwxI ]

Correction
AYsy ≠ AYsY

Shabadaarth (Vol. 2), August 2012, SGPC
Image:

veerji looks like there are lots of mistakes like this only

@HarminderSingh veerji WJKK WJKF!
Let us know if you're interested in helping out!

most def 20r ji - what is da source u use? i see some site have correct already

@HarminderSingh veerji feel free to join our discussion at https://slack.shabados.com.
You can see the guide we're using to submit corrections here: https://www.youtube.com/watch?v=YLtOxh5k7aw
We're using the sources currently listed in https://github.com/ShabadOS/database-viewer#proofs-for-bani to correct the database we have right now, any help is always appreciated :)

20rg i did sum reserch online n i see dat this data is very wrong. i see other sites with correct data already. we shld take from them

@HarminderSingh
We believe our database is the most accurate at the moment.
If you would like, you can mention where we might have inconsistencies and need corrections. We will do our upmost to correct them.
Also, what other sites have correct data?

@Sarabveer 20rG - Guru sahib is perfect, our job to make guru sahib available to masses. i check with other sites sikhitothemax has dis shabad correct only. i will contact dem to get u da data


Microsoft.DevCenter 2024-07-01-preview

ARM (Control Plane) API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[ ] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[ ] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[ ] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

/azp run

Suppression is necessary due to common type definitions being flagged that our service doesn't own. See https://github.com/Azure/azure-rest-api-specs/pull/29364#issuecomment-2159187657 for previous approval in last API version.

Breaking changes previously reviewed and approved in #29364

/azp run

/azp run

/azp run

      "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"

v5, here and at all places in this PR

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5039 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

    "responses": {

what if any/all of  projectName, catalogName, imageDefinitionName do not exist ?
Do we not need a 404 in those cases ?
Same for other post actions.

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5064 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

        "headers": {

need to add azure-async-operation as well ? as that seems to be the one that shows final state ?
same for other post actions in this PR.

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5067 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

"ImageCreationErrorDetails": {

why not same format as  ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse ?

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:7495 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/getDetails": {

may be getBuildDetails ?

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5256 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

    }

needed?

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5113 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel": {

a verb should be in the action, may be "cancelBuild" ?

Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5198 in 0742b23. [](commit_id = 0742b230619286f14c63f0110671ec9e50e96649, deletion_comment = False)

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel": {

a verb should be in the action, may be "cancelBuild" ?
Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5198 in 0742b23. [](commit_id = 0742b23, deletion_comment = False)

Cancel is a verb (i.e. doing word), are you suggesting to add a noun as well? That would be inconsistent with other actions in our APIs (sync) and from my recollection inconsistent with the MS Rest API guidelines: "YOU SHOULD use a verb as the  component of the path." I personally prefer this - it's pretty obvious to the caller that the cancel is an action on the build (whereas the buildImage is not), however open to change (I did quickly look around, other examples such as datafactory use actions with name "start", "stop")

    "responses": {

what if any/all of projectName, catalogName, imageDefinitionName do not exist ?
Do we not need a 404 in those cases ?
Same for other post actions.
Refers to: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-07-01-preview/devcenter.json:5064 in 0742b23. [](commit_id = 0742b23, deletion_comment = False)

We haven't before for other Post actions - unless this is new guidelines I'd like to keep consistent. My understand was if it is an expected response code that can be handled then it should be listed, otherwise the default will handle (and throw in most SDKs). 404 due to a parent resource not existing isn't something that would be expected. And where do we stop (401, 403, 409 etc are also possible but are all returned by upstream ARM/RPaaS and not our service directly). But again, let me know if there are new guidelines on this

/pr RequestMerge


Transaparent popup search bar with firefox 128

After updating to firefox 128 the tweak to popup the search bar started showing instead of a solid color a transparent background. Tried multiple themes and it happens in all of them, not sure what happened, but my guess is that firefox updated something in the search bar and a css selector is no longer working properly.

Resolved with https://github.com/KiKaraage/ArcWTF/pull/73

Resolved with https://github.com/KiKaraage/ArcWTF/pull/73


Issue publishing pure HTML site on GitHub.

I'm new to coding and even newer to understanding GitHub. When clicking the link to see my published site, it always shows this page https://donnyman777.github.io/CV/
which is completely blank save for the word 'CV' at the top.
I've done the preliminary steps to try and solve the problem, but I'm still confused. It's a basic HTML5-based practice website. My files are all uploaded to my repository, and they work fine when I open them locally, but not here on GitHub for some reason. Can this site host pure HTML sites?
My repository: https://github.com/Donnyman777/CV

I'm afraid you've come to the wrong place for help. This repo is specifically for the language detection of a repo's content. https://help.github.com/en/github/working-with-github-pages has loads of info on using GitHub Pages so try there first. If you're still having problems after reading the docs (it definitely has the necessary info as to why you're HTML isn't rendering 😉), try the https://github.community/ forums.
As this issue isn't related to Linguist at all, I'm closing this issue.


n8n: 0.173.1 → 0.174.0

Description of changes
Now with 100% more Visual Comments(tm)
https://github.com/n8n-io/n8n/blob/master/CHANGELOG.md#01740-2022-04-25
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] 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

[x] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

These people make way too many releases 😜


PubSub Subscriber

Uses #3463 as a base.
This PR implements the Pub/Sub subscriber, which by default uses threading.
The following is yet to be implemented:

[ ] Connection pooling
[ ] Tests of any kind (working on them in parallel with the Pub/Sub team's review)
[ ] API Documentation

Sigh. Wrong base. I fail.

@lukesneeringer For future reference, GitHub allows you to edit the base.


add sentence embedding support to @huggingface/inference

Hi @MaazDev 👋
You should probably use featureExtraction task (https://huggingface.co/tasks/feature-extraction) for this.
For example, hf.featureExtraction({model: 'sentence-transformers/all-MiniLM-L6-v2', inputs: 'your sentence'})
Otherwise, please provide an example of what you are trying to accomplish.

@vvmnnnkv thanks I will try this


Invalid JSON handling with error message

Invalid JSON entered gets completely removed when the focus is changed.
Improvements:

Display a pop-up or a label indicating 'Invalid JSON'
Highlight the line number having an error

This is extremely annoying because I find myself pushing tab to indent the next line, which is currently invalid due to a trailing comma on the previous line. This causes the editor to lose focus and wipe out everything I just entered. After doing this 3 times in a row, I closed the tab.

Closing as this is fixed on www.jsonschema.net


Restrict characters

Is there any way to restrict characters and you can only input numbers and selected character like '/'?

Added regex in 2.4.0 that is applied to each new search character.


Include ps in container for nextflow?

Hi there, just a quick note that it would be nice to have ps within the TE Tools Docker container, as that allows for better compatability with Nextflow. See here:
https://github.com/nextflow-io/nextflow/issues/1289#issuecomment-738783841

Does this entirely prevent the container from running from within nextflow, or only the tracing and metrics functionality?
The full list of programs that need be installed inside containers run via nextflow in order for metrics to work is at https://www.nextflow.io/docs/latest/tracing.html#tasks:

awk, date, grep, egrep, ps, sed, tail, tee

Most of these (except ps) are probably already included; I should be able to add the missing ones some time next week.

I'm able to run the container (via this workflow) without ps, by just turning off the trace and report nextflow functionality, but would be nice to have :)

This has been added to the Dockerfile, and it will be included in the next update to the container (planned for this week!)


Pagination is required

Login to crisis check-in app as an admin
Click on cluster list and cluster group list
https://crisischeckin-d.azurewebsites.net/Cluster/List
https://crisischeckin-d.azurewebsites.net/ClusterGroup/List
Missing pagination on these pages.
P3
Milestone - Features backlog

Duplicate of #551


Provide additional setup details in Readme

Provide additional setup instructions, contribution guidelines, test documents, etc. These documents will help new contributors.

I have updated README to answer some of your concerns.

Cool. Looks great 👍


gather_for_metrics ignores the last batch of data

System Info
- `Accelerate` version: 0.15.0
- Platform: Linux-3.10.0-1160.45.1.el7.x86_64-x86_64-with-debian-buster-sid
- Python version: 3.7.15
- Numpy version: 1.21.6
- PyTorch version (GPU?): 1.12.0+cu102 (True)
- `Accelerate` default config:
        - compute_environment: LOCAL_MACHINE
        - distributed_type: MULTI_GPU
        - mixed_precision: no
        - use_cpu: False
        - dynamo_backend: NO
        - num_processes: 2
        - machine_rank: 0
        - num_machines: 1
        - gpu_ids: 4,5
        - main_process_ip: None
        - main_process_port: None
        - rdzv_backend: static
        - same_network: True
        - main_training_function: main
        - deepspeed_config: {}
        - fsdp_config: {}
        - megatron_lm_config: {}
        - downcast_bf16: no
        - tpu_name: None
        - tpu_zone: None
        - command_file: None
        - commands: None

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[ ] My own task or dataset (give details below)

Reproduction
In the following example, the dataset is of size 512 and a batch size of 64. On gathering using ´gather_for_metrics` with 2 GPUs, the last batch seems to be ignored with a size of 0.
The output of the following code is:
Rank: 0 torch.Size([128, 20])
Rank: 0 torch.Size([128, 20])
Rank: 0 torch.Size([128, 20])
Rank: 0 torch.Size([0, 20])
But the expected output is:
Rank: 0 torch.Size([128, 20])
Rank: 0 torch.Size([128, 20])
Rank: 0 torch.Size([128, 20])
Rank: 0 torch.Size([128, 20])
from transformers import AutoModelForCausalLM, AutoTokenizer
from accelerate import Accelerator
from torch.utils.data import DataLoader
from tqdm import tqdm
import torch

class TestDataset(torch.utils.data.Dataset):
    def __init__(self, data):
        self.inputs = data
        self.output = data

    def __getitem__(self, index):
        return {"inputs": self.inputs[index], "targets": self.output[index]}

    def __len__(self):
        return len(self.inputs)

def main():
    text = "Hello"

    accelerator = Accelerator()

    tokenizer = AutoTokenizer.from_pretrained("gpt2")
    tokenizer.pad_token = tokenizer.eos_token
    model = AutoModelForCausalLM.from_pretrained("gpt2")

    input_ids = tokenizer([text] * 512, return_tensors="pt", padding=True).input_ids

    dataset = TestDataset(input_ids)
    dataloader = DataLoader(dataset, batch_size=64)
    model, dataloader = accelerator.prepare(model, dataloader)
    model.eval()

    # had to run this 1 time at the start else was giving device mismatch error.
    # So, before directly using `model.generate` pass a batch with dummy data through the model
    batch = tokenizer(text, return_tensors="pt").to(accelerator.device)
    outputs = model(**batch)

    print(len(dataloader))

    for batch in dataloader:
        input_ids = batch["inputs"].to(accelerator.device)
        targets = batch["targets"].to(accelerator.device)
        unwrap_model = accelerator.unwrap_model(model)
        predictions = unwrap_model.generate(input_ids=input_ids, return_dict_in_generate=True)

        batch_outputs = accelerator.gather_for_metrics(predictions)

        if accelerator.is_local_main_process:
            print(f"Rank: {accelerator.local_process_index}", batch_outputs.sequences.shape)

if __name__ == "__main__":
    main()

Expected behavior
There is no loss of data while gathering the output across processes. Another interesting info, this happens only when dataset gets perfectly sharded. For example, with a dataset size of 513, it works as expected.

cc @muellerzr

Same. Just found this bug as well.

Hi all, this should be fixed thanks to https://github.com/huggingface/accelerate/pull/982, please try installing with pip install git+https://github.com/huggingface/accelerate and let me know if that works 😄 Thanks for your patience!

I confirm this works!


Fix formatting and linting

This was run through a script to lint, I assume. I think in the future we'll want to do something like this, but not until we have better built-in support to do the linting automatically for new changes. Then we can do it all in one batch.


Best practice: How to phrase traitlets into js classes?

I asked chatGPT to convert this code into a widget
%%react

import React, { PureComponent } from 'react';
import ReactDiffViewer from 'react-diff-viewer';

const oldCode = `Hello World`;
const newCode = `Hello New World`;

export default class App extends PureComponent {
  render = () => {
    return (
       <div
        style={{
            position: "relative",
            width: "600px",
            height: "100px",
        }}
        >
      <ReactDiffViewer oldValue={oldCode} newValue={newCode} splitView={true} />
      </div>
    );
  };
}

and after some prompting and telling the GPT how an widget is structured, it came up with this js string literal oldCode = `${this.props.my_old_code}`; syntax, which is working.
My question: Is this best practice?
import ipyreact
from traitlets import Unicode, Bool

class DiffViewerWidget(ipyreact.ReactWidget):
    my_old_code = Unicode('Hello World').tag(sync=True)
    my_new_code = Unicode('Hello New World').tag(sync=True)
    split_view = Bool(True).tag(sync=True)

    _esm = """
    import React, { PureComponent } from 'react';
    import ReactDiffViewer from 'react-diff-viewer';

    export default class App extends PureComponent {
        render = () => {
            const oldCode = `${this.props.my_old_code}`;
            const newCode = `${this.props.my_new_code}`;
            return (
                <div
                    style={{
                        position: "relative",
                        width: "600px",
                        height: "100px",
                    }}
                >
                    <ReactDiffViewer oldValue={oldCode} newValue={newCode} splitView={this.props.split_view} />
                </div>
            );
        };
    }
    """

d = DiffViewerWidget(my_old_code='Hello World', my_new_code='Hello New World')
d

with the GPT explaination:

In this code, my_old_code and my_new_code are traits defined in the Jupyter widget DiffViewerWidget. When the widget is rendered, their values will be available as properties of the props object in the React component.
The template literals use ${} to embed the values of my_old_code and my_new_code inside a string.

Depends on your taste. Modern react uses functions instead of classes. Both are fine. I prefer functions. So yes, this is correct :)


BIGTOP-4037: Enable Parallel Compilation for Multiple Modules in Ranger

Description of PR
Due to incorrect dependency settings in the distro module, Ranger cannot utilize multicore concurrent compilation. As a result, compiling Ranger is very slow each time, as all modules can only be compiled serially.
With this patch, Ranger can be compiled in parallel, greatly speeding up the process. Compilation can now be completed in just a few minutes.
https://issues.apache.org/jira/browse/BIGTOP-4037
How was this patch tested?
manual test

For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

@sekikn @iwasakims
Could you help review this PR?

@sekikn @iwasakims @guyuqi
In this pull request, the patch for concurrent compilation of Ranger has been merged into the Ranger master branch. Could you please help review this pull request?
https://github.com/apache/ranger/pull/289


Update virtual-key-codes.md

@DJm00n : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Karl-Bridge-Microsoft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


pull request for e2e test at 01/02/2017 12:45:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


rilidar initialization

The timeout for initialization of rplidar needs to be increased.
When running gopher_meta minimal_w_jyop if battery is low (or unpluggled as we tested) rplidar initialization times out and the topic doesn't post any data.

Added better logging in 84cbfc45.
Played around with the gocart skeleton last night...rplidar is not even working there, on its own.

Creates driver ........OK
Connects ..............OK
Gets health status............OK (note, this is a request/response behaviour)
Start/stop motors on ros services.........OK
Start Scanning............OK (apparently)
Get scan data..........TIMEOUT (boooooooooooooo)

I tried by it's own and it was giving me data at 7.9 Hz or something like
that. I will take a look at it.
On Sun, Aug 2, 2015 at 8:44 PM, Daniel Stonier<EMAIL_ADDRESS>wrote:

Added better logging in 84cbfc4
https://github.com/yujinrobot/rplidar_ros/commit/84cbfc45ebb1edf722759d51ee13e7f0cf6d41cf
.
Played around with the gocart skeleton last night...rplidar is not even
working there, on its own.

Creates driver ........OK
Connects ..............OK
Gets health status............OK (note, this is a request/response
behaviour)
Start/stop motors on ros services.........OK
Start Scanning............OK (apparently)
Get scan data..........TIMEOUT (boooooooooooooo)

—
Reply to this email directly or view it on GitHub
https://github.com/yujinrobot/rplidar_ros/issues/1#issuecomment-127019504
.

--
Marco Andarcia.
*Controls Software Engineer. *

Closing this. We have improved the (re-)initialisation significantly and there haven't been new reports on this issue.


Add el 8 builders

Description
Adding el 8 builder and tester to the adhoc pipeline.
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

Yes, forgot to add them. Thank you! Adhoc build - https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/4225

No worries.
I noticed a run time on the build of 8.5 hours!  I wonder what is causing that?

Re-ran the build and it passed in 2 hours:
https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/4230

https://buildkite.com/chef/chef-umbrella-main-chef-server/builds/1194


Probable bug on slot assignment for round robin

Hello Kintsugi Team, I'm Luca from :ice_cube: Iceberg Nodes :ice_cube:
It seems that slot assignment is skipping a slot on block assignment (also confirmed by node logs: no candidate block produced).
Look at the following pictures:

Every two relaychain blocks (6 sec), we have only one parachain block (12 sec), and this led to skip a slot for block assignment.
As you can see in the following picture, we produced a block just because someone else missed his block (but this is completely random):

It seems a bug similar to previously discovered bug on Calamari: https://github.com/Manta-Network/Manta/issues/845
Please let me know if you need additional informations
Waiting for your kind reply

I think this was resolved by #883, please re-open if that is not the case.


Allow attributes valid in html when converting from JSoup to W3C Document

Consider the following html document:
<!DOCTYPE html>

unicode attr names

Using v1.14.2 and running the following code:
    public static void main(String[] args) {
        String html = "<!DOCTYPE html>
unicode attr names
";
        org.jsoup.nodes.Document jsoupDoc;
        jsoupDoc = Jsoup.parse(html);
        Document w3Doc = W3CDom.convert(jsoupDoc);
        System.out.println(W3CDom.asString(w3Doc, W3CDom.OutputHtml()));
    }

Results in:
<!DOCTYPE html SYSTEM "about:legacy-compat">

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

unicode attr names

This is caused by W3CDOM.java#L346 hard-codes the syntax to xml. It can be easily fixed by checking the doctype of the output document and use that as the syntax.

Hi -- this looks like a good change. I made a comment on the PR (#1648) on the implementation, just wanted to check you'd seen it.

Hi @jhy . My sincere apologies. I have seen your response. I'm at a company conference this week and hence have been struggling on time to work on your suggestions. I'll try and push an update this week, if not, next week for sure.


changes to allow mode be passed in the program call.

This will resolves issue no #362
https://github.com/IBM/nodejs-itoolkit/issues/362

@abmusse Thank you for pointing that out, I have done as required.

Also can you please sign-off the commit by following these instructions:
https://github.com/IBM/nodejs-itoolkit/pull/363/checks?check_run_id=9551670126

@sagartyagi121 are you able to sign off on this?

@brandonp42 I will do that in 2 3 days please.


Now resolving git hashes at the end of a dependency

Implements #33
Using a suffix one can specify any commit hash or branch name that should be checked out.
E.g. https://github.com/wurstscript/wurstStdlib2:ptr

Codecov Report

Merging #37 into master will increase coverage by 0.29%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master      #37      +/-   ##
============================================
+ Coverage     30.32%   30.62%   +0.29%
- Complexity      108      110       +2
============================================
  Files            30       30
  Lines          1319     1329      +10
  Branches        192      195       +3
============================================
+ Hits            400      407       +7
  Misses          825      825
- Partials         94       97       +3

Impacted Files
Coverage Δ
Complexity Δ

src/main/kotlin/file/DependencyManager.kt
47.52% <71.42%> (+2.46%)
9 <3> (+2)
: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 d6fda84...85fb797. Read the comment docs.


fix select bound with error index - fix #3821

#3821

Now that https://github.com/vuejs/vue/issues/3821 is closed, this PR should also be closed.


WSL2 Install Script: remove unnecessary escaping backslashes

Remove unnecessary escaping backslashes from ln 47 and ln 50
The Problem/Issue/Bug:
Numerous errors/issues presented when executing scripts/install_ddev_wsl2_docker_inside.ps1 in PowerShell 7.3 with the following command as instructed on the docs:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;  iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev_wsl2_docker_inside.ps1'))
The installation process gave many errors.
Upon investigation, I noticed that the files...

/etc/apt/sources.list.d/docker.list, and
/etc/apt/sources.list.d/ddev.list

...both contained code wrapped in double-quotes.
This caused those files not to function correctly in the context of the script and ALSO prevents the user within their linux distro (ie. Ubuntu 20.04 -- which is my distro) to update their app repositories (ie. sudo apt update), as it would attempt to read the above .list files and fail.
Additionally, ddev.list contained an entire list of all directories in my C:\Users{Username}\ directory.  This was because the original line 50 contained an escaping backslash after the 2nd asterisk at the end of the first echo string.
Since both ln 47's and ln 50's echo string are wrapped in single-quotes, there is no need to escape double-quotes within.
Upon removing the (4) four unnecessary escaping backslashes from ln 47 and ln 50, the scripts write to both docker.list and ddev.list as expected.
Additionally, the installation process can now work correctly within PowerShell 7.x.
I am not sure why the original code with the unnecessary backslashes worked in PowerShell 5.x.  I run both PowerShell 5 and PowerShell 7 on my Windows 10 machine and can confirm that PowerShell 7 handles the original ln 47 and ln 50 differently.
I did test the proposed changes in both PowerShell 5.x and PowerShell 7.3 and the proposed changes appear to work great and fix the issues.
I do welcome other folks to test my work and test on their machines with their setups.
How this PR Solves The Problem:
By removing unnecessary escaping backlashes from ln 47 and ln 50
Manual Testing Instructions:

Within PowerShell 7.x, run the original ln 47 and ln 50 to see what the original code does to the above files:

Run the following (ln 47) in bash/zsh:
wsl -u root -e bash -c 'echo \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu  $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null 2>&1'
Run the following (ln 50) in bash/zsh:
wsl -u root -e bash -c 'echo \"deb [signed-by=/etc/apt/trusted.gpg.d/ddev.gpg] https://apt.fury.io/drud/ * *\" > /etc/apt/sources.list.d/ddev.list'

Within Ubuntu 20.04 (or whatever version you are running), open both the following files to observe their contents.  I used Vim, but any editor is fine:

/etc/apt/sources.list.d/docker.list
/etc/apt/sources.list.d/ddev.list

Notice how the code in both files are errantly wrapped in double quotes (ex. "deb).  This is what was causing issues to arise.
Now let's apply the corrected fix:

Within PowerShell 7.x, run the proposed ln 47 and ln 50 to see what removing the escaping backslashes does to the above files:

Run the following (ln 47) in bash/zsh:
wsl -u root -e bash -c 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null 2>&1'
Run the following (ln 50) in bash/zsh:
wsl -u root -e bash -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/ddev.gpg] https://apt.fury.io/drud/ * *" > /etc/apt/sources.list.d/ddev.list'

Within Ubuntu 20.04 (or whatever version you are running), open both the following files to observe their contents.  I used Vim, but any editor is fine:

/etc/apt/sources.list.d/docker.list
/etc/apt/sources.list.d/ddev.list

Notice now how the code within each of the above files is correct and without error.
Automated Testing Overview:
Related Issue Link(s):
Release/Deployment notes:
There will likely need to be more testing and also consideration for the PowerShell script used for Docker Desktop, too.

Thanks!

To test this PR, the script is in https://raw.githubusercontent.com/drud/ddev/74b0a5a1ebf40eff20a41b41b331b1f6aac38d84/scripts/install_ddev_wsl2_docker_inside.ps1
So run in administrative PowerShell (and try with pwsh.exe as well)
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/drud/ddev/74b0a5a1ebf40eff20a41b41b331b1f6aac38d84/scripts/install_ddev_wsl2_docker_inside.ps1'))

Sadly, this doesn't work on PowerShell 5.
If you wsl and then remove the existing problem files (sudo rm -f /etc/apt/sources.list.d/* and sudo apt update && sudo apt remove ddev docker-ce) you'll find it doesn't recreate the files correctly in /etc/apt/sources.list.d.
In your test, rerunning it without removing the "good" /etc/apt/sources.list/d files you thought  it was working, but the good files were from your successful run earlier.
Would be happy to have you give it another try.
Closing this for now. Thanks so much for all your work on this, and for raising the issue.


Update README.md

Related Issuse or bug

The contributors table in the readme file was hardcoded and was required to update manually each and every time.

Fixes: #34
Describe the changes you've made
I've added a seperate line of display for the project admin and also added an auto updating contributors table to the readme file.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
I've tested this on my own.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots

Original
Updated

original screenshot
updated screenshot

Congratulations! On your PR being merged.


nvm use does not work when I have a default specified

Operating system and version:
M1 Macbook pro, OSX Ventura 13.5.2 (22G91)
nvm debug output:

(base) ➜  ~ nvm debug
nvm --version: v0.39.5
$TERM_PROGRAM: iTerm.app
$SHELL: /bin/zsh
$SHLVL: 1
whoami: 'bjarlestam'
${HOME}: /Users/bjarlestam
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${NVM_DIR}/versions/node/v19.9.0/bin:/Applications/IntelliJ IDEA.app/Contents/MacOS:${HOME}/mambaforge/bin:${HOME}/mambaforge/condabin:${HOME}/google-cloud-sdk/bin:${HOME}/.sdkman/candidates/java/current/bin:/opt/homebrew/bin:/opt/homebrew/opt:/usr/local/homebrew/bin:/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/bin:/usr/local/bin:${HOME}/.orbstack/bin:${HOME}/.yarn/bin:${HOME}/.gocode/bin:${HOME}/bin
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.9 (x86_64-apple-darwin22.0)'
uname -a: 'Darwin 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 arm64'
checksum binary: 'shasum'
OS version: macOS 13.5.2 22G91
awk: /usr/bin/awk, awk version 20200816
curl: /usr/bin/curl, curl 8.1.2 (x86_64-apple-darwin22.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0
wget: /opt/homebrew/bin/wget, GNU Wget 1.21.4 built on darwin22.4.0.
sed: /usr/bin/sed
cut: /usr/bin/cut
basename: /usr/bin/basename
rm: /bin/rm
mkdir: /bin/mkdir
xargs: /usr/bin/xargs
git: /usr/bin/git, git version 2.39.3 (Apple Git-145)
ls: grep
grep: No such file or directory
grep: grep is an alias for grep --color
grep is /usr/bin/grep (grep --color), grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
nvm current: v19.9.0
which node: ${NVM_DIR}/versions/node/v19.9.0/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v19.9.0/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v19.9.0
npm root -g: ${NVM_DIR}/versions/node/v19.9.0/lib/node_modules

nvm ls output:

(base) ➜  ~ nvm ls
       v10.16.3
       v12.21.0
      v12.22.12
       v14.16.1
       v14.17.0
       v14.18.1
       v14.18.2
        v16.2.0
        v16.3.0
        v16.4.1
       v16.13.1
       v16.17.0
       v16.17.1
        v17.0.1
        v17.1.0
        v17.3.1
       v18.10.0
       v18.13.0
       v18.14.2
       v18.16.0
->      v19.9.0
        v20.5.1
         system
default -> v19.9.0
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v20.5.1) (default)
stable -> 20.5 (-> v20.5.1) (default)
lts/* -> lts/hydrogen (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12
lts/fermium -> v14.21.3 (-> N/A)
lts/gallium -> v16.20.2 (-> N/A)
lts/hydrogen -> v18.18.0 (-> N/A)
(base) ➜  ~

How did you install nvm?
probably homebrew, but it was a long time ago, I use oh-my-zsh plugin as well
What steps did you perform?
(base) ➜  ~ nvm alias default v19.9.0
default -> v19.9.0
(base) ➜  ~ nvm use 20
Now using node v20.5.1 (npm vNow using node v19.9.0 (npm v9.6.3)
9.6.3)
(base) ➜  ~ node --version
Now using node v19.9.0 (npm v9.6.3)
v19.9.0
(base) ➜  ~

What happened?
When I have a default specified, it uses the default version even though I specified that I wanted to use another version.
If I unset the default alias then nvm use will work as expected.
What did you expect to happen?
I expected to get the version that I specified with nvm use, not the default

it was a long time ago

v0.39.5 came out a month ago, so it can't have been that long :-) do note that nvm is explicitly unsupported when installed through homebrew. can you try brew uninstalling it, and installing it with the command in the readme?
Separately, do you have an alias for npm set? it kind of seems like the internal npm --version call is causing an nvm use, but nvm itself doesn't do that)

Thanks, the problem seemed to be the oh-my-zsh plugin. Everything works fine when I disabled it. Too many layers of stuff :)
When checking more in detail I see that I have nvm installed through homebrew, thats why I have the latest version even though not remembering :) It works fine on its own, its the oh-my-zsh plugin that does strange things. Maybe if I find time I will debug it and raise an issue to oh-my-zsh.
Thanks for your help!

Glad it's resolved.
I'd still strongly encourage you to avoid using homebrew for nvm, as that causes many issues for users, which is why I explicitly do not support it.


Rename prometheus metrics to match new project name

While I was at it I updated a few other references to the old project name as well.
This is a breaking change to anyone using the prometheus metrics, so it should at least be clearly mentioned in the release notes.

/lgtm
/approve


Data finder: add test cases for observations, SMHi, BSC, CMIP6

If anyone has access to one of the SMHI/BSC filesystems or CMIP6/OBS/ana4mips/obs4mips/CCMVal1/CCMVal2/EMAC datasets, can you add test cases in the file tests/integration/data_finder.yml?

@mattiarighi Can you assign someone with access to the observational datasets?

Started with test cases for CMIP6 in this branch datafinder_CMIP6. OBS/ana4mips/obs4mips/CCMVal1/CCMVal2/EMAC will follow soon.

@bjoernbroetz if you are done with this, please submit a PR and the close this issue.


Add ActionText support for Litesearch

Since a lot of Rails apps nowadays rely on ActionText for rich text storage, it would be optimal to have native Litesearch support for such model attributes

Support for Action Text is in HEAD


Publish Envoy binary in addition to docker containers

Publish Envoy binary in addition to docker containers
I would like to use Envoy with Habitat and it is proving exceptionally difficult to build given the external dependency structure. If I had access to the static binary I could simply wrap it in a Habitat package for configuration, etc. I would also be fine with a dynamically linked binary that I could use patchelf on :smile_cat:

@junr03 I just got the docker extraction working but it feels pretty gross :smile:
Getting the binary from the circle ci release sounds more optimal but I can't tell where it's getting published from that PR. Do you have a more direct link?
I'm happy to work on getting packaging set up with Habitat but I was unfamiliar with the Envoy build and Bazel. Here is my initial pass: https://github.com/habitat-sh/core-plans/pull/1528


AE2LWC Returning No Data

Hi All I installed this via the appexhchange and tested on several accounts all with TickerSymbols but haven't had any luck returning data. Is there something else I should be looking at to get this up and running?

Just needed the api info good to go now.


Why don't you update the article to tell people how to track who added it?

MIght want to update the article to tell people where to find who signed up.

@techlogik thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Bulk Toggles in Options only "deselect all"

Describe the bug
Checking the "Select All" checkbox deselects all items but clicking again does not reselct all.
To Reproduce
Steps to reproduce the behavior:

Go to 'Options'
Click on 'In weekdays, click on the  select all checkbox'

Expected behavior
With all checkboxes selected, the toggle checkbox should uncheck all. If all are unchecked, all should be selected. If only some are selected, traditionally, this would cause all to be selected.
Desktop (please complete the following information):

OS: macOs Sonoma
Browser Chrome
Version 116.0

Hi Scott,
Thanks for the bug report.  I'm having some problems recreating this bug.  I'm testing under the same conditions, and pressing "Select All" does check all the check boxes under the desired section.
There are two buttons, if you want to clear all the selections, use "Select None".
Can you send me a video of what you are seeing?
Thanks

I keep forgetting to mention in every single message that I am using it inside of another app. So it is probably an issue regarding that. I will troubleshoot more.
Sorry for the churn :-(

No, it's okay, everything helps.  I will close this issue.


missing map to get

index.js#L50-L52, readme says it is mapped.

readme needs to be updated. since this is async, it can't "return" anything


Variation selectors not stripped?

I noticed that "relaxed" emoji (☺) on Yosemite is not stripped correctly with rumoji due to a variation selector that Apple added to the character. Hex representation of rumoji encoded string that contains a single "relaxed" emoji therefore looks like this:
http://cl.ly/image/2N1j33442e2u

I'm not reproducing this. Maybe I'm missing something?
irb(main):002:0> Rumoji.encode(Rumoji.decode(':relaxed:'))
=> ":relaxed:"


feat: Add MaxTime type for a Time that returns the max on aggregation

Which issue does this PR close?

Closes #11754
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

It seems somewhat awkward to add a "type" of metric that is logically the same bug just differs in aggregation behavior

I don't necessarily disagree with this, but where would the custom aggregation function live/how would it be used? There are multiple places that MetricValue::aggregate is called.
https://github.com/apache/datafusion/blob/02a9812745406b9cc00c04f9d870b23c4b3c4947/datafusion/physical-plan/src/metrics/mod.rs#L246
https://github.com/apache/datafusion/blob/02a9812745406b9cc00c04f9d870b23c4b3c4947/datafusion/physical-plan/src/metrics/mod.rs#L283
https://github.com/apache/datafusion/blob/02a9812745406b9cc00c04f9d870b23c4b3c4947/datafusion/physical-plan/src/metrics/mod.rs#L289

I had some more thoughts on this PR here: https://github.com/apache/datafusion/issues/11754

Marking as a draft to signify this isn't waiting on another review.
It isn't clear to me how to proceed with this PR given https://github.com/apache/datafusion/issues/11754

Marking as a draft to signify this isn't waiting on another review.
It isn't clear to me how to proceed with this PR given #11754

Thanks, I do intend to get back to #11754 but am not sure whether this PR will make sense to continue once I have time to think about it.


[Feature Request] Test structure

This repo saved me a lot of time setting a new project, thank you so much for your efforts.
I think the only step missing to have the perfect template repo is the test structure.
I added tests to my private fork but it doesn't look very good, maybe someone with more experience with typescript would be able to come with a proper solution.

Oh, I have a plan to create a visualization test suite for babylon.js projects. I can add it here as well :-)
Might take a while (as always), but this is a wonderful addition.

What about jest type testing in the browser?  Can we do that too?

@RaananW grateful for you!  I was hanging by my last neuron, until I found this repo.  Now, life is bliss, lol.

running npm run test will now launch playwright validation tests in chrome for the scenes.
Note that if you want the validation tests to be deterministic, make sure you add some event or an observable you can hook into to decide when to take the screenshot.

I'm not familiar w/ playright, does jest-like tests too?

https://playwright.dev/

I would be grateful for jest.  I'm working on procedural generation tooling, which is nothing but vector math.  Having both would be awesome.

A working jest config was added, able to load esm, typescript, and babylon.

Many thanks @RaananW, appreciate you!

Thank you @RaananW !!


Reduce Code Smells

Describe the bug
There are 400+ code smells in the app - Check here
Expected behavior
Fix as much as possible.

@all-contributors please add @sa276 for code


user reports this site directs users to VIE01, a decommissioned site

It has been reported that this site still directs users in Austria to the site vie01, which was decommissioned in August 2020.

[ ] check the version of Locate service in use
[ ] update to the latest version
[ ] update the NDT client to ndt7-js

@critzo: The datastore entities for vie01 were still in mlab-ns, and with a IPv4 status of "online". :( I removed all of them from production and staging. I believe that should clear up the issue. The expectation would be that a site that doesn't exist should be flagged as down and no traffic go there, despite it still existing in the datastore.  What I think happened here was that the site was removed in a way such that mlab-ns stopped updating status for the site before the entities were marked as being down, essentially leaving orphaned records in an "online" state that never got updated again. We'll need to figure out how to prevent this in the future.


Intellisense parameter info is incorrectly formatted if declaration is too long

@jeffreykxiao commented on Wed Jan 23 2019
Environment data

VS Code version: 1.30.2
Extension version (available under the Extensions sidebar): 2018.12.1
OS and version: Windows 10 Pro
Python version (& distribution if applicable, e.g. Anaconda): 3.6.8 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Expected behaviour

Parameter info is correctly displayed
Actual behaviour

Too many parameters: incorrect display. Trailing params are parsed into docstring section. Putting extra parameters on newlines such that each line is under 70 characters doesn't help.

Function declaration is too long: incorrect display.

@karrtikr commented on Thu Feb 14 2019
Can you please confirm if you are using language server, or jedi? (Check value of python.jediEnabled in settings.json).
Also, could you provide the code?

@jeffreykxiao commented on Thu Feb 14 2019
Can't provide the code unfortunately, but disabling jedi solves the problem.

@danalf67 commented on Tue May 07 2019
I have exactly the same issue in the parameter hints. I use the jedi setting because the language server is worse (all line breaks are removed after the signature). Example source code for getting the error:
import shutil
shutil.copytree()

I guess I don't know what the bug here is. The original issue seemed to be coming from Jedi, and disabling fixed it, then a new comment which says they have the same issue with the LS, but actually comments on line breaks being removed, though I get:

Which seems fine (other than the indented block that we can't exactly infer is supposed to be code).


Use fetch content instead of git submodules

Replace git submodules with cmake's fetch content.
This simplifies using the repository cause you can't accidentally muck up the git history with
a careless git pull.
Also makes building the dependencies completely automated and doesn't require calling weird git commands to update the submodules.

This will make it a lot easier to keep track of dependencies, and managing them in git. LGTM!


Extraction of FSM from VHDL

Version
Yosys 0.30+48 (git sha1 14d50a176, x86_64-apple-darwin20.2-clang 10.0.0-4ubuntu1 -fPIC -Os)
On which OS did this happen?
macOS
Reproduction Steps
This example State-Machine in VHDL (fsm.vhd):
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

entity fsm is
    Port (
        clk   : in  STD_LOGIC;
        rst   : in  STD_LOGIC;
        up    : in  STD_LOGIC;
        down  : in  STD_LOGIC;
        value : out STD_LOGIC_VECTOR(2 downto 0)
    );
end fsm;

architecture behavior of fsm is
type state_t is (S0, S1, S2, S3, S4, S5);
signal state : state_t := S0;

begin

    THREAD : process (clk)
    begin
        if (rst = '1') then
            state <= S0;
            value <= "000";
        elsif (rising_edge(clk)) then
            case state is
                when S0 =>
                    if (up = '1') then
                        value <= "001";
                        state <= S1;
                    end if;
                    if (down = '1') then
                        value <= "101";
                        state <= S5;
                    end if;
                when S1 =>
                    if (up = '1') then
                        value <= "010";
                        state <= S2;
                    end if;
                    if (down = '1') then
                        value <= "000";
                        state <= S0;
                    end if;
                when S2 =>
                    if (up = '1') then
                        value <= "011";
                        state <= S3;
                    end if;
                    if (down = '1') then
                        value <= "001";
                        state <= S1;
                    end if;
                when S3 =>
                    if (up = '1') then
                        value <= "100";
                        state <= S4;
                    end if;
                    if (down = '1') then
                        value <= "010";
                        state <= S2;
                    end if;
                when S4 =>
                    if (up = '1') then
                        value <= "101";
                        state <= S5;
                    end if;
                    if (down = '1') then
                        value <= "011";
                        state <= S3;
                    end if;
                when S5 =>
                    if (up = '1') then
                        value <= "000";
                        state <= S0;
                    end if;
                    if (down = '1') then
                        value <= "100";
                        state <= S4;
                    end if;
            end case;
        end if;
   end process;
end behavior;

I tried to extract the FSM as kiss, as discussed here:
using following command
yosys '-mghdl' -p 'ghdl fsm.vhd -e fsm; proc; opt -nodffe -nosdff; fsm -nomap; fsm_export -o fsm.kiss2'
Expected Behavior
There should be a kiss output
Actual Behavior
There is no kiss output

The fsm_extract  pass heuristically extracts some FSMs that will benefit from recoding/optimization from the fsm_recode and fsm_opt passes. Not all kinds of FSMs can be modified in this way. This FSM has two properties that make it unsuitable for this, which the output informs you of:
Not marking fsm.state as FSM state register:
    Register has an initialization value.
    Circuit seems to be self-resetting.

So for me it would not be so important to optimize the FSM, rather I want to extract and plot it. Would it still be possible to plot it?

No. The only part that can be overcome is the self-resetting part (there is the option -ignore-self-reset to fsm_detect). The other conditions are necessary for fsm_extract to work; it will likely crash if you disregard it.

I just wonder why "Register has an initialization value." leads to the fact that this shouldn't be FSM register. Could you elaborate this a bit? I mean the state machine has to start somehow with a well defined state?

I was able to extract it by changing the VHDL code a bit... however still wonder about the above question

@nakengelhardt I concur with @myzinsky; this was one of my earliest issue with Yosys and in all these years I never actually found out why fsm_extract cannot work with registers that have an init value...


Passive reward flow failed

Logs:
dftool dispense_passive: Begin
Arguments:
CHAINID=1
AMOUNT=0.0
ST=2023-11-09 00:00:00
Envvar:
 ADDRESS_FILE=.github/workflows/data/address.json
retry 0: dispense_passive() missing 1 required positional argument: 'amount'
retry 1: dispense_passive() missing 1 required positional argument: 'amount'
retry 2: dispense_passive() missing 1 required positional argument: 'amount'
Traceback (most recent call last):
  File "./dftool", line 6, in <module>
    dftool_module._do_main()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/enforce_typing/decorator.py", line 29, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/df-py/df-py/df_py/util/dftool_module.py", line 1142, in _do_main
    func()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/enforce_typing/decorator.py", line 29, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/df-py/df-py/df_py/util/dftool_module.py", line 985, in do_dispense_passive
    retry_function(dispense.dispense_passive, 3, 60, OCEAN, feedist, amount)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/enforce_typing/decorator.py", line 29, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/df-py/df-py/df_py/util/retry.py", line 30, in retry_function
    raise Exception(f"failed after {retries} retries")
Exception: failed after 3 retries

Duplicate with #743

@trizin : also note that @calina-c already has a PR in, to fix #743


Add script to publish stub universe packages to Azure Blob storage

When running DC/OS on Azure and using custom built DC/OS stub universe packages, it would be nice to leverage an existing Azure Blob Storage account rather than setting up an S3 bucket for hosting.
Fixes #1218

Thanks, @rozele. What do I need to setup Azure wise to test this?

@benclarkwood You'll need to create an Azure storage account.  Locally, you'll need to install Azure CLI 2.0.  Once you do that, you'll need to set some environment variables like you do for the AWS CLI:

AZURE_STORAGE_ACCOUNT - the storage account name
AZURE_STORAGE_KEY - the storage account key
BLOB_CONTAINER - the blob container name

You'll also need to make the blob container public, which you can do by running
az storage container set-permission -n $BLOB_CONTAINER --public-access blob

@benclarkwood: What's needed to check this in?

I'd like to see it successfully upload a package to Azure.


Is a year navigation supported when you are on the month view?

 Can you support this or point me in the right direction?

Currently it doesn't support year view. I can add this, but it will take time. If you want to implement yourself, it requires some code change, you can refer to how the other views got implemented.

I am not looking for year view, just want to quickly go to a different year
like jul 2016 to jul 2015 in 2 3 clicks. It is possible if clicking on jul
2015, a month selection appears, clicking again and year selection
occurs..if not clear, i can send an example...
On Jul 24, 2016 8:48 PM, "twinssbc"<EMAIL_ADDRESS>wrote:

Currently it doesn't support year view. I can add this, but it will take
time. If you want to implement yourself, it requires some code change, you
can refer to how the other views got implemented.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twinssbc/Ionic-Calendar/issues/66#issuecomment-234814400,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEmcWV9weudj780UiHrnoZfUKAA4jyrfks5qZAfkgaJpZM4JTnEM
.

Ok, I saw this kind of navigation functionality in some date picker control. Usually they are achived by clicking the title. Its a bit out of the scope of this control. I think you can implement it by yourself. The calendar allows you to switch to certain view and navigate to certain day. So its easy to hook with other control.


pipx install ntia-conformance-checker and scan resuilts in python error

ntia-checker --file ~/sbom.spdx
Is this SBOM NTIA minimum element conformant? False
The provided document couldn't be parsed, check for ntia minimum elements couldn't be performed.
The following SPDXParsingError was raised:
Error while constructing CreationInfo: CreationInfo.init() missing 6 required positional arguments: 'spdx_version', 'spdx_id', 'name', 'document_namespace', 'creators', and 'created'

@msmeissn: Thank you for the bug report. Can you please provide the SBOM you used that resulted in this error?

@msmeissn: Thank you for the explanatory text in sbom.txt. Could you please provide the actual SBOM you scanned that resulted in this bug report?
I tried to follow the instructions, but I do not have the public key mentioned in the text. I therefore got this error:
cosign verify-attestation  --type spdxjson --key /usr/share/pki/containers/suse-container-key.pem registry.suse.com/suse/sle15@sha256:c8aeb5a7662c38716d303fb854c5baa2329afccb4637c0f3c7c44b971181fdbb | jq '.payload | @base64d |  fromjson | .predicate'
...
main.go:74: error during command execution: loading public key: open /usr/share/pki/containers/suse-container-key.pem: no such file or directory

i attached the wrong sbom, sorry. trying again
sbom.txt

@msmeissn: Again, thank you for the bug report. I tried to replicate the error but couldn't yet.
First, here is the version of ntia-conformance-checker I used:
$ ntia-checker --version
2.0.0

Next, I ran this command:
$ ntia-checker --file ~/Desktop/sbom.json > ~/Desktop/output.txt

I have attached the output.txt file that the above command created: output.txt
The errors I get, which are really instances of this SPDX document not being valid according to the SPDX specification, don't include a mention of Error while constructing CreationInfo:.
Here's the first 20 lines of the error output:
$ cat output.txt | head -n 20

Is this SBOM NTIA minimum element conformant? False

Individual elements                            | Status
-------------------------------------------------------
All component names provided?                  | True
All component versions provided?               | True
All component identifiers provided?            | True
All component suppliers provided?              | False
SBOM author name provided?                     | True
SBOM creation timestamp provided?              | True
Dependency relationships provided?             | False

The provided document is not valid according to the SPDX specification. The following errors were found:

Unrecognized license reference: GPL-2.0+. license_expression must only use IDs from the license list or extracted licensing info, but is: GPL-2.0+
Unrecognized license reference: GPL-2.0+. license_expression must only use IDs from the license list or extracted licensing info, but is: GPL-2.0+
Unrecognized license reference: GFDL-1.2. license_expression must only use IDs from the license list or extracted licensing info, but is: GFDL-1.2 AND GPL-3.0+
Unrecognized license reference: GPL-3.0+. license_expression must only use IDs from the license list or extracted licensing info, but is: GFDL-1.2 AND GPL-3.0+
Unrecognized license reference: GFDL-1.2. license_expression must only use IDs from the license list or extracted licensing info, but is: GFDL-1.2 AND GPL-3.0+

Any thoughts or ideas?

i think it might be a python dependency issue for me, it seems to pull in some incompatible spdx module.
the venv has spdx_tools-0.8.2.
ls ~/.local/share/pipx/venvs/ntia-conformance-checker/lib/python3.11/site-packages/
beartype                              license_expression-30.3.0.dist-info       PyYAML-6.0.2.dist-info             uritools
beartype-0.18.5.dist-info  ntia_conformance_checker                    rdflib                             uritools-4.0.3.dist-info
boolean                               ntia_conformance_checker-2.0.0.dist-info  rdflib-7.0.0.dist-info             xmltodict-0.13.0.dist-info
boolean.py-4.0.dist-info   pipx_shared.pth                                        semantic_version                   xmltodict.py
click                                     ply                                                                semantic_version-2.10.0.dist-info  _yaml
click-8.1.7.dist-info           ply-3.11.dist-info                                       six-1.16.0.dist-info               yaml
isodate                    pycache six.py
isodate-0.6.1.dist-info    pyparsing                                 spdx_tools
license_expression         pyparsing-3.1.2.dist-info                 spdx_tools-0.8.2.dist-info
which has:
@dataclass_with_properties
class CreationInfo:
spdx_version: str
spdx_id: str
name: str
document_namespace: str
creators: List[Actor]
created: datetime
creator_comment: Optional[str] = None
data_license: str = "CC0-1.0"
external_document_refs: List[ExternalDocumentRef] = field(default_factory=list)
license_list_version: Optional[Version] = None
document_comment: Optional[str] = None
def __init__(
    self,
    spdx_version: str,
    spdx_id: str,
    name: str,
    document_namespace: str,
    creators: List[Actor],
    created: datetime,
    creator_comment: Optional[str] = None,
    data_license: str = "CC0-1.0",
    external_document_refs: List[ExternalDocumentRef] = None,
    license_list_version: Optional[Version] = None,
    document_comment: Optional[str] = None,
):

Hmmm, the current pyproject.toml file pins spdx-tools at 0.8.2. See here. 🤔 I'd be curious to know the installation steps you took and the platform you're using. Maybe that would help with debugging?

basically just "pipx install ntia-conformance-checker"
I am working on openSUSE Tumbleweed.
$ pipx install ntia-conformance-checker
installed package ntia-conformance-checker 2.0.0, installed using Python 3.11.9
These apps are now globally available
- ntia-checker
done! ✨ 🌟 ✨
$

Hmmm....
Okay, I used pipx:
pipx install ntia-conformance-checker

I check the version and it's the most recent version on PyPI:
$ ntia-checker --version
2.0.0

And then I run the command:
$ ntia-checker --file ~/Desktop/sbom.json > ~/Desktop/output.txt

And I get this output: output.txt
I don't see the same error though:
$ cat ~/Desktop/output.txt| head -n 20

Is this SBOM NTIA minimum element conformant? False

Individual elements                            | Status
-------------------------------------------------------
All component names provided?                  | True
All component versions provided?               | True
All component identifiers provided?            | True
All component suppliers provided?              | False
SBOM author name provided?                     | True
SBOM creation timestamp provided?              | True
Dependency relationships provided?             | False

The provided document is not valid according to the SPDX specification. The following errors were found:

Unrecognized license reference: GPL-2.0+. license_expression must only use IDs from the license list or extracted licensing info, but is: GPL-2.0+
Unrecognized license reference: GPL-2.0+. license_expression must only use IDs from the license list or extracted licensing info, but is: GPL-2.0+
Unrecognized license reference: GFDL-1.2. license_expression must only use IDs from the license list or extracted licensing info, but is: GFDL-1.2 AND GPL-3.0+
Unrecognized license reference: GPL-3.0+. license_expression must only use IDs from the license list or extracted licensing info, but is: GFDL-1.2 AND GPL-3.0+
Unrecognized license reference: GFDL-1.2. license_expression must only use IDs from the license list or extracted licensing info, but is: GFDL-1.2 AND GPL-3.0+

I'm on MacOS though, Sonoma 14.5.
Are you still getting the same error??

@msmeissn -- I'm going to close for now, but if there is still an issue, please do re-open it! I want to help, I swear!


added knob widget (css, html, js)

as requested in https://github.com/torstenfeld/django-dashing-widget-knob/issues/1 ;)

:+1: I want this!

thanks :)


All binaries in nuget are 64-bit. Any plans to add 32-bit binaries?

Hello!
I am currently satisfied with 64-bit binaries for all platforms, so I have no personal plans to add 32-bit builds to the project. But if you wanna help, I'd gladly accept such a contribution.
If you know how to build 32-bit binaries on 64-bit Ubuntu we'ru currently using, please post them here or fork the project and try yourself to build them on Appveyor.


A release candidate for AmberTools23 is now available

Comment:
@jaimergp The first release candidate for AmberTools23 is now available:
wget https://ambermd.org/downloads/AmberTools23_rc1.tar.bz2
Are you (or someone else connected to this github page) still able and willing to work on this?
You could skip this RC if you wish...a second one should be ready in a week or so.  Let me know what I can do to help out.
One change from AmberTools22 is that the NAB compiler is no longer a part of the package.  This should be a simplification, and means that users no longer need to the compilers as well as the ambertools package itself.

Hey! Yes, we can start trying out the RCs. My time budget is limited for this kind of task but we'll manage somehow. It would really help if someone on the Amber team would be willing to help set up new PRs (I can review) or at least post issues (tagging me) for the patch updates and so on.

Thanks for making an RC available. I've given it a spin on some of our infrastructure and nothing is obviously broken. (We only use a tiny portion of AmberTools, so this doesn't necessarily say much, but it says marginally more than nothing.)
https://github.com/openforcefield/openff-toolkit/actions/runs/4862595919?pr=1599

I'm able to run @dacase's block above and am reporting back what happens:
$ echo $AMBERHOME                                                                                10:06:40
/Users/mattthompson/mambaforge/envs/AmberTools23rc
$ echo $PATH                                                                                10:06:45
/Users/mattthompson/micromamba/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/openssl/bin:/usr/local/sbin:/Users/mattthompson/mambaforge/envs/AmberTools23rc/bin:/Users/mattthompson/mambaforge/condabin:/Users/mattthompson/bin:/usr/local/bin:/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
$ echo $PYTHONPATH                                                                                10:06:52

$  echo $LD_LIBRARY_PATH                                                                                10:06:54

This is on Apple Silicon with Mambaforge dated a few weeks ago. I'm not sure what's supposed to happen ($PYTHONPATH is very arcane - is AmberTools using it?) but common executables are available as I'd expect:
$ which antechamber && which sander                                                                                10:08:13
/Users/mattthompson/mambaforge/envs/AmberTools23rc/bin/antechamber
/Users/mattthompson/mambaforge/envs/AmberTools23rc/bin/sander

The AmberTools23_rc install seems slightly different from AmberTools22. I did this:
conda create --name AmberTools23rc
conda activate AmberTools23rc
conda install -c conda-forge/label/ambertools_rc -c conda-forge ambertools
conda deactivate
conda activate AmberTools23rc

After this, $AMBERHOME is set to ~/.conda/envs/AmberTools23rc, but the $AMBERHOME/amber.sh script has not been run, so that PATH, PYTHONPATH and LD_LIBRARY_PATH variables are not set for AmberTools. In AmberTools22, the step of source $AMBERHOME/amber.sh was done upon conda activation, as far as I can tell.
Does anyone else see this behavior? It might be specific to my setup (Intel python), or might be operator error (although I've tried several times, but all on the same machine.)
Beyond this, everything I've tried in AmberTools23rc seems to be working as expected. If one or two others (@swails ?) can explore a bit, we may be able to promote this to the real conda-forge channel.

@dacase FYI: When I was working with ambertools conda, the amber.sh was never needed.

PYTHONPATH is not needed for a conda build since it's added to a location automatically searched for imports by the Python interpreter, so conda activate will never set it.  Neither is LD_LIBRARY_PATH or any of its friends (like DYLD_*) -- conda automatically sets the rpath for libraries so they'll be properly resolved at runtime on any platform.
You can see everything that's set when you activate an environment with ambertools installed by looking here.
I suspect that your LD_LIBRARY_PATH and PYTHONPATH environment variables are being set from a previously-sourced amber.sh from a local Amber build.

where and how is $AMBERHOME/bin added to the PATH?

$AMBERHOME is set to the conda prefix directory for the conda environment that ambertools is installed into.  ${CONDA_PREFIX}/bin is where all of the binaries for that conda environment are put, so that directory is added to PATH as part of conda activate <environment>.
Specifically, after you activate an environment with ambertools installed, it should look something like this:

where $AMBERHOME is the path to the conda environment (rather than, say, a source installation you've checked out locally).
I have no idea why the conda environment's bin directory wouldn't be added to your PATH...

So, this PATH problem led me to look at amber.sh, which is included in the conda package, but doesn't seem(?) be needed. This was the origin of my confusion.

This file should not be used in conda installs.  It's an artifact generated by the standard Amber build process and wasn't deleted.  It's more that this file wasn't excluded, rather than was included.

@jaimergp Are we ready to publish this to the regular conda-forge channel. The problems listed above are probably specific to me, and I haven't found any problems with the release candidate package.

Yea, let's open that PR. Do you have a link for the final source tarball?

Hello,
I stumbled upon this as I was trying to troubleshoot some issues with nab.  The research group I'm in relies on it for some analyses, particularly Hessian calculations, so I'm disappointed to see it will no longer be included in AmberTools23 but curious if it will be available as a stand-alone package on conda-forge moving forward?
Additionally, I thought I'd notify you that the AmberTools23 page  and Amber23 manual still seem to indicate nab is included, but perhaps I misunderstood and it's only sff which is in the same folder as the excluded nab code, thus nabc/sff?  So far, this is the only place where I was able to verify that I hadn't botched my conda install of ambertools23 so I thought I'd suggest clarifying that on the amermd.org hosted site and related tutorials for anyone else who is still using it but not code-savvy enough to look through github or check their conda environment files.
Lastly, I am running into a gcc compiler issue when trying to use older versions of ambertools so that I can use nab. I have already troubleshooted the gcc conda install so I thought I'd ask if and where the nab code will continue to be maintained so I can submit an issue to the correct repo/email/forum?
Thank you for your work on an indispensable set of tools,
Mikaela

Hi Mikaela, AT22 should still have nab. Maybe you can create a separate environment for AT22 and point you workflow to the absolute path of nab in that environment?

Hi Jaime,
Yeah, I have been attempting to use it with AT22 but am running into a gcc compiler issue. I think I have managed to get around it for now by forcing all my packages to come from conda-forge and not installing any other packages. Inconvenient as I will eventually need it to play nice with other packages but I can create an egg for that and this seems to be an issue bigger than just ambertools.
I would still be curious to know if nab will no longer receive support or be included in any future packages so that we can begin to plan for a replacement if necessary.
Thank you for such a quick reply!
Mikaela

All my notes mention that nab was removed in AT23, but I'll let @dacase comment first hand.

I agree that the nabc repo will be the best starting point, particularly as I'd like to make my solution simple and maintainable so it sounds like it is best to move away from nab regardless of whether I can troubleshoot the configuration. Thank you for the recommendation and the more detailed overview of why nab is being retired as well as the pointer to tnmode.c.  All are extremely helpful, thank you.
The compilation issues do remain after switching to nabc, but are different and seem specific to the files available on the repo so I have submitted an issue to that repo but I am quite rusty on my C so I hope I haven't missed something trivial.
Thank you again for your swift support in using the force field routines.
Mikaela Farrugia


Support meta-annotations

TestNG Version
7.6.1
Expected behavior
There should be a way to define custom annotation that groups several existing annotations with predefined values.
For instance, instead of @Test(groups={"Database"}, timeOut = 10) everywhere users could write @DatabaseTest where DatabaseTest is annotation that composes other annotations.
See https://junit.org/junit5/docs/current/user-guide/#writing-tests-meta-annotations
Actual behavior
TestNG forces users to duplicate annotations everywhere.

What do you think of reusing https://github.com/junit-team/junit5/blob/main/junit-platform-commons/src/main/java/org/junit/platform/commons/support/AnnotationSupport.java ?
It sounds like a reasonable dependency for the task.


Clicking on 1/OFF Kustoms, LLC causes disconnection from server

https://user-images.githubusercontent.com/12578284/145695727-4aad540c-4c31-499e-9692-72ac19ba9e8a.mp4

Thank you for the detailed report. This is likely related to #2. I did not implement any error checking on api calls, so if an api returns a 404 (or any other error), the app can crash… one solution would be to wrap the fetches in a try-catch and catch specific request errors. Or we can use an R fetch function and test if the return code is 200 or not.
At the moment, I pass the api urls directly to read.csv but I might have to refactor this into a fetch -> check the result -> pass result to csv reader.

On Dec 11, 2021, at 7:16 PM, Saahil Claypool @.***> wrote:

https://user-images.githubusercontent.com/12578284/145695727-4aad540c-4c31-499e-9692-72ac19ba9e8a.mp4
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


fix: 接收小程序消息的兼容性问题导致的空指针异常

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

这个问题，我已经在另一个 pr 中顺手解决了，还是非常感谢你的 pr，下次如果再遇到什么问题，欢迎发起 issue 讨论，然后帮这个开源项目提交一个 pr😁😁


Mexico Report Back Email

Username<EMAIL_ADDRESS>reported back on Igualdad de condiciones and didn't get the reportback email.
https://us4.admin.mailchimp.com/templates/edit?id=56693

@ArielSD Looks like it was sent to you but you've not opened the email message yet:

@DeeZone @blisteringherb Yup, it came, just way after all of the other transactionals. Thanks!


Fix positioning of tooltip

not ready yet, more like a PoC

floating position added to tooltip using react` portals

Unnecessary PR because of mass of updates. Moved functional to separated PR (https://github.com/BigWhaleLabs/seal-cred-frontend/pull/296)