NPSP contact merge error

activated a new lookup rollup summary field this afternoon and am now receiving the following errors when using the NPSP Contact Merge functionality (SS below):

Error: Merge failed. First exception on row 0 with id<PHONE_NUMBER>mt7fHAAQ; first error: DELETE_FAILED, dlrs_ContactTrigger: execution of AfterDelete caused by: System.NullPointerException: Attempt to de-reference a null object (dlrs) : []
Error: Failed to merge the contacts. Error: System.DmlException: Merge failed. First exception on row 0 with id<PHONE_NUMBER>mt7fHAAQ; first error: DELETE_FAILED, dlrs_ContactTrigger: execution of AfterDelete caused by: System.NullPointerException: Attempt to de-reference a null object (dlrs) : []
I tried deploying the child trigger both with and without the Deploy code to support record merging? box checked.
These are the versions of DLRS and NPSP we are operating on.
DLRS ver 2.4.2
NPSP ver. 3.82
thank you,
-devan

bumping this issue again since I still haven't found a resolution.

Sorry about this, combined with my lack of knowledge of NPSP and my recent continental home move, community things have a slipped a little last month or so. I've tagged this as a bug and also with a NPSP tag. If you look at other issues around NPSP you can see there is something funky going on. The good people working on the NPSP have now provided me a repo of the issue/s, so its up to me to drill into it. I hope to get a burst of time on this tool soon, just to let you know i have had a few goes at this and hopefully now i have a dev org with all the code in i can finally make some progress.... Thanks for your patience. 👍

