[SPARK-6650] [core] Stop ExecutorAllocationManager when context stops.

This fixes the thread leak. I also changed the unit test to keep track
of allocated contexts and make sure they're closed after tests are
run; this is needed since some tests use this pattern:
val sc = createContext()
doSomethingThatMayThrow()
sc.stop()

Test build #29548 has started for   PR 5311 at commit 9886f69.

Test build #29551 has started for   PR 5311 at commit cc5a744.

Test build #29548 has finished for   PR 5311 at commit 9886f69.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29548/
Test FAILed.

Jenkins retest this please.

Test build #29554 has started for   PR 5311 at commit cc5a744.

Test build #29551 has finished for   PR 5311 at commit cc5a744.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29551/
Test PASSed.

Test build #29554 has finished for   PR 5311 at commit cc5a744.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29554/
Test FAILed.

I'm not sure why the test failed, but on inspection it LGTM.

One last nit.  Otherwise LGTM.

Test build #29564 has started for   PR 5311 at commit 652c73b.

Test build #29564 has finished for   PR 5311 at commit 652c73b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29564/
Test PASSed.

LGTM2, thanks for fixing this merging into master and 1.3.


Refresh all components on a page

Situation
On a craft commerce page I list all products of a category.
I have chosen to make every single product a component that can be added to the cart via sprig.
When a product is added to the cart, its icon changes to reflect that it's already in the cart.
No problem so far.
At the end of the page I have a form where you can add ALL products from that category to the cart at once.
Question
After putting these items to the cart via the ALL products form, I update the mini cart to reflect the new number of items in the cart:
htmx.trigger(htmx.find('#mini-cart'), 'refresh');

No problem.
But I still need to update all of the other components (products) to change their icon. Can I refresh all individual components at once?
Something like:
htmx.trigger(htmx.find('.sprig-component'), 'refresh');

Does this even make sense performance wise, or would it be better to just refresh the page?
Asking for a friend ;)
Additional context
All versions up to date

I’ve tried to put the whole listing into one component.
The disadvantage of this is, that when you try to add several products at once it will fail, since it has to re-render basically the whole listing for each product that you try to add. When each product of a listing is a component you can add multiple products as needed and the icons will get updated one after the other.
I am still very new to sprig, and still don’t know what is best for me.
Where can I ask more questions?
I have a few questions but I am not sure where to ask? Btw. I am a sponsor, don’t even know if there’s a dedicated space for questions…
Anyways. Twig makes me feel at least a +1 developer ;)
Thanks

Am 01.09.2021 um 19:17 schrieb Ben Croker @.***>:
It sounds like putting all products into a single component would simplify this for you and just work. Otherwise your code above might work, but will trigger an individual AJAX request for every single product. The best thing to do is to just test out both approaches and see what you feel more comfortable with. Personally I lean on the side of simplicity (fewer components on the page) wherever possible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/putyourlightson/craft-sprig/issues/153#issuecomment-910611881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABDTJF6KIANDSYPUFOBOLDT7Z34FANCNFSM5DHDATBA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

In a production environment, the re-render should be fast (<200ms) enough, but you could use an indicator to prevent adding new products until the re-render is complete (see the indicator recipe).
You can open other issues with questions if you like.


doi: Issue DOIs

GIN can issue DOIs; I assume that only works on their flagship server, not on self-hosted servers, because becoming a DOI issuer is expensive.
But it would be great if we could provide this for datasets we host; either:

integrate the expensive official DOI issuance API
maybe CrossRef's DOI Service can bridge the gap, for cheaper

I realized that GIN doesn't actually issue DOIs in their Gogs/Gitea fork. They have a separate web app: https://doi.gin.g-node.org/. The only patch they've made to this is to add a menu link to it:
https://github.com/G-Node/gogs/blob/2efac57ed554192eea15f1061d2a08c36c38a683/templates/explore/navbar.tmpl#L7
If we also do DOIs, I think this is the way to go. Maybe we can get their DOI app from them? It seems to be here: https://github.com/G-Node/gin-doi


About ./output/voxels_masks/language_ROIs.npy

Hi, do you know how to get pictures in the “StimuliDir”?

Hi, do you know how to get pictures in the “StimuliDir”?

NSD dataset：https://natural-scenes-dataset.s3.amazonaws.com/index.html
However, after you download it, the image data is in HDF5 format. You need to convert it into individual images with COCO annotations, which I haven't figured out how to do yet.

Hi, do you know how to get pictures in the “StimuliDir”?

My QQ is<PHONE_NUMBER>. Shall we discuss together?

Have you figured it out? Any suggestions for replication? Thanks.

Here is the language ROI file: https://drive.google.com/file/d/1MiaYSV4Cc8BisYyobsyrNP5XcvF7Ab0N/view?usp=sharing

Please add this citation when you use the language ROIs:

Fedorenko, Evelina, et al. "New method for fMRI investigations of language: defining ROIs functionally in individual subjects." Journal of neurophysiology 104.2 (2010): 1177-1194.


:red_circle: Project Title: Sugarcane Leaf Disease Detection
:red_circle: Aim: To develop a machine learning model capable of classifying sugarcane leaves into three categories: Healthy, Red Rot, and Red Rust, utilizing image processing techniques and machine learning algorithms.
:red_circle: Dataset:
Healthy leaves: 75 Images
Red Rot leaves: 74 Images
Red Rust leaves: 75 Images
Total Images: 224 Images
Exploratory Data Analysis (EDA):
Visualize the distribution of images across different categories.
Display sample images from each category.
Preprocess the images (resizing, sharpening, etc.).
Algorithms to Implement and Compare:
DenseNet201 with SVM-inspired approach:
Use transfer learning with DenseNet201 pre-trained on ImageNet.
Custom classification head with Dense and Dropout layers.
Squared hinge loss function for SVM-inspired classification.
Convolutional Neural Network (CNN):
Build a CNN from scratch.
Use standard layers such as Conv2D, MaxPooling2D, Flatten, Dense, and Dropout.
Random Forest:
Extract features from images using pre-trained models.
Train a Random Forest classifier on the extracted features.
Support Vector Machine (SVM):
Extract features from images using pre-trained models.
Train an SVM classifier on the extracted features.
Model Evaluation:
Compare the models using accuracy scores and other relevant metrics.
Use confusion matrices and classification reports for detailed performance analysis.
Implementation Steps:
Preprocess the dataset (resizing, sharpening).
Perform EDA.
Implement and train the models.
Evaluate and compare the models.
Save the best-performing model.
📍 Follow the Guidelines to Contribute in the Project:
You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.
Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project on other machines.
Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.
:red_circle::yellow_circle: Points to Note:
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before starting to contribute.
:white_check_mark: To be Mentioned while taking the issue:
Full name: Vasudha J
GitHub Profile Link: https://github.com/Vasudha-01
Participant ID (If not, then put NA):
Approach for this Project:
What is your participant role? VSoC, Contributor
Happy Contributing 🚀
All the best. Enjoy your open-source journey ahead. 😎

Hi @Vasudha-01 thanks for creating the issue but this repository mainly focuses on machine learning models instead of deep learning models. Hence this issue can not be worked on here.
Closing this issue as not working.


snap tests failing on windows

test conv::test::snap_rustc_mismatched_type ... FAILED
test conv::test::snap_clippy_pass_by_ref ... FAILED
test conv::test::snap_rustc_incompatible_type_for_trait ... FAILED
test conv::test::snap_macro_compiler_error ... FAILED
test conv::test::snap_rustc_unused_variable ... FAILED
test conv::test::snap_handles_macro_location ... FAILED
test conv::test::snap_rustc_wrong_number_of_parameters ... FAILED
failures:
---- conv::test::snap_rustc_mismatched_type stdout ----
thread 'conv::test::snap_rustc_mismatched_type' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/runtime/compiler_support.rs"', src\libcore\result.rs:1165:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
---- conv::test::snap_clippy_pass_by_ref stdout ----
thread 'conv::test::snap_clippy_pass_by_ref' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/compiler/mir/tagset.rs"', src\libcore\result.rs:1165:5
---- conv::test::snap_rustc_incompatible_type_for_trait stdout ----
thread 'conv::test::snap_rustc_incompatible_type_for_trait' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/compiler/ty/list_iter.rs"', src\libcore\result.rs:1165:5
---- conv::test::snap_macro_compiler_error stdout ----
thread 'conv::test::snap_macro_compiler_error' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/crates/ra_hir_def/src/data.rs"', src\libcore\result.rs:1165:5
---- conv::test::snap_rustc_unused_variable stdout ----
thread 'conv::test::snap_rustc_unused_variable' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/driver/subcommand/repl.rs"', src\libcore\result.rs:1165:5
---- conv::test::snap_handles_macro_location stdout ----
thread 'conv::test::snap_handles_macro_location' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/src/main.rs"', src\libcore\result.rs:1165:5
---- conv::test::snap_rustc_wrong_number_of_parameters stdout ----
thread 'conv::test::snap_rustc_wrong_number_of_parameters' panicked at 'called Result::unwrap() on an Err value: "can't convert path to url: /test/compiler/ty/select.rs"', src\libcore\result.rs:1165:5
failures:
conv::test::snap_clippy_pass_by_ref
conv::test::snap_handles_macro_location
conv::test::snap_macro_compiler_error
conv::test::snap_rustc_incompatible_type_for_trait
conv::test::snap_rustc_mismatched_type
conv::test::snap_rustc_unused_variable
conv::test::snap_rustc_wrong_number_of_parameters
test result: FAILED. 2 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out
error: test failed, to rerun pass '-p ra_cargo_watch --lib'

