Feature request - add children() and/or siblings() methods for better DOM navigation

The problem
While writing tests requiring navigation through table elements I have to do what follows:
List<SelenideElement> headers =invoices.$("tr").$$("th"); or something in similar fashion.
Proposal
We have parent() method which gives us parent element, it would be very useful to have one going downwards(and/or sideways) to DOM . Then, insted of List<SelenideElement> headers =invoices.$("tr").$$("th");  one could write List<SelenideElement> headers =invoices.children().first().children(); without specifying actual elements selectors.
Then:
siblings() would select all parallel elements except the one from which method is invoked.
etc.

@TomaszSzyborski I am not sure it's a good idea. This test can be fragile because developers can add some invisible elements to the
 (e.g. <tbody) which causes test failure. That's why I think explicitly using
 or  is a good idea.

@asolntsev I can see that. I was using other framework as well - there is option for going through DOM like  parent, children, siblings etc. - it is especially useful when there is no
 or  and everything is built with
 and  without specific selectors for rows or fields, as follows:
Assume this is table:

                     // this is table

                 // this is row

  // this is field

So you can get table by $('.table') but $('.table').$$("div") would give me all divs and proposed $('.table').children() would give me ElementsCollection of two rows.
To make things more explicit (although not applicable to example above) would be:
$('.table').children().filter("something") - but then again it's achievable by $('.table').$$("something") if there is specific attribute for rows
But then again explicit is better than implicit - and it's better to have one way to do things (like in Zen of Python :) )

@TomaszSzyborski You can use $$(.table > div) and get exact two rows and perform filtering for them.

@rosolko fair enough :)
Closing this one, then.


How to send the query to a GraphQL server?

I'm trying to post a query using AFNetworking to my GraphQL server but i'm wondering how I would go about sending a query to a GraphQL server if it expects a JSON based request like this
{ query: "feed(type: BY_VOTES) {                title              }                 " }
Since your library creates a query string like this:
query {     feed(type: BY_VOTES) {         title    } }
Is there someway I could go about this or is there something i'm missing?

Hi @unuigbee, thanks for your observation!
The question is not totally clear for me. I understand you have your own GraphQL server, and that it expects a JSON, but I don't get how the value of the query field in the JSON dictionary can be an invalid GraphQL query.
AFAIK the GraphQL reference wants the query in a { ... } block (or, equivalently, a query { ... }, or yet query name { ... }. Any other query would be invalid.
Is there a chance that you can pass whatever valid query to your JSON dictionary for the query key? In this case, you should be able to pass whatever output you get from GraphQLicious.
If not, can you elaborate a bit more how your GraphQL server works?
Thanks!

I was able to figure it out. I made a silly typo when making a request. A query like this in JSON is perfectly fine: { "query": "query { feed(type: BY_VOTE) { title } }" }.

All right, I'm glad it worked out eventually! All the best for your app!


Fix error when building with uuid and functions features.

Would you mind updating the travis script ?
-  - cargo test --features "backup blob chrono csvtab functions hooks limits load_extension serde_json trace url vtab"
+  - cargo test --features "backup blob chrono csvtab functions hooks limits load_extension serde_json trace url uuid vtab"

Sure, but I'm not sure this patch is correct yet. Are the error types I'm converting to correct? I'm pretty sure they're not at present.

I think this is ready for review again. :)

Thanks.


Fix: Clean up staging files for failed resolvers

This can accumulate large numbers of cached/RSF files if Artifactory is configured in a bad way

Let's make sure we pull this in to PPM before we forget.


Help with verifying the list row values

I am using the testcafe with cucumber. I have the following list row values as shown in the image and I need to verify the values shown in the list as per the expected text.

I am trying with below code where data is passed from the feature file,
for(let i = 0 ; i < 3 ; i++){
        const fieldName = Selector("div.nba-meta-action>div.nba-row>div.nba-row-left").with({ boundTestRun: testController }).withText(data[i].field);
        testController.expect(fieldName.exists).ok();
        const fieldValue = Selector("div.nba-meta-action>div.nba-row>div.nba-row-right").with({ boundTestRun: testController }).withText(data[i].value);
        testController.expect(fieldValue.exists).ok();
    }

I get error as "errMsg: 'AssertionError: expected false to be truthy'".
Can someone please help here.
Thanks

I was able to get this working. I later found out that, need to switch to iframe before looking for the text.


FYI: Wiki

@skeeto FYI, I made a wiki page to link to something I made for Elfeed: https://github.com/skeeto/elfeed/wiki

Thanks, this looks neat. I'm aware of Hydra, but it's outside of my
personal purview. That animation, along with the configuration example
below it, you included is worth 1,000 words.

BTW, would it be good to add this component-toggling function to Elfeed, as a kind of library function that UI code could use?