Great, thanks for the follow-up on this. I know that NPSP can cause some issues. I’m still interested in the solution so I will monitor the NPSP-labeled posts on community.
Also please let me know if there’s any info or testing that I could offer to help you out with NPSP issues. My contact info below is fine to reach out. Congrats on the move by the way
Devan Larson • Data Manager
206.631.2617 • cell<PHONE_NUMBER> •<EMAIL_ADDRESS>Washington Environmental Council • wecprotects.org
1402 Third Avenue | Suite 1400 | Seattle, WA 98101
From: Andrew Fawcett<EMAIL_ADDRESS>Sent: Sunday, December 4, 2016 16:39
To: afawcett/declarative-lookup-rollup-summaries<EMAIL_ADDRESS>Cc: Devan Larson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [afawcett/declarative-lookup-rollup-summaries] NPSP contact merge error (#416)
Sorry about this, combined with my lack of knowledge of NPSP and my recent continental home move, community things have a slipped a little last month or so. I've tagged this as a bug and also with a NPSP tag. If you look at other issues around NPSPhttps://github.com/afawcett/declarative-lookup-rollup-summaries/labels/NPSP you can see there is something funky going on. The good people working on the NPSP have now provided me a repo of the issue/s, so its up to me to drill into it. I hope to get a burst of time on this tool soon, just to let you know i have had a few goes at this and hopefully now i have a dev org with all the code in i can finally make some progress.... Thanks for your patience. 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/afawcett/declarative-lookup-rollup-summaries/issues/416#issuecomment-264744914, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASUyNFk8c4tHusu1JcbccTR5K-dBqevYks5rE10OgaJpZM4KWeOa.

Thanks @WEC-WCV thanks for your patience on this.

@WEC-WCV can you just check that you have redeployed your triggers after installing the latest DLRS. Go to the Manage Child Trigger button and click it on the Contact child rollup (anyone will do). Check it shows two triggers on the screen displayed, one for Account and one for Contact. If not, click the Remove button, wait and then when it returns ensure the checkbox to support Merge is ticked and click Deploy again. If you already have a DLRS trigger deployed for Account you should not need to do this. Just want to make sure, since your issue is with merge, that your taking advantage of this fix https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/303

@afawcett looks like i have ver 2.4.2 installed currently so i am installing ver 2.7 right now and will report back with results

@afawcett no errors with contact merge since installing 2.7. looks to be working correctly now as i deploy new triggers

Whoop whoop! Thanks @WEC-WCV


[bug?] Some Hardware Treats /sys/class/thermal/thermal_zone0/temp Differently

E2 prototype shows extreme cold temps on this sensor.  This could also be a problem with this particular hardware/firmware.
Perhaps there is a better way to handle temp sensors?  There are other sensors available on this device that show what are probably accurate temps (obviously in different locations).
Relevant eOS code:
https://github.com/Start9Labs/embassy-os/blob/8ffcd9b60a6799bbb522c53a8cdad10dc711935f/backend/src/system.rs#L515

Some DIY folks are getting errors in relation to this, obviously their hardware is producing chip temp data elsewhere
ERROR embassy::system: Could not get initial temperature: Filesystem I/O Error: /sys/class/thermal/thermal_zone0/temp: No such file or directory (os error 2)

Possibly related on DIY build...
v<IP_ADDRESS> – Reported temperature worked just fine, with ranges of 80ºc to 100ºc under heavy load.
v<IP_ADDRESS> – Temperature wildly misreported with values of 1990ºc to 2200ºc under heavy load.
Hardware:
https://support.apple.com/kb/SP659?locale=en_US

using LMsensors now, should resolve.


[Bug] 'vela env init' occasionally reports an error

Describe the bug

'vela env init' occasionally reports an error as "Operation cannot be fulfilled on namespaces "prod": the object has been modified; please apply your changes to the latest version and try again", but actually env was created successfully.

To Reproduce

Expected behavior

Screenshots

KubeVela Version
1.5.6, 1.5.7

Cluster information
1.21.5

Additional context

After adding the relevant logs in the updateNamespace stage and rebuilding the binary package and execute vela env init, it is located that the error occurs in the updateNamespace stage. But the update is based on the changes made after getNamespace, it is not clear why the problem of resourceVersion is triggered. In fact, if the namespace does not exist, it can be returned directly after adding the relevant env tag after the successful creation, and there is no need to execute updateNamespace, what do you think? @wonderflow

yes, if the namespace is just created, we don't need to upodate it. Only if the namespace don't have the env label that we need to create it.


Empty Feature Description

Feature description is empty when looking at the feature on the website. The information seems to be in the database (checked by Ferry Jagers), however it is not shown within the website when viewing or editing a feature.

I suppose you mean a SAM feature. However, a feature only has a name, unit and platform as domain properties. Additionally a feature has a template with templatefields. If I look at the pages showing details from a feature, all fields are shown properly.
Could you explain what you mean by feature description, and provide a reproducable testcase?


Reporting submissions don't match with CSV export

Describe the bug
As a Program Admin, I use the Reporting Dashboard to see how many applications are submitted each month. The total number of submissions doesn't match with the CSV export of the same data.
For example:
HSD's Gold Card for the month of 9/2023

76 submissions per the reporting table
162 submissions per the CSV export

To Reproduce
Steps to reproduce the behavior:

Go to the Reporting Dashboard
Click on a program
See the number of submissions by month
Compare that number to the CSV export
See that numbers aren't aligned

Expected behavior
I would expect the numbers to be the same
Screenshots
Below and CSV attached

Gold Card (HSD)_Example.csv

Thanks to Matt! Looks like maybe the months are just one-off. (Data in report for August is the data in the CSV for September).

One thing that may be making this harder to investigate is a bug (fixed two weeks ago https://github.com/civiform/civiform/pull/5786) that incorrectly set the submit time of applications that were made obsolete by more recent submissions from the same applicant.
@elisekalstad are you sure it's just an off by one situation? it looks like the numbers are close but not the same between the CSV and the web view, even when accounting for misalignment of the months

Thanks for taking a look! The “off by 1 month” idea is just a guess. The numbers are close but not the same. We were thinking it might have to do with the submit date changing if an application was resubmitted, which would only impact a few of the submissions. But really just a guess.
-Elise
From: Bion Johnson @.>
Sent: Tuesday, October 24, 2023 3:54 PM
To: civiform/civiform @.>
Cc: Kalstad, Elise @.>; Mention @.>
Subject: Re: [civiform/civiform] Reporting submissions don't match with CSV export (Issue #5824)
CAUTION: External Email
One thing that may be making this harder to investigate is a bug (fixed two weeks ago #5786https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31321b84-4544474f5631-b55ddbff220c04a7&q=1&e=daaea82a-6f0a-48ab-a060-8812a68159ae&u=https%3A%2F%2Fgithub.com%2Fciviform%2Fciviform%2Fpull%2F5786) that incorrectly set the submit time of applications that were made obsolete by more recent submissions from the same applicant.
@elisekalstadhttps://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31321b84-4544474f5631-a5a11a09f8a70a2f&q=1&e=daaea82a-6f0a-48ab-a060-8812a68159ae&u=https%3A%2F%2Fgithub.com%2Felisekalstad are you sure it's just an off by one situation? it looks like the numbers are close but not the same between the CSV and the web view, even when accounting for misalignment of the months
—
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31321b84-4544474f5631-d255ef9ea6267375&q=1&e=daaea82a-6f0a-48ab-a060-8812a68159ae&u=https%3A%2F%2Fgithub.com%2Fciviform%2Fciviform%2Fissues%2F5824%23issuecomment-1778179747, or unsubscribehttps://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31321b84-4544474f5631-693859b538812272&q=1&e=daaea82a-6f0a-48ab-a060-8812a68159ae&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUQYIY67G3CMSAG6ESTG7HDYBBBJPAVCNFSM6AAAAAA6HWACS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYGE3TSNZUG4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Can use the Fresh Bucks Community Based Org program in Testing for example.


NASA Challenge_[@utkrishtjain]_[Custom Models & Gazebo Plugins for Realistic Simulations] (Ref Issue: #46)

Associted Feature Request Issue: #46
This PR adds a set of custom Gazebo Plugins that aim at making the simulation more realistic. Custom models made from real elevation data (From NASA's Planetary Data System) of celestial bodies like Moon and Mars is also added.

Demo Gif showing curiosity rover on an actual terrain model of a patch of Gale Crater on Mars with Dust Storms and changing daylight. Observe how the dust particles affect the camera images and change in daylight causes lens flare artifacts as well

Demo Gif showing curiosity rover on an actual terrain model of a patch of Gale Crater on Mars with our custom changing daylight plugin. Observe how the the color of the sky (scene in Gazebo) changes based of time of day and the position of the sun changes as well causing shadows all over the terrain. The changing daylight causes lens flare artifacts in the camera RGB image as well
Main Highlights
Models of Martian Terrain made from elevation data from HiRISE Images on board the Mars Reconnaissance Orbiter (MRO):

 Click to view images of the Terrain Models made from data of a patch of Gale Crater on Mars

Model of Lunar Terrain made from elevation data LOLA on board the Lunar Reconnaissance Orbiter (LRO):

 Click to view images of the Terrain Models made from data of Southern region of Moon which is the main target for NASA's Artemis Missions

DustManager GUI Plugin simulating weather conditions like Dust Storms on Mars using ParticleEmitters in Gazebo

This plugin makes use of ParticleEmitters to create weather conditions like dust storms which actually affect the simulated sensor data by adding noise (demonstrated in the gif below)
An easy-to-use GUI is also added to make it easy for the user to play around with different properties like wind speed, density and color of the particles to create different weather conditions (demonstrated in the gif below)

 Click to view gif of the DustStorm plugin in action of martian terrain with the curiosity rover model

DayLightManager GUI Plugin for simulating Time of Day and lighting conditions

The DayLightManager plugin for Gazebo simulates the Sun's trajectory based on the time of day and the observer's latitude, providing a realistic and dynamic representation of sunlight.
The plugin also changes Gazebo's scene colors to match changing sky colors and the plugin GUI allows you to set a scaling factor for the time of day to simulate multiple day cycles in a short period of time. The time of day is also available on a topic as gz.msgs.Time
Added Lens Flare Plugin (https://github.com/gazebosim/gz-sim/pull/1933) to the Rover's Camera sensors which is affected in real time by the moving sun throughout the time of day

 Click to view gif of the TimeOfDay plugin in action on martian terrain with the curiosity rover model

Side Quests

[x] Ported from Ignition Fortress to Gz Harmonic
[ ] More flexible docker setup
[ ] gz_ros2_control supprot for Gz Harmonic

@mkhansenbot all the requested changes have been made and the PR updated


reverse direction block?

I have a circular slider with values between 0-100. dragging very close to the start point, values jump from 0 - 97 (making it go in reverse direction). How do I prevent this?

me to! I didn't found how do that


How to show CityJson (3d model) on Mapbox?

Hi, ath the moment I'm using mapbox for a personal project. In the readme you show that it's possible to visualise cityjson data in Mapbox. I can't find any tutorials for how to do this. Hopefully you can help me and explain how to use Mapbox with cityJson :).

A 2D GeoJSON dataset with height as an attribute was visualised in Mapbox, rather than a CityJSON. Mapbox is able to extrude 2D footprints to 3D using a numerical height attribute.


render markdown in chat buble

Resolves https://github.com/OpenDevin/OpenDevin/issues/1378

Tested by replacing msg?.content by markdown line 63 in frontend/src/components/ChatInterface.tsx after defining markdown as follows:
const markdown = `A paragraph with *emphasis* and **strong importance**.

> A block quote with ~strikethrough~ and a URL: https://reactjs.org.

* Lists
* [ ] todo
* [x] done

A table:

| Model Type | Top-1 Accuracy |
|-------------------|------------|
| TF-IDF | 59.25% |
| BM25 | 77.60% |
| BERT | 84.79% |

~~~bash
python -m pip install -U pip
~~~
`

Duplicate of https://github.com/OpenDevin/OpenDevin/pull/1391

@TemryL Sorry, I started working on this before this PR was opened. I merged the other PR because we need the prose class from @tailwindcss/typography, otherwise Tailwind default styling strips bulleted and numbered lists.
I think the styling can be improved--you can see this in the screenshot of #1391. For example, there's too much margin between lines (between headings in particular). If you're interested, feel free to submit a follow-up PR!


Identifiers validation failed for dataset Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México

Identifier validation failed for the dataset Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México:

Crawler attempt: 323
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1410
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1382 total records; 1382 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3740182/step

New IDs sample:

Old IDs sample:

0b17d4caded0ef4fdf21e2fc8312c9dd
148f9e4c2fc749bf7c6cb4eb7593fc9a
1be5a355c545e7eefbe8ad0b26a9d0fa
1e974f0b6f9322e24b735df642f35fe6
25325c00c1bc01a921377d8334a78b9b
2d6dc92619e74bdbc59e1b5d309c370e
2e43490d5808895b503944bed85fdd39
34f2acb080ca81d54a75131dbc2fe98b
59b13181ff1715b7d2b48edf8b022a45
5a1a751c5950e89f9eddc837698ae978

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México : https://doi.org/10.15468/gsxa6d.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México:

Crawler attempt: 324
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1410
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1382 total records; 1382 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3741100/step

New IDs sample:

Old IDs sample:

0b17d4caded0ef4fdf21e2fc8312c9dd
148f9e4c2fc749bf7c6cb4eb7593fc9a
1be5a355c545e7eefbe8ad0b26a9d0fa
1e974f0b6f9322e24b735df642f35fe6
25325c00c1bc01a921377d8334a78b9b
2d6dc92619e74bdbc59e1b5d309c370e
2e43490d5808895b503944bed85fdd39
34f2acb080ca81d54a75131dbc2fe98b
59b13181ff1715b7d2b48edf8b022a45
5a1a751c5950e89f9eddc837698ae978

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México : https://doi.org/10.15468/gsxa6d.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México:

Crawler attempt: 326
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1410
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1382 total records; 1382 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3741720/step

New IDs sample:

Old IDs sample:

0b17d4caded0ef4fdf21e2fc8312c9dd
148f9e4c2fc749bf7c6cb4eb7593fc9a
1be5a355c545e7eefbe8ad0b26a9d0fa
1e974f0b6f9322e24b735df642f35fe6
25325c00c1bc01a921377d8334a78b9b
2d6dc92619e74bdbc59e1b5d309c370e
2e43490d5808895b503944bed85fdd39
34f2acb080ca81d54a75131dbc2fe98b
59b13181ff1715b7d2b48edf8b022a45
5a1a751c5950e89f9eddc837698ae978

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Inventario herpetofaunístico de la reserva de la biosfera La Sepultura, Chiapas, México : https://doi.org/10.15468/gsxa6d.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Menu items ellipsis

Fixes #4585
Changes proposed in this pull request:
Add ellipsis to menu items which open a dialog, separate tab, or window that prompts the user for additional information or to make a choice.

Affected Menus

All Column Menu
Single Column Menu
Export Menu
Extensions: Wikidata Menu

For Hebrew (he) and Arabic (ar), the ellipsis is prepended rather than appended.

Technical Notes:

Ellipsis is added using Unicode char for ellipsis … rather than adding ASCII/UTF-8 3 dots "..."
Ellipsis is added to the label in the i18n JSON files, instead of the code.  There were some places in the code that added "..." to the localized string; Those have been removed since the ellipsis is now in the label.
Observation: Some of the translations aren't complete, so sometimes the number of lines changed is different in each JSON file.

I wasn't sure about the export actions.  In my Brave browser on Windows 10, I get a download dialog prompting for a filename. After you commented, I tried Chrome, Firefox, and Edge and those browsers immediately download the file with the default name e.g. birds-csv.csv.  Since clicking the options to export and download does so without further input in most browsers, the ellipsis is not necessary.
Ellipsis have been removed for the following actions:
OpenRefine project archive to file...
Tab-separated value...
Comma-separated value...
HTML table...
Excel (.xls)..
Excel 2007+ (.xlsx)...
ODF spreadsheet...


🐛 cli version 1.7.2 init config file schema does not exist

Environment information
CLI:
  Version:                      1.7.2
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.8.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "bun/1.1.5"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?
After following the initial steps for installing Biome in my project from the documentation and running bunx @biomejs/biome init the biome.json file was initialized with:
{
	"$schema": "https://biomejs.dev/schemas/1.7.2/schema.json",
	"organizeImports": {
		"enabled": true
	},
	"linter": {
		"enabled": true,
		"rules": {
			"recommended": true
		}
	}
}

However, the schema url is not working, leading to a 404 error https://biomejs.dev/schemas/1.7.2/schema.json
Expected result
The schema json file should be available
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Same on my end, changing the schema url to v1.7.1 solve the issue for now


The invoked member is not supported in a dynamic module

I love the app-metrics library.  I'm trying to get it going in a Blazor webassembly application using the current preview 3.2 preview 4.  I realize I'm asking a lot since blazor webassembly is still in preview.
When I create a new metrics class, it immediately explodes with the error "The invoked member is not supported in a dynamics module".   I don't know where to go from here.
Here's my code that explodes.  Any help or ideas would be appreciated.
var metrics = AppMetrics.CreateDefaultBuilder().Build();

Glad you like it. Unfortunately I don't have any experience with Blazor and don't have time at the moment to investigate this


Update ParaSpell to v5.2.1

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

(please remove design and QA checks below if not needed)
Needs Design check

Needs QA check

Context
This PR features the latest version of the ParaSpell package. In the latest version, we introduced fully custom multilocation support as well as custom fee asset selection. The next version will include the assetClaim function that will allow users to recover assets they lost during issues with XCM. We will contact the Kodadot team about the implementation then.

[ ] Closes #<issue_number>
[ ] Requires deployment <worker/stick/speck>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[ ] I've tested it at </ahp/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[ ] Fill up your DOT address: Payout

Community participation

[x] Are you at Koda Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

https://assethub-kusama.subscan.io/tx/0x804923000187d66367f2db0afedfba1ea90f6337a73b9b9e00a257844427a936
https://kusama.subscan.io/tx/0xac0fabd2dc44a0107b883dd7c51b09b438fa9c3570515200ab5149820af66b2e
https://polkadot.subscan.io/tx/0x73ee366df5b55d6d1cb5a9c9779e2c69a6bdf3ac2e6555dceb60c5ea17ff823c
https://assethub-polkadot.subscan.io/tx/0x780989076bb644cf7cee61dd67d1b9873e6872c0a696757298f3f7d0c2fdfe18

Thanks @dudo50


Changing conversion of CLI option to output nearest GB rather than MB

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   24.43%   24.43%
=======================================
  Files          35       35
  Lines        1723     1723
  Branches      188      188
=======================================
  Hits          421      421
  Misses       1279     1279
  Partials       23       23

Impacted Files
Coverage Δ

lib/python/treadmill_aws/cli/__init__.py
67.7% <0%> (ø)
: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 ef833c7...11056aa. Read the comment docs.


deployed crawl4AI tool not working - exception=AttributeError('copy is not supported.')>

Hi everyone,
I've made a custom scraping tool which incorporates craw4AI and use it in a crew of agents (crewAI). The crew runs perfectly locally and the custom_tool.py scrapes efficiently. However, when deploying the crew in the crewai+ enterprise platform, the tool does not work properly and not return scraped data at all.
The respective agent's output is:
"Unfortunately, I encountered persistent issues when attempting to use the Crawl4AI Crawler tool on all provided competitor URLs. As a result, I was unable to scrape the pricing plan data…" which means that the 'custom_tool.py' does not work as it is supposed to.
From the enterprise logs, all I can get is:
future: <Task finished name='Task-402' coro=<Connection.run() done, defined at /usr/local/lib/python3.12/site-packages/playwright/_impl/_connection.py:272> exception=AttributeError('`copy` is not supported.')>

File "/usr/local/lib/python3.12/site-packages/crewai/tools/tool_usage.py", line 168, in _use

After trying to resolve it with the help of windsurf/cursor, their suggestions rely on this:
The error you're encountering on the CrewAI+ enterprise platform appears to be related to a serialization issue with the Playwright browser instance. The error AttributeError('copy' is not supported.') suggests that there's a problem with copying or serializing the browser state, which is likely happening because the enterprise platform handles processes differently than your local environment.
Could someone more experienced with similar issues  help?
As always, @unclecode I'd appreciate your help on that.

Hi @makispl , the issue you are seeing is related to how the enterprise platform tries to serialize the browser or page objects from Playwright. These objects cannot be copied or pickled. This usually occurs if the scraping logic or Crawl4AI usage crosses process boundaries. To fix it, keep all Crawl4AI usage and the scraping process within the same agent or process. Instead of returning browser objects or passing them around, just return the final scraped results as plain data. Adjusting your code in this way should prevent the serialization attempts that cause the error. I have not tried to use this with CrewAI, and to be honest, I haven't used CrewAI at all, so I'm not very familiar with it. Therefore, it's difficult for me to engage with this unless someone, like yourself, can work on it. I can help you somehow; if we can fix it, we could create a wrapper and make it available for people who want to use Crawl4AI in the CrewAI library.

Thanks for the reply, @unclecode!
I implemented your suggestions (with some help from the windsurf/cascade), approaching the issue like this:

Kept the scraping logic entirely within the async_run method.

Returned the final result as a JSON string immediately after scraping.

Ensured no Playwright objects are passed outside the method.

However, the issue still persists. Could you please take a look at the script I just emailed you (cannot attach .py here)?
Your help is invaluable! Once we fix this, it could pave the way for effective scraping for many CrewAI users—a wrapper would be a piece of cake! 🍰

@makispl I can see now. Okay, sure. I will check the email. To speed it up a little bit, please attach the file contains entire of required code to test and send it to my email. If it's not, please create a file and put everything in it so that I can open it in my VS Code and run it. Then I will see what I can do. If there are any requirements that must be installed, please create a requirements.txt file. see how it goes.

@unclecode in order to verify if it works in the crewai platform, each time I modify the script, I then have to deploy it there (crewai platform) and by using its API (via my app) I check if data is scraped or not. I don't have any access to the platform's log files, except for the following snippet crewai team shared with me:
future: <Task finished name='Task-402' coro=<Connection.run() done, defined at /usr/local/lib/python3.12/site-packages/playwright/_impl/_connection.py:272> exception=AttributeError('`copy` is not supported.')>

File "/usr/local/lib/python3.12/site-packages/crewai/tools/tool_usage.py", line 168, in _use

So, running the tool locally (as is) it works well. This is why I wanted your experienced view on that, in order you check things that might be responsible for this bad  behaviour (serialization, usage that crosses process boundaries etc). That said, if you want to check locally the custom_tool.py I emailed you, you can either:

Check it directly like:

from dotenv import load_dotenv
from custom_tool import Crawl4AITool

def main():
    # Load environment variables from .env file
    load_dotenv()

    # Create an instance of the competitor detection tool
    scraper_tool = Crawl4AITool()

    # Test URL
    test_url = "https://www.schedulethreads.com/pricing"

    try:
        # Run the competitor detection
        result = scraper_tool._run(test_url)
        print("\nTiers' Scraping Results:")
        print(result)
    except Exception as e:
        print(f"Error occurred: {str(e)}")

if __name__ == "__main__":
    main()

Check it along with the whole crew of agents (crewai), by installing crewai etc. I don't think it would be useful to do so, as I have already checked that and the tool runs also well within the crewai framework, but locally. In addition, I confirm that the tool is always used within only one agent.

Please let me know if can provide you with any additional information.

@makispl I will try to run this locally. If I can't, I will let you know. If I can, I will start fresh, open a CrewAI project, and use Crawl4ai as a custom tool. Perhaps this will help me better take over the issue.

Exactly! But please keep in mind that most probably the custom tool will run perfectly with crewai locally and supposedly you won’t see any issues. Those issues only appear when the crew is deployed in the crewAI platform.

@makispl Such a challenge haha, ok we will see


Create another offer if one gets taken

See details in commit messages.

I like this change but it might be controversial so please gather some more approvals before merging :)

no worries! will wait till Monday, where I'll mention it on the daily.
For other reviewers, a short summary:

this change adjusts the mechanism of creating the offers in the maker
instead of manually creating "each" offer, we essentially send a feed of latest parameters from which offers are constructed
this change is a preparation for the plan of sending price_long as one more parameter (a price for the offers where makers goes long), which will allow for simultaneous creation of offers "the other way".
as a side effect, we'll be able to pump more offers with the params we want more quickly 😃

I think this goes back on ADR003. Can you please draft a short ADR that explains your reasoning?

I think this goes back on ADR003. Can you please draft a short ADR that explains your reasoning?

I had a re-read of ADR003 and I don't think it goes against it. The same amount of control of the business logic will be available (including stopping new orders from happening, when I introduce Option<Price> shortly). is there a specific part that raises your concerns?

I think this goes back on ADR003. Can you please draft a short ADR that explains your reasoning?

I had a re-read of ADR003 and I don't think it goes against it. The same amount of control of the business logic will be available (including stopping new orders from happening, when I introduce Option<Price> shortly). is there a specific part that raises your concerns?
edit: perhaps more broadly, I understand this change like a difference in "ergonomics" of using the API, not as a change of the business logic. exactly the same strategies are available to whoever operates the maker.

The decision logic for sending out an offer changes. Previously it was "every time a new offer gets created on the API" and now it is "every time an offer gets taken". It doesn't contract the original ADR but what we are doing now was not the original idea so I think it is worth clarifying that. It is not a big decision but it would be good to record it.
It is also a learning for the future in how such a system should/could be designed.

I think this goes back on ADR003. Can you please draft a short ADR that explains your reasoning?

I had a re-read of ADR003 and I don't think it goes against it. The same amount of control of the business logic will be available (including stopping new orders from happening, when I introduce Option<Price> shortly). is there a specific part that raises your concerns?
edit: perhaps more broadly, I understand this change like a difference in "ergonomics" of using the API, not as a change of the business logic. exactly the same strategies are available to whoever operates the maker.

The decision logic for sending out an offer changes. Previously it was "every time a new offer gets created on the API" and now it is "every time an offer gets taken". It doesn't contract the original ADR but what we are doing now was not the original idea so I think it is worth clarifying that. It is not a big decision but it would be good to record it.
It is also a learning for the future in how such a system should/could be designed.

I take your point in a valuable learning opportunity. I've drafted a quick ADR here:
https://github.com/itchysats/architecture/pull/14
Will merge this in the meantime as I consider that I got enough buy-in to try this approach (that will unblock taker going short too).

bors r+


Post details - in production, the back and share buttons are not hidden when scrolling

True, this was happening in the previous production. Replaced it and it only needs some testing right now.


Add Icons to options on Navbar in home page

Description
Hello, my name is A.A.D.Sailaja. I am a Tech Enthusiastic and i'm looking forward to contribute in open source projects. Here in this project i would like to add icons to options in home page it will make our website to look attractive
Can you please assign me this issue under gssoc'24 @Durgesh-Vaigandla
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.
[X] I want to work on this issue.

Code of Conduct

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

@sailaja-adapa Already Done
We didn't added that to the main cause didn't fit there.


Load only the languages that are mostly translated automatically

We could set a threshold to maybe 85-90%

Use CrowdIn API to fetch those on runtime and populate the language picker box?


Sign In Failure for Azure Resources Sign In

Issue: Network Failure error occurs when trying to Sign In with the Azure Resource Groups extension latest version (0.9.1).
Details: The interactive login does pop up and allows me to authenticate with my username/password and MFA and looks successful on the browser. But in VS Code it loads for a long time and eventually ends with a Network Failure. Proxy seems to work for everything else (ie AZ CLI). Our network engineer said the only thing getting dropped from the proxy perspective due to bad SSL handshake is default.exp-tas.com. The domain itself is permitted, it's just a bad handshake. All other parts of the transaction seem to go through so doesn't appear to be a problem on the corporate side.
Workaround: Currently using v0.7.1 which uses the "Azure Account" extension. But this extension will be deprecated soon.
Attempts at Solutioning: Turned all extensions (including the Microsoft Auth provider built-in extension) off and on. Deleted Azure Account Extension. Reinstalled all extensions. Turned off VS Code telemetry setting. Changed proxy env variable. Used both the Sign In command and the GUI.
Please advise.

Have you set any proxy related settings in VS Code?

My other request is that you share the Microsoft Authentication extension logs (on trace or debug log level) with us.
Set the log level with the "Developer: Set Log Level..." command.

Then view the logs using the "Developer: Show Logs..." command and selecting "Microsoft Authentication".

alexweininger The proxy setting is blank and so are the relevant env variables.
I set the log level to Debug but it's still only providing info level:
[info] [email https://management.core.windows.net/.default offline_access openid profile] Got 0 sessions for undefined
[error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
[error] [email https://management.core.windows.net/.default offline_access openid profile] Error exchanging code for token: Error: Network failure
[error] [email https://management.core.windows.net/.default offline_access openid profile] Error creating session: Error: Network failure

Any more logs if you set the log level to trace?
Also by not setting the proxy settings and proxy env variables I'm assuming that means the proxy (corporate?) was disabled, is that correct?

From my side I'm not sure what else would affect the proxy settings. For AZCLI and the Azure Account extension, the results are very consistent. Without the proxy setting and without any HTTP_PROXY env variable both logins work. Logs remain exactly the same for the Microsoft Authenticator no matter which combination of proxy settings I use (see below).
logs with trace:
[info] [email https://management.core.windows.net/ .default offline_access openid profile] Got 0 sessions for undefined
[trace] No pending tokens to store
[trace] [email https://management.core.windows.net/ .default offline_access openid profile] Queued creating session
[trace] [email https://management.core.windows.net/ .default offline_access openid profile] Starting login flow with local server
[trace] [email https://management.core.windows.net/ .default offline_access openid profile] Exchanging login code for session
[trace] No pending tokens to store
[trace] No pending tokens to store
[error] [email https://management.core.windows.net/ .default offline_access openid profile] Fetching token failed: fetch failed
[error] [email https://management.core.windows.net/ .default offline_access openid profile] Error exchanging code for token: Error: Network failure
[error] [email https://management.core.windows.net/ .default offline_access openid profile] Error creating session: Error: Network failure
for undefined

Ok, thanks for providing those logs.

For reference, I am experiencing the exact same issue. No proxy settings set, identical output.

I'm unfortunately not able to downgrade to 7.1 due to a dependency loop:
The following extensions contain dependency loops and have been disabled: 'ms-azuretools.vscode-azureappservice', 'ms-azuretools.vscode-azureresourcegroups', 'ms-azuretools.vscode-azurecontainerapps', 'ms-azuretools.vscode-azurefunctions', 'ms-vscode.azure-account', 'ms-azuretools.vscode-azurestaticwebapps', 'ms-azuretools.vscode-azurestorage', 'ms-azuretools.vscode-cosmosdb'

Earliest version I can downgrade to is 8.0, where the error still occurs

I have the same issue with the same scenario.

Could you retry sign in with the following setting enabled?

Hello I am having this same issue with pretty much the same scenario. I tried to use MSAL and it still failed.

@Rodion0 could you provide the information that I requested from the original poster from this comment? https://github.com/microsoft/vscode-azureresourcegroups/issues/899#issuecomment-2317877477

Issue: I am using Azure Resources extension v0.9.4 and I have unable to sign in to azure in order to use the extension.
Details: I have been able to use this for the past week or so with no issue. However yesterday (9/9/24) I noticed that when I went to the Azure Resources tab within vscode, it was hanging for a long time. So I decided to log out. Unfortunately I have been unable to log back in. It allows me to authenticate but once it says I am signed in and can close that window, it hangs for a couple minutes and then says there was a network failure. I am not using any proxy settings.
Attempts at troubleshooting:

Downgrading to 0.9.3
Uninstalling and reinstalling Azure functions and Azure Resources extensions
Turning off http.SystemConnections per this post and reloading
Disabling all extensions and reenabling them
Restarting VSCode
Reloading VSCode
Restarting my computer

Logs:
I set the log level to trace and recorded the logs from Microsoft Authentication.
2024-09-10 15:37:58.254 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 0 sessions
2024-09-10 15:38:00.131 [trace]  for undefined
2024-09-10 15:38:00.131 [info]  for undefined
2024-09-10 15:38:00.131 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 0 sessions
2024-09-10 15:38:02.468 [trace] No pending tokens to store
2024-09-10 15:38:02.486 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Queued creating session
2024-09-10 15:38:02.488 [info]  for undefined
2024-09-10 15:38:02.489 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Starting login flow with local server
2024-09-10 15:38:10.931 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Exchanging login code for session
2024-09-10 15:38:13.922 [trace] No pending tokens to store
2024-09-10 15:38:23.089 [trace] No pending tokens to store
2024-09-10 15:39:05.239 [trace] No pending tokens to store
2024-09-10 15:39:21.889 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-10 15:39:21.890 [error] [email https://management.core.windows.net/.default offline_access openid profile] Error exchanging code for token: Error: Network failure
2024-09-10 15:39:21.890 [error] [email https://management.core.windows.net/.default offline_access openid profile] Error creating session: Error: Network failure

I am also not using any proxy settings
Logs with MSAL:
2024-09-16 16:38:55.657 [info]  for undefined
2024-09-16 16:38:55.658 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 0 sessions
2024-09-16 16:38:56.749 [info]  for undefined
2024-09-16 16:40:34.541 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-16 16:40:34.541 [error] [email https://management.core.windows.net/.default offline_access openid profile] Error exchanging code for token: Error: Network failure
2024-09-16 16:40:34.541 [error] [email https://management.core.windows.net/.default offline_access openid profile] Error creating session: Error: Network failure
2024-09-16 16:40:34.610 [info]  for undefined
2024-09-16 16:40:34.610 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 0 sessions

Ok, the Msal option might be in a newer build of stable VS Code or perhaps insiders. I'm wondering if this issue popped up because of a VS Code update because all of our authentication is built-in and owned by VS Code itself. I know it's a lot of work, but it would help us and the VS Code team if you could confirm that going back to an older version of VS Code fixes the issue.
I would try going to VS Code 1.91.0, two major versions ago.

This would unfortunately not be possible for me

Exactly the same issue. Rolled back to 1.85.2 and it works fine again.

Exactly the same issue with 1.92.2. Rolled back to 1.85.2 and it works fine again. There is clearly a bug in the later version causing Azure Account signin to fail. I'd have thought this issue will be issue to replicate.

Thanks for confirming this. We believe it's related to this change https://github.com/microsoft/vscode/pull/221736 in VS Code and we're hoping to get a fix out in the next stable VS Code release.

Any estimate on when that would be?

Early October, the next stable release of VS Code.

Exactly the same issue with 1.92.2. Rolled back to 1.85.2 and it works fine again. There is clearly a bug in the later version causing Azure Account signin to fail. I'd have thought this issue will be issue to replicate.

Thankss :). This solved my problem... that i was having for the past three months!!

@alexweininger I'm unable to roll back to an earlier version of vs code but looks like this will be fixed soon. Looking forward to hearing when the fix is pushed/when the new update is pushed. Thank you for the help.

@rosh2020 you can download it here https://code.visualstudio.com/updates/v1_85. Also make sure to update your vscode settings to disable auto update, so that you won't update it to the latest one after you close your 1.85.2 version of vscode.
To turn off the auto update:

change it to none

I also cannot roll back to 1.85

It's weird because I can log in with the Azure Accounts but not with this extension

This prevents Azure Machine learning VSCode Extension from working and Azure Functions from deploying. Please fix this

This prevents Azure Machine learning VSCode Extension from working and Azure Functions from deploying. Please fix this

@hmrc87 could you file a separate issue and provide details about your setup. Please include logs from the Azure Resources extension. There are many variables at play that can cause sign in failures so I want to make sure we can address your issue.
See https://github.com/microsoft/vscode-azureresourcegroups/issues/899#issuecomment-2317877477 for how to get logs.

@Rodion0 the new version of VS Code has been released with the fix. Is it working now for you?

@alexweininger I'm also still not able to access resources. Here are my logs for microsoft authentication:
2024-11-13 10:08:08.262 [debug] Acquired MSAL enablement value from default. Value: false
2024-11-13 10:08:08.262 [trace] Reading sessions from secret storage...
2024-11-13 10:08:08.271 [trace] Got 2 stored sessions
2024-11-13 10:08:08.271 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Read stored session
2024-11-13 10:08:08.271 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Queued refreshing token
2024-11-13 10:08:08.274 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Read stored session
2024-11-13 10:08:08.274 [trace] [ email https://management.core.windows.net/.default offline_access openid profile] Queued refreshing token
2024-11-13 10:08:08.275 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Refreshing token
2024-11-13 10:08:08.275 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Refreshing token
2024-11-13 10:09:18.627 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-11-13 10:09:18.628 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Setting refresh timeout for 1800000 milliseconds
2024-11-13 10:09:18.629 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-11-13 10:09:18.629 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Setting refresh timeout for 1800000 milliseconds
2024-11-13 10:09:18.670 [info] Getting sessions for all scopes...
2024-11-13 10:09:18.670 [info] Got 2 sessions for all scopes...
2024-11-13 10:09:18.670 [info] Getting sessions for all scopes...
2024-11-13 10:09:18.670 [info] Got 2 sessions for all scopes...
2024-11-13 10:09:18.672 [trace]  for undefined
2024-11-13 10:09:18.673 [info]  for undefined
2024-11-13 10:09:18.673 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-11-13 10:09:18.673 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Token expired or unavailable, trying refresh
2024-11-13 10:09:18.673 [trace] [email https://management.core.windows.net/.default offline_access openid profile] Queued refreshing token
2024-11-13 10:14:50.303 [trace] No pending tokens to store

@alexweininger It is still not working for me even with the update, same errors.

@rosh2020, @keanughorbanian-sb could enable the microsoft.useMsal setting and try again?

Ok, then that's working as intended I think. Basically we have to sign in to a general endpoint then list your tenants. And if we can't automatically sign in to your tenants we need to ask you to sign in again. Glad you got it working

OH MY GOD I AM BLIND. I had to click on the actual text "Sign in to directory" which does not look like a button at all in order for it to work.

Maybe it's possible to style it as a blue button like the first Sign-In Button, that would help for sure!

Do you have a screenshot of this? I don't think the Azure Resources extension has a blue sign in button? For me it shows

Regarding directory or tenant: Just use both :)
"Sign in to Tenant (Directory)"
Regarding the button: after signing out and signing in again I did not have to choose the directory again. I think adding the same Icon next to the "Sing in to directory"-text as the "Sign in to Azure..." text should do the trick for the blind-eyed people like me and @rosh2020  :)

Thanks. That's helpful feedback. I'm experimenting with this too:

Regarding the button: after signing out and signing in again I did not have to choose the directory again.

Yeah, once signed in to a tenant in the browser it will automatically grant access next time unless you sign out everywhere and close the browser, etc. No worries.

@hmrc87 thanks to your feedback, I have a PR up to improve the experience: https://github.com/microsoft/vscode-azureresourcegroups/pull/962


 I'll try that one separately.

retain don't need to have B::Ref: ReallocRef<Error = crate::Never>, if we use previous implementation from standard library.
https://github.com/rust-lang/rust/blob/a67749ae87b1c873ed09fca2a204beff2fe5e7ea/src/liballoc/vec.rs#L808-L828

Thanks, looks good so far!
Do you want to add a # Panics section on the infallible methods, where a fallible version was added?


Remove imports to deprecated modules

Functionality like dispatch,io,utils,graph has moved to the merlin-core package.
This change fixes imports to use the merlin-core packages directly, instead of
the API compatability stubs included here

Its a nice to have - there are a bunch of warnings being thrown in the notebooks etc, and this will help clean them up


Update the structure of CYA page

@arthurashman I made a start on this but I now need your help to make this content dynamic

@carolinapizatto @oliverweighell  This is good to go if you want to double check and merge


Reorder sidebar

reorder sidebar for 1.0 release

Related Issues

Fixes #1726
Closes #...
Resolves #...

Additional Context

@burnash merge conflicts are resolved, the one thing we def need to look into is the addition of  'walkthroughs/create-new-destination' to the destinations page - i'm not sure it should stay there in that format, we should prob rename it somehow


Export: shadeless materials from "Import Images as Planes" not recognized as shadeless

The "Import Images as Planes" addon (ships with Blender, but disabled by default) has a "Shadeless" option. It creates a node graph like this

The IAP_SHADELESS group does some stuff with the lightpath, like the lightpath trick the glTF importer creates but probably more comprehensive.
The exporter cannot currently recognize this node setup, see Import image to plane not exported in GLTF.
It would be nice to enhance the unlit detection code so it plays nice with another default addon.
I think this patch will do it if you want to do it.

Patch
diff --git a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py
index 625b23dd..3dbd9048 100644
--- a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py
+++ b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py
@@ -44,7 +44,7 @@ def detect_shadeless_material(blender_material, export_settings):
         return None

     # Be careful not to misidentify a lightpath trick as mix-alpha.
-    result = __detect_lightpath_trick(socket)
+    result = __detect_shadeless_hint(socket)
     if result is not None:
         socket = result['next_socket']
     else:
@@ -53,7 +53,7 @@ def detect_shadeless_material(blender_material, export_settings):
             socket = result['next_socket']
             info['alpha_socket'] = result['alpha_socket']

-        result = __detect_lightpath_trick(socket)
+        result = __detect_shadeless_hint(socket)
         if result is not None:
             socket = result['next_socket']

@@ -87,6 +87,30 @@ def __detect_mix_alpha(socket):
     }

+def __detect_shadeless_hint(socket):
+    # Detect something that hints this is a "shadeless" material.
+    return __detect_iap_shadeless(socket) or __detect_lightpath_trick(socket)
+
+
+def __detect_iap_shadeless(socket):
+    # Detects the group node "Import Images as Planes" uses for "Shadeless"
+    # materials.
+    #
+    #   next_socket => [ IAP_SHADELESS ] => socket
+    #
+    # Returns None if not detected. Otherwise, a dict containing next_socket.
+    prev = gltf2_blender_get.previous_node(socket)
+    is_iap_shadeless = (
+        prev and
+        prev.type == 'GROUP' and
+        prev.node_tree and
+        prev.node_tree.name == 'IAP_SHADELESS' and
+        'Color' in prev.inputs
+    )
+    if not is_iap_shadeless: return None
+    return {'next_socket': prev.inputs['Color']}
+
+
 def __detect_lightpath_trick(socket):
     # Detects this (used to prevent casting light on other objects) See ex.
     # https://blender.stackexchange.com/a/21535/88681

The importer could also use the IAP_SHADELESS group instead of the lightpath trick...

I'm in favor of the exporter doing this, with the patch shown above.  I'm not so sure that the importer should piggyback IAP_SHADELESS though, I'd rather keep the lightpath as the import strategy.


[Bug]

Describe the bug
In IOS Macbook Pro running Sierra, running the  addon-styling-webpack and selecting Less in the configuration results in error immediately upon completion of all the scripts.
All of the default Storybook components (button, header, page) have the same error (below).
Changed button.css to button.less and restarted storybook but problem persists.
ERROR in ./src/stories/page.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[5].use[2]!./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[9].use[1]!./src/stories/page.css)
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
SyntaxError

(2:7) /Users/deborah/Desktop/ufw/ufw-v6 2023/dev/ufw/src/stories/page.css Unknown word

  1 |
> 2 |       import API from "!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js";
    |       ^
  3 |       import domAPI from "!../../node_modules/style-loader/dist/runtime/styleDomAPI.js";
  4 |       import insertFn from "!../../node_modules/style-loader/dist/runtime/insertBySelector.js";
 @ ./src/stories/page.css 8:6-335 22:17-24 26:7-21 52:25-39 53:36-47 53:50-64 57:6-67:7 58:54-65 58:68-82 64:42-53 64:56-70 66:21-28 77:0-305 77:0-305 78:22-29 78:33-47 78:50-64 55:4-68:5
 @ ./src/stories/Page.jsx 7:0-20
 @ ./src/stories/Page.stories.js 4:0-30 7:13-17
 @ ./src/ lazy ^\.\/.*$ include: (?:\/src(?:\/(?%21\.)(?:(?:(?%21(?:^%7C\/)\.).)*?)\/%7C\/%7C$)(?%21\.)(?=.)[^/]*?\.stories\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$ chunkName: [request] namespace object ./stories/Page.stories.js ./stories/Page.stories
 @ ./storybook-stories.js 25:11-29:5
 @ ./storybook-config-entry.js 8:0-50 27:21-29 30:2-33:4 30:58-33:3 32:31-39

preview compiled with 3 errors
=> Failed to build the preview
99% end closing watch compilationWARN Force closed preview build
SB_BUILDER-WEBPACK5_0003 (WebpackCompilationError): There were problems when compiling your code with Webpack.
Run Storybook with --debug-webpack for more information.
    at starter (./node_modules/@storybook/builder-webpack5/dist/index.js:1:9660)
    at starter.next (<anonymous>)
    at Module.start (./node_modules/@storybook/builder-webpack5/dist/index.js:1:11692)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

WARN Broken build, fix the error above.
WARN You may need to refresh the browser.

Hi @deborah-ufw 👋
This webpack error means that Less has been double configured. Can you share your main.js file with me please?

hi Integrayshaun! Thank you for responding so soon! As I went through my dev setup, I realized I selected a wrong configuration at the beginning and started over. Everything works great now and the addon styling webpack is very helpful and works great. :) Many thanks and Happy New Year!!

That's great to hear, @deborah-ufw 🎉
Happy new year to you as well! Have a wonderful week!


local setup not works

Hi,
Thanks for your awesome job.
I want to setup and look around but predefined steps (Getting Started Locally) produce lots of errors. I'm using usergrid-vagrant with default values.
Could you please explain how can I manage to install it locally?

Sorry to be the bearer of bad news, but this hasn't been touched in 3 years... things have apparently broken in the mean time - and this was never made fully production-ready in the first place. If you want to pursue this project, I'm afraid you'll be digging in pretty much on your own.

Yes, I saw that! Thanks..


fix!: rename common.cattle.* to global.cattle.*

Description
Updates the global configuration values used by all the charts from common.cattle.* to global.cattle.* to follow the Rancher standards.
Fix #241

LGTM, but can you take a look at the failing e2e test please?

LGTM, but can you take a look at the failing e2e test please?

It looks like a CI runner problem (time out issue). I've restart the job. Let's see if it passes now.


Ios issue : not work on ios

Not work on ios simulator even thumbline not appear

today i will fix all issues , try it at night and will fixed god willing


Unable to Start UI Server with "bun run dev" Command

Problem:
When attempting to run the UI server using bun run dev, the server does not start up as expected. However, using npm run dev works as intended.
Steps to Reproduce:
Navigate to the ui/ directory.
Execute npm run dev.
Expected Behavior:
The UI server should start up and be accessible.
Actual Behavior:
The UI server fails to start up, and no errors or output are provided.
Notes:
The npm run dev command utilizes a different approach to start the server compared to bun run dev. Investigating the differences in how these commands are configured may provide insights into the issue.
Ensure that all necessary dependencies are installed and up to date before attempting to run the server with npm run dev.
Check for any error messages or logs that might indicate why npm run dev is failing to start the server.

Which platform do you uwwse? ( windows , linux or macos )

Install WSL and run it on ubuntu.

mac works well follow the Readme

Which platform do you use? ( windows , linux or macos )

LINUX

Create a virtual environment using Conda Env with Python version 3.11, and then install all requirements.

Create a virtual environment using Conda Create with Python version 3.11, and then install all requirements.

OK


ServiceFabricDeployTask Error -1073741819 : Deploy to Linux Cluster w/Certificate Security setup

I'm using VSTS on VisualStudio.com to deploy a service fabric app to 2 clusters running on Azure.  One cluster is setup as unsecured, the other is setup as secured by certificate.  Both are configured as Linux clusters.
Using the unsecured cluster, I have no problem deploying the Application.  Using the secured cluster, I get error code -1073741819.
For the Secure Cluster, I am using a CA Signed certificate, since my first thought was that a self-signed cert was the issue.  I received the same error on the CA cert as the self-signed cert.  I have no issues connecting to the Explorer endpoint on the cluster using "https://mydomain.com:19080/Explorer" after I install the certificate as a personal key.
From what I can tell, the secure cluster service endpoint has the correct certificate, password, etc.  They are the same ones I am using if I manually connect to the cluster.  I used the powershell command in the info popup to populate the base64 encoded certificate, the password is correct (I verified several times), the thumbprint is also correct.  The endpoint is set to "tcp://mydomain.com:19000".
I've included a the relevant portion of the log as an attachment, this was with System.Debug=true.
SecureDeployFailure.txt

Can you share the command that you used (for the self-signed cert deploy)?  were you able to connect to the cluster using CLI?

And as of now, you cannot connect to  a secure linux cluster with PS if that's what you are doing. We're working on a fix for that. You'll have to use Azure CLI to connect to secure LInux clusters.

@mani-ramaswamy is there a doc which specifies why secure linux clsuter is not supported in PowerShell? I don't think we can do much in the task if PS itself does not support connecting to secure linux cluster.

Closing this as it is by design.

So, in the end, you're telling me via a VSTS Release, using the deployment tools provided, I cannot deploy a secure linux cluster and this is by design?

@FBNitro By design as in - we have not build the feature yet..

Any updates when will this be available? Any time soon?


the line of \left\vert is disconnected

\dfrac{\left\vert\dfrac{12\sqrt{3+211}}{a}\right|}{1}

How can we solve this problem?

Well, that's annoying. I'll turn in a PR that removes a .toFixed(3) from the code. That rounding changes the width of an SVG by a minute amount. It might be enough for a browser to occasionally misplace the SVG.

@lesonli The latest version of KaTeX makes some changes to this behavior. Can you confirm whether you're still seeing an issue?

@lesonli The latest version of KaTeX makes some changes to this behavior. Can you confirm whether you're still seeing an issue?

Still has this issue in 0.15.1

Definitely looks like an improvement.  I don't think we have an easy way to do better.
For the specific case, of |, I could imagine doing the whole symbol with one SVG, but I imagine this is pretty different from how LaTeX renders large symbols.

This is still causing issues (recently, #3669).

I could imagine doing the whole symbol with one SVG, but I imagine this is pretty different from how LaTeX renders large symbols.

Seems to me this issue would be resolved if one element was used. I had a play around and offer 2 possible solutions, which have the added benefit of reducing the number of DOM elements should one or other be implemented.
The first suggestion is to render it with a single SVG (as @edemaine mentioned), and the second is to draw a border. (I'm just tinkering with clones of the KaTeX output.)
https://bourne2learn.com/math/katex/large-absolute-values-signs-proposal.php
Screenshot of the extended SVG approach:

I still feel at times pure LaTeX approaches don't make sense in HTML. My guess is 99% of users just want it to look right, and don't care if if fails LaTeX purity tests, as long as it is valid HTML.

I'm also seeing this. It definitely seems to depend on the specifics how browsers render fonts.
Safari
Regular:

Zoomed:

Brave
Regular:

Zoomed:

Brave is definitely better but neither is perfect. I think a single SVG would solves and seems like the "correct" solution (one line, one element).

The linked PR appears to fix the cases described here (thanks for the fix!), but there are still cases (arrows) which see the same issues. From the test expectations:

(Source)


[doc] Added information about using sharp with electron forge + vite.

Slight titles and format changes in electron section.

I stumbled upon common issue with using sharp + electron. In my case it was electron forge + vite.
After searching for an answer for some time I discovered the resolution.
I think it would be nice for electron users to know how they can avoid common errors via new option configuration.

I recently encountered the same problem. I tried many methods but ended up having to downgrade the version of Sharp and modify the path of the .node file introduced in the Sharp source code. Only then could I get the program to run properly. Later, I was surprised to find your submission. I tried to modify it according to your method, but it still didn't work. It's possible that there's an issue with my approach. Below is my configuration code.
package.json:

electron-builder.json5:

vite.config.ts

error message：

@guanzhongxu my addition is to electron forge + vite. You are using electron builder.
In your situation (I checked your repro repo), please add vite rollup config into the electron.main.vite config, like this:
export default defineConfig({
	optimizeDeps: {
		exclude: ["sharp"]
	},
	plugins: [
		common({}),
		vue(),
		Components({
			resolvers: [NaiveUiResolver()]
		}),
		AutoImport({
			imports: [
				"vue",
				"vue-router",
				{
					"naive-ui": ["useDialog", "useMessage", "useNotification", "useLoadingBar"]
				}
			],
			dts: "./src/autoImport.d.ts"
		}),
		electron({
			main: {
				entry: "electron/main.ts",
                                // BELOW THE PART YOU NEED
				vite: {
					build: {
						rollupOptions: {
							external: ["sharp"]
						}
					}
				}
			},

Now your project starts with no problems.
I used npm to install dependencies, though. Don't know how it will work with pnpm

I have indeed run it according to your way, thank you very much for your guidance.

Thank you. I've moved this to a generic Vite section as this information will help all of its users, not just those using Electron. Landed as https://github.com/lovell/sharp/commit/fc439bedf1d4bdfc9462031ccf22231008d33e75


stretch complete

I think some .idea/ files got added in here by accident. Can you delete those and just leave the files under pipeline/ ?I think you can remove files from the github UI, so you might not even need to make a new commit

Just deleted them! hopefully it worked.
On Mon, Aug 1, 2022 at 8:27 PM rbrooks6 @.***> wrote:

I think some .idea/ files got added in here by accident. Can you delete
those and just leave the files under pipeline/ ?I think you can remove
files from the github UI, so you might not even need to make a new commit
—
Reply to this email directly, view it on GitHub
https://github.com/scarletstudio/butterfly/pull/363#issuecomment-1201911519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVPOG6UZYD5YZKHYZINV543VXB2QZANCNFSM55JMHZVQ
.
You are receiving this because you authored the thread.

You can go ahead and squash and merge and then close out the related issue! Great job @eeerie !


[Feature request] send and receive via Nostr DMs

Similar to Nutstash and Nutshell

I'm gonna try to work on this one this weekend. Came up with a good outline on the plane last night that I think will work.
Should we automatically redeem DMs that we see? Or should we create a new section specifically for pending cashu tokens that the user manually as to redeem?

I think the redeem should be explicit.  It would be good if the user had a balance of ecash and then an "unredeemed" or "pending" balance with a link to these coins to redeem or send.

We have NWC imported now, this should be fairly easy to add with most work probably being the UI

@ebrakke any chance you'd wanna have a crack at this one again?


[BUG] I get accused of yelling at the student for using the acronym ASCII

Describe the bug
Using "ASCII" anywhere in the regular text triggers "Don't YELL at your students, try bold or italics instead."
To Reproduce
Steps to reproduce the behavior:
Type "ASCII" in a mentor comment box.
Expected behavior
To not see "Don't YELL at your students, try bold or italics instead." with legitimate acronyms. I notice it's not happening with other acronyms like HTML and HTTP, so there's clearly some list of acceptable acronyms somewhere.

HAHAHA, looks like this rule might need to be rethought.

If we change the pattern from XXXXX+ to XXX+ XXX+ are we going to run afoul of any two word common acronyms?

Or, since humans are smarter than computers, perhaps we can capture the thing that triggered the pattern, and determine if we accept the judgement or ignore it?
For instance, if I really do mean to address the student as "you" and they asked me to in some way, but I get a report of it... and then accidentally do so again, as the topic has changed, I would want to see that it triggered a second time, and where.

https://github.com/yyyc514/exercism_plus/commit/2b5f9d6fdde64b2919b1f705a49aa5372c143b9b
This is in master, will be in 0.7 release.  ASCII and POSIX are added as exceptions.


Add item color assertion

Describe your idea
We could theoretically add that the getAttributes(), although, I'd like to take a guess that the RN-side prop doesn't necessarily easily map to the native equivalent (as we've seen in the past).
Nevertheless, this is definitely something we could accept as a feature.

@d4vidi Thank you for your quick answer. How about borderColor attribute? Generally in the css styles we can have a lot of attributes for verification.

If we do this, we are likely to handle everything color-related. That said, CSS and native are inherently different. We will extract what we can, and cannot guarantee that borderColor and such are accessible.

@d4vidi Thank you for your answer. In the future (plans) we will extract all attributes of an element which will appear for it. Am I right?

I don't have an ETA or anything. This issue has even been marked for contribution...

I see you do validation based on attributes, and that's ok. But if you see the need to do validation as in knowing if the color is a valid HTML color at all, you can use validate-color package, currently the most feature-rich HTML color validator in town. 🎨 😊


nodejs-pubsub: add support for filtering

Add an additional field for subscriptions that allows configuring a filter. Filters control what messages are sent to subscribers based on the message attributes.
As an example, if a message filter is the string attributes.event_type = "1", then messages with attributes of event_type=1 will be delivered, while everything else will be filtered out.
There will be more complicated filters to handle prefixes and non-exact matches, but any integration tests can just test the exact match case.
If empty, no messages are filtered out. Filtering can be configured only on subscription creation, not on updates.
Reference implementation in Go will be tracked under https://github.com/googleapis/google-cloud-go/issues/1943

Closing this out in favor of the sample issue.

Took me quite while to find this but filtering is part of protos.google.pubsub.v1.ISubscription which maps to the request  parameter in the createSubscription methods.
https://googleapis.dev/nodejs/pubsub/latest/v1.SubscriberClient.html#createSubscription
await subscription.create({
    filter: 'attributes.kind = "mykind"'
});


issue-35-Prevent_callables_from_using_kwargs

Using kwargs with functional losses via functools.partial prevents tensorflow from saving the model (not picklable). Raise error when kwargs are passed with functional losses.

Addresses issues #35 and #34


Minor Blueprint Issue

It didn't display the filled in website-url in the panel for me. I've tried to change it by renaming the url field to website in blueprints/comment.yml and voilà it was filled in after a reload. Might be a bug?
Dennis

Thank you for catching this mistake! It’s fixed in d550841da68de769c8b543579e16a8ee0841e38d, which is currently on develop and will be part of the next release.


Events always fire 2 times

When i use the Example Code:
watch.createMonitor('/home/mikeal', function (monitor) {
monitor.files['/home/mikeal/.zshrc'] // Stat object for my zshrc.
monitor.on("created", function (f, stat) {
// Handle file changes
})
monitor.on("changed", function (f, curr, prev) {
// Handle new files
})
monitor.on("removed", function (f, stat) {
// Handle removed files
})
}
The Create Events fire 2 times. Any reason why this could happen? I looked into the Code but have no idea.

@secoif u are right. I was working on OSX that day. In the end I used another approach without watch (just an interval with nodes readdir)

This is not an OSX only bug as the behavior occurs on Ubuntu 11.10 install as well. This is due to fs.watchFile on line #56 being deprecated and replaced with fs.watch. I submitted a pull request.

thanks @ignatiusd your work-around worked for me too!

Looks like the work around is acceptable, please open a new issue if you anyone is still experiencing problems.


Revert / Modify PR #104

The solution in PR #104 is not a viable solution for all users (there might be users using dark terminal with light colorscheme or vice-versa, or a different theme with makes the color incoherent.)
Suggestion, add:
if (&background == dark)
    " dark theme color codes
elseif (&background == light)
    " light theme color codes
endif

The only drawback of this is to reload the plugin in order to perform an if check if the user switches the background.

Solved by #120


Better timing management during reception.

Tested with ESP32.

This does not compile
error: base operand of '->' has non-pointer type 'SoftwareSerial'
   90 |             if (sensorSerial->available()) {
      |                             ^~
SerialCom.h:93:55: error: base operand of '->' has non-pointer type 'SoftwareSerial'
   93 |                 serialRxBuf[rxBufIdx++] = sensorSerial->read();
      |                                                       ^~


Feature Request: No Auto-Lock for Opener

I'm using your very nicely working plugin for some time now with my Nuki Opener.
It is to control my garden gate actually, so each push open or closes the portal which is oaky but could be augmented if I could add my Eufy door sensor to the mix.
But then I would need an option in your plugin not to auto lock, so I could set this lock via an HomeKit automation.
In the mean, time thank you very much for this plugin, it works so well  !!!

I’m sorry, I don’t understand your request.  The Nuki Opener only supports an Open action (see the Nuki app), not Unlock and Lock.  It’s exposed to HomeKit as a Lock Mechanisn, because I couldn’t find anything better.  Setting Unlocked translates to Open, but setting Locked does nothing.  The HomeKit state reverts to Locked automatically, so you can set Unlocked again, but that doesn’t lock the opener.

Okay I totally agree with you. What I'm looking at is an option from your plugin which will allow not to revert automatically the HomeKit state as Locked, so I can trigger this locked state by using another HomeKit accessory which is essentially a door sensor (https://us.eufy.com/products/t8900).
The idea is to bring more smart to the Nuki Opener, by using HomeKit, your plugin and this sensor, so this garden gate can be used remotely.

Commit https://github.com/ebaauw/homebridge-nb/commit/1d8cb775d627daf6d377c958991882a399bf39e6 should have linked here.

Could you try beta v1.2.11-0?
This version adds a openerResetTimeout config.json setting to configure the timeout before an Opener reverts to locked.  Set this to 0 to prevent an Opener from reverting altogether.
Note that this setting affects all Openers; I won't be providing a setting per Opener from config.json, as that would mean users finding out the ID of the Opener and copy/pasting that into config.json.

This option looks exactly to what I'm looking for.
I will give it a try as soon as I'm back home during the weekend hopefully.
I'll update this thread with the results.
Thank you for your fast feedback !

Unfortunately, it seems to fail. I configured the openerResetTimeout to 0, but it still unlocks then goes back to lock state.
Here are HomeBridge logs (set at level 3), after a single press on the HomeKit unlock button:
[9/24/2022, 3:24:56 PM] [Nuki] Nuki_Bridge_7F2C7287: set Last Updated from "Sat Sep 24 2022 15:24:46" to "Sat Sep 24 2022 15:24:56"
[9/24/2022, 3:25:02 PM] [Nuki] Portail: Lock Target State changed from 1 to 0
[9/24/2022, 3:25:07 PM] [Nuki] Portail: set Lock Current State from 1 to 0
[9/24/2022, 3:25:08 PM] [Nuki] Nuki_Bridge_7F2C7287: set Last Updated from "Sat Sep 24 2022 15:24:56" to "Sat Sep 24 2022 15:25:08"
[9/24/2022, 3:25:08 PM] [Nuki] Portail: set Lock Current State from 0 to 1
[9/24/2022, 3:25:08 PM] [Nuki] Portail: set Lock Target State from 0 to 1
[9/24/2022, 3:25:08 PM] [Nuki] Portail: set Last Updated from "Sat Sep 24 2022 14:59:24" to "Sat Sep 24 2022 15:25:08"

Here are HomeBridge logs (set at level 3)

There are no debug messages in the log.  Did you run Homebridge in DEBUG mode?  Did you set Log Level on the Nuki Bridge accessory?
Regardless, I think I understand what's happening:

[9/24/2022, 3:25:02 PM] [Nuki] Portail: Lock Target State changed from 1 to 0

You set the Opener to Unlocked from HomeKit.  The openerResetTimeout of 0 does actually work, as the state isn't reset within 500ms.

[9/24/2022, 3:25:07 PM] [Nuki] Portail: set Lock Current State from 1 to 0

Not sure where this comes from, but I suspect the bridge sends a notification when the Opener state changes from opening (7) to open (5).

[9/24/2022, 3:25:08 PM] [Nuki] Nuki_Bridge_7F2C7287: set Last Updated from "Sat Sep 24 2022 15:24:56" to "Sat Sep 24 2022 15:25:08"
[9/24/2022, 3:25:08 PM] [Nuki] Portail: set Lock Current State from 0 to 1
[9/24/2022, 3:25:08 PM] [Nuki] Portail: set Lock Target State from 0 to 1
[9/24/2022, 3:25:08 PM] [Nuki] Portail: set Last Updated from "Sat Sep 24 2022

When Homebridge NB next polls the bridge, it reports the Opener state as online (1), and Homebridge NB updates the HomeKit state accordingly.
  What you want is a stateful lock, where the state is based on the sensor, and state change is handled by the Opener.  This level of automation logic is beyond the scope of Homebridge NB.  As a Homebridge plugin, it simply synchronises the state of the Opener with HomeKit.

I see your point, and I understand that Homebridge NB really syncs Opener status with HomeKit.
And you are totally right on what you say in terms if statefulness I'd like to add to it.
What I can't imagine is that this change is impossible from the side of your plugin.
The idea really is if the HomeKit button status is unlocked, then don't change it, even if Opener reports a different status.
I may be blind, forgetting something important, as a total non expert here, but well if you can make it happen...

What I can't imagine is that this change is impossible from the side of your plugin.

It would be technically feasible to make the change.  I won't be doing so, because it's functionally undesirable to let the scope creep from exposing Nuki devices to implementing home automation logic.
It's open source - you're more than welcome to copy my code, and make your own plugin with the logic you want.

Alright, thank you for your time and explanations anyway. This was much appreciated


NUpload does not limit to one file when not in multiple mode

TuSimple/naive-ui version (版本)
2.15.2
Vue version (Vue 版本)
3.1.4
Browser and its version (浏览器及其版本)
Microsoft Edge Version 91.0.864.59 (64 bits)
System and its version (系统及其版本)
Windows 10 with WSL2
Node version (Node 版本)
Reappearance link (重现链接)
https://github.com/arijs/naiveui-issue-nupload-single-file
Reappearance steps (重现步骤)
Just add <n-upload> with <n-upload-dragger> inside and select multiple files
Expected results (期望的结果)
Only allow to select one file, wether they are selected at the same time or added later
Actual results (实际的结果)
It allows multiple files to be selected, even when using <n-upload :multiple="false">
Remarks (补充说明)

Workaround:
<n-upload
	:file-list="uploadRef"
	@update:file-list="handleUploadRefChange"
>

const uploadRef = ref()

function handleUploadRefChange(fileList) {
	const length = fileList?.length || 0
	if (length > 1) {
		fileList = [fileList[length - 1]]
	}
	uploadRef.value = fileList
}


False positive warnings about signed operands

This gives a warning (this is expected.)
% sudo ./src/bpftrace -e 'BEGIN { $i = 0; if ($i % 3 == 0){ printf("%d\n", $i);} }'
stdin:1:24-25: WARNING: signed operands for '%' can lead to undefined behavior (cast to unsigned to silence warning)
BEGIN { $i = 0; if ($i % 3 == 0){ printf("%d\n", $i);} }
                       ~

Casting suppresses the warning.
% sudo ./src/bpftrace -e 'BEGIN { $i = (uint64)0; if ($i % 3 == 0){ printf("%d\n", $i);} }'
Attaching 1 probe...

However, the following case casting does not work.
sudo ./src/bpftrace -e 'BEGIN { $i = -1; $i = (uint64)0; if ($i % 3 == 0){ printf("%d\n", $i);} }'
stdin:1:41-42: WARNING: signed operands for '%' can lead to undefined behavior (cast to unsigned to silence warning)
BEGIN { $i = -1; $i = (uint64)0; if ($i % 3 == 0){ printf("%d\n", $i);} }
                                        ~

This is because AssignVar only updates the type only when the first assignment.
https://github.com/iovisor/bpftrace/blob/8519550d5f3dca9c21ed822c122630f3afa34dcd/src/ast/semantic_analyser.cpp#L1293-L1295
As commented on https://github.com/iovisor/bpftrace/pull/988#issuecomment-560960934 it's impossible to track accurate type statically in some cases. For example:
% sudo ./src/bpftrace -e 'BEGIN { $i = -1; if(pid) {$i = (uint64)0;} if ($i % 3 == 0){ printf("%d\n", $i);} }'

The workaround is not mixing a signed and unsigned value (obviously.)

This suppresses the warnings and gives the wrong result (sdiv is not supported in bpf).
% sudo ./src/bpftrace -e 'BEGIN { $i = (uint64)0; $i = -4; if ($i % 3 == 0){ printf("%d\n", $i);} }'
Attaching 1 probe...
-4

Another example:
BEGIN
{
  $a = 1;
  $b = 2;
  $c = $a / $b;
}

signedness.bt:5:11-12: WARNING: signed operands for '/' can lead to undefined behavior (cast to unsigned to silence warning)
  $c = $a / $b;
          ~


Fixed #5902 -- Speed up rendering when using placeholders with inherited content

Fixed #5902
TODO:

Update release notes
Update changelog

Coverage remained the same at 82.604% when pulling 91df301f3990d775b608d42160e0938c3d912861 on czpython:fixes/3.4.x/5902 into c330dae6db7bc5585d968126375ca0c5cb58b417 on divio:release/3.4.x.

Coverage remained the same at 82.604% when pulling 8994a391f7053fa20b212fab211b99df042fe84c on czpython:fixes/3.4.x/5902 into c330dae6db7bc5585d968126375ca0c5cb58b417 on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling 90feaf79784b140e75d9e62d8430b8af8ea1e1e5 on czpython:fixes/3.4.x/5902 into 0a34a9a93093a31645b9e68c639d3fe1b8db3b48 on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling a040420705ba0b916d37738282cf5cb4c8bc9c11 on czpython:fixes/3.4.x/5902 into 6fe8ff3682f79243e1186750249bfd3e3f997b4a on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling 980e0227dac83b153a33f43693bcb180df4ad1fa on czpython:fixes/3.4.x/5902 into 57e8a7cae01a30545764c2719c616011d8e3216b on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling 15ef8d3b3d63ba52b4aa1b8da94866e5fad478cc on czpython:fixes/3.4.x/5902 into 829f7e2248873d469bc72cb641387050f2be878f on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling 22b20b4e612e1216d25042e68530883619e2b02e on czpython:fixes/3.4.x/5902 into 366f125b61a8a007c2a524c2cd5eccf4e8f6d8bf on divio:release/3.4.x.

Coverage remained the same at 82.688% when pulling 4f4c16780e53e8940cbc0310bbd8bba2e1e422ee on czpython:fixes/3.4.x/5902 into 895365a9f7c131c47f898baf26ce04b79cba1663 on divio:release/3.4.x.


cedric-mumbo/it-cert-automation-practice

Expected Behavior
Actual Behavior
Steps to Reproduce the Problem

Specifications

Version:
Platform:

fix issues


Implement Lazyloading on the recent files list

What feature or improvement do you think would benefit Files?
When accessing the Home Page, the app eagerly handles the recent files list, causing the following things to happen when the list contains a file on a network share:

quick-access widget waits for file list to load
there are drives missing
drive icons are not shown
drive capacity is not shown
app is unresponsive when starting up files (when home is default page)

Implementing lazy loading of the files list would cut time waiting on application startup, which is critical.
It would also make the app more responsive if navigating via the Home Page.
Yes this does not fix the underlying issue of the handling of network shares, but it would improve the overall situation.
Requirements
This proposal required changing the retrieval of the recent files widget on the home page
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2134
Comments
No response

Thanks for the feedback, I've added this to the project board.

@Likqez thank you for your feedback, recent files don't take very long to load. Regarding the issue with Network drives, we're tracking that in another issue and it's on the ToDo list to fix.


No information on how to add Xamarin to an existing Visual Studio install

The instructions assume a machine having never used Visual Studio before.
[Enter feedback here]

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

ID: c3989ef3-79d0-03b7-6a17-749ee96b9550
Version Independent ID: 3a66757e-649d-6415-ff5e-00d628eb17f6
Content: Install Visual Studio 2019 for Mac - Visual Studio 2019 for Mac
Content Source: mac/installation.md
Product: visual-studio-mac
Technology: vs-ide-install
GitHub Login: @heiligerdankgesang
Microsoft Alias: dominicn

@russellgeraghty -- Russell, it looks like you’re having an issue with installation. If your Visual Studio installation fails, see Troubleshooting Visual Studio installation and upgrade issues for step-by-step guidance.
We also offer a Live Chat (English only) support option for installation-related issues.
Here are a few more support options:

Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.
Use your GitHub account to talk to us and other Visual Studio developers in the Visual Studio conversation in the Gitter community.


Docker image needed, please!!!

I am running Home Assistant Core which does not support addons.
https://www.home-assistant.io/installation/linux#install-home-assistant-core
Have you considered publishing this as a linux/amd64 docker image? Alternately can you please provide the steps to build a docker image and the docker-compose file to run it as a standalone container?
Thanks

Hi, I do not have any plans to publish a standalone Docker image as I am not too familiar with the process. I expect the Dockerfile in this repository could be used to create an image.
Containers running within HomeAssistant get some additional permissions to directly invoke HomeAssistant APIs that are not available to containers running outside of HomeAssistant.

First of all thank you very much for this addon. I think this solution is far better than the default HA guide for an Alexa Skill.
I am currently working on a pull request for running this addon as a container. So far it seams to work even without HAOS.


Consolidate direct deps by root project

At the end of dep init, the rootAnalyzer removes any constraints that are not direct dependencies. If only a subpackage was imported, never the root package from the dependency, then it (incorrectly) removes the constraint for the dependency.  The direct dep was added to the map as a full subpackage, when the constraint is only the root package.
This fixes getDirectDependencies to return only root packages. Now when we lookup constrains in the directdeps map, we are comparing root projects to root projects.

whacks the big red button


Proper support for embedding Kaltura video

Wish list item: how to provide first lass support for embedding content from Kaltura. we use it here: iframe works well enough, but would be nice to make it more seamless. I'd like to encourage Kaltura over uploading files directly. I imagine a number of other users would benefit too. I don't know the editor code well enough to know whether this is easy or hard...!

There's a Drupal project for a CKeditor plugin to do just that - haven't looked that intensely at it though as we dont have Kaltura and i'm note aware of what apis it exposes that could be tapped into or whether we just create an "insert video" button and have code to parse all the common repositories - Youtube, Vimeo, Kaltura etc and get the URL to use in our own player..
https://www.drupal.org/node/2849450
https://www.drupal.org/sandbox/voide/2849204


Claude dropdown menu styles are not being applied properly

On register process when you should choose the county code, the dropdown doesn't have the proper styles applied.

Flagged to the team, thanks!

Flagged to the team, thanks!

You're welcome.


missing pipeline action svg

Pipeline action svg is missing from both optparse and argparse parsers.

Does this go back to https://github.com/CGATOxford/CGATPipelines/blob/v0.1.1/CGATPipelines/Pipeline/Control.py ?


Use CFConfig to set default password

Check out the CFConfig project to set the default password (and pretty much any other config you could want) from the command line without requiring the manual step of logging into the Lucee admin.
box cfconfig set adminPassword=youPassHere

https://www.forgebox.io/view/commandbox-cfconfig

Will be adding this as well


DOC: Add units for SAT similarity features to docstrings

I'm using vocalpy.feature.sat.similarity_features() to compute some features. Do you know where I can find the units for these features?

Hi @ralphpeterson -- sorry I haven't been able to get you an answer sooner.
Here's an initial answer, I will come back and edit this a little more.

Do you know where I can find the units for these features?

Short answer: well, we should probably have them in our docs, or at least the docstrings.
The real source would be the SAP docs (http://soundanalysispro.com/manual/chapter-4-the-song-features-of-sap2) and the original paper describing the method using a similar set of features (https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=77e7e76f1706d6aa73e7dc9464c1817dc978926e). Note, though, that vocalpy implements the features from Sound Analysis Toolbox, that is written in Matlab, and as far as I know does not have any documentation besides this page: http://soundanalysispro.com/matlab-sat
I'll do my best to write down what I can gather from those sources here, for the list of features returned by feature.sat.similarity_features.
amplitude
is in decibels; note that we copy exactly what SAT/SAP do (according to the SAT code and the SAP docs):
The SAP paper describes amplitude as "unitless", although they point out you can convert to decibels given a reference amplitude (http://msp.ucsd.edu/techniques/v0.08/book-html/node6.html). This isn't built into vocalpy though. Basically you take the amplitude value and convert it with amp_dBs = 20 * np.log10(amp / amp_ref) (as in https://dspillustrations.com/pages/posts/misc/decibel-conversion-factor-10-or-factor-20.html)
pitch
we are using the librosa implementation of the YIN algorithm (http://audition.ens.fr/adc/pdf/2002_JASA_YIN.pdf), a good enough approximation of SAT using (IIRC) the original C implementation of YIN that they vendor, or something like that. So, here "pitch" is really fundamental frequency, and as such I think it should be given in Hertz.
goodness of pitch
http://soundanalysispro.com/manual/chapter-4-the-song-features-of-sap2/goodness-of-pitch
The SAP docs say "Units are comparable to amplitude and can be converted to dB by subtracting a baseline and converting to log scale (not implemented in current version)."
SAT is basically taking the max of the cepstrum, in units of quefrencies, which I think should be "seconds", although the way we end up back at seconds is weird if you are doing dimensional analysis, see https://en.wikipedia.org/wiki/Cepstrum#Related_concepts
frequency modulation
See http://soundanalysispro.com/manual/chapter-4-the-song-features-of-sap2/frequency-amplitude-modulation
"FM is the angular component of the squared time and frequency derivatives" ... so I think that means it's in radians.
amplitude modulation
See again http://soundanalysispro.com/manual/chapter-4-the-song-features-of-sap2/frequency-amplitude-modulation
"Units of AM are 1/t"
entropy
The SAP docs say "Wiener entropy is a pure number, , that is, it does not have units"
http://soundanalysispro.com/manual/chapter-4-the-song-features-of-sap2/wiener-entropy
but I see other sources saying you can convert it to dBs (https://en.wikipedia.org/wiki/Spectral_flatness#Formulation).
The vocalpy code does what SAT does, which I think is leaving it as a "pure number", i.e. just treating the spectrum as a probability distribution, basically
Hope that helps! Happy to hear any feedback on if we should put this in the docs, try to add units with xarray, etc

Agreed, good idea. Changed the issue title and will put this on the to-do list. Thank you @ralphpeterson