I have a hunch what might be going on but no windows machine to test on. Give me 5 and I'll have a branch up with a possible fix.

FWIW, with actions it should be easy to add windows to CI... Let's just do
this, if it doesn't increase CI times?
On Wed, 1 Jan 2020 at 22:45, Emil Lauridsen<EMAIL_ADDRESS>wrote:

I have a hunch what might be going on but no windows machine to test on.
Give me 5 and I'll have a branch up with a possible fix.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/2720?email_source=notifications&email_token=AANB3M5BRD6KHG3ZHEOPO5LQ3UFH5A5CNFSM4KB42LE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH5NEYQ#issuecomment-570085986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M23G3IYVVPH3P7GJRTQ3UFH5ANCNFSM4KB42LEQ
.

Hmm this might be a little more hairy than I thought, as Url::from_file_path validates that the path is valid for the current platform, so because the example file locations in the cargo output is using unix style paths it will always fail on Windows.
I think, the only great way to fix this while keeping the value of the tests, is to forge the Url's returned from map_span_to_location_naive when running on #[cfg(test)]. Any other thoughts/suggestions?
@matklad Sounds like a great idea.
I've got a proposed fix open over on #2722


Health: Show step goal in daily step chart

Show step goal in daily step chart
Documentation fixes

Screenshot having 8000 as daily step goal:

Thanks! That's a great idea!


