UI bug with server channels with description

Channels with no description are fine

I have seen that in the latest build that doesn't seem to happen, anyway to check the description I have to use the three dots menu. I'd rather have it visible in that screen

Yes, the description has been moved to be guaranteed in the overflow area. It also only shows the first line. A SubPage will be added with the full description upon tapping the channel name.
This is because the description was causing many bugs with the CommandBar height. All of this is going way beyond the intended use of the CommandBar Content and the Control is fighting back


Will now scrape table and look for passed 2nd and 3rd reading

Warning:  will loop through entire table, and call xpath twice per row.  I don't know how expensive xpath is, but I know a way of only calling it once per row, if need be.

Let's just check if it's passed the house and/or passed the senate. We should be able to sniff those out by looking only for "Passed 3rd Reading" because we know that is required for any chamber to ratify the bill.


Comments in source directory sections are included in the output

e.g.
hs-source-dirs:
  foo
  -- need to include this too
  bar

Gives you a whole bunch of garbage entries like
  - path "<component>/--"
    component: <component>
  - path "<component>/need"
    component: <component>
...

Yikes, I'll push a fix quite quickly.

My apologies this took so long. It should be fixed now.

Thanks!


The packagist shield seems unable to display a build number higher than 9

I've pushed a 3.3.10 release to packagist, but I still see the badge for 3.3.9 for some days now. I wonder if there's a bug there.

Thanks for reporting! Indeed, a bug was introduced recently.

:cool:  that was a fast turnaround


Issue113 Refactor Application Using Flask-Restplus Query

Feature: The product management service back-end # features/products.feature:1
As a Product Management Service Owner
I need a RESTful catalog service
So that I can keep track of all my products
Background:   # features/products.feature:6
Scenario: The server is running                            # features/products.feature:13
Given the following products                             # features/steps/product_steps.py:21 0.030s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                             # features/steps/product_steps.py:45 0.241s
Then I should see "Product RESTful Service" in the title # features/steps/product_steps.py:52 0.004s
And I should not see "404 Not Found"                     # features/steps/product_steps.py:57 0.001s
Scenario: Create a Product                                  # features/products.feature:18
Given the following products                              # features/steps/product_steps.py:21 0.057s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                              # features/steps/product_steps.py:45 0.044s
And I set the "Name" to "Soap"                            # features/steps/product_steps.py:62 0.071s
And I set the "Category" to "Toiletries"                  # features/steps/product_steps.py:62 0.082s
And I set the "Description" to "Liquid Hand Soap"         # features/steps/product_steps.py:62 0.091s
And I set the "Price" to "1.99"                           # features/steps/product_steps.py:62 0.075s
And I press the "Create" button                           # features/steps/product_steps.py:81 0.043s
Then I should see the message "Product has been Created!" # features/steps/product_steps.py:69 0.027s
Scenario: Create a Product Bad Request                    # features/products.feature:27
Given the following products                            # features/steps/product_steps.py:21 0.058s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                            # features/steps/product_steps.py:45 0.037s
And I set the "Category" to "Toiletries"                # features/steps/product_steps.py:62 0.067s
And I set the "Description" to "Liquid Hand Soap"       # features/steps/product_steps.py:62 0.069s
And I set the "Price" to "1.99"                         # features/steps/product_steps.py:62 0.063s
And I press the "Create" button                         # features/steps/product_steps.py:81 0.036s
Then I should see the message "Fields cannot be empty." # features/steps/product_steps.py:69 0.018s
Scenario: Read a Product                                           # features/products.feature:35
Given the following products                                     # features/steps/product_steps.py:21 0.049s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                     # features/steps/product_steps.py:45 0.035s
And I set the "Search_Name" to "Samsung TV"                      # features/steps/product_steps.py:62 0.069s
And I press the "Search" button                                  # features/steps/product_steps.py:81 0.043s
Then I should see "Tech" in the "Category" field                 # features/steps/product_steps.py:86 0.018s
And I should see "52 inch Samsung TV" in the "Description" field # features/steps/product_steps.py:86 0.012s
When I copy the "ID" field                                       # features/steps/product_steps.py:103 0.014s
And I press the "Clear" button                                   # features/steps/product_steps.py:81 0.035s
And I paste the "ID" field                                       # features/steps/product_steps.py:112 0.075s
And I press the "Retrieve" button                                # features/steps/product_steps.py:81 0.042s
Then I should see the message "Product has been Retrieved!"      # features/steps/product_steps.py:69 0.019s
And I should see "Samsung TV" in the "Name" field                # features/steps/product_steps.py:86 0.011s
And I should see "Tech" in the "Category" field                  # features/steps/product_steps.py:86 0.010s
And I should see "52 inch Samsung TV" in the "Description" field # features/steps/product_steps.py:86 0.012s
And I should see "3999.99" in the "Price" field                  # features/steps/product_steps.py:86 0.009s
Scenario: Read a None-Existing Product                                # features/products.feature:51
Given the following products                                        # features/steps/product_steps.py:21 0.044s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                        # features/steps/product_steps.py:45 0.036s
And I set the "ID" to "-1"                                          # features/steps/product_steps.py:62 0.062s
And I press the "Retrieve" button                                   # features/steps/product_steps.py:81 0.040s
Then I should see the message "Product with id '-1' was not found." # features/steps/product_steps.py:69 0.019s
Scenario: List All Products                                        # features/products.feature:57
Given the following products                                     # features/steps/product_steps.py:21 0.047s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                     # features/steps/product_steps.py:45 0.033s
And I press the "Search" button                                  # features/steps/product_steps.py:81 0.033s
Then I should see "Samsung TV" in the results                    # features/steps/product_steps.py:121 0.028s
And I should see "Samsung Galaxy 20" in the results              # features/steps/product_steps.py:121 0.018s
And I should see "White Bread" in the results                    # features/steps/product_steps.py:121 0.016s
And I should not see "Soap" in the results                       # features/steps/product_steps.py:131 0.027s
And I should see "Samsung TV" in the "Name" field                # features/steps/product_steps.py:86 0.009s
And I should see "52 inch Samsung TV" in the "Description" field # features/steps/product_steps.py:86 0.009s
And I should see "Tech" in the "Category" field                  # features/steps/product_steps.py:86 0.009s
And I should see "3999.99" in the "Price" field                  # features/steps/product_steps.py:86 0.009s
Scenario: Query Products by Price                                      # features/products.feature:69
Given the following products                                         # features/steps/product_steps.py:21 0.044s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                         # features/steps/product_steps.py:45 0.034s
And I set the "Price_Range" to "1000-4000"                           # features/steps/product_steps.py:62 0.073s
And I press the "Search" button                                      # features/steps/product_steps.py:81 0.050s
Then I should see the message "Queried Products have been Returned!" # features/steps/product_steps.py:69 0.029s
And I should see "Samsung TV" in the results                         # features/steps/product_steps.py:121 0.020s
And I should see "Samsung Galaxy 20" in the results                  # features/steps/product_steps.py:121 0.014s
And I should not see "White Bread" in the results                    # features/steps/product_steps.py:131 0.025s
And I should not see "Soap" in the results                           # features/steps/product_steps.py:131 0.024s
And I should see "52 inch Samsung TV" in the "Description" field     # features/steps/product_steps.py:86 0.011s
And I should see "Tech" in the "Category" field                      # features/steps/product_steps.py:86 0.009s
And I should see "3999.99" in the "Price" field                      # features/steps/product_steps.py:86 0.009s
Scenario: Query Products by Price Bad Request                          # features/products.feature:82
Given the following products                                         # features/steps/product_steps.py:21 0.041s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                         # features/steps/product_steps.py:45 0.038s
And I set the "Price_Range" to "1000-"                               # features/steps/product_steps.py:62 0.067s
And I press the "Search" button                                      # features/steps/product_steps.py:81 0.038s
Then I should see the message "Minimum and Maximum cannot be empty." # features/steps/product_steps.py:69 0.020s
Scenario: Query Products by Name                                       # features/products.feature:88
Given the following products                                         # features/steps/product_steps.py:21 0.047s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                         # features/steps/product_steps.py:45 0.034s
And I set the "Search_Name" to "Samsung Galaxy 20"                   # features/steps/product_steps.py:62 0.073s
And I press the "Search" button                                      # features/steps/product_steps.py:81 0.041s
Then I should see the message "Queried Products have been Returned!" # features/steps/product_steps.py:69 0.018s
And I should see "Samsung Galaxy 20" in the results                  # features/steps/product_steps.py:121 0.018s
And I should not see "Samsung TV" in the results                     # features/steps/product_steps.py:131 0.026s
And I should not see "White Bread" in the results                    # features/steps/product_steps.py:131 0.021s
And I should not see "Soap" in the results                           # features/steps/product_steps.py:131 0.023s
And I should see "Samsung Galaxy 20" in the "Name" field             # features/steps/product_steps.py:86 0.011s
And I should see "Black Samsung phone" in the "Description" field    # features/steps/product_steps.py:86 0.010s
And I should see "Tech" in the "Category" field                      # features/steps/product_steps.py:86 0.008s
And I should see "1999.99" in the "Price" field                      # features/steps/product_steps.py:86 0.026s
Scenario: Query Products by Category                                   # features/products.feature:102
Given the following products                                         # features/steps/product_steps.py:21 0.047s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                         # features/steps/product_steps.py:45 0.037s
And I set the "Search_Category" to "Tech"                            # features/steps/product_steps.py:62 0.065s
And I press the "Search" button                                      # features/steps/product_steps.py:81 0.037s
Then I should see the message "Queried Products have been Returned!" # features/steps/product_steps.py:69 0.022s
And I should see "Samsung TV" in the results                         # features/steps/product_steps.py:121 0.021s
And I should see "Samsung Galaxy 20" in the results                  # features/steps/product_steps.py:121 0.015s
And I should not see "White Bread" in the results                    # features/steps/product_steps.py:131 0.023s
And I should not see "Soap" in the results                           # features/steps/product_steps.py:131 0.025s
And I should see "Samsung TV" in the "Name" field                    # features/steps/product_steps.py:86 0.010s
And I should see "52 inch Samsung TV" in the "Description" field     # features/steps/product_steps.py:86 0.010s
And I should see "Tech" in the "Category" field                      # features/steps/product_steps.py:86 0.009s
And I should see "3999.99" in the "Price" field                      # features/steps/product_steps.py:86 0.010s
Scenario: Query Products by Description                                # features/products.feature:116
Given the following products                                         # features/steps/product_steps.py:21 0.046s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                         # features/steps/product_steps.py:45 0.033s
And I set the "Search_Description" to "Wonder Bread"                 # features/steps/product_steps.py:62 0.071s
And I press the "Search" button                                      # features/steps/product_steps.py:81 0.039s
Then I should see the message "Queried Products have been Returned!" # features/steps/product_steps.py:69 0.018s
And I should see "White Bread" in the results                        # features/steps/product_steps.py:121 0.022s
And I should not see "Samsung TV" in the results                     # features/steps/product_steps.py:131 0.025s
And I should not see "Samsung Galaxy 20" in the results              # features/steps/product_steps.py:131 0.023s
And I should not see "Soap" in the results                           # features/steps/product_steps.py:131 0.021s
And I should see "White Bread" in the "Name" field                   # features/steps/product_steps.py:86 0.021s
And I should see "Wonder Bread" in the "Description" field           # features/steps/product_steps.py:86 0.013s
And I should see "Food" in the "Category" field                      # features/steps/product_steps.py:86 0.010s
And I should see "3.99" in the "Price" field                         # features/steps/product_steps.py:86 0.008s
Scenario: Update a Product                                  # features/products.feature:130
Given the following products                              # features/steps/product_steps.py:21 0.048s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                              # features/steps/product_steps.py:45 0.034s
And I set the "Search_Name" to "White Bread"              # features/steps/product_steps.py:62 0.067s
And I press the "Search" button                           # features/steps/product_steps.py:81 0.037s
Then I should see "White Bread" in the "Name" field       # features/steps/product_steps.py:86 0.017s
And I should see "Food" in the "Category" field           # features/steps/product_steps.py:86 0.011s
When I change "Name" to "Wheat Bread"                     # features/steps/product_steps.py:137 0.070s
And I press the "Update" button                           # features/steps/product_steps.py:81 0.043s
Then I should see the message "Product has been Updated!" # features/steps/product_steps.py:69 0.020s
When I copy the "ID" field                                # features/steps/product_steps.py:103 0.015s
And I press the "Clear" button                            # features/steps/product_steps.py:81 0.035s
And I paste the "ID" field                                # features/steps/product_steps.py:112 0.060s
And I press the "Retrieve" button                         # features/steps/product_steps.py:81 0.042s
Then I should see "Wheat Bread" in the "Name" field       # features/steps/product_steps.py:86 0.014s
When I press the "Clear" button                           # features/steps/product_steps.py:81 0.027s
And I press the "Search" button                           # features/steps/product_steps.py:81 0.037s
Then I should see "Wheat Bread" in the results            # features/steps/product_steps.py:121 0.026s
Then I should not see "White Bread" in the results        # features/steps/product_steps.py:131 0.041s
Scenario: Delete a Product                                  # features/products.feature:149
Given the following products                              # features/steps/product_steps.py:21 0.048s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                              # features/steps/product_steps.py:45 0.037s
And I set the "Search_Name" to "White Bread"              # features/steps/product_steps.py:62 0.071s
And I press the "Search" button                           # features/steps/product_steps.py:81 0.041s
Then I should see "White Bread" in the "Name" field       # features/steps/product_steps.py:86 0.011s
And I should see "Food" in the "Category" field           # features/steps/product_steps.py:86 0.013s
When I copy the "ID" field                                # features/steps/product_steps.py:103 0.013s
And I press the "Clear" button                            # features/steps/product_steps.py:81 0.034s
And I paste the "ID" field                                # features/steps/product_steps.py:112 0.063s
And I press the "Delete" button                           # features/steps/product_steps.py:81 0.039s
Then I should see the message "Product has been Deleted!" # features/steps/product_steps.py:69 0.020s
Scenario: Purchase a Product                                  # features/products.feature:161
Given the following products                                # features/steps/product_steps.py:21 0.038s
| name              | category | description         | price   |
| Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
| Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
| White Bread       | Food     | Wonder Bread        | 3.99    |
When I visit the "Home Page"                                # features/steps/product_steps.py:45 0.033s
And I set the "Search_Name" to "White Bread"                # features/steps/product_steps.py:62 0.074s
And I press the "Search" button                             # features/steps/product_steps.py:81 0.039s
Then I should see "White Bread" in the "Name" field         # features/steps/product_steps.py:86 0.011s
And I should see "Food" in the "Category" field             # features/steps/product_steps.py:86 0.013s
When I copy the "ID" field                                  # features/steps/product_steps.py:103 0.011s
And I press the "Clear" button                              # features/steps/product_steps.py:81 0.043s
And I paste the "ID" field to "Purchase_ID"                 # features/steps/product_steps.py:147 0.069s
And I set the "Amount" to "4"                               # features/steps/product_steps.py:62 0.066s
And I set the "User_ID" to "472"                            # features/steps/product_steps.py:62 0.069s
And I press the "Purchase" button                           # features/steps/product_steps.py:81 0.038s
Then I should see the message "Product has been Purchased!" # features/steps/product_steps.py:69 1.050s
1 feature passed, 0 failed, 0 skipped
14 scenarios passed, 0 failed, 0 skipped
148 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m6.175s

