Move to webpack css-loader

This PR will change the way how we load css. Before we make use of link tag to load css into the options page and a special manifest attribute to load css for the extension itself. To simplify this I added webpack`s css and style loader so we can treat it like any other imports.

Sure, it works 😉  Thanks for reviewing.


Disallow combining a method call with prefix or suffix

Closes #2704.

The test failure is not related to this PR (poor clippy).


[How to use] How to get the image after using the EditorConfig?

Platforms
dart
Description
I want to get the image after the user finishes cropping it but i dont know how
My code
my code looks like this:
                        return ExtendedImage.file(
                          snapshot.data!,
                          fit: BoxFit.contain,
                          mode: ExtendedImageMode.editor,
                          extendedImageEditorKey: editorKey,
                          clearMemoryCacheWhenDispose: true,
                          enableLoadState: true,
                          cacheRawData: true,
                          initEditorConfigHandler: (state) {
                            return EditorConfig(
                              //maxScale: 8.0,
                              cropRectPadding: const EdgeInsets.all(40.0),
                              hitTestSize: 20.0,
                              cropAspectRatio: 1,
                              tickerDuration:
                                  const Duration(milliseconds: 150),
                            );
                          },
                        );

the editorKey is GlobalKey < ExtendedImageEditorState > ();
Try do it
should i try this?
Future<void> _cropImage(bool useNative) async {
  if (_cropping) {
    return;
  }
  String msg = '';
  try {
    _cropping = true;

    //await showBusyingDialog();

    late EditImageInfo imageInfo;

    /// native library
    if (useNative) {
      imageInfo = await cropImageDataWithNativeLibrary(
          state: editorKey.currentState!);
    } else {
      ///delay due to cropImageDataWithDartLibrary is time consuming on main thread
      ///it will block showBusyingDialog
      ///if you don't want to block ui, use compute/isolate,but it costs more time.
      //await Future.delayed(Duration(milliseconds: 200));

      ///if you don't want to block ui, use compute/isolate,but it costs more time.
      imageInfo =
          await cropImageDataWithDartLibrary(state: editorKey.currentState!);
    }
    final String? filePath = await ImageSaver.save(
        'extended_image_cropped_image.${imageInfo.imageType == ImageType.jpg ? 'jpg' : 'gif'}',
        imageInfo.data!);
    // var filePath = await ImagePickerSaver.saveFile(fileData: fileData);

    msg = 'save image : $filePath';
  } catch (e, stack) {
    msg = 'save failed: $e\n $stack';
    print(msg);
  }

download demo, and run edit demo, see what to get croped image


add missing files to MANIFEST.in

Include LICENSE, requirements.txt, and pytest.ini

This is now released PyPi, thanks again for the contribution!


Aura.Cli for command line php

Any suggestions beyond Aura.Cli for writing php scripts for command line usage?

I am not sure what you are asking. Is the question about a part of the tutorial or unrelated?

Sorry about that.  I thought you were curating a list of common framework features as standalone libraries.  I use Laravel which has a nice CLI tool.  Nevermind.


Identity Adapter

I am exploring a personalisation model that has one adapter per user. When there's enough data for a given user, an adapter is trained for that user, otherwise the default model weights are used (no adapters).
The problem is inference with Parallel. A batch contains samples from multiple users, some have adapters and some don't. However, it's not possible to extract default model weights with Parallel, eg. by using None adapter.
What is the best way to achieve this? I'm thinking of making a PR with an Identity Adapter.
Thanks!

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.

This issue was closed because it was stale for 14 days without any activity.

Sorry for not responding to this issue! Passing None for forward pass without adapters sounds like a sensible addition especially for Parallel and BatchSplit blocks (functionality would have to be added here).
Re-opening as feature requests. Open for PR, otherwise we'll look into it :)


Fix image link in Sandbox docs

Codecov Report

Merging #727 (612a595) into main (425da34) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #727      +/-   ##
===========================================
+ Coverage   99.98%   100.00%   +0.01%
===========================================
  Files         323       323
  Lines       19992     19993       +1
===========================================
+ Hits        19989     19993       +4
+ Misses          2         0       -2
+ Partials        1         0       -1

Impacted Files
Coverage Δ

internal/oapiffi/ffi2swagger.go
100.00% <0.00%> (ø)

pkg/wsclient/wsclient.go
100.00% <0.00%> (+1.63%)
: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 3b26bb2...612a595. Read the comment docs.


Upgrade failed

Hello all, first of all thank you very much for maintaining this project. I really appreciate it and think you all rock! I was having issues upgrading remnux from FOR610 so I pulled down a new OVA. Unfortunately I am still running into similar issues. I have followed every step from the https://docs.remnux.org/install-distro/keep-the-distro-up-to-date, plus upgraded my distro.
Set up:

Error when running remnux upgrade:

Output from saltstack.log:
saltstack.log

Hi @AGM-65 , the error you're receiving is only due to a recent update to PolarProxy not matching the hash we currently have in the salt states. erik4711 has recently submitted a pull request here which will address the recent update.
All of the other tools and configurations have been installed correctly, so everything else will still function as intended.

Ok great, thank you for the quick response! I appreciate the work you're doing.


Split sequence

addressing issue #4

Coverage increased (+0.3%) to 94.164% when pulling bdcde26857d16a616909d77f6b5b42d0708783bb on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.

great! I will review it later.

Coverage increased (+0.4%) to 94.29% when pulling 13674a5e9d437b03fe54591148b475d8f9518f9c on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.

Coverage increased (+0.8%) to 94.615% when pulling 087f7df7ff6c4ac669b0adb26e6adf28d50bf4e4 on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.

Coverage increased (+0.9%) to 94.721% when pulling f836364b142730a6f0d59ea91924e63e5d0ada80 on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.

I changes the return such that you get two lists (match and non-match), but it is still only one fasta file that is written by the function. Do you need two?

yes, it would be great to have consistent behaviour between the two.
let me know when it's ready for review. I've been looking at it and so far it looks good!

@tkosciol done!

Coverage increased (+0.9%) to 94.784% when pulling 5ea6aa06646dfd72d731cedf26fa6004ddd698d3 on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.

looks good on a first look. Will do an in-depth review a bit later.
In the meantime, @qiyunzhu could you also take a look at it?

Coverage increased (+0.9%) to 94.776% when pulling 7729b0163bcf1f65fae6f098933114bd6a78c711 on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.

Hi @sjanssen2 thanks for modification! All look good to me. May I click merge? @tkosciol

Coverage increased (+0.9%) to 94.776% when pulling e8da54860712aaec5429d9c5009bcd496cc3212b on sjanssen2:split_sequence into 19098c1932a8a414ac2c87fd413c05cb4f6e455f on biocore:master.


'.sync' modifier on 'v-bind' directive is deprecated

I am using v-snackbars like this:
<v-snackbars :messages.sync="snackbars" :timeout="10000" bottom left color="red"></v-snackbars>

Which triggers the following error:
  16:20  error  '.sync' modifier on 'v-bind' directive is deprecated. Use 'v-model:propName' instead  vue/no-deprecated-v-bind-sync

I tried changing that line to:
<v-snackbars v-model:messages="snackbars" :timeout="10000" bottom left color="red"></v-snackbars>

This renders my app just fine, but if I push a string to snackbars, no snackbar is shown.
Edit: I am using Vue 3.2.13 and Vuetify ^3.0.0-beta.0

I don't use Vue 3 yet. I'll have to read the documentation to know the differences.

Vue 3 removed .sync in favour of the new syntax for v-model. @d4rckh showed the new syntax with v-model:messages.
Since the .sync syntatic sugar went away in Vue 3, you will have to revert to the long form in your code @d4rckh. Try this:
<v-snackbars :messages="snackbars" @update:messages="snackbars = $event" :timeout="10000" bottom left color="red"></v-snackbars>

This is what Vue 2 was doing under the covers anyway. It should work but I haven't got an easy setup to try it.

Thanks @gregveres


[ISSUE 3407] sub task1 add the logic of annotation on the splicing class for apache dubbo client

// Describe your PR here; eg. Fixes #3407

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3423 (7302e8d) into master (fb70fe3) will decrease coverage by 0.51%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #3423      +/-   ##
============================================
- Coverage     63.38%   62.86%   -0.52%
+ Complexity     5448     5405      -43
============================================
  Files           808      808
  Lines         22587    22604      +17
  Branches       2035     2042       +7
============================================
- Hits          14317    14211     -106
- Misses         6960     7073     +113
- Partials       1310     1320      +10

Impacted Files
Coverage Δ

...t/apache/dubbo/ApacheDubboServiceBeanListener.java
0.00% <0.00%> (ø)

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
51.49% <0.00%> (-19.41%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.79% <0.00%> (-8.95%)
:arrow_down:

...ng/rocketmq/rocketmq/RocketMQLogCollectClient.java
68.00% <0.00%> (-8.00%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

... and 30 more

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 fb70fe3...7302e8d. Read the comment docs.

Check shenyu-integrated-test-apache-dubbo module to add more test code, suggest you read https://shenyu.apache.org/blog/IntegrationTest-Analysis/ before continuing development


Cache items query to speed initial loading of site

This PR is intended to speed up the initial loading of the site. The basic idea is to do an items query at the prebuild stage and save the result. That saved query result is then initially returned when an items query is requested and then eventually refreshed with the actual items query. In my testing, it seems to make the site load much more quickly.
Known issues:

The cached data is in English

Pages can tell if they are working with the cached version of items (which lack flea market prices) by checking the item.cached property. Using this feature, the SmallItemsTable displays loading icons for flea market fields while using cached data that then update to the prices once the API query is complete:

.deploy to development

.deploy to development

.deploy to development

.deploy to development

.deploy to development

.deploy to development

.deploy to development

.deploy to development

All trader pages fail to load with an error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'price')
    at e (index.js:446:105)

eg: https://gotta-go-fast.tarkov-dev.pages.dev/traders/prapor

Good find! I'm deploying a fix to dev now.

.deploy to development

.deploy to development


v1.4.3

Not quite ready. Need to get the latest PR merge in as well as a version bump.

Ready to merge

Thanks for catching these. Want to make a PR?
On Fri, Feb 2, 2018 at 7:21 AM Martin Popel<EMAIL_ADDRESS>wrote:

@martinpopel commented on this pull request.
In tensor2tensor/utils/t2t_model.py
https://github.com/tensorflow/tensor2tensor/pull/552#discussion_r165665131
:

 lr = self.hparams.learning_rate * optimize.learning_rate_decay(self.hparams)

if num_async_replicas > 1:

 tf.logging.info("Dividing learning rate by num_async_replicas: %d",

by sqrt(num_async_replicas)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensor2tensor/pull/552#pullrequestreview-93644517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEGW2Co8FxhbUAsuhIq0hQkcSJb9gu4ks5tQyGKgaJpZM4R2ert
.

It's too minor for a PR. Please fix it in your internal repo, I guess it's easier for you.
BTW, regarding the merging process:

The commit logs in GitHub seem to be truncated, e.g. fa28c982c or e077e19f87e ending in "in" and "the" respectively.
The first commit of each release always conflates the edit described in the log and a revert of all edits merged on GitHub since the last release, see e.g. b2c04c03b5c. This way it is difficult to see what was the actual edit. Also it is difficult to use blame and bisect in the GitHub commit history. Ideally, I would prefer if you rebase your commits on top of master before merging, but I guess you cannot do this for some reasons. In that case, would it be possible at least to include a dummy commit after each release with log "temporarily reverting commits done on GitHub" or something like this?


Task - Edit TaxonName - type species relationship

"Show all" button does not work

@jlpereira should be easy, task use taxon_name_id I suspect

Which is the nomenclature code of that project, @proceps ?

ICZN. section only visible for genera and subgenera

Still does not work. When I click edit, I am suggested to change the type species, I should be able to edit only the relationship type, the same behavior as for TaxonNameRelationship.
Besides, when I open Show all, all type of relationships are grayed out. All of them should be applicable. May be behavior is slightly different from TaxonNameRelationship here. In TaxonNameRelationship the rank used as a filter on a subject_taxon_name. In case of type, the filter should be on the object_taxon_name, we on the genus pages, which is an object, and the related taxon is added to the subject side (type species). So the applicable relationships should be filtered by the object_taxon_name rank.

Perfect!
Only one unrelated thing. Trigger taxon name search on 2 letter, I have to type now at least 3 letters to start search.


Adding Separate Page for Features

The project lacks a dedicated page that overviews the website’s key features. Adding a "Features" page will help users easily understand the platform's functionalities and benefits.
This new page should be accessible through a separate "Features" link in the navbar for easy navigation. The page will include detailed descriptions, visuals, or highlights of each feature to improve user engagement and understanding.

@TanyaaSrivastava You are Assigned

Thanks for Assigning, I'll  work on it


Form validation needs a seperate ngMessages module

Ran into this issue when trying to use form validation.
http://stackoverflow.com/questions/31174523/angular-material-input-validation-error-messages
Basically, the error message (in red) below the input will not go away even if a proper input is given.
What worked for me was to install "angular-messages" via bower, and to include the angular module 'ngMessages'.
(Thanks for this awesome starter codebase you have! Finding it really helpful indeed)

Thanks @DennisOng! I'm glad you liked the repo
It's awesome that we have this issue here, people would find it useful if they have the same issue.
So you're suggesting to include angular-messages out of the box?
I would try and avoid adding lots of libraries out of the box.. unless they're deeply integrated with what the repository presents..
So do you think there's a way to automate ng-messages with the Restangular error interceptor then it would be great
Let me know what you think

Yup I do think including this out of the box is the way to go. Since when you copy & paste the examples from the official Angular Material demos:
https://material.angularjs.org/latest/demo/input
then you do run into this issue. It seems that Angular Material's demo just assumes that the model is included.
I'm not really sure how you would be able to "automate ng-messages with the Restangular error interceptor" though, from my understanding ng-messages is for front-end validation for forms, while Restangular's error interceptor can only return errors provided via the backend?
Someone more knowledgable might be able to shed some light here. I'm still pretty new to this whole thing I must admit :)

It seems to me that this would fit in more in as a recipe..
(more on that in #148 and #143)
I'll update this thread as soon as I have more info regarding the recipes architecture
Thanks again :smile:

Sounds good :) Thanks! :+1:

Thanks for posting this @DennisOng i just came across exactly the same problem and you saved me hours of debugging.

@DennisOng quick question, did you add the ngMessages in main.js? i've installed angular-messages in bower and added ngMessages onto app.controllers but now my form errors don't show up at all. Is there a step i'm missing?

Glad that it helped! Did took me a while to figure this out haha

Hi @DennisOng
Thanks again for reporting this and saving time for other users :smile:
I wanted to open an issue on angular material's repository, but I found one here and I also sent them a Pull Request
I believe that angular material is the right place to fix such issue
Thanks again :smile:

@sam-g-roberts @DennisOng
They just released a version with the fix :smile:
https://material.angularjs.org/latest/demo/input
They now mention the dependency on ngMessages

good to know :) thanks! :)


Help fix serde_yaml issue

https://github.com/chyh1990/yaml-rust/issues/107
This should be an easy fix, and these needless quotes are ruining everything.

https://github.com/chyh1990/yaml-rust/commit/f9bfe0959374bf4eb9bcf80a4f2aae9f41e9095c


Using third party package for multi-language

Hi @matthiask
What do you think about using django-parler or your repo django-translated-fields for multi-language functionality in feincms3.
And what do you think drawbacks are ?
Btw. I need to implement drag&drop functionality for client using jstree or something. Will you accept pr for this?

What would you use parler or translated fields for? Translating page titles etc? How would you fill in the content for different languages? Or add translated fields to all plugins?
We mostly work with one page tree per language. Sometimes, having to duplicate the same changes in the tree in different places is annoying, but the liberty gained by not having to synchronize everything is worth it (for us, maybe not for everyone). Editing content in only one language at a time seems to give a less cluttered interface.
Regarding parler vs. translated fields: If I wanted to use parler or modeltranslation I wouldn't have started developing a different package for the same thing :-) just today I lost an hour to modeltranslations' idiosyncrasies resp. to its magic behavior. More: https://406.ch/writing/django-translated-fields-localized-model-fields-without-magic/

Btw, https://www.dwheeler.com/sloccount/ really isn't everything, but for django-translated-fields it reports 77 lines and for django-parler 2009 lines of code (both excluding tests)
So in terms of complexity there's a big big difference.

Yes we can't use parler because it's really huge. Btw i really like your library first approach and low maintenance software designs. Thats why im here :)
I just like the idea of having connecting the pages between languages.
Right now i'm using changelist filter to separate the languages.

But i like the approach that parler using like this.

Hmm maybe there is an easy way to replicate this interface using django-content-editor's tabbed fieldsets?
Completely untested:
@admin.register(models.Stuff)
class StuffAdmin(admin.ModelAdmin):
    class Media:
        css = {"all": ["content_editor/content_editor.css"]},
        js = [
            "content_editor/jquery-ui-1.11.4.custom.min.js",
            "content_editor/tabbed_fieldsets.js",
        ]

    def get_fieldsets(self, request, obj=None):
        unspecific_fields = []
        specific_fields = defaultdict(list)

        for field in self.model._meta.get_fields():
            if not field.editable:  # Maybe other criteria to skip?
                continue
            if hasattr(field, "_translated_field_language_code"):
                specific_fields[field._translated_field_language_code].append(field.name)
            else:
                unspecific_fields.append(field.name)

        fieldsets = [
            (None, {"fields": unspecific_fields}),
        ]
        for language_code, language_title in settings.LANGUAGES:
            fieldsets.append((language_title, {"fields": specific_fields[language_code], "classes": ("tabbed",)}))

        return fieldsets
)

Since we're collecting all fields into language-specific fieldsets I wouldn't use TranslatedFieldsAdmin -- the individual fields' labels do not have to contain the language code too.

I will try to come up with something later. But i don't know that you want to accept pull request that all languages are managed on one tree per page?

I was just thinking again about this (sorry for the long wait)
I don't remember which project, but I experimented with a multilingual page tree once. The page model didn't require many changes but supporting both in the official feincms3 package -- I'm not sure about that. I would prefer to do it the same way feincms3-sites does it, with an external package with its own page model. The documentation for feincms3-sites is part of the official documentation and I would certainly agree to expand the guide on multilingual sites to include a discussion of this additional option


Autorefill/inventory derps

Using the latest 1.7.10 version, (Cannot use 1.8 due to modpack and not all mods updated yet) I get the following problems:

I will randomly just throw items onto the ground if I try to shift-doubleclick an item stack into an inventory.
If the inventory is full and I'm trying to craft with something or move things around in my inventory, I left-click an item to pick it up, then left-click it to "swap" with another item in the inventory. ... It doesn't work that way. Instead the item is thrown out into the world in front of me.
Auto-refill desyncs quite a bit, sometimes it works properly, other times it leaves items attached to my mouse cursor.

Are there any plans to fix these on 1.7.10? Or is that version a dead horse and I should be putting my whip away?

1.7.10 is getting no further updates. Go bother the people refusing to update to 1.8.

So you're going to ignore a broken mod because you refuse to fix it before moving on to 1.8? That's glorious, man. Thanks.

If you don't want to continue to develop for 1.7.10 that's certainly your business, but there are a significant number of mods that are just going to skip 1.8, and for good reason. Although I wonder how many of them realize that 1.9 is going to be just as bad...

He doesn't care, Timeslice42. No amount of requests will change this
stubborn mule's mind.
On Sun, Jul 5, 2015 at 10:11 PM, Timeslice42<EMAIL_ADDRESS>wrote:

If you don't want to continue to develop for 1.7.10 that's certainly your
business, but there are a significant number of mods that are just going to
skip 1.8, and for good reason. Although I wonder how many of them realize
that 1.9 is going to be just as bad...
—
Reply to this email directly or view it on GitHub
https://github.com/Kobata/inventory-tweaks/issues/259#issuecomment-118700871
.


Create shopcarts API

As a Developer
I need to create an API that creates a shopcart for a given customer
So that the customer can operate his/her shopcart
Details & Assumptions

Assumed database is available and accessible.
The API should be implemented using the REST architectural style.
The API should follow the standard HTTP methods, with the CREATE operation using the POST method.
The API should log necessary actions for debugging
The endpoint for creating a shopcart should be /api/shopcarts/{id}.
The API should accept a JSON request body containing the necessary information for creating a shopcart, such as the customer's ID, shopcart name, and any other relevant details.
The API should validate the incoming data to ensure it meets the required format and constraints.
The API should store the newly created shopcart in a database, associating it with the customer's ID.
The API should respond with a status code of 201 (Created) upon successful creation of the shopcart.
The response body should include the newly created shopcart details, such as the shopcart ID, customer ID, shopcart name, and any other relevant information.
The API should handle any potential errors or exceptions during the creation process and respond with appropriate error messages and status codes.
Instructions on how to use the API, including the endpoint, parameters, and expected response format should be updated to README.md.

Acceptance Criteria
// Happy Path or Basic Functionality
Given a valid request to create a shopcart,
When the API is called with the appropriate endpoint and request body containing the necessary information,
Then the API should respond with a status code of 201 (Created).
And the response body should contain the newly created shopcart details, including an identifier or unique ID.

// Error Handling
Given an invalid request to create a shopcart,
When the API is called with missing or incorrect parameters,
Then the API should respond with a status code of 400 (Bad Request).
And the response body should contain an error message explaining the issue.

// Data Validation
Given a request to create a shopcart,
When the API is called with a valid request,
Then the API should validate the incoming data to ensure it meets the required format and constraints.
And if any data fails validation, the API should respond with a status code of 422 (Unprocessable Entity) and provide an error message indicating the validation failure.

// Testing
Given a set of test cases for creating shopcarts,
When the API is called with each test case,
Then the API should create the shopcart according to the provided data.
And the response should match the expected shopcart details based on the given test case.

// Documentation
Given the API documentation, i.e. README.md,
When developers or consumers refer to it,
Then the documentation should provide clear instructions on how to use the API, including the endpoint, parameters, and expected response format.
And the documentation should include examples and sample requests to assist users in understanding the API.

As a Developer
I need to create a shopcart for each given customer
So that the customer can operate his/her shopcart
Details & Assumptions

Products information is provided

Inventory information is provided

Acceptance Criteria
Given the customer has been logged in
When the customer adds any product to the shopcart
And this product is able to buy
Then the product should be added to the certain shopcart

I was thinking whether an empty shopcart should always be automatically created for the customer as soon as he/she registered/signed-up?

I tried to update a more detailed version to the description, where bullet point 4. is yet to be discussed lol

Hey team! Please add your planning poker estimate with Zenhub @LillisLuo @momo100110 @nijya @wl2484

Based on the Professor's response, the Create shopcarts API should actually implement 2 APIs:
POST /shopcarts to create a shopcart
POST /shopcarts{shopcart_id}/items to add an item to the shopcart


category URLs not working

Getting "Page Not Found" when reloading while on a category-page (like "https://reading.ovlb.net/c/architektur/") or when following a link to an article from it and then going back using browser navigation.

Thanks. I guess it has something to do with Nuxt, generating dynamic routes and a section of the documentation I haven’t read properly. Will have a look into it.

You're welcome. I think your nuxt.config.js is missing something like described here: https://nuxtjs.org/api/configuration-generate#function-which-returns-a-promise


Selection jumps to other cells

When you select an item and scroll down, the selection gets ported to new cells randomly.
Also, after scrolling, selecting a set of row to "copy-paste" it can't be done and start jumping randomly over some rows.

Sorry duplicate of #76


Doesn't work on a specific site

Hi,
in https://www.cleancss.com/router-default you can go in a router page and you wil see your private ip.
For example: https://www.cleancss.com/router-default/TP-Link
Same thing with Firefox and a similar plugin.
p.s. In all other test sites I tryed worked well, maybe this site uses something else leak?

In my case, it only shows my local IP address and the local IP addresses of some virtual adapters.
Unfortunately, there's nothing that can be done by extension developers about this. Google must address this themselves.


Enable test: o.a.s.streaming.JobGeneratorSuite "Do not clear received…

How was this patch tested?
unit test

Can one of the admins verify this patch?

Local tests passed, so maybe we can enable this again for 2.0.0. @rxin @zsxwing would you mind taking a look please? Thanks!

Test build #2625 has started for PR 11626 at commit 2ceeba3.

Test build #2625 has finished for PR 11626 at commit 2ceeba3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Thanks - merging in master.

@rxin thanks !


Added KeeWeb in default app exclusion

KeeWeb is very popular. It deserves to be also in the exclusion list
https://github.com/keeweb/keeweb

Merged in cd60574, thank you!


Error message is {"error":"Setup training service failed."} ERROR: Failed! Error is: None

Error message is {"error":"Setup training service failed."} ERROR: Failed! Error is: None

i meet bug like this when i try the trial in examples/nas/classic_nas
but i have sucessfully launched the demo of MNIST(/examples/trials/mnist-pytorch/) before

Please revert to v1.9, or try the examples in examples/nas with latest version.

@xinyi1228 - may you help to update the current status of the issue?
@ultmaster - is the problem fixed in the upcoming release?

I think the example has been deleted.

hi @xinyi1228 Do you still have this problem?


Update auto-generated documentation

Repository: openmicroscopy/ome-documentation
Already up-to-date.
Generated by build OMERO-DEV-latest-docs-autogen#288.

--no-rebase

Conflicting PR. Removed from build OMERO-DEV-merge-docs#220. See the console output for more details.
Possible conflicts:

PR #1391 jburel 'Pillow version'

omero/sysadmins/unix/walkthrough/step01_centos6_deps.sh
omero/sysadmins/unix/walkthrough/step01_centos6_py27_deps.sh

Briefly discussed with @jburel. The auto-generated script currently adds all of the linux scripts from omero-install but we might want to streamline this. I don't know if that implies we should close this PR for now and either open a separate PR with the omero/sysadmins/config.txt changes only or include them as part of #1390.

I've merged #1390 so Ola can fix her conflicting PR. Not sure how we want to handle this - fetch the branch and open a PR with just the config.txt changes?

@hflynn I think we can manually create the diff for omero/sysadmins/config.txt and open a PR changing this files only.

Okay thanks, shutting this and doing the config.txt changes manually now.


Rename symbolizer to symbolizers

Important: Please wait with merging this PR until

[x] this PR from geostyler-style
[x] this PR from geostyler-sld-parser
[x] this PR from geostyler-openlayers-parser
were merged.

Update code to changes in above mentioned PRs.
Also, rename functions where multiple symbolizers will be parsed. Update tests and testfiles accordingly.

@terrestris/devs ready for review.

:+1: Thanks.


removing is_purchasable from artwork json

Baby steps on Purchase flow clean up here. I'm not exactly clear if the current e-commerce flow uses artwork_purchase routes at all. Will look into trying to kill that completely next.

LGTM! I think everything in the artwork_purchase app can probably go?

Ok... Finally got to create an actual buy it now artwork for the auction and verified that the 'Buy' flow seems to still work properly when artwork purchase app is removed. So committing this removal as well. @mzikherman - Let me know if you think I'm still missing anything for the purchase request on the force side.

🔥 🔥 🔥 🔥 🔥 🔥


Update curl-sys to 0.4.54

This has been released as version 1.7.1. Thanks again!

@sagebind Shouldn't the version in Cargo.toml be bumped to 1.7.1?


Re-work rewards area generally

The Issue
Steps to reproduce

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
System Configuration

Device:
Android version:

Anything Else

Screenshots

Internal Use
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

First task is to groom this ticket.

Splitting off File Show and Rewards Area into new issues.


[patch] Fix typos in dict-like type hints

I.e. dict[str, object] not dict[str:object], as observed by @XzzX in #514

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.501%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
3090

Relevant Lines:
3377

💛  - Coveralls


Switch from github-review to code-review (A new package from the same dev that supersedes the old-package)

What package(s) should be bumped?
github-review -> code-review
Why should Doom bump these packages early?
According to this reddit post, one of the main contributors to github-review, wandersoncferreira has decided to make his own version which uses magit-section instead of diffs and plain text.
You might want to switch to this instead.
If I have time hopefully i can make a PR regarding the same
Regards,
Arya

Sounds good to me. I'm a bit swamped, so I won't be able to work on this under after the 21.12 release, but I'll welcome PRs!


Added my quotes

Refactored some public random quotes :)

Would do that . Single quotes was from my editor

@annthurium i havent gotten a feedback or a merge. ;)

hi there @vickywane you have a merge conflict, would you mind fixing it? thanks!


Buttons on software do not correspond with buttons on launchpad

When I choose a button to set a hotkey and start editing it the hotkey goes in a completely different place on the launchpad then what it shows up in the software. Can anyone help?

Do you have an MK2 launchpad? I had the same problem and realized that I had an MK2, which is not supported. However, for me, the issue was easily worked around.


[WIP][do-not-merge] add 'ark restic init-repository' command

This adds ark restic init-repository. We should probably have a command to rotate the key too, which will require some logic in the server (add new secret probably using a temp name, add that key to restic, update actual secret with new key, delete temp secret)


support constant

define constant as the following
const MAX_SIZE = 100
case $@.size() {
   0 => echo empty
   $MAX_SIZE => echo max size
   else => {}
}

define constant by 'const' keyword.
constants can be used in case-expression.
after introducing constant, rewrite some builtin-variable as constant (ex. true, false, ON_ASSERT)

allow the following type constants

Int
Float
String
Bool
Signal

support small builtin constants in commit d8d45e66a38af9abd723742aec16860692a064be

large constant support need more work


fix ORT parser error when importing oss-review-toolkit file

this will fix bug #4161. It's verifying that license and license_source fields are defined. In case they are not, it set them as 'unset'.

For what I can see, the unit test seems to be failing due to an unrelated issue (some jira feature)

failing unit tests is indeed different issue: #4191

always better to rebase / merge dev and make sure the unit tests are passing.


React-Query staleTime increase the loading time of our home

Describe the bug
After modifying the staleTime of react-query, we see our home taking way longer to load.
Your minimal, reproducible example
https://github.com/pass-culture/pass-culture-app-native/commit/1c8ea9b0bb4ff40206d606ea150e1853d01b4d0c
Steps to reproduce
Download pass Culture application on Apple App Store
The latest iOS version is taking about 10 seconds to load, compare to the previous version we have in test flight, where it takes 3 seconds.
Expected behavior
We expect editing the staleTime not to increase the global loading time of our home.
How often does this bug happen?
Every time
Screenshots or Videos
before
https://user-images.githubusercontent.com/77674046/156797772-d0f81bf3-fcfe-4d1f-945e-a4a4f377747f.MP4
after
https://user-images.githubusercontent.com/77674046/156797911-be409b24-ef64-4a75-b9e6-b853b64c3d1f.MP4
Platform

iOS : all
React Native : 0.66.3

react-query version
v3.34.16
TypeScript version
v4.3.5
Additional context
The issue started after this commit :
https://github.com/pass-culture/pass-culture-app-native/commit/1c8ea9b0bb4ff40206d606ea150e1853d01b4d0c

I'm sorry but I'd need a real reproduction of the issue.
If you set the staleTime for all queries to 24 hours, that basically means no updates ever. That is very different from staleTime: 0.
However, a higher staleTime is not likely to be responsible for longer load times. The only thing that a higher staleTime achieves is starting a timer with setTimeout - a 24 hour long timer in your example - after the initial data fetching:
https://github.com/tannerlinsley/react-query/blob/c6565dbd8b29187126240cafb45100583cc060ec/src/core/queryObserver.ts#L334-L338
feel free to reopen this issue if you have a concrete reproduction (codesandbox or expo snack) that I can try out.

@TkDodo it is hard even for us to reproduce as this extra latency is as you said: unexpected. All we know is that the commit is responsible for those perf issue, you don't have a clue why ? For you it is impossible that reducing from 24 hours to 0 can cause such side effect to an app ?

If you set the staleTime for all queries to 24 hours, that basically means no updates ever.

Do you mean no update for 24 hours (instead of no updates ever)?

However, a higher staleTime is not likely to be responsible for longer load times.

We did not set an "higher" staleTime, we did decrease it from 24hours to 0, which makes it no stale time. Are you absolutely sure it would not have any incidence ?
It's causing the issue as we tested the version before that commit, and we have a bunch of bad feedback with that commit.
Codesandbox or snack is good for POC, but in this case I don't think it will help to solve our home issue trying to make one, as it is not the real app boot environnement. Perhaps you can try to build and run the app directly if I give you a bit of help ?
Thanks a lot.


Missing road, tiles redrawn with incomplete data

I recently split a main road into two one-way roads here:
https://www.openstreetmap.org/#map=18/48.289943/7.111990&layers=P
This is one hour after the edit, and it looks like the tiles were redrawn but only with part of the new data.

Carto for reference, looks good:

If this is going to fix itself in a few hours or days, it’s still an issue because it shouldn’t be refreshed with partial data in the first place.

This is a bit strange. Zoom in or out shows the complete roads. We have several layers of cache. Will check if we can improve it.

The cache was refreshed recently and the roads are now correctly drawn, but that doesn’t resolve the issue.


finally executed twice when cancelling async* subscription

The sample program below prints:
counter = 1
counter = 2
counter = 3
counter = 4
stopping the async process
stopping the async process
But it should print "stopping the async process" only once.
import 'dart:async';
process(period) async* {
  try {
    var counter = 0;
    await for (var tick in new Stream.periodic(period)) {
      counter++;
      print('counter = ${counter}');
    }
  } finally {
    print("stopping the async process");
  }
}
void main() {
  final s = process(const Duration(seconds: 1)).listen((val) { });
  new Timer(const Duration(seconds: 5), () => s.cancel());
}

Looking at this now. FWIW, dart2js fails this in a very different way. It never cancels the stream, and elements get generated at full speed, with no delay between 'ticks'.

What seems to happen is not VM-specific. When the async* generator stream s is cancelled, the async library code ends up calling the generator recursively.
In more detail:
When the timer callback executes s.cancel(), the stream controller's cancel() invokes (through a microtask) the continuation in process(). It continues after the await, and executes the finally clause. The finally clause also implicitly cancels the stream iterator of the await-for loop. That cancel() call completes the future of the stream iterator. The completion of this future ends up synchronously invoking some callback code that invokes the async* generator again, recursively. (This synchronous callback happens via zone.runUnary() in _Future._propagateToListeners()).
The second execution of the finally clause observed in this bug is due to the recursive execution of the same continuation.
I am not sure yet how to fix this.

cc-ing @floitschG
Interesting find. So this may be a async library issue?

Only looked at the dart2js-version so far.
The "full-speed" is only on d8, since we have to simulate timers there. (D8 doesn't provide any means to delay events). In the browser the ticks get fired every 1s.
However, there was a bug in the code that made it ignore the cancel call.
I have a local patch which seems to work (need to write a test now, and get it reviewed).
At least with dart2js the output is not as expected:
counter = 1
counter = 2
counter = 3
counter = 4
stopping the async process

Will try to have a look at what happens inside the VM.

I uploaded a patch for dart2js: https://codereview.chromium.org/1677063003
One important observation:
when looking at the 'events' (from the test) the Dart VM produces:
[main, listen, finally, cancel, finally]
That is, the finally is invoked, before the cancel of the onCancel of the source-stream.
I believe, what should happen:

if the async*-function is waiting on an await, it is stuck there until the await returns. (also see #25703).
this means, that the cancel future has to wait until the next event from the inner stream. (This can be seen in the second test).
once the event arrives it should cancel the inner stream and wait for that cancel to succeed.
Then, only, should it run the finally clauses.

/cc @lrhn @sigurdm

The sequence of events in the VM is as follows. Assume
s = async* generator stream returned by process()
sc = _AsyncStarStreamController for s
fi = stream iterator for the await-for loop (iterating over the Stream.periodic() stream)
af = Future returned by fi.moveNext()

main
s.listen()
af completes 4 times with true (the loop iterations printing "counter = ...")
Timer completes, callback invokes s.cancel()
sc.onCancel() schedules the generator function
generator function resumes at await fi.moveNext()
await-for loop terminates
finally clause of implicit try-finally around the await-for loop calls fi.cancel(), which completes the Future returned by fi.moveNext()
The async library (in particular _Future._propagateToListeners()) completes runs the completion callback synchronously
The generator function resumes again (recursively) at await fi.moveNext()
fi.cancel() is invoked again, but is a no-op since the stream is cancelled already
The finally block in process() is executed (first time)
Recursive invocation of process() returns
The finally block in process() is executed (second time)
....

So, cancel() on the stream iterator is called before the finally block.
If the async library didn't invoke the generator function recursively, the continuation invoked in step 6 would terminate and leave the generator in a state where it resumes at the end of the function (a no-op) instead of at the await fi.moveNext().

The original example code has an async* function with no yield. Such a function is completely unaffected by calling cancel (except that a final error ends up in the cancel future instead of the stream).

So, the expected outcome of the original example should be that the generator never terminates, because it doesn't yield?

Yes. It has an infinite await for and nothing to stop it.

I just looked through the spec, and agree with Lasse: cancel is only relevant at yield points.
Will update my CL.

VM fix in CL https://codereview.chromium.org/1683763002/
The VM implements the correct behavior for the original example as of 4b6ef00d5996471274a1e685eb32c55419482cf7. It does not cancel the generator function, i.e. the program does not terminate, because the generator never yields a value.
If a yield statement is added to the generator loop, the generator terminates after 4 loop iterations and the finally clause is only executed once.
There is potentially still an issue in the async library because it can execute Future callbacks synchronously, which may lead to recursive invocations of the async code. I don't have an example to demonstrate this, unfortunately.

VM Bug is fixed.


Fix Firebase Sessions build on visionOS

Similar to Mac Catalyst, the CTRadioAccessTechnology constants are not available on visionOS. This PR compiles out references to them on xrOS (visionOS), allowing the Firebase Sessions SDK to build on the platform.
#no-changelog

@andrewheard, did you not need to conditionally link the SysConfig framework?

@andrewheard, did you not need to conditionally link the SysConfig framework?

@ncooke3, FirebaseSessionsUnit compiled and passed without me having to change that. Out of curiosity I tried removing the entire linkerSettings array and it worked fine on iOS, macOS and visionOS. I saw this note in the docs that may be relevant:

This setting is most useful when the framework can’t be linked automatically, such as C++ based frameworks and non-modular frameworks.

Closing since this was subsumed by #11515


Slower runtime and large increase in file size using bridge

Hello,
I'm working on evolving a globular cluster using AMUSE N-body codes (BHTree specifically, for now) based on its own self-gravity and a background MW potential, using galpy's to_amuse functionality and then the bridge in AMUSE. I've been finding that the runtime has increased drastically, along with the file size when trying to save various model checkpoints to a HDF5 file, and was wondering if there is some way around these increases.
For more details, I'm running a King model of N=20,000 upto t=20 n-body times. Just evolving this by itself with BHTree takes roughly 4 minutes, whereas with the gravitational potential it takes upto 4 hours – is this an expected increase?
What I especially don't understand is the file size increase: previously saving roughly 4-5 different timestamps in the GC evolution to an HDF5 file was ~40 Mb, whereas now with the MW potential bridge runs, the same number of checkpoints is ~600 Mb. Why does this happen, and if I'm just trying to save the same sort of data (mass, x, y, z, vx, vy, vz) of the particles and don't care about any other history, is there any way to make the file more lightweight?
The main parts of my code to save the model state are below:
channel_grav_to_stars = grav_code.particles.new_channel_to(model, attributes=["mass", "x", "y", "z", "vx", "vy", "vz"])
...
io.write_set_to_file(model.savepoint(evol_time), write_fname, append_to_file=True, format="hdf5")
where grav_code is based on the call to BHTree() earlier on, that is added to the bridge along with the MW potential.
Thank you so much in advance, and please let me know if I can clarify any part of my question!

Dear Arya,
the checkpointing in writing files is known to contain a memory leak, but
that cannot explain your experienced problems. without more details about
your script it's hard to see what could be wrong. There are probably
seversl unrelated issues. the long runt rime may be caused by an N^2
operation in the bridge step. you could use the treecode to replace that
N^2 operation. another problem may be the bridge timestep. what timestep
are you using? The larger filesize is very puzzeling. maybe you are
appening more data snapshots than you think. As I said before, without a
better understamding of your script, it's hard to know precisely.
cheers,
Simon
On Fri, Aug 14, 2020, 21:48 Arya Maheshwari<EMAIL_ADDRESS>wrote:

Hello,
I'm working on evolving a globular cluster using AMUSE N-body codes
(BHTree specifically, for now) based on its own self-gravity and a
background MW potential, using galpy's to_amuse functionality and then
the bridge in AMUSE. I've been finding that the runtime has increased
drastically, along with the file size when trying to save various model
checkpoints to a HDF5 file, and was wondering if there is some way around
these increases.
For more details, I'm running a King model of N=20,000 upto t=20 n-body
times. Just evolving this by itself with BHTree takes roughly 4 minutes,
whereas with the gravitational potential it takes upto 4 hours – is this an
expected increase?
What I especially don't understand is the file size increase: previously
saving roughly 4-5 different timestamps in the GC evolution to an HDF5 file
was ~40 Mb, whereas now with the MW potential bridge runs, the same number
of checkpoints is ~600 Mb. Why does this happen, and if I'm just trying to
save the same sort of data (mass, x, y, z, vx, vy, vz) of the particles and
don't care about any other history, is there any way to make the file more
lightweight?
The main parts of my code to save the model state are below:
channel_grav_to_stars = grav_code.particles.new_channel_to(model,
attributes=["mass", "x", "y", "z", "vx", "vy", "vz"])
...
io.write_set_to_file(model.savepoint(evol_time), write_fname,
append_to_file=True, format="hdf5")
where grav_code is based on the call to BHTree() earlier on, that is
added to the bridge along with the MW potential.
Thank you so much in advance, and please let me know if I can clarify any
part of my question!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/666, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCPFTBOSPBTHNSVD6U2SIDSAWIGZANCNFSM4P7Z2Z2A
.

Hi Simon,
Thank you for your prompt reply! I have attached the operative portions of my script — there are some extraneous references to other functions (like plotting, etc) that I have commented out — so hopefully that can help in elucidating the issue.
Can you explain what you mean by using the treecode to replace the N^2 operation in bridge and how I would do that? I wasn't sure exactly what timestep to use for the bridge, so I didn't set any, assuming it would default to a reasonable value. Is that a problem?
Thank you again for your help,
Arya
script.txt

thank Arya,
Not setting a bridge timestep is not a good idea, and initialising it
properly surely will improve things. you should read my book on amuse, then
things get a lot more clear. check out the hierarchical coupling chapter.
in your case, a bridge time step of order unity, in N-body time units, will
probably speed-up things.
good luck,
'john'
On Fri, Aug 14, 2020, 23:49 Arya Maheshwari<EMAIL_ADDRESS>wrote:

Hi Simon,
Thank you for your prompt reply! I have attached the operative portions of
my script — there are some extraneous references to other functions (like
plotting, etc) that I have commented out — so hopefully that can help in
elucidating the issue.
Can you explain what you mean by using the treecode to replace the N^2
operation in bridge and how I would do that? I wasn't sure exactly what
timestep to use for the bridge, so I didn't set any, assuming it would
default to a reasonable value. Is that a problem?
Thank you again for your help,
Arya
script.txt https://github.com/amusecode/amuse/files/5077428/script.txt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/666#issuecomment-674286205,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCPFTFY7JGF6GG6GPZZ43DSAWWMVANCNFSM4P7Z2Z2A
.

Ah, ok, thank you so much! I will read up on that and try that fix and let you know if it clears things up.
Arya


Naming Conventions is not true anymore?

The first article seems to be wrong. I've installed PostgreSQL 15 and created a table using PascalCase for table name and camelCase for columns, and all seems to be working just fine (contrary to what https://martendb.io/v3/documentation/postgres/naming says):
-- Table: public.Users

-- DROP TABLE IF EXISTS public."Users";

CREATE TABLE IF NOT EXISTS public."Users"
(
    id uuid NOT NULL,
    "displayName" text COLLATE pg_catalog."default" NOT NULL,
    "avatarURI" text COLLATE pg_catalog."default" NOT NULL,
    email text COLLATE pg_catalog."default" NOT NULL,
    "authProvider" text COLLATE pg_catalog."default" NOT NULL,
    "createdAt" date NOT NULL,
    "updatedAt" date NOT NULL,
    CONSTRAINT "Users_pkey" PRIMARY KEY (id)
)

TABLESPACE pg_default;

ALTER TABLE IF EXISTS public."Users"
    OWNER to postgres;

select *
from INFORMATION_SCHEMA.COLUMNS
where table_name = 'Users'
order by ordinal_position

Result:

The docs what you are referring to pertaining to topic "Postgres for SQL Server users". This portion of the docs in incomplete and has not been updated for a very quite a long time now. v3 through latest has the same content. Besides you are referring to v3 docs which possibly is written with reference to 9.5
Most likely we will remove this portion from the latest docs, re-add it if we could flesh out the content more and bring it up to date.

I am converting this to a discussion for now.


I would like to add a suggestion blog section with a slider

I would like to work on this issue under JWOC

go ahead @Priyamakeshwari

I would like to work on this under JWOC

@Priyamakeshwari any updates?


How should we set L4/L7 traffic weights?

I'm not sure if there is a similar issue mentioning this.

I'm new to pingora and I want to be able to configure traffic weights at the L4/L7 layer.
I see the default configuration of weight=1 in the source code, and I don't seem to find where I should configure this weight:
{
  let mut upstreams = BTreeSet::new();
  for addrs in iter.into_iter() {
  let addrs = addrs.to_socket_addrs()?.map(|addr| Backend {
    ...
    weight: 1,
  });
  ...
  }
  Ok(Self::new(upstreams))
}

Are there any helper functions or examples? Thanks!

Hi, can anyone give me a quick start example? I hope to use it as soon as possible.
thanks!

Is the goal to configure different weights for the backends on initialization?

One thing you can do is implement ServiceDiscovery and use this to construct your backends, here's an example used in a test.

Looks great! I also saw that we can implement and further build a Backend with weights for ServiceDiscovery.
By the way, I'd love to write an example if I can. I think a weighted load balancing example would be a good start too!

By the way, I'd love to write an example if I can :)

Feel free to create an example and open a pull request, glad this helped.


docs: add Instill AI to ADOPTERS.md

Description

Adds Instill AI to ADOPTERS.md
Review Checklist

[x] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Thanks @donch1989! Would you mind signing the EasyCLA above so that we can merge? 🙏🏽

Done. Thank you!


Changes in coverage diff Thu May 20 18:18:48 UTC 2021

Close, bo not see new App e2e tested endpoints yet.


Can't apply styling to rows

It is not possible to apply styling to rows. How can i implement bg-color on hover?

@ttiras What's the CSS you're trying to use for the row?
Generally you'd go: .sticky-table-row:hover .sticky-table-cell { background-color: black }
Hover styles on display: table-row are inconsistent in browsers

Hover styles on display: table-row are inconsistent in browsers

this is the knowledge i was looking for.
thank you.

anyone know any other ways I can tell it I want 40px cells?


Welcome page with instructions to use

we need to create a welcome screen which allows users to know how to use the extension and its features in a clear way.

@Royal-lobster Can i work on it?

Sure ! feel free to create a PR !

Thank you

@Royal-lobster Sorry to ask this basic doubt, this is my first time using vite, i opened localhost:5173 and was getting the following error:
This localhost page can’t be foundNo webpage was found for the web address: http://localhost:5173/
how should I open it without this error?

@Royal-lobster I have seen your figma link, I should be making those all in introduction page ri8 , if yes can you share all the background images and logos used for it, and please mention a deadline

@Royal-lobster I have seen your figma link, I should be making those all in introduction page ri8 , can you share all the background images and logos used for it, and please mention a deadline

I got something in my mind. let me put it down on figma so you can work. there is no deadline :) you can work on it on your own pace ! as soon as you can.

This is the design. (Figma Link)
Screenshot

Image assets
welcome_page.zip

@Royal-lobster thanks

Hey i have finished the first portion, check it and let me know if i need to change something, still i need to add logo, but for now this is the rough one i was able to build, please leave feedback

Looks promising. Great you are adapting the design to mobile. I would say the text on the desktop is smaller and the image on mobile, but a good start ! Feel free to post any doubts here if you are having any !

@saimadhav24 we rebranded to syncia, also updated figma file

This is the new design with new brand

@Royal-lobster What about the assets?

New assets - Syncia_welcome_assets.zip
For keyboard shortcuts, we are using this font https://fonts.google.com/specimen/Fira+Code

400px:

1026px and more:

830px:

640px and less:

@Royal-lobster please look at it and let me know

Looks nice ! font sizes on texts are bit off, but i would suggest to open a pr so i can suggest some changes ! also the shortcut now changed to cmd + shift + x / ctrl + shift + x


Bootstrap 4

Research upgrading to Bootstrap 4

Are there any plans for this?

Waiting for Bootstrap4-Dojo would take too much time, have a bootstrap4+jquery example at /examples

Any updates on this related to the security issue in Bootstrap 3.3.7?

I noticed that the dist files from the master-xmr-v3-fixes branch states version 3.4.0 for the CSS and JS Bootstrap files.  As far as I can tell, this resolves the XSS issue in 3.3.7 and earlier.
I can't find a CDN, as this seems to be a hidden release.  Perhaps the project and sample HTML files should include at least the Bootstrap JS file?

Any progress for Bootstrap 4 (leaflet)?


Resolution Slew Rate of instrument (max num of arb points)

add a way to check max points in error handling from the range, see keysight81150A class attributes and add a length check like len(data)

Not sure if I can copy what Alex did, since when you write the waveform you dont know how many points there are:
 if (v*self.amplitude)/(self.frequency/len(dense)) > self.awg.slew_rate:         print('WARNING: DEFINED WAVEFORM IS FASTER THAN AWG SLEW RATE')         break
Could query the arb waveform and get the number of points possibly?

if self.slew_rate is not None:             points = self.instrument.query(":DATA:ATTR:POIN? {}".format(name)).strip()             if (float(voltage))/(float(frequency)/float(points)) > self.slew_rate:                     print('WARNING: DEFINED WAVEFORM IS FASTER THAN AWG SLEW RATE')
Is the fix i added, so it queries the points and checks if its good
I also added under the create arb_wf
        dict_to_check = locals()         dict_to_check['arb_wf_points_range'] = len(data) #this adds to our _check_params the class attribute 'arb_wf_points_range'         self._check_params(locals())
which in theory should ensure that the len(data) is within accetable params

Finished with the newest commit, error checked by sending in arrays of invalid lengths and _check_params catches it


Add ARM64 arch

add arm64 architecture to the package

LGTM. Works on my machines.

Have you tested on ARM64?  The CI built it fine but I haven't tested it since I don't have a dappnode pi setup right now.

Have you tested on ARM64? The CI built it fine but I haven't tested it since I don't have a dappnode pi setup right now.

Have tested it on RPi4 8GB


Bogus "duplicate identifier" when checking JS code

TypeScript Version:  >= 3.9
The problem doesn't occur when compiling with 3.8.* or 3.9.0-beta, but all other versions of 3.9, 4.0 and 4.1 reproduce the issue.

Search Terms: duplicate identifier
Code
a.js
/** @type {import('./types').Config} */
const data = JSON.parse('');
data.uploads = {};

module.exports = data;

types.d.ts
export interface Config {
    uploads: {
    }
}

tsconfig.json
{
    "compilerOptions": {
        "noEmit": true,
        "allowJs": true,
        "checkJs": true
    },
    "include": [ "*.js", "*.ts" ]
}

Run tsc
Expected behavior: Code compiles without errors
Actual behavior:
a.js:3:1 - error TS2300: Duplicate identifier 'uploads'.

 data.uploads = {};
  ~~~~~~~~~~~~

  types.d.ts:2:5
         uploads: {
          ~~~~~~~
    'uploads' was also declared here.

Found 1 error.

Workarounds:
Specifying type of module.exports like the following:
a.js
/** @type {import('./types').Config} */
const data = JSON.parse('');
data.uploads = {};

/** @type {import('./types').Config} */
module.exports = data;

Exporting data differently:
module.exports = { data };
Changing the file extension of a.js to ts (however, this not an option for us, we are only using tsc for type checking)

I've encountered the same problem in different code:
TypeScript Version: 4.2.0-dev.20201126
/**
 * @type {import('eslint').Linter.Config<import('eslint/rules').ESLintRules>}
 */
const config = {
  rules: {
    'strict': 2,
  },
};
// ...
config.rules.strict = /** @type {typeof config.rules.strict} */ ([2, 'global']);
/** @type {typeof config} */
module.exports = config;

(Code from #41593 with a workaround from there and the addition of the last 2 lines)
What I've found is that instead of using /** @type {typeof config} */, I could use /** @type {any} */ or /** @type {never} */ and the type checking would still work, meaning:

The inferred type for module.exports is correct.
Type propagation still happens across module boundaries.

The additional comment isn't much, but it appears to be totally undocumented, so I'm worried that this workaround will no longer work in future TypeScript versions.


Data model changes aug-sep

@Bankso please review data model changes!

@aditigopalan Quick question - it looks like you also removed some of the terms, I'm guessing you identified existing valid values to use instead?
As far as the changes, I think everything looks good, the only thing I modified was 'Clinical Trial'. That term is already used by the biothings info that is automatically included when a json-ld is created by schematic, so it results in a 'displayName' error when trying to work with the json-ld. I replaced it with 'Clinical Study' and moved 'Clinical Trial' to the non-preferred term column.
It looks like the github action didn't run for this PR, so I went ahead and ran the following locally, using the scripts available in the data-models repo:

python update_valid_values.py to pull all new terms into 'all_valid_values.csv'
make to update all 'annotationProperty.csv' files with new terms, generate the new 'mc2.model.csv' and convert it to json-ld.

As a quick test, I also ran schematic manifest -c config.yml get -dt PublicationView -s and was able to generate a correct manifest template, so I think the json-ld is valid.
Last, I committed the outputs as part of this PR, so after we merge it, the model should be available for us to use.


how to drag a View to The Finder ,get filepath in Finder

I want to be cloud,drap a file in cloud to Finder(or window explorer) ，can get path ,and download cloud file

I couldn't understand this question -- need more context etc. maybe you could open on new Discussions tool and I'll close this as an issue just to keep this cleaner.

just like this: https://www.electronjs.org/docs/tutorial/native-file-drag-drop


Now using readline for input

Without readline:

With readline:

The readlne library is GNU only, making it unavailable for windows, I'm not so sure it's such an important improvement that warrants sperating between Os's

The readlne library is GNU only, making it unavailable for windows, I'm not so sure it's such an important improvement that warrants sperating between Os's

It works on windows using pyReadline as an optional dependency

I approve the merge.
Sorry for the delay, Github was half broken for me (ongoing incident see https://www.githubstatus.com/).


Key Vault: regenerated keyvault for paging logging

Can one of the admins verify this patch?

/azp run python - keyvault - ci


Release 0.8.1

There are a handful of bugfixes in the master branch now, so it's about time to make a new release 0.8.1.
Todo-list:

Go through the outstanding issue list, see if any of the outstanding issues ought to be fixed before the 0.8.1-release
Run tests towards as many server implementations as possible
See what should be mentioned in the changelog

Go through the resolved issues, see what ought to be mentioned in the changelog.
Browse through the commits
Look through the changeset

Write some release notes
Refresh my memories on how to do the pypi-release
Remember to update the version number in setup.py, and make a proper tag in the git repository
Push out a new release to pypi
Ensure the online documentation is up-to-date.

0.8.1 released


Updating dependencies

Basically pointing to last bug-fix in CartoDB.js -> https://github.com/CartoDB/cartodb.js/pull/1682

Tested in DED04 and it is working 👌 , @kevin-reilly, @alonsogarciapablo and @nobuti.


update saved_queries imports, filter, and authentication checks, correct created field reference and remove Django version decrement

#878 Updates to correct some test failures in saved_queries and remove Django version decrement.

Thanks! That seems to have fixed the crashes, just need to update the tests now.


How to perform entitlement operations via API method on identity server.

Environment information

Product Version: [IS 5.7.0, AM 2.6.0]
OS: [Linux]
Database: [MySQL]
Userstore: [OpenLdap 2.4.4]

Description:
Hi All
Im using WSO2 IS 5.7.0 + WSO2 AM 2.6.0 with OpenLDAP 2.4.4 and MySQL.
I want to perform the some entitlement operation via API method on identity server. Will anybody help me to guide, how to perform the below operation via  "API" method if possible.
Operations:

How to create one Rule definition.
How to create one Policy definition.
How to create one Policy Set definition.
How to include Rule and Role to Policy.
How to include Policy and Policy Set to Policy Set.
Thanks in advance.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


(doc) Add explanations to the middleware module page

I've added explanations and examples to the middleware module page. I've also linked everything on that page.

Fantastic, thanks for that!


"cuSolver internal error" when using jax.numpy.linalg.det

I was trying to run a program with jax.numpy.linalg.det in my spyder IDE, but it failed with "cuSolver internal error", while this issue didn't occur when the program was run on Colab. Is it possible to solve this issue?
The code for this program is
import jax.numpy as jnp
import jax.random as jrd
L = 16; N1 = 8; N2 = 8;
key = jrd.PRNGKey(1)
keys = jrd.split(key,2)
def init_c(key, n):
  Q = jrd.choice(key, L, (n,), replace=0)
  Q = jnp.sort(Q)
  B = jnp.zeros((n,L))+0j
  B = B.at[:,Q].set(jnp.identity(n)+0j)
  return B, Q
B1, Q1 = init_c(keys[0], N1)
B2, Q2 = init_c(keys[1], N2)
print(jnp.linalg.det(B2[:,Q2]))
# expected result : 1.

And it gives the following error report when running on spyder:
Traceback (most recent call last):

  File "/home/zejun/zejun/slater/code/slateriT.py", line 25, in <module>
    print(jnp.linalg.det(B2[:,Q2]))

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/_src/custom_derivatives.py", line 215, in __call__
    out_flat = custom_jvp_call_p.bind(flat_fun, flat_jvp, *args_flat)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/_src/custom_derivatives.py", line 277, in bind
    outs = top_trace.process_custom_jvp_call(self, fun, jvp, tracers)  # type: ignore

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/core.py", line 612, in process_custom_jvp_call
    return fun.call_wrapped(*tracers)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/linear_util.py", line 166, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/_src/traceback_util.py", line 183, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/_src/api.py", line 424, in cache_miss
    out_flat = xla.xla_call(

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/core.py", line 1560, in bind
    return call_bind(self, fun, *args, **params)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/core.py", line 1551, in call_bind
    outs = primitive.process(top_trace, fun, tracers, params)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/core.py", line 1563, in process
    return trace.process_call(self, fun, tracers, params)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/core.py", line 606, in process_call
    return primitive.impl(f, *tracers, **params)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 592, in _xla_call_impl
    compiled_fun = _xla_callable(fun, device, backend, name, donated_invars,

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/linear_util.py", line 262, in memoized_fun
    ans = call(fun, *args)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 723, in _xla_callable
    out_nodes = jaxpr_subcomp(

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 462, in jaxpr_subcomp
    ans = rule(c, axis_env, extend_name_stack(name_stack, eqn.primitive.name),

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 1040, in f
    outs = jaxpr_subcomp(c, jaxpr, backend, axis_env, _xla_consts(c, consts),

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 470, in jaxpr_subcomp
    ans = rule(c, axis_env, in_nodes,

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 965, in _xla_call_translation_rule
    out_nodes = jaxpr_subcomp(subc, call_jaxpr, backend, axis_env, (),

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/interpreters/xla.py", line 453, in jaxpr_subcomp
    ans = rule(c, *in_nodes, **eqn.params)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jax/_src/lax/linalg.py", line 999, in _lu_cpu_gpu_translation_rule
    lu, pivot, info = getrf_impl(c, operand)

  File "/home/zejun/anaconda3/envs/spyder-env/lib/python3.9/site-packages/jaxlib/cusolver.py", line 156, in getrf
    lwork, opaque = cusolver_kernels.build_getrf_descriptor(

RuntimeError: cuSolver internal error

What versions of jax, jaxlib, CUDA and CuDNN do you have?

@hawkinsp
jax: 0.2.17
jaxlib: 0.1.68+cuda111
CUDA: release 10.1, V10.1.243
CuDNN:  (not sure if it is the version information)
#define CUDNN_MAJOR 8
#define CUDNN_MINOR 2
#define CUDNN_PATCHLEVEL 2
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

If nothing else, you have a version mismatch. You've installed a CUDA 11.1+ wheel, but you have CUDA 10.1. I suspect that's related to your problem.
I should note that we have dropped support for CUDA 10.1. There are known bugs (on NVIDIA's side) in CUDA 10.1 that we cannot work around, so we decided to drop support. Please update to a supported version of CUDA (11.1 or greater), install the most current jax and jaxlib wheels, and try again.
Please let me know if that works!
If that doesn't work, I'd also want to know the output of nvidia-smi.


Doc.rs fails to build project with jsonnet-sys in dependencies

Seems that the build script try to write in src directory, which is not/no more permitted.
cf this issue
Seems that you should use $CARGO_OUT_DIR to write.

Thanks, will fix.
Do you have an easy way for me to verify my fix?  (before merging/publishing to docs.rs?)

Hello I am trying to build https://github.com/ffizer/ffizer on nixos. In nixos builder doesn't have write access to source. I think the failure is caused by this issue. The output is quite cryptic (just for reference):
ffizer-deps> error: failed to run custom build command for `jsonnet-sys v0.6.0`
ffizer-deps> Caused by:
ffizer-deps> process didn't exit successfully: `/build/dummy-src/target/release/build/jsonnet-sys-948082e4a0558fbf/build-script-build` (exit code: 101)
ffizer-deps> --- stdout
ffizer-deps> embedding: "jsonnet/stdlib/std.jsonnet" -> "jsonnet/core/std.jsonnet.h"
ffizer-deps> --- stderr
ffizer-deps> thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /sources/jsonnet-sys-0.6.0/build.rs:28:47
ffizer-deps> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ffizer-deps> warning: build failed, waiting for other jobs to finish...
ffizer-deps> error: build failed
ffizer-deps> [naersk] cargo returned with exit code 101, exiting

Would you be able to create a new release and push it to crates.io which includes https://github.com/anguslees/rust-jsonnet/pull/16 fix?

Hello I am trying to build https://github.com/ffizer/ffizer on nixos. In nixos builder doesn't have write access to source. I think the failure is caused by this issue. The output is quite cryptic (just for reference):
ffizer-deps> error: failed to run custom build command for `jsonnet-sys v0.6.0`
ffizer-deps> Caused by:
ffizer-deps> process didn't exit successfully: `/build/dummy-src/target/release/build/jsonnet-sys-948082e4a0558fbf/build-script-build` (exit code: 101)
ffizer-deps> --- stdout
ffizer-deps> embedding: "jsonnet/stdlib/std.jsonnet" -> "jsonnet/core/std.jsonnet.h"
ffizer-deps> --- stderr
ffizer-deps> thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /sources/jsonnet-sys-0.6.0/build.rs:28:47
ffizer-deps> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ffizer-deps> warning: build failed, waiting for other jobs to finish...
ffizer-deps> error: build failed
ffizer-deps> [naersk] cargo returned with exit code 101, exiting

Would you be able to create a new release and push it to crates.io which includes https://github.com/anguslees/rust-jsonnet/pull/16 fix?


⚠ ClamAV has degraded performance

In 0667d5c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 405 ms

Resolved: ClamAV performance has improved in c231876.


It not complete when I write provider and pressed tab

I used tabnine and kite on my system and your extension not work

@alirezat66 Is it the same behavior if you disable tabnine and kite?
These are just simple VSCode snippets, so I doubt that should be an issue.


Update to support Symfony 5

I tested the command with sf3.4 and sf5.0.
I also avoided an issue with Guzzle 6.0 by just updating to 6.3.
#SymfonyHackday

Looks good. 👍

We can probably drop Symfony 3, like in the Laravel installer. Also, maybe update the Laravel installer to Guzzle ^6.3 to match?

@GrahamCampbell 6.0 also allows installs of 6.3 so I think it's okay to keep it like that.

6.0 also allows installs of 6.3 so I think it's okay to keep it like that.

Yes it does, but ^6.3 prevents installing old insecure versions of Guzzle

@GrahamCampbell with that argument we could update all dependencies of all third party libraries into infinity. We can't protect people against themselves. They should use something like dependabot or https://github.com/Roave/SecurityAdvisories for this.

Thanks @Nyholm


Dep updates and Clippy fixes

Updated chrono-tz to version 0.6, this fully removes all time dependencies.
Update once_cell to version 1.10, no major changes done, and works fine.
Updated lint deny to new format
Added clippy allow for needless_doctest_main

This will fully remove any (dev-)dependency for the time crate and it
also gets rid of warnings generated during cargo test or cargo clippy

@zslayton Would it be possible to release a v0.10.1 or something with the updated deps?
That would be really nice to have it remove the old time create dependency from the dep-tree.

:tada: thanks you!


Missing .env.example file in repo

file was removed in commit https://github.com/bithyve/hexa/commit/4840f740cf882bed61cdf83f5280d3b866a9fe4a
but instructions in README.md file say:

Copy the contents on .env.example to a new .env file.

and compiling latest version 2.80 with ./gradlew assembleRelease shows:
Configure project :app
Reading env from: .env
**************************
*** Missing .env file ****
**************************

src/bitcoin/HexaConfig.ts picks default dev env even if .env is not present

Closing Approved by CC @cakesoft-shashank


Missleading info related to picture

When configuring NWRFC SDK path to the zip file which is stored on the machine, there is screenshot where it is shown some path - I suppose there might be anything like /home/user/temp/NWRFC.zip
BUT this is not working until there is also VERSION or some number added as well.
Please update documentation with this info that version is mandatory. It will not work without that, it will report path as invalid.

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

ID: af15fce7-b004-fa26-1679-6ad54e1e23cc
Version Independent ID: 5aa35ab1-e244-1f02-f3ed-7dbdcfaa4505
Content: Microsoft Sentinel solution for SAP® applications - deploy and configure the SAP data connector agent container
Content Source: articles/sentinel/sap/deploy-data-connector-agent-container.md
Service: microsoft-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@maniaX1
I'm going to assign this to the document author so they can take a look at it accordingly.

#reassign:batamig

Thank you for your comment. We'll investigate and get back to you.
#label:"backlog-item-created"

Hi @maniaX1 - thanks for writing into docs! You're correct about this and we've updated our content.
Feel free to look under Create a new agent and let us know if you have any additional feedback.
#label:"implemented-fix"

@batamig Hello, looks good now 👍 You can close the thread :-)
Thank you.

We appreciate your contribution!
#please-close


Weather data can now be accessed through geolocation #8

Closes issue #8
Video:
https://github.com/ManishaSwain8/ReactToWeather/assets/117717963/420c475e-46d5-4ff5-b9bd-a09147de32ea

@uddiptojana10  there is conflict please resolve it.
Make sure you have updated the branch , pulled the recent updates and push the code then create pull requests. !

And add video (no audio req) on what changes you did !
All the best !

Topbar is not looking appealing ,rather than a bar of drop down on the top add simple icon in place of it with dropdown .
Example ,


migrations: Fix sqlite3 issue for deleted worker

sqlite does not allow for the non-null constraint when altering a
table. As it turns out, it was probably dumb to make this requirement
in the first place. "null" is just going to evaluate like "false" for
our worker.deleted logic, and all the other boolean columns we've
added as migrations like surges_only were done the same way.
So this won't affect anyone with an existing deployment, but will
make things easier for people toying with sqlite
Signed-off-by: Andy Doan<EMAIL_ADDRESS>

@EmbeddedAndroid - a bit of a hack, but it should fix your issue

@doanac Thanks for this. Just redeployed locally and this fixed my issue.


BREAKING CHANGE(aksnodeclass): removing imageVersion from CRD

Fixes #
Description
We are working to improve the system of node image upgrades, and one of the first steps is removing the option to perminently lock the image version to any arbirary value with no given validation. Currently this is possible through the imageVersion field of the aksnodeclass. We are removing it from the CRD as a first step.
Note: this will be a breaking change with the following effects:

Existing nodes will drift to latest if currently specifying imageVersion
Trying to apply any saved spec with imageVersion will fail, and need to be updated.

How was this change tested?
Tested impact in a self-hosted environment by preforming the following steps:

Created an AKSNodeClass specifying imageVersion
Created a deployment that made karpenter provision 5 nodes
Updated the CRDs to remove imageVersion. (note: keeping the same api version in the crd)
The existing nodeclaims for the 5 nodes were marked as drifted, and brought up to the latest image version karpenter could find
Tried applying the old AKSNodeClass with imageVersion, and got an error.

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

Release Note

BREAKING CHANGE: removing imageVersion from AKSNodeClass. Impact: existing nodes will drift to latest if currently specifying imageVersion. action required: trying to apply any saved spec with imageVersion will fail, and need to be updated.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.853%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
36323

Relevant Lines:
37120

💛  - Coveralls


Support state history log splitting

Change Description

This PR supports the trace and chain state log sppliting in state history plugin and fixes the problem for context free data pruning for splitted block logs.
Change Type
Select ONE

[ ] Documentation

[ ] Stability bug fix

[x] Other

[ ] Other - special case

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[x] Documentation Additions

New option for chain plugin is added

blocks-retained-dir: the location of the blocks retained directory (absolute path or relative to blocks dir). If the value is empty, it is set to the value of blocks dir.

Some new options for state history plugin are added:

state-history-stride: split the state history log files when the block number is the multiple of the stride. When the stride is reached, the current history log and index will be renamed '*-history--.log/index' and a new current history log and index will be created with the most recent blocks. All files following this format will be used to construct an extended history log.
max-retained-history-files: the maximum number of state history log file groups to retain so that the blocks in those files can be queried. When the number is reached, the oldest log files would be moved to archive dir or deleted if the archive dir is empty. The retained log files should not be manipulated by users.
state-history-retained-dir: the location of the state history retained directory (absolute path or relative to state-history dir). If the value is empty, it is set to the value of state-history directory.
state-hsitory-archive-dir: the location of the state history archive directory (absolute path or relative to state-history dir). If the value is empty, log files beyond the retained limit will be deleted. All files in the archive directory are completely under user's control, i.e. they won't be accessed by nodeos anymore.

As described there seems to be no way to share state history files between different nodeos instances.  Obviously each nodeos needs to keep very recent stuff on its own, but once you want something older than say, a few days, then it would be nice to store the files on a shared drive (NFS, s3fuse, etc) and have mutliple nodeos processes pull from them.
This way you get scalability on nodeos by having multiple, but without using multiple times the storage.

As described there seems to be no way to share state history files between different nodeos instances. Obviously each nodeos needs to keep very recent stuff on its own, but once you want something older than say, a few days, then it would be nice to store the files on a shared drive (NFS, s3fuse, etc) and have mutliple nodeos processes pull from them.
This way you get scalability on nodeos by having multiple, but without using multiple times the storage.

Is this being considered ? Maybe make the files under "state-history-archive-dir" be readable by nodeos under read-only mode? Since it would make a lot of sense to keep reading those old files but from a slower storage backend


wrapAttributes option not working on Fedora Linux.

Hi,
It seems like the wrapAttributes option is no longer working on Fedora Linux 35 after blade-formatter was bumped to 1.26.5 on Node 16.14.2.
"devDependencies": {
    "@prettier/plugin-php": "0.18.8",
    "@shufo/prettier-plugin-blade": "1.4.13",
    "prettier": "2.7.1"
},

{
    "bracketSameLine": true,
    "phpVersion": "8.1",
    "plugins": ["./node_modules/@shufo/prettier-plugin-blade"],
    "printWidth": 120,
    "tabWidth": 4,
    "wrapAttributes": "preserve",
    "overrides": [
        {
            "files": "*.blade.php",
            "options": {
                "parser": "blade"
            }
        }
    ]
}

Input
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>

</html>

Output
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible"
          content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>

</html>

Thanks @ajwgeek
I'll look into it.

Thank you so much! It is working beautifully after removing bracketSameLine from my prettier configuration.


feat(headless): updated insight interface with facet type

The insight interface fetch call will now return facet type info if the detailed=true query param is set. We want this info returned so the insight panel can render the right type of facet.

Updated the title to contain the project name


Should New-PSSession using SSH accept user@hostname?

Currently, New-PSSession has a parameter set to use -Hostname and -Username to indicate SSHTransport is being used (instead of -ComputerName and -Credential).  SSH users are probably more familiar and comfortable with ssh user@hostname, so it seems we should support New-PSSession -Hostname user@hostname (unfortunately, it would be a breaking change to default to -Hostname instead of -Computername to support this as a positional parameter)
cc @PaulHigin @joeyaiello

I would rather defer this till the end of the 6.1 release cycle and focus more on actual features that add value tbh.

@bergmeister this isn't marked for 6.1, although I also don't think it would be difficult to implement (split the string, pass it to the existing parameters...).  This came up for me as I was using ssh to a Linux VM and then had to use new-pssession over SSH and was annoyed how easy it was using ssh

@SteveL-MSFT might as well use URI builder instead of split string. It would position us for possible furthe enchantments in the future.
$Hostname =<EMAIL_ADDRESS>$Builder = [System.UriBuilder]::New($Hostname)
$Hostname = $Builder.Host
$Username = $Builder.UserName
$Port = $Builder.Port

The format, after all, is a URI.


Enable volume normalization

See #685, thanks to @belinea4071.
Currently only for MPD in classic edition, couldn't find a setting so far in mopidy.

I didn't experience delays, but I have a Pi 3. We should keep this in mind for slower platforms like Zero.


[driver] [test] PRNG: allow custom\fixed seed, maintain backward compatibility. Update test PRNG.

@atamazov
Proposed solution for #2313
I've noticed that we use duplicated prng for the tests and it seems it has to be synchronized with driver's one, since there we had the reasons to update it for the driver.
The details about prng update for the driver described in #2135 and #2234
Has to be merged after #2319 or instead of it.

@CAHEK7

Has to be merged after https://github.com/ROCmSoftwarePlatform/MIOpen/pull/2319 or instead of it.

Let's use this one instead (and close #2319 right away). Please also copy description from there into this PR.

@CAHEK7 Maybe it is worth renaming PR to something like "[driver] PRNG: allow custom seed, maintain backward compatibility. [test] Update PRNG."

Ok, let's keep only this PR

@CAHEK7 the "Fp16 Hip gfx90a" stage fails pretty consistently, could you check?

@junliume looks like the problem is in the test\algorithm itself - it is numerically unstable and heavily depends on input data.
It even forces prng seed:
https://github.com/ROCmSoftwarePlatform/MIOpen/blame/5c6d9743ffb22ffc9671aac719c8e46cf882487e/test/bn_spatial_test.cpp#L1145
and there is a comment which points to the problems in the algorithm:
https://github.com/ROCmSoftwarePlatform/MIOpen/blame/5c6d9743ffb22ffc9671aac719c8e46cf882487e/test/bn_spatial_test.cpp#L1127
As I can see, all of the fp16 bn_spatial tests have the same problems.

@CAHEK7 Most likely you are right, but if we want to merge this PR, then we have to resolve (or workaround) the issue somehow. Any proposal?

https://github.com/ROCmSoftwarePlatform/MIOpen/blame/5c6d9743ffb22ffc9671aac719c8e46cf882487e/test/bn_spatial_test.cpp#L1145

FYI this is a different story, but this W/A needs to be fixed (generalized at first and formalized as a workaround).

It requires a bit more effort than expected - there are a few places where the code relies on a global glibc random state.

@atamazov could you check that your cache now works fine with MIOPEN_DEBUG_DRIVER_PRNG_LEGACY=1? Random seed set to 0 by default, so you don't need any additional env vars.
Also I'm not happy with current solution, it's mostly like a workaround with a few quite weak assumptions:

all the data initialized only once at the beginning
nobody call PRND during run iterations
nobody relies on a global application wide prng which can be reset from any place

The first one has already been broken in fp16 bn_spatial tests - it generated 2 sequences, one for gpu and one for cpu for verification and both must match.
I'll create a ticker to re-design prng facility to be more reliable and predictable, but I still have doubts that we have to keep all the legacy options forever.

Legacy support dropped. New PR #2337


implementation of a docker-compose-like cli for managing deployment of services simultaneously

Description
Building the grid-compose cli tool by implementing several commands adapted by docker-compose(up, down, version, etc)
Changes

[ ] ps
[ ] up
[ ] down
[ ] version

Related Issues

https://github.com/threefoldtech/tfgrid-sdk-go/issues/1022

Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstring

Please review the project structure, cobra commands should ONLY invoke methods defined on the app, don't leak any code logic into your commands. make sure the input is validated with decent error messages as well.

still needs to handle the dependency resolution "and guard against cycles"

Let's unblock this


Lab guide "Save to existing dashboard" location description

Describe the bug
Description shows:
Check that you have YOUR_NAME-Dashboard: YOUR_NAME-Dashboard in the top right corner.
should be:
Check that you have YOUR_NAME-Dashboard: YOUR_NAME-Dashboard in the top left corner.
To Reproduce
Browse to:
https://signalfx.github.io/observability-workshop/v3.2/dashboards/adding-charts/
See description of

Save to existing dashboard¶

Screenshots

Fixed in repo


Add a parameter MaxFoodIntake

Summary

This parameter is contained in the HealthInfo struct and limits the amount of food that an agent can physically eat. Choosing MaxFoodIntake large enough (4*tau=60 for example), we let the possibility for the agent to eat way more than needed, but still insure that they cannot eat the total amount of food on the platform (if curPlatFood>MaxFoodIntake)
Additional Information

Test Plan

It seems that there is a problem on the frontend side. @udai-arneja can you have a closer look?

I wrote some of the code so won't give a review, will wait for Jason

We can, currently we can freely choose it on frontend. We chose the default paramters as 4*tau, where tau takes the best tuning we have so far

We can, currently we can freely choose it on frontend. We chose the default paramters as 4*tau, where tau takes the best tuning we have so far

I feel like it's better to just set MaxFoodIntake to always be 4*tau is all - what happens if someone changes tau but then doesn't change the maxFoodIntake?

Yes, I am also happy with this solution

We cant change tau from the frontend, I dont think we want to change it at all.

We cant change tau from the frontend, I dont think we want to change it at all. So you can change maxFoodIntake, but not tau. @jzzheng22

If the max food intake is based on tau, and you can't change tau, then surely max food intake shouldn't be changable?

I think, while maxFood intake should typically be 4*tau, it would be interesting to see behaviour with the possibility of 'destroying food' vs not being able to destroy it... open to opinions @jzzheng22 @mdubied @JaafarRammal

I think we can leave it as the PR proposes, i.e. as a parameter on the frontend. We will probably run most of our simulations with the default value 4 tau, but as Udai mentioned, it can also be interesting to run simulations where maxFoodIntake="maxFoodOnPlatform"

Happy with that then, fair enough.


Add gentx team tommywesley

@motwes can you close this PR and re-create another one. We have added a CI test to validate gentx and new PRs will have that validation

@motwes can you close this PR and re-create another one. We have added a CI test to validate gentx and new PRs will have that validation

Done