No "Send"-Method avaiable. :(

Greetings from germany,
i was using your EasyTcp NuGet Package <IP_ADDRESS> for my current project, before i was forced to change my target framework to .NET Framework. So i now use your newest Version of EasyTcp, Version 3.7.8.
Well, i enjoyed really the "server.Send(Socket client, byte[] data)" Method in the Server-Class for sending Data zu specific Clients.
Why did you removed that feature? Or do you have still implemented it somewhere else? My Application has got a chat function. If i use "SendAll" i have to check on each client, if this message is avaiable for it. That would be not as elegant as your "Send" Method.
Anyway, THANK YOU for creating this Package, but can u help me with this one?
EDIT: I tried to install EasyTcp.Actions, but i get this error:
"EasyTcp 3.7.8' is not compatible with 'EasyTcp.Actions 4.0.0 Restriction: EasyTcp (>= 4.0.0-beta)'.
But there is no EasyTcp 4.0.0 Beta...
EDIT2: i finally got an earlier Version of EasyTcp.Actions and have noticed the cool new feature with SendAction. But still no Method for Sending expecially to ONE client :(

The EasyTcpServer.Send(Socket client, byte[] data) function is replaced by EasyTcpClient.Send(byte[] data)
All server events have an EasyTcpClient (or message with a client) as parameter, so to send data to 1 client just use client.Send(data) or message.Client.Send(data)
using EasyTcp4;
using EasyTcp4.ServerUtils;
using EasyTcp4.ServerUtils;

using var server = new EasyTcpServer().Start(8080);
server.OnConnect += (sender, client) => client.Send("reply to sender");
server.OnDataReceive += (sender, message) => message.Client.Send("reply to sender");

Looks like i used a wrong version while publishing EasyTcp.Actions, thanks for bringing this to my attention.

The EasyTcpServer.Send(Socket client, byte[] data) function is replaced by EasyTcpClient.Send(byte[] data)
All server events have an EasyTcpClient (or message with a client) as parameter, so to send data to 1 client just use client.Send(data) or message.Client.Send(data)
using EasyTcp4;
using EasyTcp4.ServerUtils;
using EasyTcp4.ServerUtils;

using var server = new EasyTcpServer().Start(8080);
server.OnConnect += (sender, client) => client.Send("reply to sender");
server.OnDataReceive += (sender, message) => message.Client.Send("reply to sender");

Looks like i used a wrong version while publishing EasyTcp.Actions, thanks for bringing this to my attention.

Thank you very much for responsing! Helped me a lot!

Thank you very much for responsing! Helped me a lot!


devicetree: add DT_INST_NUM_IRQS()

[!NOTE]
This PR is spinned-off from #77828 to declutter that PR, as the changes here are not specific to the irq-affinity implementation.

[!IMPORTANT]
This PR has to be backported to v3.7 if we want to backport #78140

Add DT_INST_NUM_IRQS() to get the number of interrupt lines of the current DT_DRV_COMPAT

do you want to add a test case?


Add more supported languages

Codecov Report

Merging #44 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #44   +/-   ##
=========================================
  Coverage     83.63%   83.63%
  Complexity       51       51
=========================================
  Files            20       20
  Lines           110      110
  Branches         14       14
=========================================
  Hits             92       92
  Misses           12       12
  Partials          6        6

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 8a28652...caf2f63. Read the comment docs.


Update replication log for MS-MARCO passage and document ranking experiments

Reproduced the anserini passage and document ranking experiments for the initial screening exercise. No issues encountered, was able to reproduce everything successfully.
Environment:
$ java --version
java 11.0.13 2021-10-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)

$ mvn --version
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /opt/homebrew/Cellar/maven/3.8.5/libexec
Java version: 11.0.13, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.13.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.1", arch: "x86_64", family: "mac"

$ python -V
Python 3.9.7

Codecov Report

Merging #1808 (1d477c7) into master (2e8e9fd) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1808   +/-   ##
=========================================
  Coverage     57.83%   57.83%
  Complexity     1045     1045
=========================================
  Files           175      175
  Lines          9913     9913
  Branches       1362     1362
=========================================
  Hits           5733     5733
  Misses         3699     3699
  Partials        481      481

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 2e8e9fd...1d477c7. Read the comment docs.


feat!: aztec binary

Closes #3552

New aztec package, replaces aztec-sandbox
New aztec CLI to run Aztec infra (sandbox, node, sequencer, archiver, p2p-bootstrap)
Draft for now to discuss tooling naming

Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
Metrics with a significant change:

note_history_successful_decrypting_time_in_ms (5): 2,883 (+16%)
note_history_successful_decrypting_time_in_ms (10): 5,420 (+18%)
note_trial_decrypting_time_in_ms (8): 73.2 (+144%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 60b59dac and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,912
868,400
3,449,828

l1_rollup_execution_gas
867,021 (-7%)
3,746,453 (-6%)
23,306,593 (-6%)

l2_block_processing_time_in_ms
1,386 (+4%)
5,143 (+1%)
21,186

note_successful_decrypting_time_in_ms
362 (+13%)
1,138 (+14%)
4,193 (+15%)

note_trial_decrypting_time_in_ms
:warning: 73.2 (+144%)
38.2 (-70%)
135 (-4%)

l2_block_building_time_in_ms
14,896
59,383
238,184

l2_block_rollup_simulation_time_in_ms
10,583
42,311
170,000

l2_block_public_tx_process_time_in_ms
4,280
16,996
67,913

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,009
28,550 (-1%)

note_history_successful_decrypting_time_in_ms
:warning: 2,883 (+16%)
:warning: 5,420 (+18%)

note_history_trial_decrypting_time_in_ms
90.6 (+17%)
150 (+6%)

node_database_size_in_bytes
3,614,143
3,723,081

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
210
44,709
25,561

private-kernel-ordering
136 (-1%)
30,953
14,809

base-rollup
1,073
128,374
881

root-rollup
84.0 (+2%)
4,088
889

private-kernel-inner
286
71,236
25,561

public-kernel-private-input
201 (-1%)
31,891
25,561

public-kernel-non-first-iteration
199 (-1%)
31,933
25,561

merge-rollup
9.67
2,608
881

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,487
31,878

tagging a devrel @signorecello


Port sqlx to latest tokio, async_std, rustls, and native_tls

I've been looking at porting sqlx to the 1.0.x tokio that has been released, as well as updating the network stack support (native-tls and rustls).  But the core of sqlx seems to assume that tokio::io::AsyncRead and async_std::io::Read will have same signature (take an &mut [u8] as the buffer, return the size of bytes read), but in 1.0.x tokio the signature has changed (take a ReadBuf as the buffer, don't return any value).
I'm happy to tackle this in a pull request, but I'd first like guidance from the maintainers as to how they would prefer I handle the discrepancy in signatures.

please see https://github.com/launchbadge/sqlx/pull/794

please see https://github.com/launchbadge/sqlx/pull/794

One of these issues should probably be kept open and pinned, just so people don't open new ones 😅

One of these issues should probably be kept open and pinned, just so people don't open new ones 😅


fix connection telemetry error

noticed the following error while connecting to PGSQL
ERR Cannot read property 'isBigDataCluster' of undefined: TypeError: Cannot read property 'isBigDataCluster' of undefined

Coverage decreased (-0.05%) to 37.823% when pulling 88814868b5a70633575154ae2172cc72ad7a4d9a on alanren/fix-telemetry-error into 3c647c4376ffb7d03a998b6844371106300ea187 on main.


feat: integration support for harness

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

sorry! too soon


Merge svelte version into master

This pull request merges the svelte app into the master branch

Do u want to do ur version or the master:use-svelte

yeah, better use master:use-svelte


Toast low contrast in dark mode

Funding

You can sponsor this specific effort via a Polar.sh pledge below
We receive the pledge once the issue is completed & verified

@birkjernstrom I will also send a different PR with this
Thanks @zegl

I am working on this issue. Can you please assign it to me?

Awesome, thanks @ashharr! Assigned it over now

Hey @ashharr do you still have bandwidth and want to contribute on this one? No problems otherwise, I'll remove you as the assignee then.


no-extra-label

Current dependencies on/for this PR:

main

PR #121   👈

This comment was auto-generated by Graphite.


feat: delete button confirm

Confirm or cancel option dialog when deleting a conversation  #602

Change Type

[x] New feature (non-breaking change which adds functionality)

Testing
test to cancel or to confirm to delete a conversation
Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[x] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[x] Any changes dependent on mine have been merged and published in downstream modules.

Thanks for this. I was unaware they added a dialog for this!


Support for nullable()

Currently if relation is nullable and no selection is made, a model (with null name) will still be created when the resource is saved.

Confirmed behavior.


User Profile: Edit Properties

As a user
I want to edit my personal user profile
So that my profile can be kept up to date.

Add "Edit" button (either pointing to a new page or switching current page to "edit" mode)


Intro to Sketchup tutorial fails on first step?

Hello, I really like your console
I am trying to use the tutorial 'Introduction: Finding your way through SketchUp, Step 1
It says:  "Type Sketchup.active_model'
When I do so, it presents an error
wrong argument type (expected Sketchup::Model)
If I type
Sketchup::Model
wrong argument type (Expected Sketchup::Model)
it says the same thing...
I am using Sketchup Make 2017 on Mac OS
If I type either of these into the actual ruby console, I get the expected object reference
#Sketchup::Model:0x007f85588eaa28
thank you for any clues

I decided to try to debug this and i see now in the ruby console this stack trace

which reads:
Error: #<TypeError: wrong argumebt type (expected Sketchup::Model)>
/users/.../library/application support/sketchup 2017/sketchup/plugins/fredo6_fredoguides/bootstrap_fredoguides.rbe:488 in 'path'
/users/.../library/application support/sketchup 2017/sketchup/plugins/fredo6_fredoguides/bootstrap_fredoguides.rbe:488 in 'track_model'
/users/.../library/application support/sketchup 2017/sketchup/plugins/fredo6_fredoguides/bootstrap_fredoguides.rbe:139 in 'block in startup'
/users/.../library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/lib6g6.rbe:38 in 'call'
/users/.../library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/lib6g6.rbe:38 in 'timer_checked_proc'
/users/.../library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/lib6g6.rbe:38 in 'block in start_timer'
This stacktrace is produced repeatedly on the console

Ok, I disabled the Fredo Guides plugin and tried again, and now I get this stack trace

which reads
Error: #<TypeError: wrong argument type (expected Sketchup::Model)>
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/features/feature_wrap_in_undo.rb:36:in 'abort_operation'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/features/feature_wrap_in_undo.rb:36:in 'block in initialize_console'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/observable.rb:47:in 'call'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/observable.rb:47:in 'block in trigger'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/observable.rb:46:in 'each'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/observable.rb:46:in 'trigger'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/console.rb:124:in 'error'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/core.rb:79:in 'error'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/bridge.rb:569:in 'log error'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/bridge.rb:673:in 'rescue in receive'
/Users/.../Library/Application Support/Sketchup 2017/Sketchup/Plugins/ae_console/bridge.rb:671:in 'receive'

Ok, I found the problem.
I added a few print statements and discovered this
Initialize_console: command: Sketchup.active_model metadata {"id"=>0, "line_number"=>1, "type"=>"input"} undo_current_operation: true model: #<Sketchup::Model:0x007fdec8966848> undo-counter: 1 operation_name: Ruby Console operation 1 console.on: result #<Sketchup::Model:0x007fdec8966848> metadata {:result_string=>"#<Sketchup::Model:0x007fdec8966848\n @tt_bezier_surface_editor=\n  #<TT::Plugins::BezierSurfaceTools::BezierSurfaceEditor:0x7fded1316048>>", :language=>:ruby, :id=>"31", :source=>0, :time=>1691686549.6903198} console.on: if @undo_current_operation: @model.commit_operation Error: #<NameError: undefined local variable or method error' for #AE::ConsolePlugin::FeatureWrapInUndo:0x007fdecf889798>
/Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/features/feature_wrap_in_undo.rb:42:in block in initialize_console' /Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/observable.rb:47:in call'
/Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/observable.rb:47:in block in trigger' /Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/observable.rb:46:in each'
/Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/observable.rb:46:in trigger' /Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/console.rb:124:in error'
/Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/core.rb:79:in error' /Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/bridge.rb:496:in log_error'
/Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/bridge.rb:254:in rescue in __request_handler_htmldialog__' /Users/foo/Library/Application Support/SketchUp 2017/SketchUp/Plugins/ae_console/bridge.rb:215:in request_handler_htmldialog'
SketchUp:1:in `call'
`
I guess the ThomThom Bezier Surface tool is somehow interfering with this. Maybe a namespace conflict of some kind?
Disabling the Bezier Surface tool seems to clear it up

Bezier Surface adds an instance attribute to the model in order to track the editor instance associated with it. (There was some issue with using model as a key in a hash if I recall correctly. So I ended up with that kludge.)
But I don't see how that should cause a TypeError in this extension.
The debug output in that last comment is hard to decipher, not sure what I'm looking at there.
But did you find where the TypeError is thrown?

Just saw your comment, let me try to figure that out today...

I cannot reproduce the issue, but I could locate where it probably happens:
https://github.com/Aerilius/sketchup-console-plus/blob/7b5055b59b16277715c60c4cf15708508ea52c2c/src/ae_console/features/feature_ruby_tutorials.rb#L350-L355
From your logs, result is the object that is #<Sketchup::Model:0x007f95d018b038\n @tt_bezier_surface_editor=\n #<TT::Plugins::BezierSurfaceTools::BezierSurfaceEditor:0x7f95d7c33d08>>. Then the following code is evaluated:
https://github.com/Aerilius/sketchup-console-plus/blob/7b5055b59b16277715c60c4cf15708508ea52c2c/src/ae_console/Resources/en-US/tutorials/1._introduction.json#L6
and unexpectedly raises an error. The string evaluation explains also why the backtrace is empty. As a consequence the operation is aborted (but it is misleading that the error would happen in wrap_in_undo).
What I don't understand is how is_a? can raise this error, since the receiver actually is a model (just with an extra attribute). It is also strange that the error expects a model instance as argument. This sounds like an inversion of the check (Model is class of model?), or a specific implementation of equality.

I was poking into this at some point. Have some notes somewhere.... can't find it right now.
But I think it was related to how SketchUp defined its entity classes. Something related to allocators. We had to do some fixes for Ruby 3.2 because it was flagging warnings/errors about incorrect usage.


8312.7 Add functionality to the reinitialize button

https://github.com/Shippable/pm/issues/8312
Clicking the "reinitialize" button will call the same route as "initialize"  - /api/initialize.

already happening. closing.


Show diff for dirty repository?

Hi, I have been trying out the actions and got a workflow functional with allowDirtyBuild: true. Really cool stuff, thank you for making these actions. I had to add /[Aa]rtifacts/ to .gitignore and fix an issue that was my fault based on inconsistent filename case to reduce the amount of dirty changes in the repo. But it's still showing ProjectSettings/ProjectSettings.asset as changed.
 M ProjectSettings/ProjectSettings.asset

##[error]Branch is dirty. Refusing to base semantic version on uncommitted changes

I'm happy to get any help for determining why ProjectSettings is changing, but maybe in general it would be nice to have an option like showDiffOnDirty: true to show what changes have happened since checkout.
I know there could potentially be many files changed in a dirty repository scenario, but just knowing the filenames isn't quite enough information for me to diagnose the issue.
Related: #95
Edit: This can be achieved with nice output by issuing git status --verbose --verbose or git --no-pager diff (conditionally if this option is enabled)

Would you accept a pull request for this? It seems simple enough to implement

Yes feel free to open a PR for anything you're missing. As long as it works for everyone :) See also contributing guide to get you set up quickly.


Extends devlop

添加压测等模块

Pull Request Test Coverage Report for Build 45

0 of 786 (0.0%)  changed or added relevant lines in 22 files are covered.
17 unchanged lines in 9 files lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

FasterRunner/wsgi.py
0
1
0.0%

fastrunner/utils/runner.py
0
1
0.0%

manage.py
0
1
0.0%

FasterRunner/settings.py
0
2
0.0%

extends/urls.py
0
3
0.0%

FasterRunner/pagination.py
0
4
0.0%

fastrunner/utils/parser.py
0
4
0.0%

usermanager/serializers.py
0
4
0.0%

FasterRunner/auth.py
0
6
0.0%

fastrunner/utils/prepare.py
0
7
0.0%

Files with Coverage Reduction
New Missed Lines
%

fastrunner/serializers.py
1
0.0%

fastrunner/utils/prepare.py
1
0.0%

fastrunner/models.py
1
0.0%

fastrunner/utils/loader.py
1
0.0%

fastrunner/utils/runner.py
1
0.0%

FasterRunner/urls.py
1
0.0%

fastrunner/utils/parser.py
2
0.0%

FasterRunner/auth.py
2
0.0%

fastrunner/views.py
7
0.0%

Totals

Change from base Build 44:
0.0%

Covered Lines:
0

Relevant Lines:
1856

💛  - Coveralls


Update CMakeLists.txt

Only copy examples folder when MICM is top-level project

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

Comparison is base (7631529) 91.51% compared to head (3816705) 91.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #377   +/-   ##
=======================================
  Coverage   91.51%   91.51%
=======================================
  Files          38       38
  Lines        3004     3004
=======================================
  Hits         2749     2749
  Misses        255      255

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


Remove *_matrix_bit_definitions.json (duplicates of *_matrix.json)

Summary
The goal of this ticket is to better understand if intel/perfmon users or downstream tools need the following files. If not, we plan on removing them them.
$ find ./ -type f -name *matrix_* | sort
./BDW-DE/events/broadwellde_matrix_bit_definitions.json
./BDW/events/broadwell_matrix_bit_definitions.json
./BDX/events/broadwellx_matrix_bit_definitions.json
./GLM/events/goldmont_matrix_bit_definitions.json
./GLP/events/goldmontplus_matrix_bit_definitions.json
./HSW/events/haswell_matrix_bit_definitions.json
./HSX/events/haswellx_matrix_bit_definitions.json
./IVB/events/ivybridge_matrix_bit_definitions.json
./IVT/events/ivytown_matrix_bit_definitions.json
./JKT/events/Jaketown_matrix_bit_definitions.json
./KNL/events/KnightsLanding_matrix_bit_definitions.json
./SKL/events/skylake_matrix_bit_definitions.json
./SKX/events/skylakex_matrix_bit_definitions.json
./SNB/events/sandybridge_matrix_bit_definitions.json

Details
They are not mentioned in mapfile.csv.
*_matrix_bit_definitions.json files are not referenced.
$ grep -n bit_definitions mapfile.csv
$

However, the similar *_matrix.json files are referenced.
$ grep -n matrix mapfile.csv
10:GenuineIntel-6-37,V15,/SLM/events/Silvermont_matrix.json,offcore,,,
12:GenuineIntel-6-4A,V15,/SLM/events/Silvermont_matrix.json,offcore,,,
14:GenuineIntel-6-4D,V15,/SLM/events/Silvermont_matrix.json,offcore,,,
16:GenuineIntel-6-4C,V15,/SLM/events/Silvermont_matrix.json,offcore,,,
18:GenuineIntel-6-5A,V15,/SLM/events/Silvermont_matrix.json,offcore,,,
20:GenuineIntel-6-5C,V13,/GLM/events/goldmont_matrix.json,offcore,,,
22:GenuineIntel-6-5F,V13,/GLM/events/goldmont_matrix.json,offcore,,,
29:GenuineIntel-6-2A,V19,/SNB/events/sandybridge_matrix.json,offcore,,,
32:GenuineIntel-6-2D,V24,/JKT/events/Jaketown_matrix.json,offcore,,,
35:GenuineIntel-6-3A,V24,/IVB/events/ivybridge_matrix.json,offcore,,,
38:GenuineIntel-6-3E,V24,/IVT/events/ivytown_matrix.json,offcore,,,
43:GenuineIntel-6-3C,V33,/HSW/events/haswell_matrix.json,offcore,,,
44:GenuineIntel-6-45,V33,/HSW/events/haswell_matrix.json,offcore,,,
45:GenuineIntel-6-46,V33,/HSW/events/haswell_matrix.json,offcore,,,
50:GenuineIntel-6-3F,V28,/HSX/events/haswellx_matrix.json,offcore,,,
53:GenuineIntel-6-3D,V28,/BDW/events/broadwell_matrix.json,offcore,,,
57:GenuineIntel-6-47,V28,/BDW/events/broadwell_matrix.json,offcore,,,
61:GenuineIntel-6-4F,V22,/BDX/events/broadwellx_matrix.json,offcore,,,
84:GenuineIntel-6-57,V10,/KNL/events/KnightsLanding_matrix.json,offcore,,,
87:GenuineIntel-6-85,V10,/KNM/events/KnightsLanding_matrix.json,offcore,,,
99:GenuineIntel-6-7A,V1.01,/GLP/events/goldmontplus_matrix.json,offcore,,,

They are duplicate files.
As an example, compare the following snippets from Haswell server.
haswellx_matrix.json
{
  "Header": {
    "Copyright": "Copyright (c) 2001 - 2022 Intel Corporation. All rights reserved.",
    "Info": "Performance Monitoring Events for Intel(R) Xeon(R) processor E5 v3 family based on the Haswell-E microarchitecture - V26",
    "DatePublished": "08/05/2022",
    "Version": "26",
    "Legend": ""
  },
  "Events": [
    {
      "MATRIX_REQUEST": "DEMAND_DATA_RD",
      "MATRIX_RESPONSE": "Null",
      "MATRIX_VALUE": "0x0001",
      "MATRIX_REGISTER": "0,1",
      "DESCRIPTION": "Counts demand data reads"
    },
    {
      "MATRIX_REQUEST": "DEMAND_RFO",
      "MATRIX_RESPONSE": "Null",
      "MATRIX_VALUE": "0x0002",
      "MATRIX_REGISTER": "0,1",
      "DESCRIPTION": "Counts all demand data writes (RFOs)"
    },
    {
      "MATRIX_REQUEST": "DEMAND_CODE_RD",
      "MATRIX_RESPONSE": "Null",
      "MATRIX_VALUE": "0x0004",
      "MATRIX_REGISTER": "0,1",
      "DESCRIPTION": "Counts all demand code reads"
    },

haswellx_matrix_bit_definitions.json
{
  "Header": {
    "Copyright": "Copyright (c) 2001 - 2023 Intel Corporation.
Instead of documenting each offcore response bit individually, recent platforms list OCR events in the _core.json file. Neither _matrix.json or _matrix_bit_definitions.json are published for recent platforms.
Example:
$ egrep 'OCR\.' ICX/events/icelakex_core.json | cut -d'"' -f4
OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD
OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM
OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD
OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM
OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HITM
OCR.DEMAND_DATA_RD.ANY_RESPONSE
OCR.DEMAND_DATA_RD.L3_MISS
OCR.DEMAND_DATA_RD.LOCAL_DRAM
OCR.DEMAND_RFO.LOCAL_DRAM
OCR.DEMAND_CODE_RD.ANY_RESPONSE
OCR.DEMAND_CODE_RD.L3_MISS
OCR.DEMAND_CODE_RD.LOCAL_DRAM
OCR.HWPF_L1D_AND_SWPF.L3_MISS
OCR.HWPF_L1D_AND_SWPF.LOCAL_DRAM
OCR.STREAMING_WR.ANY_RESPONSE
OCR.OTHER.ANY_RESPONSE
OCR.OTHER.L3_MISS
OCR.HWPF_L3.ANY_RESPONSE
<snip>

@andikleen Does ocperf.py or pmu-tools use _matrix_bit_definitions.json? I reviewed ocperf.py and it downloads _matrix.json files based on the offcore key https://github.com/andikleen/pmu-tools/blob/master/ocperf.py#L910C33-L910C33 .

@rdementi Does PCM reference _matrix_bit_definitions.json content? I searched through https://github.com/intel/pcm and didn't find many hits of matrix. If so, please switch over to referencing the same information in _matrix.json files. Thanks!

On Thu, Sep 07, 2023 at 10:26:59AM -0700, Ed Baker wrote:

@andikleen Does ocperf.py or pmu-tools use _matrix_bit_definitions.json? I
reviewed ocperf.py and it downloads _matrix.json files based on the offcore key
https://github.com/andikleen/pmu-tools/blob/master/ocperf.py#L910C33-L910C33 .

Yes ocperf can parse it as fallback.

Thanks for the feedback Andi.


Handle when GitHub API returns 0 incomplete runs

Sorry the references are private, but this PR is to resolve errors that look like:
Run byu-oit/github-action-disallow-concurrent-runs@v2
Workflow Info
All Runs (2)
Incomplete Runs (0)
Adding an annotation to explain why this action is about to cancel this workflow run
Error: An error occurred: Cannot destructure property `id` of 'undefined' or 'null'.

It looks like the GitHub workflows runs API occasionally omits the current run. I imagine it's some sort of race condition.
March 1, 2021: Slack message and corresponding error
January 15, 2021: Slack message and corresponding error

Ping @jacobdwilliams


build directory is not included in .gitignore

Someone has pushed the build directory into the master branch 😶

@CIPHERTron Would you like to work on this issue ? or should I assign it to someone else.

Naah.....I'm good
I just came across your repo and noticed that the build folder was pushed somehow.
Thus informed! Feel free to assign it to someone else :D

@CIPHERTron Okay !! Thanks for creating the issue !

@DhairyaBahl I will love to work on this issue. if you want.

Could I please be assigned to work on this issue?


Implement repo version 4 with migration

A simpler alternative  of https://github.com/bacalhau-project/bacalhau/pull/4029

fixes https://github.com/bacalhau-project/bacalhau/issues/4024

closing in favor of alternative  https://github.com/bacalhau-project/bacalhau/pull/4029


Add Redfish Manager LogServices resource poller

Assert cleanup
Unit-test cleanup
@RackHD/corecommitters @zyoung51 @geoff-reid @tannoa2 @keedya @uppalk1

:+1:

:+1:


fail config with SKIP_SPIRV_TOOLS_INSTALL=ON

when try build/install with SKIP_SPIRV_TOOLS_INSTALL=ON, gets
CMake Error: install(EXPORT "SPIRVTargets" ...) includes target "SPIRV" which requires target "SPIRV-Tools-opt" that is not in any export set.

all cmake flags i use:
  cmake ..   It looks this is the cmake command for glslang.  You build with spirv-tools on, but then you cannot install glslang because it depends on spirv-tools.
That seems to be what it happening, and seem perfectly reasonable.  Am I missing something?

yes, the option is set in spirv-tools but appears when build througth glslang. and working in the past (my last build with the option working is in sáb sep 14 12:49:35 CEST 2019, vulkan-loader commit 0044fcf11)
the main problem is when you try to build the projects in 32bits mode and you not need install the excutables (but yes the libs), because you have builded the programs (and libs) in the 64 bits mode. because make conflicts between 32 and 64 bits executable (name colisions)

Also, seems 'SKIP_SPIRV_TOOLS_INSTALL', i think should work when try to do 'make install' (i mean, do no install the spirv-tools progs, libs and headers), not when do configure or build the project
the 'INSTALL' word in the option can mislead


GetCertificateVersionAsync throws an Argument Exceptions for the Version parameter

Library name and version
Azure.Security.KeyVault.Certificates 4.6.0
Describe the bug
The async method GetCertificateVersionAsync throws Argument Exception if the version parameter is empty and throws ArgumentNullException if the version parameter is null. This is not the expected behavior according to the documentation given to this method.
This caused service failure on our side. We used to call the method in the old deprecated library with string.Empty value for the version parameter to get The root certificate.
Expected behavior
It is expected that the method accepts null or empty value for the version parameter. It should throw the exceptions only in the case of the certificateName is null or empty.
Actual behavior
The method throws exception when we pass string.Empty as the value of version parameter.
Reproduction Steps
certificateClient.GetCertificateVersionAsync(certificateName, string.Empty, cancellationToken);
Environment
No response

@nisha-bhatia please take a look when you get a chance.

The exceptions are consistent with .NET itself. string.Empty != null. All .NET methods taking strings are the same, as are all our other current SDKs. If the method documentation is wrong, that should be updated, but the behavior is correct.
Note that the version parameter is optional in the modern SDKs and doesn't even need to be specified. null is already the default.

Thanks @heaths for your reply.
I think this line is the line that causes this exception to be thrown in the async version of this method. If the version parameter is optional, it should NOT be asserted for Not null and empty.
https://github.com/Azure/azure-sdk-for-net/blob/2ba5db394f2d52a490f3e8fb58991dd27f94f3c8/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs#L441
I am comparing with the non async version of this method and it doesn't have this line. that's why I think the documentation is correct and the behavior need to be changed.
https://github.com/Azure/azure-sdk-for-net/blob/2ba5db394f2d52a490f3e8fb58991dd27f94f3c8/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs#L409-L427


CIV: Adding new TC for EFS Utils

https://docs.google.com/document/d/1ENvebNiyJRqEcwp_64ybzt07Jtzjp0SI8F93yMEv2U4/edit?usp=sharing

Reminder: We need to wait for #293 and #300 to be merged before we test (locally) with the new efs deployment feature and specifying custom test suite file path.


How to change the port

Hey my host only supports localhost:#### port is there a way to change port of the storage server? It will be very helpful if there is a way to do it...
So the servers store in sandstorm but I didn't install it cuz it didn't support my aarch64 is there a way to install it cuz my files are still there on my storage server it works without errors and without sand storm is there a solution/comment on this?

Sandstorm doesn't presently support ARM systems. While it's something we'd like to do, it'd require a lot more work than Sandstorm is presently able to accomplish.
Davros also isn't currently built to work as a standalone app at this time. I don't think it's on mnutt's roadmap. It probably could be set up to run as such, but you'd be missing any sort of authentication at minimum.

Sandstorm doesn't presently support ARM systems. While it's something we'd like to do, it'd require a lot more work than Sandstorm is presently able to accomplish.
Davros also isn't currently built to work as a standalone app at this time. I don't think it's on mnutt's roadmap. It probably could be set up to run as such, but you'd be missing any sort of authentication at minimum.

I am kinda confused on what you said, as I am indian I don't have LOT of English knowledge could you explain this in more bit of text btw what's the answer to my question No.1

Another question: what's the difference if I install/dont install sandstorm

If I just change the port to 1276 and install sandstorm will it be possible to access the storage using http://dono-01.danbot.host:1276/


Implement ability to add additional Kong routes

Have done most of coding...still need more testings...
Summary
security-proxy-setup service now can take an environment variable, ADD_PROXY_ROUTE,
that takes a comma-separated list of paired additional service name and URL for which to create Kong routes.
The paired spec. is given like the following:
<ServiceName>.<RouteURL>
where ServiceName is the name of service which requests to create Kong route
and RouteURL is the full qualified URL for the service. eg.: http://edgex-app-service-rules:59807
So for a single service the value would be: "app-service-rules.http://edgex-app-service-rules:59807"
This service info is used to add the service to the routes for Kong.
Fixes: #2473
Signed-off-by: Jim Wang<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

The current Kong routes can only be created and initialized for fixed and statically configured through configuration TOML file specified in security-proxy-setup service.  This is not sufficient for application services.  The app services thus need a capability to create or add proxy Kong routes in addition to the existing configuration TOML file.
Issue Number: #2473
What is the new behavior?
The security-proxy-setup now can take new route to be added from environment variable, ADD_PROXY_ROUTE for app services to be used.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Are there any specific instructions or things that should be known prior to reviewing?
Other information
TBD

@jim-wang-intel , FYI, markdown for your spec above didn't render like you expected.

@jim-wang-intel , FYI, markdown for your spec above didn't render like you expected.

thanks, fixed.

cc: @eno-intel

Codecov Report

Merging #2474 into master will increase coverage by 0.22%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master    #2474      +/-   ##
==========================================
+ Coverage   38.21%   38.44%   +0.22%
==========================================
  Files         153      153
  Lines       12593    12653      +60
==========================================
+ Hits         4813     4865      +52
- Misses       7523     7528       +5
- Partials      257      260       +3

Impacted Files
Coverage Δ

internal/security/proxy/service.go
75.92% <87.50%> (+2.20%)
: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 0041d58...3a00e8e. Read the comment docs.

@tingyuz , @mkbhanda , can you provide a non-intel review? Thx!


The implementation of each rule should use its internal id instead of the SQ-id

E.g.
rewrite("S2259", ...

should become
rewrite("fix_broken_null_checks", ...

Fixed in #60


Exports defaultShouldValidate and defaultShouldAsyncValidate

These default functions are exported for external use - particularly so
that a user can wrap the default functionality with specialised behaviour.
To resolve #2890

Codecov Report

Merging #2891 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2891   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          68      68
  Lines        1404    1404
======================================
  Hits         1404    1404

Impacted Files
Coverage Δ

src/index.js
100% <ø> (ø)
:arrow_up:

src/createAll.js
100% <ø> (ø)
: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 cda2572...35fb726. Read the comment docs.

Can you add them to src/immutable.js, too?

Published as v6.7.0.


Java: Improve serving of UIs from Spring Boot

Links to UIs are now included on the index page for better discoverability
Travel Processor UI path to processor service is now properly redirected on server-side to the processor service at /processor.

@stewsk the Java version of SFlight can now serve the UI without the UI5 server and without changes to the manifest.json. This is still custom code (added as part of this PR), though.

@rjayasinghe - Thanks a lot! This allowed to simplify the Readme quite a lot.
Is there any hope that this could be handled via standard Java Runtime some day, or will this always be custom code?

@rjayasinghe - Thanks a lot! This allowed to simplify the Readme quite a lot.
Is there any hope that this could be handled via standard Java Runtime some day, or will this always be custom code?

This is possible but we have to build it. Reach out internally ☺


zedmini - how to get IMUData at 500hz?

I notice that before using the zed.getIMUData(), we need to call zed.grab() at first. So the imu data rate is the same as the image rate, can I get imu data at 500hz?

getIMUData

Hi,
Calling getIMIData with default parameters return the IMU data synched with the image, so it will be updated at the image rate.
However, you can get the current IMU data, not synched with the image using the sl::TIME_REFERENCE_CURRENT parameter. This call doesn't need to be done after a grab().
sl::IMUData myData;
getIMUData(myData, sl::TIME_REFERENCE_CURRENT)

Here is the corresponding documentation: https://www.stereolabs.com/developers/documentation/API/v2.4.0/classsl_1_1Camera.html#a453890423c830b627fc35c63edde7615

Thank you very much, it's very helpful. Can I get the image at 60hz and imu data at 500hz at the same time.
Does the "svo recording - recording" sample save imu data at 500hz?

Answering in https://github.com/stereolabs/zed-examples/issues/89


Fix Runecrafting Icon on Achievements page

Moved runecrafting above crafting in skills list as "runecrafting" includes "crafting"

This bug was fixed in #73 as achievement skill names are now capitalized (Ex: 99 Runecrafting), so it will now fail the '99 Runecrafting'.includes('Crafting') validation. See here
This PR is no longer necessary, but thank you for helping out!


What means "Unevaluated query on"?

I try to query my Realm Swift database for a given message (by messageID). UserMessage and ActionMessage are subclasses of ChatMessage and I found out, that I need to query each subclass individually, to fetch them all. That's why I combine them in the allResults array.
let realm = Realm()
let messageToDeleteResult1 = realm.objects(ChatMessage).filter("messageId == '\(messageID)'")
let messageToDeleteResult2 = realm.objects(UserMessage).filter("messageId == '\(messageID)'")
let messageToDeleteResult3 = realm.objects(ActionMessage).filter("messageId == '\(messageID)'")
let allResults = map(messageToDeleteResult1) { $0 } + map(messageToDeleteResult2) { $0 } + map(messageToDeleteResult3) { $0 }

Now, my problem is, that each single result gives me Unevaluated query on, it finds however a single value, but the properties for that are only the default ones, as stated in the class file. (I use the debugger to see that).
Can you please tell me what the error is and how I can fetch the object properly with all his attributes?

The Unevaluated query on (class name) should only appear in the debugger (lldb is unable to materialize the Results). In fact, Realm's lldb plugin is only supported for Objective-C at the moment.
The code you posted should work, although if I could recommend a variation, you could use flatMap to apply the same query on all 3 classes and combine their results:
let allResults = [ChatMessage.self, UserMessage.self, ActionMessage.self].flatMap { modelClass in
  return map(realm.objects(modelClass).filter("messageId == '\(messageID)'")) { $0 }
}

Ok, thank you very much @jpsim !
BTW: Is this a proper place to ask questions? Because I just read that you want to have all questions asked on StackOverflow?

I've tried your suggestion, but I keep receiving the following error:
Object type 'Object' not persisted in Realm

Guess it's a Swift bug?

@Luke47 do you have a full back trace for where that exception message is popping up?

BTW: Is this a proper place to ask questions? Because I just read that you want to have all questions asked on StackOverflow?

If you have a general usage question, like when you're unsure how to do something that you think is supported, StackOverflow is a good place to ask.
When you think you've found a bug, filing a GitHub issue on this repo is appreciated.
In this case, it seems like this could be a bug, so a GH issue was a good idea :smile:.
I'd try disabling Realm's LLDB plugin (you can do this by temporarily renaming your ~/.lldbinit file to something else). Although if that fixes the issue for you, I think we'll have to add a check for this in rlm_lldb.py to avoid this happening in the future.

@segiddins , sure here you go. It seems that by using flatMap the results lose their subclass information and simply become Object

It seems that by using flatMap the results lose their subclass information and simply become Object

No, I think the debugger is showing you that because you're in the generic objects(_:) function, which is specialized on T: Object. If you look at the inferred type from that function, it will be Results<YourObjectType>.


Added explanation and examples for nulls first/last

First draft of this writeup

Should we talk about how you need to enable the preview feature flag? orderByNulls?

Should probably mention this doesn't apply to MongoDB


Enhancement request - add unread badge on dock icon for macos

It would be nice to know if new articles are available just by glancing at the dock icon.  If it can already do that, I'd like to find out where to enable it!

In System Settings, make sure Badge application icon is turned on for NetNewsWire.

Thank you!
￼
(I feel dumb)
-Shane

On Feb 4, 2023, at 1:20 AM, Brent Simmons @.***> wrote:
In System Settings, make sure Badge application icon is turned on for NetNewsWire.
https://user-images.githubusercontent.com/1297121/216752449-26cd58b8-48d0-4ac8-b0a1-5b86bedc2141.png
—
Reply to this email directly, view it on GitHub https://github.com/Ranchero-Software/NetNewsWire/issues/3838#issuecomment-1416675559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXK674RYFJWHFAGAUUYDWVXYJPANCNFSM6AAAAAAUM3HZME.
You are receiving this because you authored the thread.


Add BlueSky

There is a somewhat lively group of astro folks on Blue Sky, would be nice to have a "post on bsky.app" at acceptance. JOSS does not have an account there.

Definitely on my list, I have to play with the API to see how easy it would be

It's working! https://bsky.app/profile/joss-openjournals.bsky.social/post/3l6gac6bsfs2i


DOC: special: add reference for orthogonal polynomial functions

Reference issue
None
What does this implement/fix?
Add references to:

The eval_* functions
The roots_* functions

This is basically a massive "find the right equation in Abramowitz and Stegun for the formulas in the docstring".
Additional information
Also fix:

a spacing issue in the eval_laguerre docstring
a connection formula in the eval_chebyc docstring

These were uncovered while adding the references.

LGTM modulo my one comment. Of course I didn't double check all the equation numbers (also, I don't own a Abramowitz and Stegun copy) but I trust those are right.

Thanks @person142, merged straight away to not run CI twice in a row (it was green already)


Reset _term after selected.

After selected, this._term needs to be reset as well.

Thanks for this! I manually changed this in my code and this fixed an annoying issue we had in our application.
Whenever we tried to do a second textcomplete, it would not show up unless we backspaced and retried it.

I am glad this helped. :smile:

Hi @icharlie,
thanks for sending the patch.
It looks good to me, so I've just merged the patch in my local machine by cherry-picking your commit then pushed to master because the patch conflicts to last master.


Unable to open Application

The following error shows open trying to open application
 502 Bad Gateway  502 Bad Gateway nginx
Steps to reproduce the behavior:

Go to https://compreface-ytwodnusoa-em.a.run.app/
Create user/Login
Error message show whenever any application is tried to open

Screenshots
If applicable, add screenshots to help explain your problem.

Could you run those commands and attach the result to the ticket?
docker ps
docker-compose logs

Similar issue
compreface-ui             | 2023/04/13 09:54:32 [error] 64#64: *81 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: ui, request: "GET /api/v1/consistence/status HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080/api/v1/consistence/status", host: "<IP_ADDRESS>:8000", referrer: "http://<IP_ADDRESS>:8000/application?app=00000000-0000-0000-0000-000000000001"

@kigorw, I can't understand the problem from your log
Could you run those commands and attach the result to the ticket?
docker ps
docker-compose logs

I just run into the same issue - in my case I am are running my postgres on a different port (in the .env) - so in order to solve my issue I need to insert an appropriate port mapping into my docker-compose.yml (remove the old containers) after you altered the compose file...
  compreface-postgres-db:
    image: ${registry}compreface-postgres-db:${POSTGRES_VERSION}
    restart: unless-stopped
    container_name: "compreface-postgres-db"
    ports:
      - ${postgres_port}:5432
    environment:
      - POSTGRES_USER=${postgres_username}
      - POSTGRES_PASSWORD=${postgres_password}
      - POSTGRES_DB=${postgres_db}
    volumes:
      - postgres-data:/var/lib/postgresql/data

same problem here

@jsapede
Could you run those commands and attach the result here?
docker ps
docker-compose logs

Same here on Home Assistant AddOn when run smoothly before that! What is it?


who is all alots?

"Invites all alots to your servers.
Also silently mentions them whenever someone says their name so that they pop into chat to see why people keep calling them."
wtf does that even mean? lol

http://hyperboleandahalf.blogspot.com/2010/04/alot-is-better-than-you-at-everything.html

huh

huh

heh
Try it n see. Check out the messy code if you're uncertain.


Remove static from GraphQL\Validator\Rules\ValuesOfCorrectType

A lot of static methods are used in ValuesOfCorrectType, but when I take a closer look I can't see why. There seems to be no added benefit in having these static. Would it be possible to remove all the static usage from this class?
The reason I ask is because I want to extend it in order to change the way some error messages are created. This feels related to #711, but I want to do more than a simple string replacement.

There seems to be no added benefit in having these static.

Those methods can be called without class instantiation, this is done from tests. How would removing static improve extensibility?
I think the deciciding difference is in how those methods are called. self::method() prevents overrides, while static::method() works.

Those methods can be called without class instantiation, this is done from tests.

So the only reason they are static is because of tests?

I think the deciciding difference is in how those methods are called. self::method() prevents overrides, while static::method() works.

Then replacing self with static would also work for my case.

So the only reason they are static is because of tests?

I just named one reason, there may be many.
Another one I can think of right now is that static methods are generally easier to reason about; one does (generally) not have to worry about state with them.

Then replacing self with static would also work for my case.

Yes. Accepting PRs, but preferrably one that opens up all validation rules for extensibility to ensure consistency.


(docs): docs deployment for release branches

Note: requires changes from following PR https://github.com/microsoft/FluidFramework/pull/22252
Updated build-docs to trigger on release branches.
Now includes a stage before deployment to check if triggering branch version matches a latest minor version of a major release.

@tylerbutler I'm using the $(RELEASE_VERSION) in this PR. However, looking at current build-docs pipeline runs, it seems to list release version as 0.24, are there alternative variables with the correct version number?

@tylerbutler I'm using the $(RELEASE_VERSION) in this PR. However, looking at current build-docs pipeline runs, it seems to list release version as 0.24, are there alternative variables with the correct version number?

Hmmm, it's coming back to me now. This was a very early attempt at having multiple versions of the docs. I never finished the full thing, and we never actually published multiple versions or had multiple versioned pipelines running afaik. If you want to repurpose those variables and update them, that should be fine.

Added include-install-build-tools.yml template before running generate buildVersion and it seems to run as expected in the test pipeline: https://dev.azure.com/fluidframework/internal/_build/results?buildId=296943&view=logs&j=332c3c5d-33c7-5b70-ec97-9939bb462e3a&t=7863b927-2c80-5032-566b-28c68c74517f
I also adjusted the latestVersions command to set a shouldDeploy variable instead of exiting with error. Seems to be working as expected from test pipeline run: https://dev.azure.com/fluidframework/internal/_build/results?buildId=296950&view=logs&j=332c3c5d-33c7-5b70-ec97-9939bb462e3a&t=19081285-5379-557e-c1b4-28ee287685b8


Fix theme of editor VCS dialogs

These dialogs were added to the plugin itself so theme can't be propagated.

Before
After

Also moved initialization of the VCS menu after the creation of EditorInterface.

Thanks!

Cherry-picked for 4.0.4.


retrieve intrinsic/extrinsic paramters for D415 and SLAM?

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
ubuntu 16.04

Kernel Version (Linux Only)
4.14.13

Platform
Desktop

SDK Version
2.14.1

Language
C++

Segment
Robot

Issue Description###
Hi, I'm attempting to use the D415 camera as an rgb-d source for a SLAM algorithm (ORB_SLAM2). For the algorithm, i need to provide a .yaml configuration file containing the intrinsic/extrinsic parameters of the camera so it do it's image analysis appropriately.  I've seen that you can custom calibrate the camera, but Ideally I would just be able to access the pre-configured for the camera without having to do the calibration.
Is there an easy way to access the file(s) containing the intrinsic/extrinsic parameters of the camera?

There was a discussion on the Intel Support forum earlier this year about yaml files for ORB_SLAM2
https://communities.intel.com/message/543130#543130
On the same forum, intrinsics and extrinsics have been discussed during the last couple of days.  Please read downward from the comment linked to below.  RealSense programming expert JB455's advice is well worth listening to.
https://communities.intel.com/message/559221#559221

I didn't checked the links from the other answer, but I used to need the same data as you. I couldn't find them so I used the calibrations tools to get the parameters, and it worked fine. Why don't you want to calibrate ? Not to calibrate on every camera you use ? Because if it is the case, depending on what you want to do, you may be able to use the same parameters.

[Realsense Customer Engineering Team Comment]
Hi @DannySauval,
You can try the librealsense app "rs-enumerate-devices -c" to get the extrinsic/instrinsic parameters.

Hi @DannySauval, If we were planning to use it long term, we would go through the process of calibration, but the work is for a short term summer gig and we are mostly using the D415 in the interim while we wait for a MultiSense 7 camera to arrive. So we aren't super concerned with perfect calibration, just getting something that works reasonably well.  To that end we were able to get the appropriate values using the methods discussed in @MartyG-RealSense 's second link above


poetry export includes package twice when used with and without extra

Hello,
I discovered a change in the behavior of the export with the update to poetry 1.2 that the export now includes one package twice if it  is used once with an extra and once without.
In my example I require google-cloud-bigquery = "=3.3.5" (see below for a full pyproject.toml) and an export of that creates an requirements.txt which contains
google-api-core==2.10.2 ; python_version >= "3.10" and python_version < "3.11"
google-api-core[grpc]==2.10.2 ; python_version >= "3.10" and python_version < "3.11"

Full requirements.txt

cachetools==5.2.0 ; python_version >= "3.10" and python_version < "3.11"
certifi==2022.9.24 ; python_version >= "3.10" and python_version < "3.11"
charset-normalizer==2.1.1 ; python_version >= "3.10" and python_version < "3.11"
google-api-core==2.10.2 ; python_version >= "3.10" and python_version < "3.11"
google-api-core[grpc]==2.10.2 ; python_version >= "3.10" and python_version < "3.11"
google-auth==2.14.0 ; python_version >= "3.10" and python_version < "3.11"
google-cloud-bigquery-storage==2.16.2 ; python_version >= "3.10" and python_version < "3.11"
google-cloud-bigquery==3.3.5 ; python_version >= "3.10" and python_version < "3.11"
google-cloud-core==2.3.2 ; python_version >= "3.10" and python_version < "3.11"
google-crc32c==1.5.0 ; python_version >= "3.10" and python_version < "3.11"
google-resumable-media==2.4.0 ; python_version >= "3.10" and python_version < "3.11"
googleapis-common-protos==1.56.4 ; python_version >= "3.10" and python_version < "3.11"
grpcio-status==1.50.0 ; python_version >= "3.10" and python_version < "3.11"
grpcio==1.50.0 ; python_version >= "3.10" and python_version < "3.11"
idna==3.4 ; python_version >= "3.10" and python_version < "3.11"
numpy==1.23.4 ; python_version >= "3.10" and python_version < "3.11"
packaging==21.3 ; python_version >= "3.10" and python_version < "3.11"
proto-plus==1.22.1 ; python_version >= "3.10" and python_version < "3.11"
protobuf==4.21.9 ; python_version >= "3.10" and python_version < "3.11"
pyarrow==9.0.0 ; python_version >= "3.10" and python_version < "3.11"
pyasn1-modules==0.2.8 ; python_version >= "3.10" and python_version < "3.11"
pyasn1==0.4.8 ; python_version >= "3.10" and python_version < "3.11"
pyparsing==3.0.9 ; python_version >= "3.10" and python_version < "3.11"
python-dateutil==2.8.2 ; python_version >= "3.10" and python_version < "3.11"
requests==2.28.1 ; python_version >= "3.10" and python_version < "3.11"
rsa==4.9 ; python_version >= "3.10" and python_version < "3.11"
six==1.16.0 ; python_version >= "3.10" and python_version < "3.11"
urllib3==1.26.12 ; python_version >= "3.10" and python_version < "3.11"

while in older poetry versions < 1.2 the version with the extra was not printed out.
requirements.txt generated with older poetry<1.2

cachetools==5.2.0; python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11")
certifi==2022.9.24; python_version >= "3.7" and python_version < "3.11"
charset-normalizer==2.1.1; python_version >= "3.7" and python_version < "3.11" and python_full_version >= "3.6.0"
google-api-core==2.10.1; python_version >= "3.7" and python_version < "3.11"
google-auth==2.12.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11"
google-cloud-bigquery-storage==2.16.0; python_version >= "3.7" and python_version < "3.11"
google-cloud-bigquery==3.3.2; python_version >= "3.7" and python_version < "3.11"
google-cloud-core==2.3.2; python_version >= "3.7"
google-crc32c==1.5.0; python_version >= "3.7" and python_version < "3.11"
google-resumable-media==2.3.3; python_version >= "3.7" and python_version < "3.11"
googleapis-common-protos==1.56.4; python_version >= "3.7" and python_version < "3.11"
grpcio-status==1.49.1; python_version >= "3.7" and python_version < "3.11"
grpcio==1.49.1; python_version >= "3.7" and python_version < "3.11"
idna==3.4; python_version >= "3.7" and python_version < "3.11"
numpy==1.23.3; python_version >= "3.8" and python_version < "3.11"
packaging==21.3; python_version >= "3.7" and python_version < "3.11"
proto-plus==1.22.1; python_version >= "3.7" and python_version < "3.11"
protobuf==4.21.6; python_version >= "3.7" and python_version < "3.11"
pyarrow==9.0.0; python_version >= "3.7" and python_version < "3.11"
pyasn1-modules==0.2.8; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11"
pyasn1==0.4.8; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11") or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11")
pyparsing==3.0.9; python_version >= "3.7" and python_version < "3.11" and python_full_version >= "3.6.8"
python-dateutil==2.8.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_version >= "3.7" and python_version < "3.11" and python_full_version >= "3.3.0"
requests==2.28.1; python_version >= "3.7" and python_version < "3.11"
rsa==4.9; python_version >= "3.6" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11")
six==1.16.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "3.11"
urllib3==1.26.12; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "3.11" or python_full_version >= "3.6.0" and python_version < "3.11" and python_version >= "3.7"

This breaks for example pip-audit with the following exception
raise RequirementSourceError(pip_audit._dependency_source.requirement.RequirementSourceError: package google-api-core has duplicate requirements: google-api-core[grpc]==2.10.2 (from RequirementLine(line_number=5, line='google-api-core[grpc]==2.10.2 ; python_version >= "3.10" and python_version < "3.11"', filename=PosixPath('requirements.txt')))

My expectation would be the old output that does not include a package with the extra as all dependencies are listed anyways.
I verified it with the newest version
$ poetry self --version
Poetry (version 1.2.2)

$ poetry self show plugins

  • poetry-plugin-export (1.1.2) Poetry plugin to export the dependencies to various formats
      1 application plugin

      Dependencies
        - poetry (>=1.2.0,<2.0.0)
        - poetry-core (>=1.1.0,<2.0.0)

My pyproject.toml looks like this
[tool.poetry]
name = "poetry-export-bug"
version = "0.1.0"
description = ""
authors = ["Your Name<EMAIL_ADDRESS>readme = "README.md"
packages = [{include = "poetry_export"}]

[tool.poetry.dependencies]
python = ">=3.10,<3.11"
google-cloud-bigquery = "=3.3.5"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

Duplicate #129.


fail to download knowledge base

Fail to download knowledge base using:
python -m spacy_entity_linker "download_knowledge_base"
Error message displayed: HTTP Error 403: Forbidden

Hi @smongstar,
Have you tried updating to the latest release? Version 1.0.2 fixes this issue as mentioned in #11 .
To update to the latest version, simply execute pip install --upgrade spacy-entity-linker.
If the issue persists, please let me know.
Best,
Martino

Hi Martino,
It is working now after I upgrade the spacy-entity-linker package to version 1.0.2. Thanks a lot for the assistance.

Hi Martino,
Nice to hear from you. It is working now after I upgrade the
spacy-entity-linker package to version 1.0.2.
Thanks a lot for the assistance,
SM Ong
On Tue, Sep 6, 2022 at 6:15 PM Martino Mensio @.***>
wrote:

Hi @smongstar
https://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3A%2F%2Fgithub.com%2Fsmongstar&umid=5b41ba66-7026-45cd-bce0-6f5416eda713&auth=4e0d3f135bd52a3661045cb3bfe08c528fcdd524-c7670519a25e4449a02a931b870d6dfb6d472a9a
,
Have you tried updating to the latest release? Version 1.0.2 fixes this
issue as mentioned in #11
https://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3A%2F%2Fgithub.com%2Fegerber%2FspaCy-entity-linker%2Fissues%2F11&umid=5b41ba66-7026-45cd-bce0-6f5416eda713&auth=4e0d3f135bd52a3661045cb3bfe08c528fcdd524-a8568d413de7b5663a7bfbd942e40333c4ba7afa
.
To update to the latest version, simply execute pip install --upgrade
spacy-entity-linker.
If the issue persists, please let me know.
Best,
Martino
—
Reply to this email directly, view it on GitHub
https://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3A%2F%2Fgithub.com%2Fegerber%2FspaCy-entity-linker%2Fissues%2F13%23issuecomment-1237951619&umid=5b41ba66-7026-45cd-bce0-6f5416eda713&auth=4e0d3f135bd52a3661045cb3bfe08c528fcdd524-728d4b8d1f7d3985b959295873a853469046c9b4,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXEGF2RM2LESD3D4JFRAPFTV44KUBANCNFSM6AAAAAAQFRMFGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
http://www.starmediagroup.my
This email may contain information,
which is confidential and/or privileged. The information is intended solely
for the use of the individual or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying, distribution or
use of the contents is prohibited. If you have received this electronic
transmission in error, please notify the sender by telephone or return
email and delete the material from your computer.

Good to hear!  :)
Martino


Date range not highlighted on the picker on value init

Hello,
Thanks a lot for this great component that I use in several apps. When I use the [value] attribute to initialize input value, the date range is not highlighted when the picker is opened.
<input
  matInput
  placeholder="Choose a date"
  [satDatepicker]="resultPicker"
  [value]="date"
>
<sat-datepicker #resultPicker [rangeMode]="true"></sat-datepicker>
<sat-datepicker-toggle matSuffix [for]="resultPicker"></sat-datepicker-toggle>

I forked the demo stackblitz and slightly modified it to user the [value] attribute with a predefined date range.
DEMO
Thanks

the demo is not updated. do you have the same behavior on the latest version?

I have updated the stackblitz to use the latest version, it presents the same behaviour. Check it here: https://stackblitz.com/edit/angular-qwm5ke

Thank you for example. I'll check what is wrong later.
Temporary you can use ngModel or formControl binding. WIth ngModel colors is ok https://stackblitz.com/edit/angular-qfyjar?file=src/app/hello.component.ts

I've found what is wrong. Update soon


Is there a way to return the description/type for a day in the forecast?

As well as this specific question- is there documentation available anywhere? Or at least a big list of available commands/functions (such as 'weather.current.temperature')?
:D

DailyForecast doesn't seem to have any text descriptions available for a daily forecast. I tackled this problem by taking all of the unique descriptions from the hourly forecasts within the daily, and joining them together:
import asyncio

import python_weather
from python_weather.forecast import CurrentForecast, DailyForecast

F = python_weather.IMPERIAL

def render_current(x: CurrentForecast) -> str:
    return f"{x.temperature}°{F}, {x.description}."

def render_daily(x: DailyForecast) -> str:
    t = f"{x.lowest_temperature}-{x.average_temperature}-{x.highest_temperature}"
    descriptions = ", ".join(set(h.description for h in x.hourly))
    emoji = "".join(map(repr, set(h.type for h in x.hourly)))
    return f"{x.date:%a}: {t}°{F}, {descriptions}. {emoji}"

async def print_weather():
    async with python_weather.Client(format=F) as client:
        weather = await client.get("Seattle")
        print(render_current(weather.current))
        for forecast in weather.forecasts:
            print(render_daily(forecast))

if __name__ == '__main__':
    asyncio.run(print_weather())

71°F, Clear.
Mon: 58-72-91°F, Sunny, Partly cloudy, Clear. ⛅☀
Tue: 56-70-88°F, Sunny, Clear. ☀
Wed: 59-74-93°F, Sunny, Clear. ☀

I don't see a docs page, but you can just browse the source directly: https://github.com/null8626/python-weather/blob/main/python_weather/forecast.py

I might add a documentation page in the future, development slowed down a lot because i am currently very busy. Sorry!

👍