Codecov Report

Merging #116 (e080804) into master (3f591d5) will decrease coverage by 0.61%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
- Coverage   98.07%   97.46%   -0.62%
==========================================
  Files           2        2
  Lines         260      355      +95
==========================================
+ Hits          255      346      +91
- Misses          5        9       +4

Impacted Files
Coverage Δ

service/models.py
100.00% <100.00%> (ø)

service/service.py
95.98% <100.00%> (-1.21%)
:arrow_down:

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 3f591d5...e080804. Read the comment docs.

IBM Cloud toolchain: Delivery Pipeline deployed products to dev, including commit eb3fb02f4a33701a65685c2b716e9cd3d8e75bff

IBM Cloud toolchain: Delivery Pipeline deployed products to prod, including commit eb3fb02f4a33701a65685c2b716e9cd3d8e75bff


Reset version specific fields after update

Resolves #229
Currently, WingetCreate preserves the values of version specific fields such as ReleaseDate, ReleaseNotes, and ReleaseUrl when updating manifests. The changes in this PR reset those values after each update so that newly-updated manifests do not get populated with outdated values.
Changes:

Added a helper method called ResetVersionSpecificFields() in the UpdateCommand.

Tests:

Added a unit test called UpdateResetsVersionSpecificFields() that verifies that ReleaseDate, ReleaseNotes, and ReleaseUrl are set to null across all manifests after an update.

Microsoft Reviewers: Open in CodeFlow

windows-2022 does not have sdk version 18360 installed. You could potentially update all projects under the solution to target 22000 to solve the build failure(22000 is the target version of our AppInstaller, 17763 is target min version).

windows-2022 does not have sdk version 18360 installed. You could potentially update all projects under the solution to target 22000 to solve the build failure(22000 is the target version of our AppInstaller, 17763 is target min version).

Thanks for letting me know, I will address that in a separate PR.


Investigate phrase_file, sound_file types