(cl-defun unpackaged/elfeed-search-filter-toggle-component (string component)
  "Return STRING (which should be `elfeed-search-filter') having toggled COMPONENT.
Tries to intelligently handle components based on their prefix:
+tag, =feed, regexp."
  (save-match-data
    (cl-labels ((toggle (component +prefix -prefix string)
                        (let ((+pat (rx-to-string `(seq (or bos blank)
                                                        (group ,+prefix ,component)
                                                        (or eos blank))))
                              (-pat (rx-to-string `(seq (group (or bos (1+ blank)) ,-prefix ,component)
                                                        (or eos blank)))))
                          ;; TODO: In newer Emacs versions, the `rx' pattern `literal'
                          ;; evaluates at runtime in `pcase' expressions.
                          (pcase string
                            ((pred (string-match +pat)) (rm (concat -prefix component) string))
                            ((pred (string-match -pat)) (rm "" string))
                            (_ (concat string " " +prefix component)))))
                (rm (new string) (replace-match new t t string 1)))
      (pcase component
        ((rx bos "+" (group (1+ anything)))
         (toggle (match-string 1 component) "+" "-" string))
        ((rx bos "=" (group (1+ anything)))
         (toggle (match-string 1 component) "=" "~" string))
        (_ (toggle component "" "!" string))))))

Used like:
;; I love macros.
(let (res)
  (cl-labels ((do (to this)
                  (aprog1 (unpackaged/elfeed-search-filter-toggle-component to this)
                    (push (list this '-> it) res))))
    (-> "@2-weeks-ago +unread"
        (do "+starred")
        (do "+starred")
        (do "+starred")
        (do "=news.ycombinator.com")
        (do "=news.ycombinator.com")
        (do "=news.ycombinator.com")
        (do "regexp")
        (do "regexp")
        (do "regexp"))
    (nreverse res)))
;; (("+starred" -> "@2-weeks-ago +unread +starred")
;;  ("+starred" -> "@2-weeks-ago +unread -starred")
;;  ("+starred" -> "@2-weeks-ago +unread")
;;  ("=news.ycombinator.com" -> "@2-weeks-ago +unread =news.ycombinator.com")
;;  ("=news.ycombinator.com" -> "@2-weeks-ago +unread ~news.ycombinator.com")
;;  ("=news.ycombinator.com" -> "@2-weeks-ago +unread")
;;  ("regexp" -> "@2-weeks-ago +unread regexp")
;;  ("regexp" -> "@2-weeks-ago +unread !regexp")
;;  ("regexp" -> "@2-weeks-ago +unread"))

Yeah, I like this, and I could see it being generally useful. I've been
using a hack all these years, and it could benefit from formalization:
https://github.com/skeeto/.emacs.d/blob/3746050d56ecfa3f9b286d6b434892542575a2d3/etc/feed-setup.el#L24
Your function would go well in elfeed-search.el. Though I'd like it
formatted to fit in 80 columns, and compatible with Emacs 24.3. I
believe it already is; I wasn't sure about rx but I see it's fine.

There's nothing new under the sun.  ;)  I'll send a PR soon.  Thanks.


[WIP] Create spacefish hostname function

Here's my attempt at converting https://github.com/denysdovhan/spaceship-prompt/blob/master/sections/host.zsh to fish. There may be some mistakes, since I'm quite new to fish. Fixes issue #20.
There are probably issues with this and I'd like to ask for help for integrating + testing. I'm not sure how this is supposed to be done.

Description

I've attempted to convert host.zsh into fish. I'm not quite sure how to integrate/test these changes in Spacefish, however, so there's a high possibility of changes needing to be made.
Motivation and Context

Attempts to solve #20 and allows people to see their hostname while SSHing into another machine.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (To be added):
How Has This Been Tested?

I have run echo statements to ensure the script only runs while SSH is active. I'm not sure how to make the variables available to Spacefish or how Spacefish sources the function. Script shows errors when being run directly, since spacefish::section doesn't appear to exist.

Very loosely tested using debug echo statements. Not sure if colors work.
End represents the end of the file.
Is running represents the main condition that checks if an SSH connection is active, passes.

[ ] I have tested using MacOS
[ ] I have tested using Linux

I would like to ask for help testing these changes and making sure they integrate correctly into spacefish. Feel free to make any changes. :fish:
Checklist:

[x] I have checked that no other PR duplicates mine
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have updated the tests accordingly.

Hey Snuggle! Thank you for getting started on #20!
Here are a couple things that will help you get on your way.
Here is where the sections are imported.
All sections are prefixed by __sf_section_ before they're ran, so you will want to rename the file and function to follow suit.
I would take a look at the following section file to use as reference for code formatting, setting defaults and getting spaceship::section function (__sf_lib_section in spacefish) to work: https://github.com/matchai/spacefish/blob/master/functions/__sf_section_user.fish
Looks like you're on the right track! Don't hesistate to ask if you need help on any specifics! 😄
Thanks again for the help!

@matchai Could you please give me some pointers on how to test my code, both locally and with your automated ci-testing? I have experience with Travis, but none with WIP or appveyor.
I need to add some checks to my tests. I'd like to test both in and without an SSH connection, as well as testing that changing the variables functions correctly.
	(
		ssh localhost
		# How to add a check here?

	) = (__sf_section_host)
end```

I'm not sure why the automated tests are failing on an unrelated test.

Looks like you're making a lot of headway! 😄
To run the tests locally, you should be able to simply run ./tests/run.fish from the project root. That should create a fresh fish and spacefish installation and run the tests.
Travis and Appveyor should automatically run, and should simply run the same way as it would locally (/tests/run.fish). Travis running on Mac and Linux, and Appveyor running on Cygwin on Windows. WIP simply makes the PR unable to merge until "[WIP]" is removed from its title.
Regarding the random failure; after some tinkering, it looks like it was caused by the unescaped single-quote on this line. 😅
The tests are ran with fishtape, which has some documentation, but you might benefit more from referencing some of the pre-existing tests in the repo.

@matchai

How is this snippet of code testing the user section, though? It's echoing "with snuggle", but my prompt says "in snuggle", how is this test passing? "with snuggle" != "snuggle in"
➜ ssh localhost
Last login: Wed Jul 25 10:31:39 2018 from <IP_ADDRESS>
Welcome to fish, the friendly interactive shell

snuggle in ~
➜

Good question! 😄
The "with" is the prefix to the user section, while the "in" is the prefix to the dir section.
The prefix of the first section is hidden by default because of the following config: https://github.com/matchai/spacefish/blob/master/fish_prompt.fish#L10
You can see that in action here:

In the section integration tests, we are running them in isolation, so the prefixes will be shown.

This should be complete, hopefully!
I had to remove SPACEFISH_HOST_SHOW_FULL as a config option, as it uses Zsh-only functionality that doesn't seem to exist in Fish, but it doesn't seem like a very useful config option.
Permalink to Zsh's function

I would also suggest moving the following line from "upcoming" to "features":
https://github.com/matchai/spacefish/blame/master/README.md#L39


Default factory name setting in build.gradle.kts not working for Android

Hello,
I have multiple shared modules in my application and according to the tutorial I wanted to set the default name for the factory:
ksp {
    // Configure the module with a custom default factory name, the default is called "NativeView"
    arg("compose-swift-bridge.defaultFactoryName", "SampleView")
}

It seems this setting only influences the iOS and common code generation, but the Android seems to ignore it and use NativeView name.

I tried setting it in the @ExpectSwiftView and that worked as expected, Android generated factory had the correct name.

I was able to reproduce it! Thanks for reporting.
This seems to be a issue with KSP or Kotlin Compiler API, this code bellow returns null for iOS and returns NativeView for Android (that is the default parameter from the Annotation)
expectSwift
        ?.arguments
        ?.firstOrNull { it.name?.getShortName() == "factoryName" }
        ?.value as? String?

We have publish a new version with this fix: 0.1.1.


Http transport 4.12

Adding http transport support to 4.12
This will allow users to use either AMQ ot HTTP as their transport

could you add these fixes?
https://github.com/redhat-cne/sdk-go/pull/47/commits/30b4f21f6f5f5992f46ec110f5acdab1c1293d14


Add “now playing” button to song search (in playlist finder)

The Spotify API has an endpoint for getting the currently playing song. It would be useful if there were a button to go directly to this song rather than having to type out its name and finding it in the results.

Took me a year to get around to it, but I added the functionality! Should be pushed up to production in a week or so.


fix: add a newline to the password decrypt command

The output of the command echo "${encrypted_password}" | base64 --decode | keybase pgp decrypt does not have a newline character at the end of the line, so the decrypted password is either mixed with the prompt (bash) or has a trailing character ('%' or '#' in zsh).
what

add a newline to the decrypt password

why
The output of the command echo "${encrypted_password}" | base64 --decode | keybase pgp decrypt does not have a newline character at the end of the line, so the decrypted password is either mixed with prompt (bash) or has a trailing character ('%' or '#' in zsh).
This commit pipes the decrypted password to echo to force a newline.
references
https://zsh.sourceforge.io/Doc/Release/Options.html#Prompting

/terratest

@b1n9s can you update the readme as per the failing readme check ?

@goruha, sorry I lost track of this PR, the purpose of this PR is to add a new line to the output, so the trailing '%' won't be shown in the output in zsh.
change to xargs echo -n will just be the same as it was.

/terratest


Logger infrastructure for SwiftUI

Logger infrastructure for SwiftUI
:recycle: Current situation & Problem
Fixes #9 by allowing the injection of Loggers into the SwiftUI environment. It doesn't (yet) make use of them, since I'm not sure on the desired granularity level of the subsystem and category values.
:gear: Release Notes

Allows the injection of Logger instances into subviews to more easily define subview's logging behavior, especially for generic views.

:books: Documentation

Adds documentation for LoggerKey (even though it is private). I noticed that the other environment keys are internal, is there a specific reason for them not to be private?

:white_check_mark: Testing
No testing code provided.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

@Supereg Good point; doesn't really add a benefit to create new modifier just to add this small synthetic sugar that might be harder to understand. Looking at this it might not be worth expanding the API surface just for this.
Good point, might be good to see this tested and applied here @pauljohanneskraft to validate the API design within this package itself.

Logging isn't really used in this package that much in general (I found a static logger in ValidationEngine and regular print statements in Tests), so I'm not sure how to apply it really, since ValidationEngine even seems to be a case, where using the Environment isn't necessarily the most elegant solution (since we would somehow need to inject that logger into ValidationEngine and Logger isn't Equatable, so we can't easily observe when it changes).
About SpeziAccount: It currently has its own implementation of a LoggerKey and it is only used in a way that an app can inject a custom Logger, but doesn't create its own Logger (except for the default value), so I kind of see this as the app being able to inject a Logger to the used views - not the views defining a new logger for its own subviews.

I think looking at https://github.com/StanfordSpezi/SpeziViews/issues/9 I would suggest to add some more functionality for this that the extension provide convenient mechanisms to inject their own Logger instance for all of their subviews (e.g., providing better defaults for the whole app, or something like SpeziAccount would want to inject it's own logger for all of its subviews).

This comment kind of goes the other way, which is why I'm mentioning this. I currently see this feature as Spezi purely reading the logger from the environment and the app primarily setting the logger. What do you think?

@pauljohanneskraft @Supereg Wondering how we should progress about this PR and/or if we should close it.
It might rather make sense to add a logging Module in Spezi that would be environment accessible and could be used to generate derived loggers for Spezi modules and possibly allows access in a SwiftUI environment using the Spezi Module mechanism?

@pauljohanneskraft @Supereg Wondering how we should progress about this PR and/or if we should close it.
It might rather make sense to add a logging Module in Spezi that would be environment accessible and could be used to generate derived loggers for Spezi modules and possibly allows access in a SwiftUI environment using the Spezi Module mechanism?

I think there are two different reasons for improved Logger support in the SwiftUI context that were mentioned in the original issue description:

There are small, reusable and composable views (like AsyncButton would be) which are typically owned by their parent view and may reuse their logger. While we mention views from SpeziViews as example, there aren't any views that would actually use that as, e.g., AsnycButton doesn't log anything. If we would add support for that, doing a simple logger environment key would probably be the best idea here. However, I'm more and more leaning towards not supporting that as a) we do not really have a use case ourselves and b) if we cannot provide an automatic injection of a Logger it don't see people doing manual injection a lot.
The other use case is that views want to easily access the Logger of a Module they are linked to. If they are tied to a EnvironmentAccessible module, they might just access the Module via the @Environment property and directly access the logger property. The question is, should we support a mechanism that doesn't require a Module to be environment accessible for that? Something like a @Logger(MyModule.self) var logger DynamicProperty that basically uses the approach @PSchmiedmayer explained under the hood.

Thanks for the context @Supereg!
I think the last option is one to consider, but I have been thinking a bit about this and I am not sure if this is worth the infrastructure surrounding it without a few clear use cases where we ran into issues that made this impossible. Ideally, larger-scale logic that requires a logger should be moved into modules or view models anyways that could constrain their own infrastructure.
As long as the different loggers in the Spezi ecosystem use a similar edu.stanford.spezi prefix, it is also easy to filter them out in the logging console, which should also make this an "easy" mechanism not really requiring infrastructure from our side.
If a developer really wants to access a logger from a module, they could then access it using the environment and access its logger instance (but arguably probably just call a function of the module). I would therefore lean toward not adding something specific around this for now, just pointing toward using a logger instead of print statements within our documentation and maybe even as a hint in SpeziViews.


[BUG] esteem v2.1 the link in comment section ia not working

Project Information
Repository: https://github.com/esteemapp/esteem-mobile
Project Name: esteem-mobile
Expected behaviour
The link should have been redirected the browser to its designed purpose.
Actual behaviour
Here, after clicking on the link, the link is not opened.
How to reproduce
1-Download the application
2- Go to the specific link in the comment section
3- click on the link
4- see bug
Browser/App version: v2.1.0
Operating system: 7.1.2
Smartphone: redmi note 4
Recording
https://youtu.be/gALnIL7df_Q
My Github Account
https://github.com/peerzadaaabid

Fixed please wait new release. thanx for report.


OpenID Connect logout with Azure AD v2 endpoint not working

I've tried logging out with the Azure AD v2 endpoint but I always get redirected to my application on the following url: https://localhost:5000/signout-callback-oidc. This url gives me a 200 http status code and a blank page. I think the problem is that it's missing ?state=some-encrypted-state. I noticed that the open id connect nuget needs the state param to redirect back to the application.
When I use the v1 endpoint everything works as expected.
I've just hung op with Microsoft and they are contacting the development team about also passing the state parameter back when logging out for the v2 endpoint.
I'm not sure if and when they will be supporting the state parameter, so is there another way to get this to work without the state parameter?

Not really. This code path still needs events that let you customize the behavior: https://github.com/aspnet/Security/issues/956

Closing because this appears to be an issue with Azure AD.

For anyone finding this issue; the issue in Azure AD has been fixed


Opam improvements

Add missing odoc dependency
Build and upload docs
Skip tests if prereqs aren't met

Pull Request Test Coverage Report for Build 176

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 77.428%

Totals

Change from base Build 171:
0.0%

Covered Lines:
295

Relevant Lines:
381

💛  - Coveralls


NamespaceDelayTimeout：Why is this value defined as 40s?

When cluster_mode is turned on, the delay value is default to 40 seconds for the same namespace. Can this value be customized?

#21
We added the variable Namespace_Delay_Timeout


ImportError: cannot import name 'HeaderAuthentication' from 'apiclient'

🐛 Bug Report
Just installed the package and added to INSTALLED_APPS, and the app is now crashing:
Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.12/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run
    autoreload.raise_last_exception()
  File "/usr/local/lib/python3.12/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
    raise _exception[1]
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 394, in execute
    autoreload.check_errors(django.setup)()
  File "/usr/local/lib/python3.12/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.12/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/usr/local/lib/python3.12/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/local/lib/python3.12/site-packages/django_paddle_billing/models.py", line 4, in <module>
    from apiclient import HeaderAuthentication
ImportError: cannot import name 'HeaderAuthentication' from 'apiclient' (/usr/local/lib/python3.12/site-packages/apiclient/__init__.py)

🔬 How To Reproduce
Steps to reproduce the behavior:

Install the package
Add to INSTALLED_APPS

Code sample

Environment

OS: Linux (Docker)
Python version: 3.12

Requirements:
api-client==0.1.2
    # via django-paddle-billing
asgiref==3.7.2
    # via
    #   channels
    #   channels-redis
    #   django
    #   django-cors-headers
    #   django-htmx
attrs==23.2.0
    # via
    #   aiohttp
    #   jsonschema
    #   referencing
django==5.0.7
    # via
    #   -r requirements/requirements.in
    #   channels
    #   django-allauth
    #   django-anymail
    #   django-celery-beat
    #   django-celery-results
    #   django-cors-headers
    #   django-hijack
    #   django-htmx
    #   django-otp
    #   django-paddle-billing
    #   django-redis
    #   django-storages
    #   django-timezone-field
    #   django-waffle
    #   djangorestframework
    #   drf-spectacular
django-allauth[mfa,socialaccount]==0.63.6
    # via -r requirements/requirements.in
django-anymail[brevo]==11.0.1
    # via -r requirements/requirements.in
django-cors-headers==4.4.0
    # via -r requirements/requirements.in
django-environ==0.11.2
    # via -r requirements/requirements.in
django-hijack==3.6.0
    # via -r requirements/requirements.in
django-htmx==1.18.0
    # via -r requirements/requirements.in
django-json-widget==2.0.1
    # via django-paddle-billing
django-otp==1.5.1
    # via -r requirements/requirements.in
django-paddle-billing==0.1.6
    # via -r requirements/requirements.in
django-redis==5.4.0
    # via -r requirements/requirements.in
django-storages==1.14.4
    # via -r requirements/requirements.in
django-timezone-field==6.1.0
    # via django-celery-beat
django-waffle==4.1.0
    # via -r requirements/requirements.in
djangorestframework==3.15.2
    # via
    #   -r requirements/requirements.in
    #   drf-spectacular
drf-spectacular==0.27.2
    # via -r requirements/requirements.in
kombu==5.3.5
    # via celery
python-crontab==3.0.0
    # via django-celery-beat
redis==5.0.1
    # via
    #   celery
    #   channels-redis
    #   django-redis
sqlparse==0.4.4
    # via django
tzdata==2023.4
    # via
    #   celery
    #   django-celery-beat
    #   pandas
vine==5.1.0
    # via
    #   amqp
    #   celery
    #   kombu

Screenshots

📈 Expected behavior

📎 Additional context
Does anyone have any idea what is the problem here?

How did you install the package? I have just created a fresh venv (with python 3.12) and my api client version is
api-client==1.3.1
    # via api-client-pydantic

I ran simply pip install django-paddle-billing. Do you have a package which depends on that old version?

I did a pip install, yeah.
$ pip install django-paddle-billing

Requirement already satisfied: django-paddle-billing in /usr/local/lib/python3.12/site-packages (0.1.6)
Requirement already satisfied: django-json-widget in /usr/local/lib/python3.12/site-packages (from django-paddle-billing) (2.0.1)
Requirement already satisfied: django>=4.2 in /usr/local/lib/python3.12/site-packages (from django-paddle-billing) (5.0.7)
Requirement already satisfied: paddle-billing-client>=0.2.4 in /usr/local/lib/python3.12/site-packages (from django-paddle-billing) (0.2.11)
Requirement already satisfied: asgiref<4,>=3.7.0 in /usr/local/lib/python3.12/site-packages (from django>=4.2->django-paddle-billing) (3.7.2)
Requirement already satisfied: sqlparse>=0.3.1 in /usr/local/lib/python3.12/site-packages (from django>=4.2->django-paddle-billing) (0.4.4)
Requirement already satisfied: api-client-pydantic<4.0.0,>=3.0.0 in /usr/local/lib/python3.12/site-packages (from paddle-billing-client>=0.2.4->django-paddle-billing) (3.0.0)
Requirement already satisfied: api-client>1.2.1 in /usr/local/lib/python3.12/site-packages (from api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (1.3.1)
Requirement already satisfied: pydantic<3.0,>=2.0 in /usr/local/lib/python3.12/site-packages (from api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (2.8.2)
Requirement already satisfied: requests>=2.16 in /usr/local/lib/python3.12/site-packages (from api-client>1.2.1->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (2.32.3)
Requirement already satisfied: tenacity>=5.1.0 in /usr/local/lib/python3.12/site-packages (from api-client>1.2.1->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (8.2.3)
Requirement already satisfied: annotated-types>=0.4.0 in /usr/local/lib/python3.12/site-packages (from pydantic<3.0,>=2.0->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (0.6.0)
Requirement already satisfied: pydantic-core==2.20.1 in /usr/local/lib/python3.12/site-packages (from pydantic<3.0,>=2.0->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (2.20.1)
Requirement already satisfied: typing-extensions>=4.6.1 in /usr/local/lib/python3.12/site-packages (from pydantic<3.0,>=2.0->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (4.9.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.12/site-packages (from requests>=2.16->api-client>1.2.1->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/site-packages (from requests>=2.16->api-client>1.2.1->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/site-packages (from requests>=2.16->api-client>1.2.1->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/site-packages (from requests>=2.16->api-client>1.2.1->api-client-pydantic<4.0.0,>=3.0.0->paddle-billing-client>=0.2.4->django-paddle-billing) (2024.7.4)

Do you have a package which depends on that old version?

Oh, my bad, I have api-client at 1.3.1 as well.
I asked ChatGPT to remove the irrelevant packages from requirements.txt and it decided to change the version as well 😂
Thank you for the quick response!

What do you see here? Same version as me, but yours complains. My other guess would be an another package with the same folder name exists. Btw don't you use a venv? I see your system path, other projects can make a conflict easily.
What is the full output for pip freeze?

 Looks like one of the Google libs has claimed the apiclient name.
site-packages/apiclient/__init__.py
"""Retain apiclient as an alias for googleapiclient."""

from googleapiclient import channel, discovery, errors, http, mimeparse, model

try:
    from googleapiclient import sample_tools
except ImportError:
    # Silently ignore, because the vast majority of consumers won't use it and
    # it has deep dependence on oauth2client, an optional dependency.
    sample_tools = None
from googleapiclient import schema

_SUBMODULES = {
    "channel": channel,
    "discovery": discovery,
    "errors": errors,
    "http": http,
    "mimeparse": mimeparse,
    "model": model,
    "sample_tools": sample_tools,
    "schema": schema,
}

import sys

for module_name, module in _SUBMODULES.items():
    sys.modules["apiclient.%s" % module_name] = module

Btw don't you use a venv?

I use Docker, so venv shouldn't be necessary I think

I'll close the issue since this isn't a bug with your library, but please let me know if you know any workarounds I could use here :)


[Bug] [admin] 任务以k8s application模式提交时报NullPointerException

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
任务以k8s application模式提交时报NullPointerException
原因为下载udf包时，没判空
What you expected to happen
能正常提交任务到k8s
How to reproduce
1.准备好k8s任务提交环境
2.不要有任务udf包
3.提交k8s任务
Anything else
No response
Version
0.7.3
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

我看到dev分支中此问题已修复，关闭此issue


Static type checking of device types

This would require carrying type information in the data reference class, most likely a template parameter.
e.g. prevent int3 * int8 from being valid.
At the moment, this would only cause an error on kernel compilation (during SYCL runtime), but it would be preferable to cause an error at C++ compile time.

Haven't dabbled with SYCL or sycl-gtx much yet, but if I'm understanding you're issue, something like ctti - https://github.com/Manu343726/ctti might help, it provides compile-time type information. I've used it before and it's quite a simple library. It's licensed under MIT too.


Re-design of the Search page

Description
As a developer, I want to have the most user-friendly search page.
Acceptance criteria

[x] mock-ups created
[x] mockups discussed
[ ] chosen design implemented

https://www.figma.com/proto/CAURgZzkhMIhxYqbltMQSH/cancermodels.org---Web-Design?node-id=139%3A6

done


More restrictive firewall

Allow only what's really necessary

Confirmed (offline) that the newly named FW Rules will still get picked up by the provisioning script.
LGTM


[Bug] Simfile ATTACKS don't play on courses

This was tested on an indev version of OutFox & SM5.1 as well.
Simfiles (.sm/.ssc) can have what are known as Attacks (given with the #ATTACK tag). The format is similar to the #MODS lines course files (.crs) use, allowing for crs-style modding on a simfile-level.
However, simfile attacks do not get applied while in course mode.
This happens upstream as well.
I'd expect simfile attacks to be applied regardless of if I'm in a course or in normal gameplay.

Simfile attacks now work in course mode for the next alpha. If the current song has attacks, the course attacks are ignored for that song.


My Highlights has lost it's side bar

related to #579

Only happens if no highlights are selected.


Cache Management via UI

I think it's a good idea for letting the users manage their cache on the UI. Currently, there's no such UI feature exists for the users to say clear or reset or visualize cache etc. Please decide on the minimum cache management features that could be exposed so they could easily manage from the Portkey UI.
Enterprise Customers would need more, for example, have the cache managed on their preferred vector databases. Hope you do agree and consider extending the cache management and configurability options.

Hi @ranjancse26,
Completely agree with your points. Happy to mention that we have these things on our roadmap.
I don't have any timelines to share right now but I'll update here once it gets added to a sprint.


Add Mangstream template

Alphascans
Asurascans
Blackarmy
Kumascans
Readkomik

This has issues with parsing sources with different languages (e.g. they have different words for the status like "ongoing"), so if you can fix that I can merge it.

Well, it really should be the source and not the template that defines the overrides for the different language strings, but this works for now so I guess it's okay. If more sources are added that use different language strings, this will need to change.


GATE-2448: adds support for gateway proxy endpoints

Description
Adds support for gateway Proxy Endpoints
Has your change been tested?
Unit tests added.
Manually tested against personal account
Types of changes
What sort of change does your code introduce/modify?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.
[doc PR in review] This change is using publicly documented (api.cloudflare.com or developers.cloudflare.com) and stable APIs.

@jacobbednarz

LGTM, just pending the public API docs and we'll merge this in.
Docs got released https://api.cloudflare.com/#zero-trust-gateway-rules-delete-zero-trust-gateway-rule

solid effort @Michael9127 👏


Attaching Analog(X.W) to several Analog(1.W)

Reported by @mwachs5
Migrated from https://github.com/ucb-bar/chisel/issues/748

Is there no way to connect Analog(x.W) to e.g. a Vec(x, Analog(1.W))?
I would want to use Vec(x, Analog(1.W)) everywhere, except when I connect to a black-box which actually has
inout [2:0] foo;

then I I need to use
val foo = Analog(3.W)

instead of
val foo = Vec(3, Analog(1.W))

Ah.  I need to update my bookmarks!
It was suggested to try inline black box. Giving it a shot.

I was able to make something work with HasBlackBoxInline.

Dup of #536


Malwarebytes is detecting spyware in the latest release but not the previous one

Scanning the twitch-cli_1.1.5_Windows_x86_64.zip (or installing via scoop) Malwarebytes detects the latest v1.1.5 release as Spyware.PasswordStealer. Same file for release v1.1.3 has no detections.
Here are the results from VirusTotal - https://www.virustotal.com/gui/file/f8d5d5b576b5e4223b810d63d3728ec907a17f50646f4d5c3d816e5289c58ff3/detection
Any idea why?

same here

Filed: https://forums.malwarebytes.com/topic/285451-spywarepasswordstealer-false-positive/

According to them, it should no longer be detecting locally, but is an issue with VirusTotal. Closing, but if you continue to see issues, please @ me.


Amir/CRO-49/track virtual signup form events with rudderstack

Changes:

...

Type of change

[ ] Bug fix
[x] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[x] Dependency update
[ ] Documentation update
[ ] Release

The config and Track implementation has been passed down to this PR https://github.com/binary-com/deriv-com/pull/5512 , hence closing this PR now


fix the keyCredential issue

Fixes #4411
This change gives the azure plugin the ability to change the type of the credentials, but it will still have to override everything in ClientProvider to use the token credential.
Maybe only a credential abstraction change could solve it, but it needs more discussions.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Generator.CSharp.ClientModel


[SPARK-50487][DOCS] Update broken jira link

What changes were proposed in this pull request?
Update broken jira link
Why are the changes needed?
The old link is not accessible
Does this PR introduce any user-facing change?
No
How was this patch tested?
No testing required
Was this patch authored or co-authored using generative AI tooling?
No

Merged to master and 3.5, thank you @huangxiaopingRD @dongjoon-hyun @zhengruifeng


:RunClose 'crashes' nvim

nvim: v0.7.2

When I run :RunClose the nvim will freeze and won't be back to normal, forcing me to close the editor having unsaved files.
Don't know the reason, but I've updated nvim and the plugin itself, yet to fix the problem.
To do the problem described;
Just like any file, do :RunCode, then do :RunClose which freezes the editor and no way to revert back.

Same here
nvim: v0.8.1

Please screenshot

hi @CRAG666
first let me thank you. I'm excited to use it since it would save my coding time.
:RunClose freezes neovim.
NeoVim version : 0.8.3
https://user-images.githubusercontent.com/10101468/222235091-21fdab2b-872e-490f-ad44-be40b10aeb79.mp4

I edited my configuration and now :RunClose doesn't freeze neovim. Hope it stays stable. Just in case someone else has the same issue this is my configuration using lazy.nvim.
NVIM v0.8.3
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az171-224

Features: -acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM\sysinit.vim"
fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info
coderunner.lua plugin configuration:

return {
  "CRAG666/code_runner.nvim",
  lazy = false,
  init = function() require("which-key").register({ ["<leader>r"] = { name = "Code Runner" } }, { mode = "n" }) end,
  opts = {
    filetype = {
      python = "C:/Users/<path>/python.exe"
    },
  },
  keys = {
    { "<leader>rr", "<cmd>RunCode<cr>",    desc = "Run Code" },
    { "<leader>rf", "<cmd>RunFile<cr>",    desc = "Run File" },
    -- { "<leader>rft", "<cmd>RunFile tab<cr>", desc = "Run File Tab" },
    { "<leader>rp", "<cmd>RunProject<cr>", desc = "Run Project" },
    { "<leader>rc", "<cmd>RunClose<cr>",   desc = "Run Close" },
    -- { "<leader>crf", "<cmd>CRFiletype<cr>", desc = "Open Json supported files" },
    -- { "<leader>crp", "<cmd>CRProject<cr>", desc = "Open Json list of projects" },
  },
}


Using Bread fields in front end forms.

Laravel Version: 5.5.*
Voyager Version: 1.0.*
PHP Version: 7.2
Database Driver & Version: MySQL

-Description: How can I use bread fields in my front end form? For example I want to make a Job Application form for which all the fields should be managed(Add new fields or delete/Update older) by Voyager bread system or something like that?  How can I do that?

Sorry I am new to GitHub.:-(

No worries.  Thanks for fixing it.
In short, I think you may have misunderstood the purpose of Voyager.  Voyager is intended to be an admin tool, not a full CMS/form-builder.  There is no (built-in) way to use the dynamic fields outside of Voyager.


Add some high-level info logging to AcmeIssuingService.

Fixes #38.

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Current coverage is 99.93% (diff: 100%)

Merging #54 into master will increase coverage by <.01%

@@             master        #54   diff @@
==========================================
  Files            20         20
  Lines          1546       1550     +4
  Methods           0          0
  Messages          0          0
  Branches        140        140
==========================================
+ Hits           1545       1549     +4
  Misses            1          1
  Partials          0          0

Powered by Codecov. Last update d736e85...b9f0d98


Unexpected behavior when OUTPUT=sim

Hello @rswarbrick ,
Bellow command leads to a repetitive (redundant) operation because of having "sim" as the output directory (this will be fixed by simply changing the directory name to something else, say SIM). The unexpected behavior is that I think since 'sim' is the main target in the Makefile of dv/uvm/core_ibex, it repeats the whole process (program generation/compilation/execution) under a new random seed because it detects a change in COMPILE_OPTS.
Command:
make -C dv/uvm/core_ibex/ COV=1 TIMEOUT=10000 ISA=rv32imc ISS=spike  SIMULATOR=vcs WAVES=0 TESTLIST=/path/to/testlist OUT=sim
Console output:
make: Entering directory '/dv/uvm/core_ibex'
mkdir -p sim/seed-20667/.metadata
Fri, 30 Oct 2020 02:46:59 INFO     Creating output directory: sim/seed-20667/instr_gen
Fri, 30 Oct 2020 02:46:59 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:46:59 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:46:59 INFO     Processing simulator setup file : vendor/google_riscv-dv/yaml/simulator.yaml
Fri, 30 Oct 2020 02:46:59 INFO     Found matching simulator: vcs
Fri, 30 Oct 2020 02:46:59 INFO     Building RISC-V instruction generator
Fri, 30 Oct 2020 02:47:32 INFO     Running RISC-V instruction generator
Fri, 30 Oct 2020 02:47:32 INFO     Generating 1 riscv_rand_instr_test
Fri, 30 Oct 2020 02:47:32 INFO     Running riscv_rand_instr_test with 1 batches
Fri, 30 Oct 2020 02:47:32 INFO     Running riscv_rand_instr_test, batch 1/1, test_cnt:1
Fri, 30 Oct 2020 02:47:36 INFO     Creating output directory: sim/seed-20667/instr_gen
Fri, 30 Oct 2020 02:47:36 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:47:36 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:47:36 INFO     Compiling sim/seed-20667/instr_gen/asm_tests/riscv_rand_instr_test_0.S
Fri, 30 Oct 2020 02:47:36 INFO     Converting to sim/seed-20667/instr_gen/asm_tests/riscv_rand_instr_test_0.bin
Fri, 30 Oct 2020 02:47:36 INFO     Creating output directory: sim/seed-20667/instr_gen
Fri, 30 Oct 2020 02:47:36 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:47:36 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:47:36 INFO     Processing ISS setup file : vendor/google_riscv-dv/yaml/iss.yaml
Fri, 30 Oct 2020 02:47:36 INFO     Found matching ISS: spike
Fri, 30 Oct 2020 02:47:36 INFO     spike sim log dir: sim/seed-20667/instr_gen/spike_sim
Fri, 30 Oct 2020 02:47:36 INFO     Running spike sim: sim/seed-20667/instr_gen/asm_tests/riscv_rand_instr_test_0.o
mkdir -p sim/rtl_sim
Fri, 30 Oct 2020 02:47:36 INFO     Processing simulator setup file : yaml/rtl_simulation.yaml
Fri, 30 Oct 2020 02:47:36 INFO     Compiling TB
rm -rf sim/seed-20667/rtl_sim
cp -r sim/rtl_sim sim/seed-20667
Fri, 30 Oct 2020 02:48:02 INFO     Processing simulator setup file : yaml/rtl_simulation.yaml
Fri, 30 Oct 2020 02:48:03 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:48:03 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:48:03 INFO     Running RTL simulation...
Fri, 30 Oct 2020 02:48:03 INFO     Running core_ibex_base_test with sim/seed-20667/instr_gen/asm_tests/riscv_rand_instr_test_0.bin
Fri, 30 Oct 2020 02:48:07 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:48:07 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:48:07 INFO     Comparing spike/DUT sim result : sim/seed-20667/instr_gen/asm_tests/riscv_rand_instr_test.0.o
Fri, 30 Oct 2020 02:48:07 INFO     Processing ibex log : sim/seed-20667/rtl_sim/riscv_rand_instr_test.0/trace_core_00000000.log
Fri, 30 Oct 2020 02:48:07 INFO     Processed instruction count : 193
Fri, 30 Oct 2020 02:48:07 INFO     CSV saved to : sim/seed-20667/rtl_sim/riscv_rand_instr_test.0/trace_core_00000000.csv
Fri, 30 Oct 2020 02:48:07 INFO     Processing spike log : sim/seed-20667/instr_gen/spike_sim/riscv_rand_instr_test.0.log
Fri, 30 Oct 2020 02:48:07 INFO     Processed instruction count : 195
Fri, 30 Oct 2020 02:48:07 INFO     CSV saved to : sim/seed-20667/instr_gen/spike_sim/riscv_rand_instr_test.0.csv
Fri, 30 Oct 2020 02:48:07 INFO     1 PASSED, 0 FAILED
Fri, 30 Oct 2020 02:48:07 INFO     RTL & ISS regression report at sim/seed-20667/regr.log
Fri, 30 Oct 2020 02:48:07 INFO     Searching sim/seed-20667 for coverage database
Fri, 30 Oct 2020 02:48:07 INFO     Generating merged coverage directory
mkdir -p sim
Repeating compiling TB because variable COMPILE_OPTS has changed value.
mkdir -p sim/seed-14582/.metadata
Fri, 30 Oct 2020 02:48:12 INFO     Creating output directory: sim/seed-14582/instr_gen
Fri, 30 Oct 2020 02:48:12 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:48:12 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:48:12 INFO     Processing simulator setup file : vendor/google_riscv-dv/yaml/simulator.yaml
Fri, 30 Oct 2020 02:48:12 INFO     Found matching simulator: vcs
Fri, 30 Oct 2020 02:48:12 INFO     Building RISC-V instruction generator
Fri, 30 Oct 2020 02:48:43 INFO     Running RISC-V instruction generator
Fri, 30 Oct 2020 02:48:43 INFO     Generating 1 riscv_rand_instr_test
Fri, 30 Oct 2020 02:48:43 INFO     Running riscv_rand_instr_test with 1 batches
Fri, 30 Oct 2020 02:48:43 INFO     Running riscv_rand_instr_test, batch 1/1, test_cnt:1
Fri, 30 Oct 2020 02:48:46 INFO     Creating output directory: sim/seed-14582/instr_gen
Fri, 30 Oct 2020 02:48:46 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:48:46 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:48:46 INFO     Compiling sim/seed-14582/instr_gen/asm_tests/riscv_rand_instr_test_0.S
Fri, 30 Oct 2020 02:48:46 INFO     Converting to sim/seed-14582/instr_gen/asm_tests/riscv_rand_instr_test_0.bin
Fri, 30 Oct 2020 02:48:46 INFO     Creating output directory: sim/seed-14582/instr_gen
Fri, 30 Oct 2020 02:48:46 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:48:46 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:48:46 INFO     Processing ISS setup file : vendor/google_riscv-dv/yaml/iss.yaml
Fri, 30 Oct 2020 02:48:46 INFO     Found matching ISS: spike
Fri, 30 Oct 2020 02:48:46 INFO     spike sim log dir: sim/seed-14582/instr_gen/spike_sim
Fri, 30 Oct 2020 02:48:46 INFO     Running spike sim: sim/seed-14582/instr_gen/asm_tests/riscv_rand_instr_test_0.o
Fri, 30 Oct 2020 02:48:47 INFO     Processing simulator setup file : yaml/rtl_simulation.yaml
Fri, 30 Oct 2020 02:48:47 INFO     Compiling TB
rm -rf sim/seed-14582/rtl_sim
cp -r sim/rtl_sim sim/seed-14582
Fri, 30 Oct 2020 02:49:10 INFO     Processing simulator setup file : yaml/rtl_simulation.yaml
Fri, 30 Oct 2020 02:49:10 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:49:10 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:49:10 INFO     Running RTL simulation...
Fri, 30 Oct 2020 02:49:10 INFO     Running core_ibex_base_test with sim/seed-14582/instr_gen/asm_tests/riscv_rand_instr_test_0.bin
Fri, 30 Oct 2020 02:49:15 INFO     Processing regression test list : vendor/google_riscv-dv/yaml/base_testlist_single.yaml, test: riscv_rand_instr_test
Fri, 30 Oct 2020 02:49:15 INFO     Found matched tests: riscv_rand_instr_test, iterations:1
Fri, 30 Oct 2020 02:49:15 INFO     Comparing spike/DUT sim result : sim/seed-14582/instr_gen/asm_tests/riscv_rand_instr_test.0.o
Fri, 30 Oct 2020 02:49:15 INFO     Processing ibex log : sim/seed-14582/rtl_sim/riscv_rand_instr_test.0/trace_core_00000000.log
Fri, 30 Oct 2020 02:49:15 INFO     Processed instruction count : 195
Fri, 30 Oct 2020 02:49:15 INFO     CSV saved to : sim/seed-14582/rtl_sim/riscv_rand_instr_test.0/trace_core_00000000.csv
Fri, 30 Oct 2020 02:49:15 INFO     Processing spike log : sim/seed-14582/instr_gen/spike_sim/riscv_rand_instr_test.0.log
Fri, 30 Oct 2020 02:49:15 INFO     Processed instruction count : 197
Fri, 30 Oct 2020 02:49:15 INFO     CSV saved to : sim/seed-14582/instr_gen/spike_sim/riscv_rand_instr_test.0.csv
Fri, 30 Oct 2020 02:49:15 INFO     1 PASSED, 0 FAILED
Fri, 30 Oct 2020 02:49:15 INFO     RTL & ISS regression report at sim/seed-14582/regr.log
Fri, 30 Oct 2020 02:49:15 INFO     Searching sim/seed-14582 for coverage database
Fri, 30 Oct 2020 02:49:15 INFO     Searching sim/seed-20667 for coverage database
Fri, 30 Oct 2020 02:49:15 INFO     Generating merged coverage directory
mkdir -p sim
make: Leaving directory 'dv/uvm/core_ibex'
Thanks,
Hodjat

Thanks for the bug report, and the analysis. Even with your comments, it took me a while to understand what on earth was going on! Anyway, this should be fixed by the linked PR. If you really want an output directory called sim in the meantime, you could try passing OUT=sim/ (with the trailing slash). I haven't checked, but I suspect it will work!


Misuse of empty psalm type

Assert::isEmpty is typed as @psalm-assert empty $value
Assert::notEmpty is typed as @psalm-assert !empty $value
I think both are wrong.
https://psalm.dev/docs/annotating_code/type_syntax/atomic_types/

empty - a type that represents a lack of type - not just a lack of type information (that's where mixed is useful) but where there can be no type. A good example is the type of the empty array []. Psalm types this as array<empty, empty>.

So I believe there is no psalm type currently available to express empty'ness or non-empty'ness in the php values meaning.

Oops, accidentally closed, reopening.

Seems coherent:
https://psalm.dev/r/7972caa66e
When you expect empty, Psalm will reject any value.
When you expect !empty, Psalm will accept any value.
It would have been a different story if we were able to do this though:
@psalm-assert ($value is string : empty-string : ($value is array ? empty-array : mixed) $value
Unfortunately, it only works with returns right now

@orklah

When you expect empty, Psalm will reject any value.

This is wrong, '', [], 0 etc are valid empty values.
Psalm's empty (lack of) type and php's empty() function have different incompatible semantics, even though they are named the same.

Ok, wait a second, it looks like psalm combines empty with the already currently known type, and produces a context-specific intersection.
In that case I'm indeed wrong.
Closing this as invalid, thanks!


THRIFT-5178: Added constructor with default host localhost

The constructors for THttpClient require specifying a host. However not all supported socket types require a host. I.e. when using a Unix domain socket, the host is required to be localhost.
This PR adds a constructor that avoids host in the signature, and sets the value to localhost.

[x] Did you create an https://issues.apache.org/jira/browse/THRIFT-5178 ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

This may require a bit of review and discussion. Are the proposed changes good?

Thanks!


Features

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3a30d03). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage        ?   80.48%
=======================================
  Files           ?        7
  Lines           ?       41
  Branches        ?        0
=======================================
  Hits            ?       33
  Misses          ?        8
  Partials        ?        0

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


NSFS | NC | CLI | Remove unwanted console logs for manage NSFS script

Explain the changes
Remove unwanted console logs for manage NSFS script
Issues: Fixed #xxx / Gap #xxx

creation_date is missing bucket
CLI argument validation issue for account and bucket
unit test for managing CLI
error and success messages updated

Note: log printing to stderr changes are not included.
Testing Instructions:

run both account and bucket operations

[ ] Doc added/updated
[X] Tests added

merge with mater made code instable, thus closing the PR
New PR : https://github.com/noobaa/noobaa-core/pull/7640


Specifying OSD groups as list fails with AnsibleError: Unexpected templating type error occurred on ..unhashable type: 'list'

The ceph-ansible (latest master with Luminous Bluestore) fails when osd_group_name defined in group_var/all.yml is specified as follows:
osd_group_name:
 - osds_group_ssd_collocated
 - osds_group_hdd
 - osds_group_hdd_collocated

The playbook fails while generating ceph.conf as follows:
TASK [ceph-config : generate ceph configuration file: ceph.conf] ******************************************************************************************************************************************************************************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleError: Unexpected templating type error occurred on (# {{ ansible_managed }}\n\n[global]\n{% if not cephx %}\nauth cluster required = none\nauth service required = none\nauth client required = none\nauth supported = none\n{% endif %}\n{% if ip_version == 'ipv6'  %}\nms bind ipv6 = true\n{% endif %}\n\nosd crush chooseleaf type = 0\n{% endif %}\n{# NOTE (leseb): the blank lines in-between..............
: unhashable type: 'list'"

The IP <IP_ADDRESS> is of one of the monitors node.
The task is defined in "ceph-ansible/roles/ceph-config/tasks/main.yml"
  - name: "generate ceph configuration file: {{ cluster }}.conf"
    action: config_template
    args:
      src: ceph.conf.j2
      dest: /etc/ceph/ceph.d/{{ cluster }}.conf
      owner: "ceph"
      group: "ceph"
      mode: "0644"
      config_overrides: "{{ ceph_conf_overrides_rendered }}"
      config_type: ini

I am suspecting that config_template is trying to access osd_group_name somehow, and is failing to understand it. Could you please help me on fixing this problem?

@vishalkanaujia osd_group_name is not supposed to be an array but a string. This is the osd group name from an ansible inventory host file point of view.

@guits in that case, if we have a cluster, which has to be created like above, how do we mention in the config? Is there a different way? we have some nodes with ssds where we want to have co-located deployment for them and HDD will have a ssd to host rocksdb for bluestore meta.

@vishalkanaujia in that case you need to specify for each host which osd scenario you want in your inventory host file

@guits thanks for the info. we were trying to group them based on the deployment and trying to mention in the osd group. It would be modular if we can mention them as groups and deploy according to the characteristic of the device.

@varadakari you can still declare several groups of osds host in your inventory host file and declare them as children of a parent group 'osds':
[osds:children]
osds_group_ssd_collocated
osds_group_hdd_collocated
osds_group_hdd

[osds_group_ssd_collocated]
osd1-0
osd1-1
osd1-2

[osds_group_hdd]
osd2-0
osd2-1
osd2-2

[osds_group_hdd_collocated]
osd3-0
osd3-1
osd3-2

and then you would have group_vars/osds_group_ssd_collocated.yml, group_vars/osds_group_hdd.yml and group_vars/osds_group_hdd_collocated.yml with a 'per group' applied configuration. (see: http://docs.ansible.com/ansible/latest/intro_inventory.html#groups-of-groups-and-group-variables)

@guits Thanks a lot. I think this suits well for our usecase. will try this and let you know if it fails.

@guits the host file changes worked well. thanks you much.


Update index.md

Fixes #12161

@guardrex  shouldn't #12346 be addressed too?

@guardrex shouldn't #12346 be addressed too?


Add 'direction' allow to 'SegmentedButton' oriented vertically

This PR add the ability to change buttons of 'SegmentedButton' directionality (In the vertical and horizontal axis) to be 'vertical' or 'horizontal' instead of just horizontally position by adding "direction" argument.
direction: Axis.horizontal :

direction: Axis.vertical :

Notice: in this example i used:
style: ButtonStyle( shape: MaterialStateProperty.all<RoundedRectangleBorder>( const RoundedRectangleBorder( borderRadius: BorderRadius.zero, ), ), )
To change the Radius of SegmentedButton, and the default shape will be like:

I keep it as it is right now, cause its not the main purpose of this BR.
List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Fixes: #150416
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

https://github.com/flutter/flutter/pull/150854
@Piinks, @QuncCccccc  I opened this new PR and avoided IDE auto format to keep code readable.

Hi @abdalmonem! Thanks a lot for the contribution:) Could you try to rebase master again to see whether the failures can be fixed? I also encountered the same problem and rebasing master works for me.

Hello @QuncCccccc , yah of course.

@QuncCccccc  Yeeees all checks have passed 👍

@Piinks Yah and i am sorry for the late response , am going to contenu improvement this pr depends on @QuncCccccc review notes

@QuncCccccc @Piinks , its ready for preview.

@Piinks I am not sure about "Also, should this be added to the theme?"

Hey @abdalmonem, would you like to continue working on this change?

@Piinks Yes, i will check all @QuncCccccc comments this week.

@QuncCccccc Am too sorry for my delay, i well check all your comments ASAP.

Hey @abdalmonem can you rebase with the tip of tree to resolve the failing ci.yaml check? Thanks!

@Piinks i see "ci.yaml"test got passed successfully.


Remove docker prune after verify examples tests

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message: Remove docker prune after verify examples tests
Additional Description:
Prevents docker system prune after each test as it is not required
Risk Level: low
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue] Partial fix for #13084
[Optional Deprecated:]

Based on the issue itself, maybe there needs to be a filter

i dont think the pruning is necessary, so my feeling is its better to just remove it.
i think there is a more general point in the original issue about making it safer to run these tests - which download and build a lot of docker images. I think the resolution there is to document how to run the script and potentially how to wrap it so the images etc are cleaned up after

@asraa i just noticed that there is another place where it does container prune - perhaps that was what you meant.
ill add something for this now...


Can't use styled-engine-sc with jest and npm

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Hello.
I just migrated to material ui v5.
I'm using it with styled components.
Everything is OK when I start my app with craco and webpack with the alias config.
Now, i'm trying to launch my jest tests, but I have the engine problem (Module not found: Can't resolve '@emotion/react' )
npm run test
scripts:{   "test": "craco test }
As jest is not launched with webpack, the styled engine configuration is not applied.
What is the solution to use jest, mui with styled components, and npm ?
Thanks

Could you please set up a repo showing the error? It would help us reproduce the error.

Hello @michaldudak
https://codesandbox.io/s/cra-mui-sc-npm-vsefy
Here is a very simple repository.
I think you have to clone it in local because code sandbox seems to not handle craco very well.
When I launch this projet in local, everything is OK.
But when i launch the tests, i have the error
Could not find dependency: '@emotion/styled' relative to<EMAIL_ADDRESS>In the documentation, you explain in the "npm" part only the using of webpack.
npm run test not using webpack so it's logical that the error occured.
What is the configuration that I need to add for jests tests ?
Thanks.

Hello. Any news on the subject ?

Hello.
I tried to re-install everything with the following config.
"devDependencies": {
    "@mui/styled-engine-sc": "5.4.2",
    "@mui/styled-engine": "npm<EMAIL_ADDRESS>},
  "resolutions": {
    "@mui/styled-engine": "npm<EMAIL_ADDRESS>  },

After npm install, I figured out that styled-engine-sc is correctly installed in node_modules/styled-engine with the resolutions.
But, when I launch my tests with jest, the internal package used is :
node_modules/<EMAIL_ADDRESS>Which is the default styled-engine with emotion.
If I delete this package directly from my node_modules, tests are OK.
I think styled-engine package should not install sub node_modules when using styled-engine-sc.

@FlorianBurgevin did you find solution to this problem? Maybe we should also configure jest to resolve the correct modules, for example - https://stephencharlesweiss.com/jest-resolve-modules I haven't tried if it would work, but would be great if you want to take a stab at it :)

Hi @mnajdova
I succeed to launch my tests by adding a similar configuration for jest in my craco.config.js
jest: {
    configure: (jestConfig) => {
        jestConfig.moduleNameMapper = { "@mui/styled-engine": "<rootDir>/node_modules/@mui/styled-engine-sc" };

        return jestConfig;
    }
}

It is not optimal but it works.

Great, ok it's good to have it as a reference for other people hitting the same problem.

Hi @mnajdova
I succeed to launch my tests by adding a similar configuration for jest in my craco.config.js
jest: {
    configure: (jestConfig) => {
        jestConfig.moduleNameMapper = { "@mui/styled-engine": "<rootDir>/node_modules/@mui/styled-engine-sc" };

        return jestConfig;
    }
}

It is not optimal but it works.

This seems to work for me too.👉


LLamaWeights.LoadFromFile

I'm using LLamaSharp with Microsoft's (Kernel Memory)[https://github.com/microsoft/kernel-memory].
Kernel Memory needs an implementation of a text generator and an embedding generator.
Both implementations call LLamaWeights.LoadFromFile, which returns a LLamaWeights instance. Because LLamaWeights.LoadFromFile is called twice, so the weights are loaded twice.
My question is this: would it be safe to load LLamaWeights.LoadFromFile only once and pass it to both implementations?
If the answer is yes, is the resulting LLamaWeights thread-safe? I.e. can multiple threads concurrently call _weights.CreateContext' on the same _weights` instance?
To be clear: we're talking about multiple contexts on a single model here. I know that llama.cpp "might" be thread safe in these cases, but the comments over there are not clear to me.

I know that llama.cpp "might" be thread safe in these cases, but the comments over there are not clear to me.

Unfortunately that's the best answer available right now - LLamaSharp is as threadsafe as llama.cpp it, but it's unclear how threadsafe that actually is :(

would it be safe to load LLamaWeights.LoadFromFile only once and pass it to both implementations?

I haven't worked on the Kernel Memory part of LLamaSharp, @Oceania2018 may have a better answer than I do. I think the reason the weights are not shared is because a model can either be loaded in embedding mode (in which case it can't be used for inference) or in inference mode (in which case it can't be used for embedding).

I've closed this issue since there's been no more activity and the question was answered, but feel free to re-open it if you want to know more :)


Ability to Reload Workspace

An option to reload the current workspace after files have been updated would be appreciated (similar in functionality as to how Crossmod allows you to reload your workspace without having to close out).

oops


Fix getting started link

The "Learn how to use Draft.js in your own project." link is broken.

Thanks for the heads up!

This link is broken again — thought of commenting here instead of creating a new issue.


Plum should trigger export when workflow_state changes

See pulibrary/grocer#2

Waiting on disk space to set up Grocer.

Closed as duplicate of #974


Dutch translation

Thank you so much for the PR! Somebody on Reddit sent me the translations for these too, they all match except for sunrise, not sure if both of them are valid but it would be great if you can confirm. The word for sunrise they sent me was Zonsopkomst.

Zonsopkomst is a better fit for this string indeed. I've changed it in the PR.
And thank you for your nice card! 😊

Thanks!


[REQ]  Add "None" to style settings

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
As the title says.

Hidden basically

Progress indicators exist for a reason, it doesn't make any sense to do that.

If Roblox is updating then it'll take much longer to launch, in which case people would be frustrated as to why nothing is happening, or in other circumstances where launch time may be longer. This doesn't make any sense.


fatal: repository 'https://cdn.cocoapods.org/' not found

I am trying to add this depecndency but getting this exception.
cordova plugin add cordova-plugin-fcm-with-dependecy-updated
Installing "cordova-plugin-fcm-with-dependecy-updated" for ios
Running command: pod install --verbose
Ignoring bcrypt-3.1.11 because its extensions are not built.  Try: gem pristine bcrypt --version 3.1.11

Ignoring byebug-9.0.6 because its extensions are not built.  Try: gem pristine byebug --version 9.0.6

Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3

Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3

Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3

Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3

Ignoring hitimes-1.2.4 because its extensions are not built.  Try: gem pristine hitimes --version 1.2.4

Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3

Ignoring nokogiri-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine nokogiri --version <IP_ADDRESS>

Ignoring unf_ext-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine unf_ext --version <IP_ADDRESS>

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/executable.rb:89: warning: Insecure world writable dir /Users/apple/Library/Android/sdk/build-tools/28.0.2 in PATH, mode 040777

  Cloning into 'cocoapods-'...

  fatal: repository 'https://cdn.cocoapods.org/' not found

Failed to install 'cordova-plugin-fcm-with-dependecy-updated': Error: pod: Command failed with exit code 1 Error output:
Ignoring bcrypt-3.1.11 because its extensions are not built.  Try: gem pristine bcrypt --version 3.1.11
Ignoring byebug-9.0.6 because its extensions are not built.  Try: gem pristine byebug --version 9.0.6
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring hitimes-1.2.4 because its extensions are not built.  Try: gem pristine hitimes --version 1.2.4
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring nokogiri-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine nokogiri --version <IP_ADDRESS>
Ignoring unf_ext-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine unf_ext --version <IP_ADDRESS>
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/executable.rb:89: warning: Insecure world writable dir /Users/apple/Library/Android/sdk/build-tools/28.0.2 in PATH, mode 040777
  Cloning into 'cocoapods-'...
  fatal: repository 'https://cdn.cocoapods.org/' not found
    at ChildProcess.whenDone (/Users/apple/Projects/xymob/ionic/mts-apps/new-school-app/node_modules/cordova-common/src/superspawn.js:135:23)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Socket.stream.socket.on (internal/child_process.js:381:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close (net.js:606:12)
pod: Command failed with exit code 1 Error output:
Ignoring bcrypt-3.1.11 because its extensions are not built.  Try: gem pristine bcrypt --version 3.1.11
Ignoring byebug-9.0.6 because its extensions are not built.  Try: gem pristine byebug --version 9.0.6
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring hitimes-1.2.4 because its extensions are not built.  Try: gem pristine hitimes --version 1.2.4
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring nokogiri-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine nokogiri --version <IP_ADDRESS>
Ignoring unf_ext-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine unf_ext --version <IP_ADDRESS>
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/executable.rb:89: warning: Insecure world writable dir /Users/apple/Library/Android/sdk/build-tools/28.0.2 in PATH, mode 040777
  Cloning into 'cocoapods-'...
  fatal: repository 'https://cdn.cocoapods.org/' not found
[ERROR] An error occurred while running subprocess cordova.

        cordova plugin add cordova-plugin-fcm-with-dependecy-updated exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

As I can see in the logs, thank you for sharing it, the cocoapods running is the 1.5.3, which doesn't support the CDN source.
Please update the plugin with the new version.

@andrehtissot Where do you update the cocoapods version?

This plugin doesn't force a specific version of cocoapods to be installed. But it does change the source to use the CDN address if the installed cocoapods supports it.
This smart switch behavior was implemented in v4.5.3. So, upgrading to that version would fix your problem.
Although, it is always recommended to keep up to newer versions, as bugs are fixed and features are added.


Negative prompting

For v0.5.3
Gotta discuss out how to implement it for the animated prompt. I propose using the same format Deforum uses, with weighted prompting:
1:A sky at dawn:1, mountains:0.7, Ugly:-1, bad quality:-2

Yeah, this is a great idea. Implementing prompt weight itself would be a nice addition. Do you know if that's possible with Automatic1111's API?

A1111 didn't like the idea lol https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/70#issuecomment-1236563562 so it's a hard no.
So another solution is needed for the animated prompts. Maybe separating with a substring like 1:A sky at dawn, mountains|neg:Ugly, bad quality or something more elegant.

Yeah, I think we could do that route, or the other option would be allowing a separate block, like this:
1: A mountain at sunset
10: whatever
Negative:
1: ugly
5: bad drawing
This decoupling would have a couple advantages. You could have a single negative prompt and not have to repeat it. Or you could do different combinations, since the start frames don't have to match up.
But I'm not sure if it would be as clear. What do you think?

I agree is not that clear, but those benefits are good to have. How about two separate layout.row() ?
Might I ask how prompt interpolation is made between frames?

There's no interpolation between frames - it just uses one prompt until it gets to the next one. Is that what you were asking?

Btw, if you want to keep working this, that's wonderful. If you'd rather leave it here, I can pick it up soon.
I will be back to working on other projects (not AI Render) for the next couple weeks, but since this is so close, it would be cool to release it sooner!

interpolation between frames

Yes thatt hing. I found these scripts meant for animation too https://github.com/amotile/stable-diffusion-backend/tree/master/src/process/implementations/automatic1111_scripts.
I won't be pursuing more development for the animated prompts.
It'd be nice to incorporate this for the time being

Finally made it work with animation, leaving space for animated prompts.

This is great. I will add in the animated prompts as soon as I can. (I won't be focusing on AI Render for the next couple weeks, but if I can squeeze in some time, I will!)

I've just added support for animated negative prompts, and I'm merging this in now. I'll be releasing with some other updates later this week. Thank you for your work on this!

For some reason, the way I checked out and then pushed more code to this pull request, it created a new pull request. So I will close this one. But your code is merged into master now.


feat: rmrk stellate endpoint

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Context

[x] Closes #9467

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

[x] My DOT address: Payout

Probably still dns provisioning?

will check tomorrow

Probably still dns provisioning?

I think we've crossed something in CF
Turned it off so could be till TTL expires
I have same thing, weird

lol u faster

Thanks!
pay 30 usd

LGTM I would just do
{
  ksm: 'https://ksm.gql.api.kodadot.xyz/',
}

as ksm: rmrk is confusing

and this one is still in use or disabled already? if used we can use rmrk prefix for that?
https://github.com/kodadot/nft-gallery/blob/57c8ac00a3c93fe2d049a49c41ad9c0054e9c123/libs/static/src/indexers.ts#L9

and this one is still in use or disabled already?

Still in use


fastfetch: 2.29.0 -> 2.30.1

Things done
https://github.com/fastfetch-cli/fastfetch/releases/tag/2.30.1

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357014

x86_64-linux

:white_check_mark: 2 packages built:

fastfetch
fastfetch.man

aarch64-linux

:white_check_mark: 2 packages built:

fastfetch
fastfetch.man

x86_64-darwin

:white_check_mark: 2 packages built:

fastfetch
fastfetch.man

aarch64-darwin

:white_check_mark: 2 packages built:

fastfetch
fastfetch.man

Duplicate of #357014?

Duplicate of #356939?

Yeah, didn't get notification on PR so didn't see it.


Update hardware list

I hear from a developer that this set up works well too, let's update the hardware section to include any missing items:

1x Raspberry Pi 3 Board Pack for Android Things™ https://www.adafruit.com/product/3292

1x Motor Controller, 4 Channel, 4.5A, 4.5-12V - For Rover 5 Chassis (Supports Encoder Mixing) https://www.amazon.com/gp/product/B00B88F2A6/

1x Pololu RP5/Rover 5 Expansion Plate RRC07A (Narrow) Transparent Clear https://www.pololu.com/product/1535

1x Rover 5 Robot Platform ROB-10336 https://www.sparkfun.com/products/10336

1x Raspberry Pi Camera Board v2 - 8 Megapixels https://www.adafruit.com/product/3099

1x Adafruit Raspberry Pi Camera Board Case with 1/4" Tripod Mount https://www.adafruit.com/product/3253

Fotasy SCX2 1/4-Inch 20 Tripod Screw to Hot Shoe Adapter with Premier Cleaning Cloth (Black) https://www.amazon.com/gp/product/B00HPAPFNU/

1x Pan/Tilt Bracket ROB-10335 https://www.sparkfun.com/products/10335

2x Servo - Generic (Sub-Micro Size) ROB-09065 https://www.sparkfun.com/products/9065

1x 8bitdo NES30 Pro Bluetooth Controller https://www.amazon.com/gp/product/B01LW7JJPJ/
Flag this message  Delete this message

cc: @hsalameh

Yes, that would be me!

@RacZo ;-)

I've updated my HW list with a 3D printed mount for the camera pan/tilt servo:
1x ROB-09065 Servo Mount https://3dwarehouse.sketchup.com/model.html?id=u9df835d9-c31a-4138-9743-8f73645327d7
1x ROB-09065 Servo Adjustable Base https://3dwarehouse.sketchup.com/model.html?id=u78f526a3-947c-440a-8378-0e999def3ee5


vsce package fails

After #14, vsce package fails with:
[tsl] ERROR
      TS6059: File '[base]//src/main.ts' is not under 'rootDir' '[base]/server/src'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Root file specified for compilation
ts-loader-default_bf8b548751077c90

This is why I had removed the tsconfig file in server/, but I'm sure there's a way to solve this that is more correct.

@SrTobi can you take a look at this, please?

Hmm interesting... I tried it on my pc and vsce package succeeded and created the package which I install in vscode.
Nevertheless, I made a PR in which I restructured the code a little...
Especially the code structure would be like this:
server/server.ts
client/client.ts

out/server/server.js
out/client/client.js

Both watch:tsc and webpack will create this out directory.
With this, no server.d.ts is created anymore.
Debugging works in the client and server.

I also added github actions so that at least package and linting is checked on pull requests


Add Retargeting / category

Add new category Retargeting

I'll do this but all locales need to be updated. It's fine to just add the English string to all files.


Got "unknown user exception" when use --step-load and --step-clients

Describe the bug
i was using the typical step-load mode copy from the document
locust --headless -u 1000 -r 100 --run-time 30m --step-load --step-clients 10 --step-time 20m

and got a "unknown user exception like the follow
[2020-05-19 20:41:59,569] brix/ERROR/locust.main: Unknown User(s): 10

Environment

OS: ubuntu 20.04 x86_64
Python version: 3.8.2
Locust version: 1.0.1
Locust command line that you ran: locust --headless -u 1000 -r 100 --run-time 30m --step-load --step-clients 10 --step-time 20m
Locust file contents (anonymized if necessary):

the parameter is now called --step-users, not --step-clients.
I'll admit, the error message is really confusing though :)

thanks. that parameter works


'numpy' has no attribute 'bool'

Please update fasttreeshap/maskers/_tabular.py:81 - change np.bool to bool for numpy future version proof. np.bool has been deprecated.
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:

Search and replace all np.bool and replace with bool


Verbose Logging

Is there an option for verbose logging to be sent to the screen instead of a file?

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

ID: 1141c265-4aea-c6be-4d61-3566fe8474b8
Version Independent ID: 3cb0f2ba-cf8b-7fdd-414b-b8d95dca004c
Content: Copy or move data to Azure Storage with AzCopy on Windows
Content Source: articles/storage/common/storage-use-azcopy.md
Service: storage
GitHub Login: @seguler
Microsoft Alias: seguler

@SQLJunkie Thanks for the feedback. We are actively investigating and will get back to you soon.

@SQLJunkie unfortunately no, the only option that seems to be allowed is to write to a local logfile. I'd highly recommend posting your feedback on this link : https://feedback.azure.com/forums/217298-storage

Thank you for the quick turnaround!

From: Adam-Smith-MSFT<EMAIL_ADDRESS>Sent: Monday, August 20, 2018 5:45:33 PM
To: MicrosoftDocs/azure-docs
Cc: Chris Baker; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Verbose Logging (#13640)
@SQLJunkiehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSQLJunkie&data=02|01||b86ce645037d47a21bdf08d606e64280|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636703983352910721&sdata=ADcKwbbHUyapesjP7DOfBkB28EiJnulKrRWKViEfkrI%3D&reserved=0 unfortunately no, the only option that seems to be allowed is to write to a local logfile. I'd highly recommend posting your feedback on this link : https://feedback.azure.com/forums/217298-storagehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffeedback.azure.com%2Fforums%2F217298-storage&data=02|01||b86ce645037d47a21bdf08d606e64280|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636703983352910721&sdata=5JmQOhVjutY6TTVNpOI6yNYsftjaIhMXbDGGMG7X9bE%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F13640%23issuecomment-414473695&data=02|01||b86ce645037d47a21bdf08d606e64280|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636703983352910721&sdata=fw2BjiNlZOuBKB4RW%2FM3MtLTu2zgum%2BY57Tz6SQ61wc%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEZF9v3aqOPn1bOntz2kYp_Fyv5r-csqks5uSy39gaJpZM4WC9n6&data=02|01||b86ce645037d47a21bdf08d606e64280|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636703983352910721&sdata=gBLW8m47lD5wnWtGE9qZ%2FF9TlFDCqLNJN%2B7MGZXG7kE%3D&reserved=0.


Support documentation extensions on Linux for symbols with spaces in their name

Bug/issue #, if applicable: rdar://118477834 & rdar://118478212
Summary
This fixes an issue on Linux where documentation extensions didn't match symbols if the symbol has spaces in its name.
Dependencies
None
Testing
Since neither Swift not C/Objective-C has whitespace in symbol names you'll need to hand craft a JSON file with a symbol with a space in its name to test this. Once you have such a symbol graph file, create a documentation catalog with an extension file for the symbol with the space in its name and build documentation for it on Linux. The content in the extension file should be added to the symbol.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
~[ ] Updated documentation if necessary~

@swift-ci please test

@swift-ci please test


update docs url and badge to docs.rs/lua

The current documentation link is broken. I've updated the documentation url and added the badge to docs.rs. Currently the builds are failing, but once fixed this should always link to the latest version.
https://docs.rs/crate/lua/0.0.9/builds
https://github.com/onur/docs.rs

Thanks.