The type annotation for class AudioProgramGenerator says one thing, but what is passed into them is another:
$ apg apgfiles/lukas.txt apgfiles/river_and_birds.wav
> /Users/jwr003/coding/audio_program_generator/audio_program_generator/apg.py(41)__init__()
-> self.filenames_valid = self._validate_filename_extensions(
(Pdb) type(phrase_file)
<class '_io.TextIOWrapper'>
(Pdb) type(sound_file)
<class '_io.BufferedReader'>
(Pdb) n
> /Users/jwr003/coding/audio_program_generator/audio_program_generator/apg.py(42)__init__()
-> phrase_file, sound_file
(Pdb) n
> /Users/jwr003/coding/audio_program_generator/audio_program_generator/apg.py(41)__init__()
-> self.filenames_valid = self._validate_filename_extensions(
(Pdb) n
> /Users/jwr003/coding/audio_program_generator/audio_program_generator/apg.py(44)__init__()
-> self.phrase_file = phrase_file.read()  # Fileobj to generate speech segments
(Pdb) n
> /Users/jwr003/coding/audio_program_generator/audio_program_generator/apg.py(45)__init__()
-> self.sound_file = sound_file  # Fileobj to mix w/ generated speech
(Pdb) n
> /Users/jwr003/coding/audio_program_generator/audio_program_generator/apg.py(46)__init__()
-> self.slow = kwargs.get("slow", False)  # Half-speed speech if True
(Pdb) type(self.phrase_file)
<class 'str'>
(Pdb) type(self.sound_file)
<class '_io.BufferedReader'>
(Pdb) ll
 35  	    def __init__(self, phrase_file: StringIO, sound_file: BytesIO = None, **kwargs):
 36  	        """
 37  	        Initialize class instance
 38  	        """
 39
 40  	        breakpoint()
 41  	        self.filenames_valid = self._validate_filename_extensions(
 42  	            phrase_file, sound_file
 43  	        )  # Only support '.txt', '.wav' for phrase_file, sound_file
 44  	        self.phrase_file = phrase_file.read()  # Fileobj to generate speech segments
 45  	        self.sound_file = sound_file  # Fileobj to mix w/ generated speech
 46  ->	        self.slow = kwargs.get("slow", False)  # Half-speed speech if True
 47  	        self.attenuation = kwargs.get("attenuation", 10)  # Attenuation value, if mixing
 48  	        self.tld = kwargs.get("tld", "com")  # TLD for accents
 49  	        self.speech_file = None  # Generated speech/silence
 50  	        self.mix_file = None  # Mixed speeech/sound
 51  	        self.result = BytesIO(None)  # File-like object to store final result
 52  	        self.hide_progress_bar = kwargs.get("hide_progress_bar", False)
 53  	        self.book_mode = kwargs.get("book_mode", False)
 54
 55  	        config_handler.set_global(
 56  	            bar=None,
 57  	            stats=False,
 58  	            monitor=False,
 59  	            elapsed=False,
 60  	            disable=self.hide_progress_bar,
 61  	        )  # Set 'alive' progress bar global options

CLI (main.py) takes in phrase_path and sound_path (both of type PosixPath), then opens each, resulting in:
phrase_file: _io.TextIOWrapper (with name attr)
sound_file: _ioBufferedReader (with name attr)
CLI then instantiates AudioProgramGenerator class with phrase_file, sound_file params
APG (apg.py) takes in phrase_file, sound_file as passed in from CLI (e.g. <_io.TextIOWrapper name='/Users/jwr003/coding/audio_program_generator/tests/resources/phrases.txt' mode='r' encoding='UTF-8'>, <_io.BufferedReader name='/Users/jwr003/coding/audio_program_generator/tests/resources/mustang4.wav'>)
...and populates instance attributes as:
self.phrase_file: TextIOWrapper
self.sound_file: BufferedReader
The resulting output file (return value from invoke()) is of type BytesIO, a binary stream using an in-memory bytes buffer. This was specifically chosen since it requires no read/write to disk (and hence will be portable to externally hosted platforms).


Don't require WRITE_EXTERNAL_STORAGE when using storageOptions.privateDirectory

Motivation (required)
Solves https://github.com/react-native-community/react-native-image-picker/issues/1342
Test Plan (required)
ImagePicker.launchCamera({ quality: 0.75, mediaType: "photo", storageOptions: { privateDirectory: true } }, (response: ImagePickerResponse) => { console.log(response) })

Expected results:

Android < 4.4: Requires and prompts for WRITE_EXTERNAL_STORAGE and CAMERA permissions.
Android >= 4.4: Requires and prompts for CAMERA permission.

ImagePicker.launchCamera({ quality: 0.75, mediaType: "photo", (response: ImagePickerResponse) => { console.log(response) })

Expected results:

Always requires and prompts for WRITE_EXTERNAL_STORAGE and CAMERA permissions.

can this be merged please? @Johan-dutoit @janicduplessis


Dissect Shiny app

Followup #75
Figure out how the code base works together,  particularly the custom functions:

[ ]  What is Global.R used for? Data download?
[ ]  What are R functions in Functions folder used for?

Currently preparing for this task by developing simple Shiny apps from scratch. Also waiting for Tyson's involvement.


Support GitLab's build and release instances as OIDC providers

Summary
We at GitLab (https://about.gitlab.com) are looking at integrating cosign to our official build and release workflow and are very much interested in using the keyless signing flow for it. However, our builds and releases happen not at GitLab.com, but at two separate GitLab instances - dev.gitlab.org and ops.gitlab.net. This PR adds support for those instances as valid OIDC token providers so that keyless signing and verification can be done in pipelines running on those instances.
As the first step, we will be signing our cloud native Docker images using cosign, and are also thinking about signing other build artifacts in the future.
PS: I referred to https://github.com/sigstore/fulcio/pull/1214 for this PR.
Release Note

Support GitLab's build and release instances as OIDC providers

Documentation

cc @haydentherapper

Thanks! Can you update the order to be alphabetized?

@balasankarc Can you confirm how the gitlab.com issuer is used?

@haydentherapper I'm trying to setup a local fulcio/rekor instance and imitate the test in https://github.com/sigstore/fulcio/pull/1214#issuecomment-1588030117
Config file of fulcio is as follows
{
  "OIDCIssuers": {
    "https://ops.gitlab.net": {
      "IssuerURL": "https://ops.gitlab.net",
      "ClientID": "sigstore",
      "Type": "gitlab-pipeline"
    }
  }
}

$ cosign sign --yes --oidc-issuer="https://ops.gitlab.net" --fulcio-url="http://fulcio.balasankarc.in:5555" --rekor-url="http://fulcio.balasankarc.in:3000" --insecure-skip-verify "docker://${CI_REGISTRY_IMAGE}:${CI_JOB_ID}@${image_digest}"
Generating ephemeral keys...
Retrieving signed certificate...
Error: signing [docker://registry.ops.gitlab.net/balasankarc/test-fulcio:10937947@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33]: getting signer: getting key from Fulcio: retrieving cert: POST http://fulcio.balasankarc.in:5555/api/v1/signingCert returned 400 Bad Request: "{\"code\":3,\"message\":\"There was an error processing the identity token\",\"details\":[]}"
main.go:74: error during command execution: signing [docker://registry.ops.gitlab.net/balasankarc/test-fulcio:10937947@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33]: getting signer: getting key from Fulcio: retrieving cert: POST http://fulcio.balasankarc.in:5555/api/v1/signingCert returned 400 Bad Request: "{\"code\":3,\"message\":\"There was an error processing the identity token\",\"details\":[]}"

In the fulcio logs, I am seeing
2023-08-18T05:25:34.693Z        ERROR   server/error.go:45      returning with error    {"requestID": "-3sDJtZU", "code": "InvalidArgument", "clientMessage": "There was an error processing the identity token", "error": "failed to match issuer URL https:/
/accounts.google.com from token with any configured providers"}

Looks like I might be getting hit with https://github.com/sigstore/cosign/issues/1258 as I am not seeing the OIDC issuer I specified being used by cosign, but google is being used (this is being run on a GCP VM, spun up by a GitLab CI job, which has SIGSTORE_ID_TOKEN env variable set as expected)

Can you set --oidc-provider=envvar? This should force cosign to use the env var token rather than GCP.

@balasankarc Did you have any updates on if this is working as intended for you?
Also just wanted to confirm that the gitlab.com issuer is still in use?

Just wanted to bump this - I'm good to merge this and get these into staging once you confirm this is working for you locally and the gitlab.com issuer is needed.

@haydentherapper Apologies - I was OOO for last two weeks and away from my work computer and am just back today. I will continue with testing it locally and get back to you.
Also, to answer your other question

Also just wanted to confirm that the gitlab.com issuer is still in use?

Yes. It is definitely still in use.

@haydentherapper Thanks for the merge. Just to confirm - did these changes already get deployed to the staging/public instances (and thus can be used already) or is that to be done manually?

They’ll be deployed within the week, I’ll ping you here once it’s rolled out.

They’ll be deployed within the week, I’ll ping you here once it’s rolled out.

Thank you. Much appreciated.

@balasankarc Changes are merged to the prod and staging environments


"Entity types with constructors" documentation doesn't explain how the framework prioritizes constructors for instantiation.

"Entity types with constructors" documentation doesn't explain how the framework prioritizes constructors for instantiation.
The ambiguous text in question:

When EF Core creates instances of these types, such as for the results of a query, it will first call the default parameterless constructor and then set each property to the value from the database. However, if EF Core finds a parameterized constructor with parameter names and types that match those of mapped properties, then it will instead call the parameterized constructor with values for those properties and will not set each property explicitly.

Does the framework look for the constructor that has the greatest number of parameters matching properties?
Is it possible to define which constructor for a given entity should be used? Or to set the global method of choosing?
In my case, I've got a private default constructor I always leave for EF Core.
I have another internal constructor my domain services use to create the entity, and that constructor can have some heavy validation or other type of logic inside itself.
If I create another private constructor that accepts parameters for all the properties, will that one be prioritized over the one mentioned above?
What if I already have a constructor that accepts parameters for all properties and does some logic I wouldn't want to run on EFCore's entity instantiation?
How could I solve that, given that I can't create two constructors with the same parameter signature?
EDIT: I've tested it out on EFCore 6.0.1. The framework prioritizes the constructor with minimal parameter count (including 0) where all parameters correspond to a property.
If this was made clear in the documentation I wouldn't have had to waste time on testing it out!

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

ID: ecc7aedf-6301-7ec7-4f65-81749b1f54c8
Version Independent ID: d0774ffa-c841-e6df-72de-d7f53c0d6f6f
Content: Entity types with constructors - EF Core
Content Source: entity-framework/core/modeling/constructors.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @ajcvickers
Microsoft Alias: avickers

@ErroneousFatality This is related to #2571, #1847, and #746. I agree this documentation could be better.
EF always uses a parameterless constructor if one is present. This avoids breaking from earlier versions of EF that would only use parameterless constructors. Configuration for the constructor to use is tracked by https://github.com/dotnet/efcore/issues/10789.

Thanks for the info.
The biggest issue I'm having, due to the way it currently works, is that when using the nullable reference type enabled configuration, I'd like to have a constructor for EF that covers all the non-nullable types that need to have values on construction, but often I can't because my "domain" constructor has equal or less parameters. So I end up with some monstrosity like
private Entity(string property1) {Property1 = property1; Property2 = default!; Property3 = default!;}


I can't start Godot

Hello!
I have download Godot v1.0 and 2.1.4 for my Windows 10 operating system but I can't start it: flash a title screen and a kind of text screen on the background but these disappearing suddenly.
What is wrong?

Is there any error on the console? Does your GPU support OpenGL 2.1?

I can't see the messages on the console, because it disappear too quickly.
My GPU is an AMD Radeon HD 7480D (on board VGA).

Try to start the Godot executable from a command prompt:

Open a command prompt in the folder where the Godot executable is located. You can do this by using Shift + Right click on an empty space (in the Explorer, or on the desktop), then choosing Open command window here or Open PowerShell window here (depending on your Windows version).
In the window that appeared, type the name of the Godot executable, which is godot.windows.opt.tools.64.exe for a 64-bit Windows executable, unless you renamed it. Note that you can complete names using Tab.
You should see messages from the command prompt (and it won't disappear when Godot closes). Copy the entire log and post it here, surrounding it with three backticks (```) for formatting.

Thanks, Calinou!
I  got the following messages:
D:\progsetup\AndroidGM>Godot_v2.1.4-stable_win64
ERROR: No loader found for resource: res://jatekter
At: core\io\resource_loader.cpp:210
ERROR: Failed loading scene: res://jatekter
At: main\main.cpp:1409
ERROR: SpatialSoundServerSW::free: Attempt to free invalid ID
At: servers\spatial_sound\spatial_sound_server_sw.cpp:598
ERROR: SpatialSound2DServerSW::free: Attempt to free invalid ID
At: servers\spatial_sound_2d\spatial_sound_2d_server_sw.cpp:595
WARNING: ObjectDB::cleanup: ObjectDB Instances still exist!
At: core\object.cpp:1845

"jatekter" ("gamespace") is something ruin of my older game project.

Do you have two Godot executables in the same folder?

Does that folder contain engine.cfg?

Yes, that folder contains Godot v.2.1.4. and v.1.0 and engine.cfg too.

Godot will try to run the game instead if engine.cfg exists.

Maybe we could implemented a "--run" flag for Godot when compiled with tools support? To prevent users getting this kind of problems. That way if godot is compiled with tools support it will only run a project if executed with --run, and for the godot templates that don't have tools support the current behaviour is used.

@akien-mga @reduz What do you say about this "--run" idea?

Duplicate of the closed #9020, which was marked duplicate of #7764.

Edit: Nevermind this, just saw that there is a PR that fixes this issue.

Not that I know of. If you mean the one about upwards godot.project lookup, it doesn't change the fact that a godot.project file in the executable folder will make the project run.

What do you say about this "--run" idea?

I thought about this already and mentioned it a couple times, but I'm not sure what's best as default behaviour. We already have --editor to force running the editor instead of the default behaviour of running the game, so if we implement --run we'd have to flip the default behaviour and drop --editor.
It all boils down to the question of which use case is the most widespread. It's not uncommon that beginners are surprised by the current default behaviour, but one past the initial surprise, I think many Godot users like that they can run the game directly without having to pass a switch.
There are pros and cons to both systems. The advantage of the current one is that the tools and non-tools binaries behave the same way: they run the project in their folder, if any. It makes sense that only the tools binary has the --editor switch, but would it make sense that the non-tools binary lacks the (for it, useless) --run that the editor would have?

@hello432369 please don't comment on issues that have been closed for 6 years, this was closed as a duplicate in any case, no need to resurrect ancient issues


Feature/atlantins init

Plan Error
parsing atlantis.yaml: repo config not allowed to set 'workflow' key: server-side config needs 'allowed_overrides: [workflow]'


fixing typo

Enviomental -> Environmental

Thanks @heckj. Since you have this PR up, want to make some of the other typo changes:
Catalogging -> Cataloging
Retrive -> Retrieve
"a particular elements" -> "a particular element"

LOL - I just made the change in the editor on github, so I really don't have "anything up" this time, but yeah - I'll go find those and add in fixes.

Ha - ok. I've never done it that way.

It's the ultimate github crack for quick fixes... :-) Fixes up!

Got it - nice!! Two others:
Catalogging -> Cataloging
Grammatical change: "a particular elements" -> "a particular element"

Great - thanks!! :+1:


VictoriaMetric failed to execute: slo:period_burn_rate:ratio for period 4weeks or 30days

Hello Team,
I facing the issue when VictoriaMetric execute: slo:period_burn_rate:ratio for period windows 4weeks or 30days. please share what is root cause of this ?
detail error:
error	VictoriaMetrics/app/vmalert/group.go:292	group "sloth-slo-meta-recordings-ct-api-job-http-availability": rule "slo:period_burn_rate:ratio": failed to execute: original metric {[{sloth_service ct-api-job} {sloth_slo http-availability} {sloth_window 4w} {owner ct-api-job} {sloth_id ct-api-job-http-availability}] [1668574020] [0.7349204834615]}; resulting labels "name=slo:period_burn_rate:ratio,owner=ct-job,sloth_id=ct-api-job-http-availability,sloth_service=ct-api-job,sloth_slo=http-availability,sloth_window=4w": result contains metrics with the same labelset after applying rule labels
Thank you
Vin

Hello,
Since there are duplicate data of metric => it cannot evaluate the query on sloth.
Thank you
vin


Upped sphinx version requirement to fix broken documentation with python 3.9

Description
Creating the documentation with python 3.9 fails for Sphinx versions below 3.1. This became apparent when the CI started using python 3.9 and the documentation action failing thereafter. This PR simply increases the sphinx version requirement to 3.1. This version also works with at least python 3.8.
Example error before 3.1:
WARNING: error while formatting arguments for gt4py.stencil_builder.StencilBuilder.with_externals: type object 'dict' has no attribute '_special'

Edit:
The new sphinx version additionally warns if a property or method is documented twice. This leads to the unexpected behavior that
class Example:
  """
  Something

  Attributes:
  -------------
  some_property: Something
  """

  # ...

  @property
  def some_property():
    # ...

throws a warning even though some_property itself does not contain a docstring:
.../gt4py/src/gt4py/storage/storage.py:docstring of gt4py.storage.storage.Storage.backend:1: WARNING: duplicate object description of gt4py.storage.storage.Storage.backend, other instance in _source/gt4py.storage, use :noindex: for one of them

Apparently the attributes section is only ment for documenting attributes, which are not defined in the class body, but for example by assignment inside of methods. Hence documentation for them should be made using regular docstrings there, i.e.
class Example:
  """
  Something
  """

  # ...

  @property
  def some_property():
    """Something"""
    # ...

Requirements
Before submitting this PR, please make sure:

[ ] The code builds cleanly without new errors or warnings
[ ] The code passes all the existing tests
[x] If this PR adds a new feature, new tests have been added to test these
new features
[x] All relevant documentation has been updated or added

Additionally, if this PR contains code authored by new contributors:

[x] All the authors are covered by a valid contributor assignment agreement,
signed by the employer if needed, provided to ETH Zurich
[x] The names of all the new contributors have been added to an updated
version of the AUTHORS.rst file included in the PR

It makes sense. Additionally, wouldn't it be also useful to fix the python version executing the doc generation tests to avoid this kind of errors in the future?

As discussed yes this makes sense. Ready for re-review.


Getting HttpError: Not Found

            - name: Backend Code Coverage report
              id: code-coverage
              uses: barecheck/code-coverage-action@v1
              with:
                barecheck-github-app-token: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
                lcov-file: "apps/func/coverage/lcov.info"
                send-summary-comment: true
                show-annotations: "warning"
              env:
                BARECHECK_GITHUB_APP_TOKEN: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}

Output:
lcov-file: apps/func/coverage/lcov.info
Current code coverage: 48.29%
Base branch code coverage: 0%
Code coverage diff: 48.29%
Code coverage diff: 48.29%
HttpError: Not Found
Error: Not Found

Closing the issue as it was an issue on my end.
Just in case anyone faces the same the reason for the error was that BARECHECK_GITHUB_APP_TOKEN didn't have access to the repo.


Version 1.1.4

Created odd_linked_question route that generates random ODD linked question
Created route oddyssee_platform_odd_good_practices which permits to check the good practices about odd
Added good practices for ODD 1 7 and 15

🎉


Use titles, descriptions, icons (CSS class names) defined in WIT

Child of #883
(See mail entitled “Process Template - icons for status & WI types” in devtools-almighty ML)

The work item details view now uses some labels ("Assignees", "Creator", "Iteration") as defined in the work item type.

The work item type names, icons and descriptions are now (6ee510e4b600abaf06cbb25e9428508cad041a9e) also fetched directly from the work item type:

@michaelkleinhenz is there anything missing?

Done.


Added SwipeCellKit.

Project URL
https://github.com/jerkoch/SwipeCellKit
Description
Swipeable UITableViewCell based on the stock Mail.app, implemented in Swift.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

1687
301
https://github.com/Mozharovsky/CVCalendar redirects tohttps://github.com/CVCalendar/CVCalendar

  Generated by :no_entry_sign: Danger

Hey @arasu01, Cool lib 👍🏻. Thanks for contributing to Awesome iOS 🎉🎉🎉🎉


Extend FileSystemInfoBase with FileSystem property (closes #239)

Please review my PR and appropriate issue #239.

Please ignore this PR, I will re-send another one properly.


Add ability to convert Parameterized tests

Add the ability to convert parameterized tests.

Personally I do not need this feature at the moment.
Happy to review a PR.

Project/repository will be archived (see #59).


Instability in training OPANAS from Scratch.

Dear Author:
I am now trying to reproduce your results from training from scratch on COCO Dataset. But it occurs to me that the Model cannot covergence with APEXOptimizer hook. Could you provide me with some advices?

Hi, thanks for noticing.
The convergence of this model is not very stable due to the deep Neck architecture. In my previous work, I tried lowering the initial learning rate and adding batch normalization in Neck to solve the convergence problem. I have no plans for training from scratch in the near future, but issues are welcomed if you run into other problems.


HTTP Action queries incorrectly quoted

Describe the Bug with repro steps

Open VSCode and create a logicapp
Add an HTTP action
add a query
set the value to an integer
save and close the logicapp
re-open the logicapp in VS Code

code view shows
8. fix it removing the quotes around the integer value
9. everything looks good
10.

11. when you reopen it, same problem in visualization

What type of Logic App Is this happening in?
Standard (VSCode)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
VSCode Editor
Additional context
No response

yep, that definitely happens just in VSCode. I submitted this here indicating

What type of Logic App Is this happening in?
Standard (VSCode)

but if it's the wrong way/the wrong report please tell me where to post ^_^


Fix cloning of Image with pix_ == nullptr (issue #537)

Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

I still think this PR is useful.
Will we merge it?


Is this model suitable for chinese?

I have seen some files like "char_vocab_chinese.txt", so is there a chinese pretrained model?

That 's ok, maybe you need to train a model of your own

Except the GloVe embedding that I should replace with my own chinese embedding, is there any file that I should replace with my own file?  And I have seen training data of chinese is included in these files!

That 's ok, maybe you need to train a model of your own

Except the GloVe embedding that I should replace with my own chinese embedding, is there any file that I should replace with my own file?  And I have seen training data of chinese is included in these files!

Hope that someone has trained this model in Chinese and would like to share his github link here

I am trying train the model with Chinese dataset from Ontonote5.0, but it seems that the model can not converge, if anyone has done the same work, advice will be welcome.

Thanks for your reply！ I just referenced https://github.com/mandarjoshi90/coref for the conversion of Chinese data，maybe you can try it.
On 06/30/2020 13:59, zhuqi wrote:
I am trying train the model with Chinese dataset from Ontonote5.0, but it seems that the model can not converge, if anyone has done the same work, advice will be welcome.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for your advice, yes I am trying the bert-coref model now and the performance is not good yet, anyway, still finetune the model. And if you are training it as well, maybe we can share our results.

I am training(not finished) the model of Chinese-coref-bert from  https://github.com/mandarjoshi90/coref which is an extension of the e2e-coref model. If you want a further communication,you can contact me by my<EMAIL_ADDRESS>On 07/01/2020 16:43, zhuqi wrote:
Thanks for your advice, yes I am trying the bert-coref model now and the performance is not good yet, anyway, still finetune the model. And if you are training it as well, maybe we can share our results.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Show an alert when someone shares a dataset with you

lovely

the same when someone stops sharing a dataset with you

and the same when a new common data is available

what do you think also if we add when someone likes your map?

I like it, but those notifications should come from the backend. @ethervoid with the new notifications stuff you are developing, could we do this?

Right now the notification manager is oriented to mailing. I should take a look how the notification part work and see how easy is to integrate into the notification manager

After checking how this part works in the front, conclusion is that right now is a "static" part that don't receive notifications from backend.
To implement this we should store, for example in Redis, all the notifications a user receive and then the front could retrieve it from there.

Closing, if we have time to do it, we will open a new one ❤


Design and implement named bindings

Like
            Bind<IB>("bind name")
                .To<B>()
                .WithScope(BindScopeEnum.Singleton)
                ;

...

     kernel.Get<IB>("bind name");

Design should include a relationship between named and unnamed bindings in resolving hierarchy (can named bindings resolve unnamed dependency and vice-versa?).

Probably we need to define a names dependency tree somehow. Then, resolving procedure will try to get dependencied object with same name if possible, if not the procedure gets parent name and repeat. Root name (default name) is string.Empty. Root name also may be incorporated in the names dependency tree (or may not).
Examples
Tree
    public abstract class BindingNameTree
    {
        protected abstract void GenerateTree();

        private readonly List<Relationship> _relationships;

        public BindingNameTree()
        {
            _relationships = new List<Relationship>();
        }

        protected Relationship Name(string childName)
        {
            if (string.IsNullOrWhiteSpace(childName))
            {
                throw new ArgumentException($"'{nameof(childName)}' cannot be null or whitespace", nameof(childName));
            }

            return new Relationship(this, childName);
        }

        private void StoreRelationship(Relationship relationship)
        {
            if (relationship is null)
            {
                throw new ArgumentNullException(nameof(relationship));
            }

            _relationships.Add(relationship);
        }

        protected class Relationship
        {
            private readonly BindingNameTree _tree;

            public string ChildName { get; }
            public string ParentName { get; private set; }

            public Relationship(
                BindingNameTree tree,
                string childName
                )
            {
                if (tree is null)
                {
                    throw new ArgumentNullException(nameof(tree));
                }

                if (string.IsNullOrWhiteSpace(childName))
                {
                    throw new ArgumentException($"'{nameof(childName)}' cannot be null or whitespace", nameof(childName));
                }

                _tree = tree;
                ChildName = childName;
            }

            public void IsChildOf(string parentName)
            {
                if (string.IsNullOrWhiteSpace(parentName))
                {
                    throw new ArgumentException($"'{nameof(parentName)}' cannot be null or whitespace", nameof(parentName));
                }

                if(parentName == ChildName)
                {
                    throw new ArgumentException($"Child and parent are the same", nameof(parentName));
                }

                ParentName = parentName;

                _tree.StoreRelationship(this);
            }
        }
    }

    public class ConcreteBindingNameTree : BindingNameTree
    {
        public const string RootName = "";
        public const string ChildName1 = "childname1";
        public const string ChildName2 = "childname1";

        protected override void GenerateTree()
        {
            Name(ChildName1).IsChildOf(RootName);
            Name(ChildName2).IsChildOf(RootName);
        }

    }

    public partial class ConstStringModule : DpdtModule
    {
        public override BindingNameTree NameTree => new ConcreteBindingNameTree();

        public override void Load()
        {
        }
     }

PROBLEM: should GetAll<>(some name) gets all bindings from some name only or it should grabs all bindings from whole names dependency subtree?
SOLUTION: GetAll should work as Get to prevent logic and symmetry. Get does not grab bindings from others names. So - GetAll should not too.

Imagine classes hierarchy: Base <- Middle <- Derived. Imagine also that Derived with a Custom name, Middle with a Default name. We request Get<Derived>(). What's name should have Base to be successfully resolved? Custom or Default?
In other words, should we 'revert' current name to the requested name if current name slided down by its tree during resolvation?
Probably... shouldn't?

Q: If custom name exists in its tree (e.g. in CustomBindingNameTree), but no bindings with that name exists at all, should we decide that custom name exists? (if so - GetAll should return empty collections from that name, otherwise - raise exceptions).
S: If no bindings available, the name does not exists at real. GetAll should raise exceptions for that cases.


Link broken

The guidance of fVDB link is broken

Apologies @VLadImirluren, we had removed the notebooks before committing because we needed to update them for some API changes.  They should be there now.


🚀 Feature Request: ability to pass environment variables to wrangler via CLI

Describe the solution
I want to programmatically start a test server with wrangler dev and then run a test on it, but I need the worker to have a secret without storing it in my git repo.  I want to be able to just do API_KEY=blahblahblah wrangler dev and somehow configure it to pass that to the worker, but it doesn't give me any way to do that...the only option is to store secrets in the cloud or in the wrangler.toml.
I'm just trying to make a quick and simple test that my package works in a Cloudflare worker; I don't need to make a full-blown deployment.

@mrbbot thanks for the tip!  Using a .dev.vars would be slightly more ergonomic for us.  Yes I agree about not just forwarding all environment variables.  A prefix would be one option, personally I would lean toward one of the following options:

something like Deno's --allow-env=\<VARIABLE_NAME>
wrangler dev --env FOO=bar (like docker compose run --env DEBUG)

@jedwards1211 wrangler dev also has a --var flag that you can pass in (https://developers.cloudflare.com/workers/wrangler/commands/#dev). Would that work?

@admah ah that would work!  If that was available when I opened the issue, sorry I failed to find it.


Replace root=UUID= with root=device

@Vogtinator this will take care of switching from UUID to device name (only if encrypted)


Is it possible to specify the JDK ?

I'm using this very promising java Jupyter kernel, my problem is that I've installed on my workstation multiple JDK (using jenv) and I would want to know if there are a way to configure a default JDK  for it

You can edit the kernel.json to link to a specific JDK. E.g. I am using this (via jbang but you can put a java executable in the "argv" as well):
{
  "argv" : [
    "/home/dsyer/.sdkman/candidates/jbang/current/bin/jbang",
    "--java",
    "22",
    "--ea",
    "-R--add-modules",
    "-Rjava.base,jdk.incubator.vector",
    "-R-ea",
    "-R--add-opens",
    "-Rjava.base/jdk.internal.misc=ALL-UNNAMED",
    "-R--illegal-access=permit",
    "io.github.padreati:rapaio-jupyter-kernel:2.1.0@fatjar",
    "{connection_file}"
  ],
  "display_name" : "java (Rapaio/j!)",
  "language" : "java",
  "interrupt_mode" : "message",
  "env" : {
    "RJK_TIMEOUT_MILLIS" : "-1",
    "RJK_COMPILER_OPTIONS" : ""
  }
}


Implement a generic getter for IdlValue

This feature would be useful for interacting with IdlValues, a proposed signature for such method would be:
  template <typename T>
  std::optional<T> get();

with specialization for each type, for example the current getter for uint8_t values is:
  bool getInt8(int8_t *val);
which is not idiomatic, using the template get and a proper specialization, an implementation looks like this:
template<>
std::optional<uint8_t> get() {....}

which is more idiomatic than the previous version

:link: zboto Link

Closed by #24


beep: can not open device

Issue description
beep does not work.
$ beep
Could not open /dev/tty0 or /dev/vc/0 for writing
open: No such file or directory
Steps to reproduce
see above
Technical details

System: NixOS: 17.09.1927.6a0a00d91e
Nix version: nix-env (Nix) 1.11.15

Check the permissions of the devices. You need to be in the right group for it.
/dev/tty0 at least is in the tty group and /dev/vc/0 isn't on my machine.

Ok, but when I add the user to the tty group, I get:
$ beep
ioctl: Operation not permitted
ioctl: Operation not permitted
strace:
brk(NULL)                               = 0xa14000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f516bf35000
access("/etc/ld-nix.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/tls/x86_64", 0x7ffffb4c5f20) = -1 ENOENT (No such file or directory)
open("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/tls", 0x7ffffb4c5f20) = -1 ENOENT (No such file or directory)
open("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/x86_64", 0x7ffffb4c5f20) = -1 ENOENT (No such file or directory)
open("/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\6\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=1912328, ...}) = 0
mmap(NULL, 3795136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f516b976000
mprotect(0x7f516bb0c000, 2093056, PROT_NONE) = 0
mmap(0x7f516bd0b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f516bd0b000
mmap(0x7f516bd11000, 14528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f516bd11000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f516bf32000
arch_prctl(ARCH_SET_FS, 0x7f516bf32700) = 0
mprotect(0x7f516bd0b000, 16384, PROT_READ) = 0
mprotect(0x602000, 4096, PROT_READ)     = 0
mprotect(0x7f516bf38000, 4096, PROT_READ) = 0
brk(NULL)                               = 0xa14000
brk(0xa35000)                           = 0xa35000
rt_sigaction(SIGINT, {sa_handler=0x4010b0, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f516b9a9420}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
open("/dev/tty0", O_WRONLY)             = 3
ioctl(3, EVIOCGSND(0), 0x7f516bd11e20)  = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, KIOCSOUND, 0xa97)              = -1 EPERM (Operation not permitted)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 16), ...}) = 0
dup(2)                                  = 4
fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 16), ...}) = 0
write(4, "ioctl: Operation not permitted\n", 31ioctl: Operation not permitted
) = 31
close(4)                                = 0
nanosleep({tv_sec=0, tv_nsec=200000000}, NULL) = 0
ioctl(3, KIOCSOUND, 0)                  = -1 EPERM (Operation not permitted)
dup(2)                                  = 4
fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 16), ...}) = 0
write(4, "ioctl: Operation not permitted\n", 31ioctl: Operation not permitted
) = 31
close(4)                                = 0
close(3)                                = 0
write(1, "\7\7", 2)                     = 2
exit_group(0)                           = ?
+++ exited with 0 +++

But even when I run beep as root, nothing beeps. Playing audio (with mpv) works, though.

Reproducible at lastest nixos-unstable.

I also just encountered this.
In ArchLinux, they suid it. NixOS has some other feature to do that. https://bbs.archlinux.org/viewtopic.php?id=117309

Yeah, we could use a suid wrapper (see security.wrappers), but the issue is that it doesn't seem to work even when run as root.

beep as root in a vtty exits with exit code 0, but doesn't make a sound, but that depends on the rest of the configuration. I might have turned off my pc speaker.
A good solution would use programs.beep style configuration.
beep in my terminal emulator in an X session does what it's supposed to do, it's just that it also outputs the above described text (which is not what one would want to see).

@stale no

I tried to get beep to work. I am new on NixOs, so I tried to replicate my other developer computer and that includes the beep command.
I figured out, that if I manually modprobe the pcspkr kernel module then beep works.
I tried to add pcspkr to the NixOs configuration, but it didn't work, so I started to investigate the problem.
I found that the module is blocked in /etc/modprobe.d/ubuntu.conf.
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

Some .conf files from other distributions seems to be linked in modprobe.d, this break the
intention that things can be setup from the the NixOs configuration file.

am i able to modify ubuntu.conf from nixos configuration?

I had the same issue with ubuntu.conf preventing me from loading the pcspkr module.
This overlay takes care of it by commenting out the offending line:
nixpkgs.overlays = [(
  self: super: {
    kmod-blacklist-ubuntu = super.kmod-blacklist-ubuntu.overrideAttrs (old: {
      fixupPhase = ''
        substituteInPlace "$out"/modprobe.conf \
        --replace "blacklist pcspkr" "#blacklist pcspkr"
      '';
    });
  }
)];

Following the advice given here I was able to make beep work on a headless machine where I ssh into:
let
  beepGroup = "beep";
in
{
  users.users.<my-user> = {
    ...
    extraGroups = [ ...  beepGroup ];
    packages = with pkgs; [
      beep
    ];
  };

 # Make sure the group itself exists at all.
  users.groups = {
    "${beepGroup}" = { };
  };

  services.udev.extraRules = ''
    # Add write access to the PC speaker for the "${beepGroup}" group
    ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", RUN+="${pkgs.acl}/bin/setfacl -m g:${beepGroup}:w '$env{DEVNAME}'"
  '';


Update W3 link in the Tabs documentation to not lead to a 404 page

The W3 Link on the Tabs component currently leads to a 404 page. The updated link leads to the correct Tabs WAI-ARIA design pattern docs. Preview URL

[X] Use a meaningful title for the pull request. Include the name of the package modified.
[X] Test the change in your own code.
[X] Include the URL where we can test the change in the body of your PR.

This pull request:

[ ] Fixes a bug
[ ] Adds additional features/functionality
[x] Updates documentation or example code
[ ] Other

Looks like this was addressed in a separate commit


Can't import Fuzi into new project

This is error when i import Fuzi into my project by cocoapods version -0.39.0 (/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods.rb)

This is step when i install success Fuzi .
My xcode version is 7.1.1

@minhthuc251
Hi, you should use the TestFuzi.xcworkspace generated by CocoaPods rather than the original TestFuzi.xcodeproj. CocoaPods puts all dependencies in another project and you need to use the workspace to find the dependencies.
As suggested in your screenshot, CocoaPods has told you to use that xcworkspace

Thank you very much @cezheng


Merge Upstream

Merge the changes that I made in a PR to the upstream.

Sorry, I made this PR in error.


FIX: Revise generation of the displacements field from coefficients

Resolves: #198.

Okay, I think I got it.
Suppose we have a plumb dataset in LPS with PE dir j- (A). Because we do nothing dirmat we can consider the identity.
Now suppose that we're 1deg rotated clockwise around the vertical axis (the LP plane is rotated around S). So moving positively in the j direction moves mostly posterior and very slightly left, and negatively moves anterior and slightly right. This is identical to rotating the RA plane around S. Rotating the whole field by a 1deg rotation must not include flips.
So I've convinced myself of that. I don't have time right now to think through whether we're applying the correct rotation.

So moving positively in the j direction moves mostly posterior and very slightly left, and negatively moves anterior and slightly right.

Correct... on voxel coordinates.
The problem is that the oblique affine generates a "world" coordinate system, and there's no concept of "axes-flip" there.
I'm not 100% sure of this, but I believe that an image oriented LAS would not pass the obliquity check (i.e., will be considered "plumb"). In this case, and if the PE direction is i-, the consideration for the positive/negative direction of the displacement is done already some lines above.
If you want a tool that works in world coordinates to apply a transform along a certain data array axis, and the axes are not aligned with the world coordinates system, you indeed need to project the displacement on to the axes. But you don't change the direction.

Codecov Report

Merging #199 (a519ddd) into master (da14051) will decrease coverage by 0.04%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
- Coverage   94.45%   94.40%   -0.05%
==========================================
  Files          23       23
  Lines        1622     1627       +5
  Branches      188      189       +1
==========================================
+ Hits         1532     1536       +4
  Misses         61       61
- Partials       29       30       +1

Flag
Coverage Δ

travis
89.66% <92.30%> (-0.03%)
:arrow_down:

unittests
94.26% <92.30%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sdcflows/interfaces/bspline.py
92.22% <92.30%> (-0.24%)
:arrow_down:

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 da14051...a519ddd. Read the comment docs.

Okay, I've talked myself into why we rotate in the same direction as the world and not backwards, so this seems right. My final point of unclarity is: Why is the distortion in world space and not in voxel space? If I'm oriented at 45deg to the pedir, shouldn't I still smear along the pedir and not to my anterior?

The grid in which the fieldmap is sampled is indeed in voxel coordinates. Also the displacements field that ANTs takes in to apply the transform but the displacements themselves are in world coordinates

So should we be applying the inverse rotation?

Ugh that's sensible. I need to think it through.


Add the option to disable the console AI

This is necessary for enterprise use cases when working with confidential or  proprietary data that must not leave the premises.
While you have promp-engineered  ChatGPT to only respond to queries about the Appwrite console, the contents of the query are nevertheless sent to OpenAI for inference, including any proprietary or confidential data that the user might erroneously insert into the prompt.
To be able to ensure that company-wide infosec policies are followed, it is adamant that the ability to use the built-in AI can be optionally disabled by a system administrator.

@aabmets, thanks for raising this issue! 🙏🏼 The AI prompt should be hidden if the Assistant environment variable isn't set.

Is there something more you were asking for?

Ok, thanks, it works for self-hosting.


Git removed from Docker image which breaks remote modules

In the PR #585 Git was removed from the list of installed packages but it is required by Terraform to pull remote modules
   Terraform command failed with:
    Error: Failed to download module
    Could not download module "private" (main.tf:1) source code from
    "git@github.com:private/repo": error
    downloading
<EMAIL_ADDRESS>git
    must be available and on the PATH

I think maybe removing git was unintentional without realizing Terraform depended on it

Thanks @keslerm 🙌, sorry for missing that!

@keslerm this fix is now in the infracost/infracost:latest Docker image.


docs: Improve Dev Install Notes in CONTRIBUTING.md

I did a fresh install on a new OS and there were a couple commands missing or out of date.  I also filled in some examples of install commands for packages which are typically installed via a repository.
This isn't in the PR, but I noticed Laravel 8 requires PHP 7.3+ and our composer.json still says 7.2.5+.  Should we update that?
@zach2825 @bogdankharchenko
Also, would the PHP extensions in require-dev needed to be changed to 7.3 too?
    "ext-pdo_sqlite": ">=7.2",
    "ext-sqlite3": ">=7.2",

@allella I would personally write it as -
    "ext-pdo_sqlite": "*",
    "ext-sqlite3": "*",

@zach2825 you cool with that suggestion above?


wingetui: Update to version 1.6.2-r2

Fix 'checkver'

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

/verify


Enforce assertj-core exclusion in maven-enforcer-plugin

Improvement for #1552.
I think the maven-enforcer-plugin version should come from the parent POM, I plan to update it soon.

Integrated in ad5fb35519abd3e9aac8af1de9b1adbd1a60d4b2.


Non-universal Idioms: (val = val - 1) == oldVal

After too much debugging, I am now convinced that Pony has the following semantics: (val = val - 1) == oldVal.
This idiom is used in many places through out the code, but seems to be rather unusual compared to other languages. I am not aware of any language beside Pony that has these semantics.
I doubt that there's a huge performance benefit of the idiom, so, I would like to propose to avoid it in the interest of making it easier for people to understand the code, and port it to other languages.
In case that's acceptable, I am happy to provide a PR.

I agree with you. This being not restricted to a Pony programmers domain, this should be make clearer. Happy to accept a PR.

Separate PR: #6


Change defaultMaxData

See discussion in defaultMaxData Haddock comment.
As the comment warns, if this value is less than what we have set it to here, then we need enough concurrent workers on the server to process the max number of concurrent streams. Currently in http2, the default number of workers is 8. An alternative to this PR is to change http2 so that it spawns maxConcurrentStreams number of workers by default. Let me know what you think!

I would like to merge this PR.
Please give look at https://github.com/kazu-yamamoto/http2/issues/127.

A new version has been released.
Thanks!


AZ Login failure

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
Paste here the error message you have received. Make sure to remove all sensitive information,
such as user name, password, credential, subscription ID, etc.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login

Expected Behavior
Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29, Ubuntu 20.04 LTS
Python 3.8.10
Installer:

azure-cli 2.46.0

Additional Context

Please paste here the error message you have received. Make sure to remove all sensitive information,
such as user name, password, credential, subscription ID, etc.


Issue #0000 feat: Adding allowupdate_mimeType in content definition

Codecov Report

Merging #478 into release-2.1.0 will decrease coverage by 0.01%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             release-2.1.0     #478      +/-   ##
===================================================
- Coverage               32%   31.99%   -0.02%
  Complexity            1210     1210
===================================================
  Files                  172      172
  Lines                15116    15116
  Branches              2396     2396
===================================================
- Hits                  4838     4836       -2
- Misses                9555     9557       +2
  Partials               723      723

Impacted Files
Coverage Δ
Complexity Δ

...p/searchindex/elasticsearch/ElasticSearchUtil.java
48.05% <0%> (-0.56%)
51% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d59b286...b8af039. Read the comment docs.


Set proper default NIC of network_check_list

Default NIC of network_check_list is eth0 which is barely used and
always caused maas checks to fail. Now We only need to worry the
state of bond interface. This change covers most of practical
customer cases.
Connects #742
(cherry picked from commit e0f96706be580450af87bb816d2077bffc75d820)

Backport is the same as all the others. 👍

:+1: Pending checks

@tomc603 @alextricity25 any takers on merging this?


When running Text-related examples, an error occurs: TypeError: Argument 'size' has incorrect type (expected int, got float)

Description of bug / unexpected behavior

When I was using Manim Community v0.17.3, I found that all Text-related examples would report TypeError: Argument 'size' has incorrect type (expected int, got float) when running. The error pointed to the svg_file = manimpango.text2svg() method.

Expected behavior

How to reproduce the issue

Code for reproducing the problem
import jupyter_manim
from manim import *

%%manim -v WARNING -qm HelloWorld

class HelloWorld(Scene):
    def construct(self):
        text = Text('Hello world').scale(3)
        self.add(text)

Here is the code that runs:
%%manim -v WARNING -qm HelloWorld

class HelloWorld(Scene):
    def construct(self):
        text = Text('Hello world').scale(3)
        self.add(text)

The following is the error message:
TypeError                                 Traceback (most recent call last)
Cell In[21], line 1
----> 1 get_ipython().run_cell_magic('manim', '-v WARNING -qm HelloWorld', "\nclass HelloWorld(Scene):\n    def construct(self):\n        text = Text('Hello world').scale(3)\n        self.add(text)\n")
File ~\anaconda3\envs\my-manim-environment\Lib\site-packages\IPython\core\interactiveshell.py:2493, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
2491 with self.builtin_trap:
2492     args = (magic_arg_s, cell)
-> 2493     result = fn(*args, **kwargs)
2495 # The code below prevents the output from being displayed
2496 # when using magics with decorator @output_can_be_silenced
2497 # when the last Python token in the expression is a ';'.
2498 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):
File ~\anaconda3\envs\my-manim-environment\Lib\site-packages\manim\utils\ipython_magic.py:141, in ManimMagic.manim(self, line, cell, local_ns)
139     SceneClass = local_ns[config["scene_names"][0]]
140     scene = SceneClass(renderer=renderer)
--> 141     scene.render()
142 finally:
143     # Shader cache becomes invalid as the context is destroyed
144     shader_program_cache.clear()
File ~\anaconda3\envs\my-manim-environment\Lib\site-packages\manim\scene\scene.py:223, in Scene.render(self, preview)
221 self.setup()
222 try:
--> 223     self.construct()
224 except EndSceneEarlyException:
225     pass
File :4, in construct(self)
File ~\anaconda3\envs\my-manim-environment\Lib\site-packages\manim\mobject\text\text_mobject.py:486, in Text.init(self, text, fill_opacity, stroke_width, color, font_size, line_spacing, font, slant, weight, t2c, t2f, t2g, t2s, t2w, gradient, tab_width, warn_missing_font, height, width, should_center, disable_ligatures, **kwargs)
483     self.line_spacing = self._font_size + self._font_size * self.line_spacing
485 color = Color(color) if color else VMobject().color
--> 486 file_name = self._text2svg(color)
487 PangoUtils.remove_last_M(file_name)
488 super().init(
489     file_name,
490     fill_opacity=fill_opacity,
(...)
496     **kwargs,
497 )
File ~\anaconda3\envs\my-manim-environment\Lib\site-packages\manim\mobject\text\text_mobject.py:814, in Text._text2svg(self, color)
811     width = config["pixel_width"]
812     height = config["pixel_height"]
--> 814     svg_file = manimpango.text2svg(
815         settings,
816         size,
817         line_spacing,
818         self.disable_ligatures,
819         str(file_name.resolve()),
820         START_X,
821         START_Y,
822         width,
823         height,
824         self.text,
825     )
827 return svg_file
TypeError: Argument 'size' has incorrect type (expected int, got float)

Hey, looks like you've faced https://github.com/ManimCommunity/ManimPango/issues/106. I'll close this as a duplicate of the other one.
For now, you could run pip install manimpango --force to fix this issue or not using conda.
Thanks!

The problem seems to have been solved.
Thank you for taking the time to answer my question.
Thank you very much and wish you a happy life.😀 @naveen521kk

Hey, looks like you've faced ManimCommunity/ManimPango#106. I'll close this as a duplicate of the other one. For now, you could run pip install manimpango --force to fix this issue or not use conda. Thanks!

Thanks, my friend, you're the true hero!


First Message is ignored

In sometimes, the first message is ignored by bot.
User can resend it to be interpreted.

Solved in 0.2.9-7.


Instructions in .github/ISSUE_TEMPLATE.md need updating

The instructions in .github/ISSUE_TEMPLATE.md for displaying the DevTools console only work for Etcher versions <= 1.2.1, in newer Etcher versions the key-combo has changed (but in newer versions the DevTools are also accessible via the (hidden) menu).

Fixed by #2008


Battery consumption

Just player is using much battery.It consumes 1 percent battery in 10 min.
While in other hand vlc consumes 1 percent battery in 41 min.Please see this my battery still not drained even it is 63% i am currently using.

I have enabled this option called full acceleration in vlc and it is working fine using much battery.

Just player is using much battery.It consumes 1 percent battery in 10 min.
While in other hand vlc consumes 1 percent battery in 41 min.

In other words, you are saying that with VLC, your battery lasts ove 68 hours? That seems little over board, even with 6000 mAh battery.
I would recommend replicating your issue in the ExoPlayer Demo app or Next Player as Just Player doesn't do much more.
Otherwise it's the same issue as in #393.

No i mean basic consumption of vlc is 20 min as same as my Samsung default video player do.
My phone total video playtime is 23 hours or more mentioned in website.
My audio playback time is upto 110 hours mentioned in website.
My default video player is better than other players.


Vectorization for semantic search

Vectorize outside of Elasticsearch and ideally outside of Docker - Docker seems to be the common denominator for things being very slow. Then import into Elasticsearch using either the saved models or a JSON file with the vectors (WIP). The vectors need to be normalized to unit length. No search capabilities as of now but based on some ad hoc searches this seems to work.

The history on this was a mess due to some rebase hell. Moved to https://github.com/globalrx/globalrx/pull/20.


Discord.KillersLibrary

version 1.2.2 wont install

@XdGoldenTigerOfficial could you have a look at it?


Dataclasses version conflict in latest deep learning version

pip install wellcomeml[deep-learning]
throws spacy-transformers 0.5.1 requires dataclasses<0.7,>=0.6; python_version < "3.7", but you'll have dataclasses 0.8 which is incompatible

I wonder why this is not caught from tests?


Exception for Direct I/O for raw files on Windows

Fixes #658
An exception is raised when Direct I/O is enabled for raw files on Windows and a user-friendly error message is shown on the GUI.
Contributor Checklist:

[x] I have added a changelog entry for my contribution
[x] I have added/updated test cases

I think the AppVeyor test failure is not your fault, let me re-run the job

If you want to decrease the "cognitive complexity", as detected by codeclimate, a possibility is to move the check for exact condition (enable_direct and no O_DIRECT support) to the check_valid function of the dataset, and raise the exception there.

How did you know that would solve the codeclimate issue? Does it come with more Python experience or would I get better at it once I'm familiar with the project's code? Thanks!

How did you know that would solve the codeclimate issue?

Complexity is in most cases measured roughly as the number of paths the code can take in a given function/method. So each if-statement or try...except block ~doubles the number of paths. If you keep this in mind when writing code, you develop an intuition for how complex a given function is.
See also: https://en.wikipedia.org/wiki/Cyclomatic_complexity

would I get better at it once I'm familiar with the project's code?

It is a combination of understanding the underlying metric, developing intuition for it, and experience of the code base: in this case, it makes sense to do this check as early as possible, so it is moved explicitly to the check_valid method.


JS error

There is an error in console related to live chat tracking file.
Error happens immediately after widget load.

OS: MacOS
Browser Safari
Version 15.6.1

Hello @bladl 👋
Thanks for the report. Sad to hear you have encountered an issue.
We have tested all three Chat Widget adapters (React, Vue and Angular) on the newest Safari version 15.6.1 and we couldn't reproduce your described issue.
Could please send us more details?

used the adapter package and version
your LiveChat Chat Widget setup, how it is embedded, are you using any particular features?
how do you load the widget, is it always available or only loaded on a specific page?
steps to reproduce, maybe you are doing some specific steps with Chat Widget before the issue occurs

Sure!
I have noticed that error happens only in Safari. With Chrome everything works as expected.
I use React widget in NextJs app.
Widget is always available.
No specific steps done with Chat Widget.
Here is a stack trace


Commands not listed in the command list

Hi,
I can't figure out why but the commands for this one package are not available anymore. It was working fine until recently. I reinstalled and still no luck. I'm using Sublime 3 on OS 10.11. Sorry not sure what else I should add.
Any ideas?

You are going to have to provide some more info, like Sublime version, errors being shown in console (if any).
Also, check that Package Control hasn't disabled your package.  Sometimes that can happen during the package upgrade process.

Uhh. I'm not sure what happened but it's working again. Sorry for wasting your time.