Database connection pool exhaustion error

Discussed in https://github.com/SeaQL/sea-orm/discussions/893

Originally posted by 001wwang July 19, 2022
Hello! We're currently encountering the following error while performing several database queries in parallel:
An error occurred while performing a query: "Failed to acquire connection from pool.".

Context
On sea-orm v0.8.0
We are using a Postgres database. We have ConnectOptions configured roughly as follows:
    static GENERAL_TIMEOUT_SECS: u64 = 10;

    opt.max_connections(10)
        .min_connections(5)
        .connect_timeout(Duration::from_secs(GENERAL_TIMEOUT_SECS))
        .idle_timeout(Duration::from_secs(GENERAL_TIMEOUT_SECS))
        .max_lifetime(Duration::from_secs(GENERAL_TIMEOUT_SECS))
        .sqlx_logging(false);

While we can't share the exact details of the tables involved in this particular error, they're roughly as follows:
                           Table "public.table_foo"
        Column        |            Type             |               Modifiers
----------------------+-----------------------------+---------------------------------------
 id                   | uuid                        | not null default uuid_function()
 name                 | character varying(255)      | not null
 key_uuid             | uuid                        |
 another_id           | bigint                      | not null
 created_at           | timestamp without time zone | not null default now()
 created_by           | integer                     | not null
 modified_at          | timestamp without time zone | not null default now()
 modified_by          | integer                     | not null
 another_another_id   | integer                     |
 another_key_uuid     | uuid

                      Table "public.table_bar"
       Column       |            Type             |               Modifiers
--------------------+-----------------------------+---------------------------------------
 uuid               | uuid                        | not null default uuid_function()
 object_uuid        | uuid                        | not null
 data_1             | character varying(255)      | not null
 data_2             | character varying(255)      | not null
 data_3             | text                        | not null
 created_at         | timestamp without time zone | not null default now()
 created_by         | integer                     | not null

                                            Table "public.table_baz"
         Column          |            Type             |                       Modifiers
-------------------------+-----------------------------+--------------------------------------------------------
 id                      | bigint                      | not null default nextval(...)
 uuid                    | uuid                        | not null
 category                | custom                      | default ...
 data_1                  | text                        | not null
 another_id              | bigint                      | not null
 is_active               | boolean                     | not null
 created_by              | bigint                      |
 created_at              | timestamp without time zone | not null
 disabled_by             | bigint                      |
 modified_at             | timestamp without time zone | not null
 modified_by             | bigint                      |
 disabled_at             | timestamp without time zone |
 data_2                  | text                        |
 is_paused               | boolean                     | not null
 paused_by               | bigint                      |
 paused_at               | timestamp without time zone |
 resumed_by              | bigint                      |
 resumed_at              | timestamp without time zone |
 data_3                  | text                        | not null
 expires_at              | timestamp without time zone |

And one more table very similar to table_baz.
Hypothesis
We're running a GraphQL API server with async_graphql as the core library. In general, a GraphQL request can kick off many queries in parallel depending on how it resolves.
In theory, SeaORMs connection pool abstraction should handle many parallel queries up to the connection limit by waiting for a free connection (up to 10 seconds as we've configured). When we encounter this error however, we see the entire GraphQL request occurs in a span of only a few hundred milliseconds. Interestingly, there are 11 (10 is our max) query executions in our trace monitoring. Some/all of them might be attempting to execute in parallel hence the failure.
In other words, we think there is some edge case or non-graceful handling occurring such that SeaORM does not properly wait for connections to free up or does not respect the max connections. Before opening an official bug request, we were wondering if this sounds like it could be possible or if we've misconfigured something? Alternatively, could this be an issue in sqlx? Thanks!

Hey @001wwang, thank you for the detail explanation!!
After some digging and investigation, the error was thrown when it fail to acquire connection from the connection pool:
https://github.com/SeaQL/sea-orm/blob/e85a859266dc6e8863e4bbb7a546fe36d88606cd/src/driver/sqlx_mysql.rs#L84-L95
By default SQLx connection pool will wait 30 seconds before it throw errors. But obviously 30 seconds is not enough for the edge case like above. Where large number of query execute concurrently.
The acquire timeout can be configured on sqlx::PoolOptions::acquire_timeout but this method isn't exposed on SeaORM. Which I think we should add that to SeaORM, I'll create a PR for that.
I have also added test cases to reproduce the above errors by inserting 10,000 rows concurrently. Then, fix the error by increasing acquire timeout to 90 seconds.

Hum having worked a lot with connection pools it is possible that it is a FIFO bug in the sqlx implementation which the author of it told me was average. A bug in that section means a query can wait a long time before being served a connection even if it was the early in requesting one.
It all depends on how much time each query took and the order in which they were executed. Generally you never increase the pool acquire timeout (10s is already long enough), thats a patch for a deeper problem.
We can expose the parameter its not a bad idea, but I would look elsewhere for a proper solution.

I dug a bit the issue and I found https://github.com/launchbadge/sqlx/issues/622. The last comments seem to indicate that this bug was present in sqlx 0.5.2 and fixed in 0.6.0 which was just released a few days ago in sea-orm.
Can you try to update your sea-orm version @001wwang

Thank you all for the quick replies and support!

I dug a bit the issue and I found launchbadge/sqlx#622. The last comments seem to indicate that this bug was present in sqlx 0.5.2 and fixed in 0.6.0 which was just released a few days ago in sea-orm. Can you try to update your sea-orm version @001wwang

Yes, we suspect it may be fixed by recent sqlx changes to handle transient connection errors: https://github.com/launchbadge/sqlx/blob/main/sqlx-core/src/pool/inner.rs#L272. We don't wait up until our timeout currently; it fails much earlier.
We're blocked from upgrading by https://github.com/SeaQL/sea-orm/issues/892, but it looks like that's nearly closed. Will provide an update here once we upgrade. Thanks again!

Hey @001wwang, https://github.com/SeaQL/sea-orm/issues/892 has been released as part of 0.9.1

Hi @billy1624, we've had the upgrade deployed for most of the day now, and it seems solid. Since this was a transient error, we'll keep an eye on it longer term. I'll close out this issue, and thanks a ton for all your help.

I'll keep this open until https://github.com/SeaQL/sea-orm/pull/897 closed
Thanks for the updates! @001wwang


Replace duplicate ogg submodules with framework

This prevents duplication and allows easier upgrading of ogg

Next time I'll do a squash merge...


It is not predicting rather doing pop up for error  "col1 was expected to be Single but couldn't be parsed"

Unsure what went wrong that it is not working.

System Information (please complete the following information):

Model Builder or CLI Version:
Visual Studio Version (if applicable):

Describe the bug

On which page of the tutorial did you run into an issue (URL):
Clear description of the problem:

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@KumarChandra-iima what your scenario is your scenario?
could you double check the datatype of col1 in advanced data option?
it seem that its type is "Single" but the value you provided is not able to be parsed into type single.
If you tell us more detailed information we can help more .

Fixed!
Actually I was supposed to use the other column. only column configuration
was required to be adjusted.
On Wed, Jan 17, 2024 at 1:21 PM zewditu Hailemariam <
@.***> wrote:

@KumarChandra-iima https://github.com/KumarChandra-iima what your
scenario is your scenario?
could you double check the datatype of col1 in advanced data option?
it seem that its type is "Single" but the value you provided is not able
to be parsed into type single.
If you tell us more detailed information we can help more .
—
Reply to this email directly, view it on GitHub
https://github.com/dotnet/machinelearning-modelbuilder/issues/2820#issuecomment-1895270841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFDX5LOVYUMKYUAXOZWBKP3YO57HVAVCNFSM6AAAAABB2A7S7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJVGI3TAOBUGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


DoubleEnsemble causes KeyError

🐛 Bug Description

To Reproduce
Steps to reproduce the behavior:

qrun .\examples\benchmarks\DoubleEnsemble\workflow_config_doubleensemble_Alpha158.yaml

Expected Behavior

Screenshot
I think variable "i_b" should be "b" on line 163 of qlib/contrib/model/double_ensemble.py

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

Qlib version:   <IP_ADDRESS>
Python version: 3.8
OS (Windows, Linux, MacOS): Windows
Commit number (optional, please provide it if you are using the dev version):

Additional Notes

Hi,
I fail to reproduce your issue in the latest version.  Could you please give more details about how to reproduce this error ?


[feature request] admin UI should show results of all queries, not just the first

In the admin UI, when chaining queries with a semi-colon (;), only the first query's results are shown. All results are returned, we just need to parse and display them.

it makes me really happy to finally see screenshots of the new interface!

It appears that this works in the latest version. I'm going to close this issue as fixed.


chore(CI): distribute nightly build of dune toolchain branch

Hi :wave:
This PR is in the context of tarides/team-build-system#34 and tarides/team-build-system#41.
This PR is a draft of what the dune binary distribution pipeline could look like. The code is in OCaml as I was more efficient at writing it, but it can be rewritten in any other language if needed. Some variables are hard-coded for a test purpose, I intend to move them to environment variables as soon as we agree to keep this
The goal of this PR is to be able to export our binary to an S3 bucket and generate the HTML to reflect the state of the S3 bucket.
Some improvement that could come if we decide to continue on this path:

Reference to the git commit
Build both toolchains and main, depending on the workflow we choose (here we build toolchains)
Checksum
Attached build certificates
Latest URL reference (could be used with wget)

From the current estimation, it shouldn't cost that much yearly (less than €10).
Let me know what you think of this solution, I'm open to improvement here! :smile:

After some discussion, we will use a custom VM pointing at download.dune.ci.dev to store the binaries. I will update the PR so we can finally merge it :+1:

After some discussion, we will use a custom VM pointing at download.dune.ci.dev to store the binaries. I will update the PR so we can finally merge it 👍

Fantastic, what could also change about generating the HTML file ?

After some discussion, we will use a custom VM pointing at download.dune.ci.dev to store the binaries. I will update the PR so we can finally merge it 👍

Fantastic, what could also change about generating the HTML file ?

Nothing will change for the HTML generation, as we would still rely on GitHub to deliver the HTML. It's more convenient for us.


Avoid export internal target in non-test builds

The target is test_allocator associated with the containers

We need the CLA to accept this.


Middleware Hangup function

The Demo example has a hangup function but the the nuget does not have that function , when is the latest version will be released on the nuget, or should i just compile the example projects and use the middleware ?

Thank you very much .
On Sat, Jul 30, 2022 at 10:29 AM melihercan @.***>
wrote:

Closed #18 https://github.com/melihercan/WebRTCme/issues/18 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/melihercan/WebRTCme/issues/18#event-7093550450, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM5D7UBMHJJZ2YGNO4VKJTVWTRXPANCNFSM5WXIDNTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The Demo example has a hangup function but the the nuget does not have that function , when is the latest version will be released on the nuget, or should i just compile the example projects and use the middleware ?

Please use the latest source code and compile it yourself for now. NuGet is pretty old and I am not yet to the level I want to release a new NuGet version.
Currently I am adding MAUI support (that will provide Windows and macOS desktop platforms in addition to mobile and WEB) and once completed, I will release a new version of the NuGet.


Random string instead of user name in chat push notification

This happens while the opponent sends a message for the first time.

@TatankaConCube Any suggestions to how to fix this at all?

@TatankaConCube any leads?

you can request the dialog from the server, but it takes some time and you will show notification with some delay.


feat: resolvePlugin

Hi & Thanks for your awesome work. Recently we have found a problem with vue-loader (nuxt-community/modules#63) which required items in use key are being nulled. This PR adds support for lazy-require plugins, so one can pass plain strings. I've forked and released fix under @nuxtjs BTW feel free require changes i would happy keeping upstream updated :)

Thanks for the PR, I'll take a look at it this week!

Interesting issue there with vue-loader... thanks for submitting the PR!
@pr0 I meregd the PR and added you as a collaborator on the repo.  Thanks again!


getAllCells after updateCell returning stale data

getCell and getAllCells are not updated.
I verified this with break points showing that the two get calls will occur before the MyCell.onBindViewHolder with the changedPayload, even when updateCell is called before the two gets.
recyclerView.updateCell(1, new Text("1000", 0));

        Log.i("GETAFTERUPDATE", ((TextCell) recyclerView.getCell(1)).getItem().text);

        int total = 0;
        for (SimpleCell sc : recyclerView.getAllCells()) {

Yes, updateCell() will not update the bound data of cell. If you want to update the bound data, you should call cell.setItem(newItem).


Beans with fields like JAXBElement<?> - java.lang.IllegalAccessError: java.lang.Class

If i try to create a random bean of a JAXB annotated class that conatins fields of type JAXBElement<> i get an not very verbose exception:
"java.lang.IllegalAccessError: java.lang.Class"
First of all i would suggest a better message like "could not create object of class JAXBElement for field xyz"
Is there any way to create random objects of such classes? I don't want to set those fields manually.
Is there a way to provide factory methods or classes that are used if randombeans hits a field with such a type?

Thanks for reporting!
As far as I know JAXBElements can not be directly instantiated by a default constructor, an object factory (or a special JAXElement constructor with namespace etc.) has be used, see e.g. http://stackoverflow.com/questions/975099/how-do-i-instantiate-a-jaxbelementstring-object
Random Beans is not aware of any of this, so it first tries to create a JAXBlement by using reflection and then by using the objenesis library. Both ways fail.
You could implement and register a custom randomizer (https://github.com/benas/random-beans/wiki/Key-APIs) for JAXBElements. See https://github.com/benas/random-beans/blob/12cdf5da8b659bf5a3e76d0e590ccd9eab243e24/random-beans/src/test/java/io/github/benas/randombeans/EnhancedRandomImplTest.java#L176 for an example.

Thanks, that is what i was looking for .
Then the only thing left is, that random beans could give a better exception in such cases!?

Hi @dermoritz
Indeed, Random Beans should provide a better error message!
Could you please give me an example of the bean you are trying to randomize?
Kind regards
Mahmoud

New error message will be:
io.github.benas.randombeans.api.ObjectGenerationException: Unable to generate a random instance of type class io.github.benas.randombeans.Tester$JaxbElementBean
Caused by: io.github.benas.randombeans.api.ObjectGenerationException: Unable to create type: javax.xml.bind.JAXBElement for field: jaxbElementField of class: io.github.benas.randombeans.Tester$JaxbElementBean

@dermoritz thanks for reporting this. 👍 I think this is a major improvement for random-beans error reporting. :)


docs(website): tables from source rules to Biome rules

Summary
This PR creates a new page containing three tables:

a table from from ESLint rules to Biome rules
a table from typescript-eslint rules to Biome rules
a table from ESLint plugin rules to Biome rules

I called this page "Linter sources", but I admit that the title isn't that great, so I would like some suggestion about naming 😄

Test Plan
Check the end result of the webpage

I called this page "Linter sources", but I admit that the title isn't that great, so I would like some suggestion about naming

ESlint rules? This makes clear that the page is about ESlint correspondance.
What do you think about creating a section for each source instead of grouping plugins in a same table?

ESlint rules? This makes clear that the page is about ESlint correspondence.

That isn't true, because we have clippy rules too. Check the updated tables

I updated the table with your suggestions. I am not really sure about the footnotes, they add some bloat.

We could rename lint rules to rules (this page is already under the linter navigation title, it is clear from the contexts that this refers to lint rules), and linter sources to rule sources.

Also, we should use a single footnote for inspired rule.

It doesn't work, I already tried. We can't have multiple carets (numbers next to the word) that point to the same footnote. It's probably how the footnotes in markdown work.

Check my latest update


use pip freeze to fix cellbender 0.2 component

Changelog
Fix cellbender 0.2 dependencies
Issue ticket number and link
Closes #xxxx (Replace xxxx with the GitHub issue number)
Checklist before requesting a review

[x] I have performed a self-review of my code

[x] Conforms to the Contributor's guide

Check the correct box. Does this PR contain:

[ ] Breaking changes
[ ] New functionality
[ ] Major changes
[x] Minor changes
[ ] Documentation
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[x] CI tests succeed!

Superseded by #581


error payload is an array of errors

The error payload is actually of type GraphQLError[] (ref) - so we should extract the inner errors value.
P.S. Great library!

This is fantastic! Thanks for writing the regression test, that describes the use case well.


Plumb full names in search suggestions and new convo suggestions

cc @heronhaye who also expressed interesting in this fix

Tagging Mike for func (h *UserHandler) InterestingPeople change:

uses UIDMapper to get full names, with a network budget.

Ok I'm making this use cached data only. Can you remind me why this can never hit network?

I think the UIDmapper supports that, you can give it a 0-timed network budget.

It needs to show up instantly on slow network or no network.

Max can you confirm? I was looking at it today and it looks like 0-budget means infinite time:
https://github.com/keybase/client/blob/master/go/uidmap/uidmap.go#L270
and it looks like there is no way to parameterize it so it never tries to look up anything:
https://github.com/keybase/client/blob/master/go/uidmap/uidmap.go#L390

I wonder if I could expand UIDMapper API so it returns only cached data, but in InterestingPeople RPC fire another UIDMapper query in a goroutine (in background) so it caches data for next time when this is called.

Set forceNetworkForFullnames to be false
I'm reasonably certain this already exists, it was in the original requirements

Maybe one of the comments is lying, IDK.  If it's not already there, this seems like an easy change

There might be an inconsistency here:
If the `forceNetworkForFullNames` flag is specified, it will block on
// the network too. If the flag is not specified, then stale values (or unknown
// values) are OK, we won't go to network if we lack them.

But the way it queues network lookups is the following:
// There are 3 important cases when we should go to network:
//
//  1. No username is found (up == nil)
//  2. No FullName found and we've asked to force network lookups (status == notFound && forceNetworkForNullNames)
//  3. The FullName found was stale (status == stale).
//
// Thus, if you provide forceNetworkForFullName=false, and fullNameFreshness=0, you can avoid
// the network trip as long as all of your username lookups hit the cache or are hardcoded.
if u.testNoCachingMode || up == nil ||
	(status == notFound && forceNetworkForFullNames) || (status == stale) {
	apiLookupIndex[len(uidsToLookup)] = i
	uidsToLookup = append(uidsToLookup, uid)
}

So if the user package is not found at all it will always go to the network and this cannot be controlled.

Fully offline uidmapper API change is done. I added new call instead of adding second bool or enum, looked cleaner this way - I still have the branch with enum if someone wants to see it.

@mmaxim is it good to go now with the cached uidmapper change?

As long as it fulfills the property that a call to InterestingPeople does not hit the network under any circumstance, then it sounds good to me.


GUI

Create a User Interface for navigation and ease of Use
Rough Idea:
create an executable file that can start or stop the tool

GUI Implemented in PR #11


Enable native null assertions by default in Flutter web

Parent bug: #43780
This flag needs to be turned on by default in both compilers. The work here involves not only enabling it by default, but providing a way for users to disable it to be unblocked. We'd like to be able to link the documentation to disable it as well in the markdown file below like we did for build_web_compilers. Ideally, we'd like to get this in before the stable release for Flutter web, so we can tackle any incoming issues around it. Currently, this flag will only throw errors if in sound mode on both web compilers.
More information on what this flag does and what it looks like in both compilers here:
https://github.com/dart-lang/sdk/blob/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md

Just for clarification, do we want this enabled by default, in flutter web, in both sound and weak modes?

It can be enabled by default in both, but in weak mode, it will do nothing. It's also possible that at some point in the future we might want to support opt-in libraries that use dart:html. In that case, maybe we'd rather not have it enabled by default in weak mode so that it doesn't trip Flutter code unless Flutter web decides to enable it then.

Closing in favor of https://github.com/flutter/flutter/issues/71614.


how to change easeout transform speed

I have a problem with the closing out animation speed being too fast. As crazy as it sounds, I need to make it look slightly slower.
Is there any css class I can override to slow the transition a bit?

If you're using the classic version, you should be able to adjust the transition timing values on the following lines from 0.15s to something higher and the closing animation will slow down a bit: https://github.com/amsul/pickadate.js/blob/master/lib/themes/classic.css#L70-L71.
To slow down the closing transition on the default version, so it takes 1 second for example, adjust the timing value on .picker__frame from 0.15s to 1s, and add a new transition attribute to .picker--opened .picker__frame on line 154:
transition: all 1s ease-out;

That will slow down the slide out of the calendar frame itself. To adjust the fadeout of the background, change the timing values on the following lines from 0.15s to 1s: https://github.com/amsul/pickadate.js/blob/master/lib/themes/default.css#L65-L66


About connect5

This PR relates #99

Codecov Report

Merging #133 into master will increase coverage by 0.52%.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   53.68%   54.21%   +0.52%
==========================================
  Files         132      134       +2
  Lines        1477     1496      +19
  Branches      121      121
==========================================
+ Hits          793      811      +18
- Misses        617      618       +1
  Partials       67       67

Impacted Files
Coverage Δ

client/src/Components/App.js
0% <0%> (ø)
:arrow_up:

client/src/Components/Layouts/About/index.js
100% <100%> (ø)

...t/src/Components/Layouts/About/StyledComponents.js
100% <100%> (ø)

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 de98a81...bc5b71e. Read the comment docs.


Better support for generating (flagged) enums

Is your feature request related to a problem? Please describe.
I found this happens with various methods, but one example is CM_Get_DevNode_PropertyW (https://docs.microsoft.com/en-us/windows/win32/api/cfgmgr32/nf-cfgmgr32-cm_get_devnode_propertyw). This has an out parameter of DEVPROPTYPE. With CsWin32 this gets generated as an uint. This is not as convenient as it can be.  The syntax on MSDN has a DEVPROPTYPE as output type, and while these types are not originally defined as an enum, they would be useful to be generated as an enum in C#.
Describe the solution you'd like
Some check would be useful to see if there are defined fields for such properties and converting them to (flagged) enums.

It looks like you're saying the DEVPROPTYPE *PropertyType parametr is typed as uint* but would be better if DEVPROPTYPE were actually used, and declared as an enum type. What would its members be? All constants beginning with DEVPROP_TYPE?


CTRL+C during button selection in interactive mode causes exception

Rasa version: 1.4.1
Python version: 3.6
Operating system (windows, osx, ...): Docker container
Issue:
When running Rasa in interactive mode, if you enter the button selection interface and attempt to exit early, an exception will be thrown and prevent you from exporting the current session to training data.
Desired behavior: Rasa should be able to process an exit command during button selection and allow for training data export.
Error (including full traceback):
2019-11-15 20:25:42 ERROR    rasa.core.training.interactive  - An exception occurred while recording messages.
Traceback (most recent call last):
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1407, in record_messages
    endpoint, sender_id, sender_ids, plot_file
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 935, in _predict_till_next_listen
    response = _get_button_choice(last_event)
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 948, in _get_button_choice
    response = cliutils.payload_from_button_question(question)
  File "/build/lib/python3.6/site-packages/rasa/cli/utils.py", line 195, in payload_from_button_question
    response = response[response.find("(") + 1 : response.find(")")]
AttributeError: 'NoneType' object has no attribute 'find'
2019-11-15 20:25:42 ERROR    asyncio  - Task exception was never retrieved
future: <Task finished coro=<_serve_application.<locals>.run_interactive_io() done, defined at /build/lib/python3.6/site-packages/rasa/core/training/interactive.py:1449> exception=AttributeError("'NoneType' object has no attribute 'find'",)>
Traceback (most recent call last):
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1456, in run_interactive_io
    sender_id=uuid.uuid4().hex,
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1407, in record_messages
    endpoint, sender_id, sender_ids, plot_file
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 935, in _predict_till_next_listen
    response = _get_button_choice(last_event)
  File "/build/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 948, in _get_button_choice
    response = cliutils.payload_from_button_question(question)
  File "/build/lib/python3.6/site-packages/rasa/cli/utils.py", line 195, in payload_from_button_question
    response = response[response.find("(") + 1 : response.find(")")]
AttributeError: 'NoneType' object has no attribute 'find'

Command or request that led to error:

rasa interactive
receive button selection utterance, press CTRL+C and see crash

WORKAROUND: selecting to enter your own message then pressing CTRL+C will capture the exit command properly and allow for export as per normal.

Thanks for raising this issue, @erohmensing will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Thanks for pointing this out! This is indeed a bug -- Looks like we should handle the case where response is None and handle it like we handle the user input being none in other places in the file. Would you be interested in contributing a big fix for this?

Sure, I think I'll have time to address it sometime this week :)

Awesome! I'll assign it to you :)

By the way @ortsaCniveK, as this is a bug fix, would be great if you could base the PR off of the 1.4.x branch we use to add bug fixes to patch versions. Then we can release a fix as soon as possible! 🙂

@ortsaCniveK are you still interested in working on this issue? Otherwise I would remove your assignment and let someone else take it on :)

Yes, I'll remove my assignment; have been caught up at work and haven't had a chance to get to this!

Going to have some time to get to this. Can you assign this to me @erohmensing ?

Sure thing! Thanks a lot @ortsaCniveK !

@ortsaCniveK are you interested in working on this still?


About files upload problem

I followed the Local deployment method in a mac. It worked and showed me result for the first time, but since the second time the page just shows me "No files uploaded" after I chose the files and clicked submit, like following:

I tried re-download SplitThreader under htdocs folder but didn't work. So I need some help in troubleshooting, thanks!

It is a permissions issue for creating new files in the folders user_data and user_uploads. If you go into the splitthreader directory and type chmod 777 user_data and then chmod 777 user_uploads, that should do it. I'll add a note about this to the directions. Thanks!

Thanks for the reply, now I could successfully submit the files but another error came as followed:

The uploaded files are in the right format, I tried that on http://splitthreader.com/ and they seem to be working.

It may have something to do with your R installation since CN segmentation relies on R but the parsing the input files only uses Python. You can see the error messages by going into the user_data directory, into the folder for your most recent run, and looking at the run_algorithm_errors.log file which contains all the errors encountered by SplitThreader while parsing your data and running the copy number segmentation.

Thanks!


[QUESTION] Does SkiaSharp support native DirectX12?

I wasn't able to find any information about whether SkiaSharp supports DirectX12 natively. Additionally if it doesn't, does it at least support DirectX11?

I am writing a custom 2D UI renderer for my native DirectX12 application. If it just supports DX11 then this would be also fine since I can use the DirectX11On12 layer.

skia has support for Direct3D

@mgood7123 Direct3D sounds too unspecific. Could you clarify this a little bit more?

@mgood7123 Direct3D sounds too unspecific. Could you clarify this a little bit more?

idk the details of Direct 3D

Direct3D could be DirectX9, DirectX11, DirectX12. Those are 3 different worlds


npm run build broken on Windows

With the latest node (7), npm, and fsrrlr just downloaded today, npm run build gives:
...
> rm -rf ./public/dist

'rm' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v7.3.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prebuild: `rm -rf ./publ
ic/dist`
npm ERR! Exit status 1
...

(but the dev env launches fine BTW, awesome work :) )

Thanks for catching this.
Scheduling a fix. You can change the command to rimraf and add rimraf to package.json.

Wow.  You're fast!  Thanks!

Fixed in 0.3.0.
Instead of npm run build:dev or npm run start:dev, etc., on Windows you have to use win:build:dev and win"start:dev.
I'd be interested knowing if there is a way to set an environment variable in Windows for a single command.

Super!
Maybe http://superuser.com/a/950944/7995 ?

OK, I guess I skimmed your message before.  Now that I go to try it, I notice that you're talking about the dev environment--but that was already working.  It's only the instructions for production that broke.
Anyway, after upgrading to 0.3.0 and trying npm run win:build I get this:
> set NODE_ENV=production && webpack --config webpack.production.config.js --his
tory-api-fallback --progress --colors

================================
 Invalid environment variables:
    NODE_ENV: Value "production " not in choices [production,prod,development,de
v,devserver,testing,test]

 Exiting with error code 1
================================

(Notice the extra space after production in the quotes...)

Thanks for http://superuser.com/a/950944/7995 . I Googled and asked a half dozen people without getting a solution.
The cmd string would need a cd to the current folder, I'd have to test if nested npm scripts work properly, and it feels like starting a new session for something like this is overkill.
Interesting none the less.
I think I'll stick with using set.

No prob, sometimes the right Google incantation does not come to a person.  Glad to provide something of interest.  :)

I'll test...

npm run win:build:dev gives:
><EMAIL_ADDRESS>win:build:dev C:\Users\me\fsrrl
r
> set NODE_ENV=development&& webpack --config webpack.production.config.js --his
tory-api-fallback --progress --colors

----- DEVELOPMENT build.
Hash: 6bd3cea634d0146d7f37
Version: webpack 1.14.0
Time: 52038ms
                                  Asset       Size  Chunks             Chunk Nam
es
    main.bundle.65c097d7e3775eaa6ecd.js    2.71 MB       0  [emitted]  main
main.bundle.65c097d7e3775eaa6ecd.js.map    3.27 MB       0  [emitted]  main
                             index.html  793 bytes          [emitted]
   [0] multi main 28 bytes {0} [built]
    + 962 hidden modules

ERROR in ../~/react-tap-event-plugin/src/injectTapEventPlugin.js
Module not found: Error: Cannot resolve module 'react/lib/EventPluginHub' in C:\
Users\me\fsrrlr\node_modules\react-tap-event-plugin\src
 @ ../~/react-tap-event-plugin/src/injectTapEventPlugin.js 23:2-37

ERROR in ../~/react-tap-event-plugin/src/TapEventPlugin.js
Module not found: Error: Cannot resolve module 'react/lib/EventConstants' in C:\
Users\me\fsrrlr\node_modules\react-tap-event-plugin\src
 @ ../~/react-tap-event-plugin/src/TapEventPlugin.js 22:21-56

ERROR in ../~/react-tap-event-plugin/src/TapEventPlugin.js
Module not found: Error: Cannot resolve module 'react/lib/EventPluginUtils' in C
:\Users\me\fsrrlr\node_modules\react-tap-event-plugin\src
 @ ../~/react-tap-event-plugin/src/TapEventPlugin.js 23:23-60

ERROR in ../~/react-tap-event-plugin/src/TapEventPlugin.js
Module not found: Error: Cannot resolve module 'react/lib/EventPropagators' in C
:\Users\me\fsrrlr\node_modules\react-tap-event-plugin\src
 @ ../~/react-tap-event-plugin/src/TapEventPlugin.js 24:23-60

ERROR in ../~/react-tap-event-plugin/src/TapEventPlugin.js
Module not found: Error: Cannot resolve module 'react/lib/SyntheticUIEvent' in C
:\Users\me\fsrrlr\node_modules\react-tap-event-plugin\src
 @ ../~/react-tap-event-plugin/src/TapEventPlugin.js 25:23-60

ERROR in ../~/react-tap-event-plugin/src/TapEventPlugin.js
Module not found: Error: Cannot resolve module 'react/lib/ViewportMetrics' in C:
\Users\me\fsrrlr\node_modules\react-tap-event-plugin\src
 @ ../~/react-tap-event-plugin/src/TapEventPlugin.js 27:22-58
Child html-webpack-plugin for "index.html":
        + 3 hidden modules

But, npm run win:start:dev does work now.

Per https://github.com/eddyystop/feathers-starter-react-redux-login-roles/issues/11#issuecomment-269870594 , npm run win:build:devserver also works.  Everything working in dev mode!

Hmm, production seems broken though.  npm run win:build gives the same errors as in https://github.com/eddyystop/feathers-starter-react-redux-login-roles/issues/7#issuecomment-269870604 . npm win:start isnt a defined command, and npm run win:start` gives this:

<EMAIL_ADDRESS>win:start C:\Users\me\fsrrlr
set NODE_ENV=production&& node server/index.js

16:56:01 - info: ==============================================================
16:56:01 - info: Server initialization started in PRODUCTION mode. tags=server
16:56:01 - info: ==============================================================
16:56:01 - info: Env vars NODE_ENV=production, PORT=3030, LOG_LEVEL=silly, LOG_C
ONSOLE_LEVEL=silly, tags=server
16:56:01 - info: App config isProduction=true, NODE_ENV=production, DEBUG=undefi
ned, host=localhost, port=3030, publicPath=C:\Users\me\fsrrlr\publi
c, logLevel=silly, path=C:\Users\me\fsrrlr\logs, fileName=server.lo
g, logConsoleLevel=silly, secret=1234567890, , appName=Feathers-starter-react-re
dux-login-roles, defaultRoute=/app, path=C:\Users\me\fsrrlr\data, i
dName=id, forFirstUser=superAdmin admin, default=, allowedToChangeRoles=[superA
dmin, admin], signUpEmailTokenTimeValid=86400000, signUpEmailTokenTimeValidText=
24 hours, forgotPasswordEmailTokenTimeValid=1800000, forgotPasswordEmailTokenTim
eValidText=30 minutes, productName=[feathers-starter-react-redux-login-roles], p
roductUrl=[http://feathers-starter.feathersjs.com], senderName=[Feathers Starter
], fromEmail=[Feathers Starter<EMAIL_ADDRESS>supportEmail=[St
arter Support<EMAIL_ADDRESS>copyrightYears=2015-2016, fromEma
<EMAIL_ADDRESS>postmarkApiToken=00917934-dbe7-4883-bedc-12b93fc4c7c59, re=^[\sa
-zA-Z]{8,30}$, err=Name must be 8 or more letters or spaces., re=^[a-zA-Z0-9]{5,
30}$, err=Username must be 5 or more letters and numbers., re=^[\sa-zA-Z0-9]{8,3
0}$, err=Password must be 8 or more letters, numbers and embedded blanks., re=[a
-z0-9!#$%&'*+/=?^{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_{|}~-]+)@(?:[a-z0-9](?:[a-z
0-9-][a-z0-9])?.)+a-z0-9?, err=Email is invalid., minL
en=8, maxLen=30, errLen=Email must be 8 or more characters., clientBuiltFor=null
, deviceId=null, defaultRoute=/app, allowedToChangeRoles=[superAdmin, admin], si
gnUpEmailTokenTimeValidText=24 hours, forgotPasswordEmailTokenTimeValidText=30 m
inutes, productName=[feathers-starter-react-redux-login-roles], productUrl=[http
://feathers-starter.feathersjs.com], senderName=[Feathers Starter], fromEmail=[F
eathers Starter<EMAIL_ADDRESS>supportEmail=[Starter Support <
<EMAIL_ADDRESS>copyrightYears=2015-2016, re=^[\sa-zA-Z]{8,30}$,
err=Name must be 8 or more letters or spaces., re=^[a-zA-Z0-9]{5,30}$, err=User
name must be 5 or more letters and numbers., re=^[\sa-zA-Z0-9]{8,30}$, err=Passw
ord must be 8 or more letters, numbers and embedded blanks., re=[a-z0-9!#$%&'+/
=?^_{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_{|}~-]+)@(?:a-z0-9?.)+a-z0-9?, err=Email is invalid., minLen=8, maxLen=3
0, errLen=Email must be 8 or more characters., clientBuiltFor=null, deviceId=nul
l, tags=server
16:56:02 - info: Server listening on port 3030 tags=server
16:56:02 - error: uncaughtException: ENOENT: no such file or directory, open 'C:
\Users\me\fsrrlr\logs\server.log' date=Sat Dec 31 2016 16:56:02 GMT
+0100 (W. Europe Standard Time), pid=6528, uid=null, gid=null, cwd=C:\Users\me\fs
rrlr, execPath=C:\Program Files\nodejs\node.exe, version=v7.3.0, a
rgv=[C:\Program Files\nodejs\node.exe, C:\Users\me\fsrrlr\server\in
dex.js], rss=58523648, heapTotal=39825408, heapUsed=27533688, external=611746, l
oadavg=[0, 0, 0], uptime=115953.5628963, trace=[], stack=[Error: ENOENT: no such
file or directory, open 'C:\Users\me\fsrrlr\logs\server.log']
=== uncaught exception =================
ENOENT: no such file or directory, open 'C:\Users\me\fsrrlr\logs\se
rver.log'
Error: ENOENT: no such file or directory, open 'C:\Users\me\fsrrlr
logs\server.log'
16:56:02 - error: Uncaught exception. Exiting. message=ENOENT: no such file or d
irectory, open 'C:\Users\me\fsrrlr\logs\server.log', stack=[Error:
ENOENT: no such file or directory, open 'C:\Users\me\fsrrlr\logs\se
rver.log'], tags=exit
16:56:02 - error: ========================================
16:56:02 - error: Exit Process code=100, tags=exit
16:56:02 - error: ========================================
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "run" "win:start"
npm ERR! node v7.3.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>win:start: set NODE_ENV =production&& node server/index.js
npm ERR! Exit status 100

OK. One thing at a time.
(1)
/client/index.js remove line 12 import './utils/react-tap-event'; Please confirm that removes the react-tap-event-plugin errors in npm run win:build:dev.
react-tap-event may no longer be needed as per its README:
You've probably heard of iOS's dreaded 300ms tap delay. ...

Facebook is not planning on supporting tap events (#436) because browsers are fixing/removing the click delay. Unfortunately it will take a lot of time before all mobile browsers (including iOS' UIWebView) will and can be updated.

Verify if you need this plugin for the browsers you need to support.

(2) "npm run win:build gives the same errors as in #7 (comment) "
Above should handle this also.
(3) "npm run win:startgives this:" The repo containslogs/server.log`. I suspect its been deleted.
(4) "In fact, only the latter will serve pages correctly (the former renders blank.)"
Leaving this aside for now.

1 & 2) I hadn't updated that I know of (npm list says I'm on 15.4.1).  Thanks, I'd missed that in the readme, and commenting that line resulted in a successful build!

OK...but not by me :)  Am I supposed to just touch it or something?  Isn't it just autogenerated in the first place?

OK :)

(3) Actually logs\ didn't exist.  I did mkdir logs and now the server starts.  Hooray!  (But the script should probably do that itself.)

I created an issue.


Failed to produce block

Describe the bug
This happens on mainnet, v1.2.0
Validator log
34943:Nov-09 19:07:11.219[]                error: Error proposing block slot=5099734, validator=0x9458…b482 Failed to produce engine or builder block - Failed to produce block

Beacon log
Nov-09 19:07:11.175[rest]            ^[[31merror^[[39m: Req req-54l produceBlockV2 error  No block for root 0x858b12df7d85d42459c04ae99d4142a593dd0a990d720cf3b68cc98a5e0cccc8
Error: No block for root 0x858b12df7d85d42459c04ae99d4142a593dd0a990d720cf3b68cc98a5e0cccc8
    at ProtoArray.getBlockReadonly (file:///usr/app/packages/fork-choice/src/protoArray/protoArray.ts:879:13)
    at ForkChoice.getDependentRoot (file:///usr/app/packages/fork-choice/src/forkChoice/forkChoice.ts:842:29)
    at isValidAttestationData (file:///usr/app/packages/beacon-node/src/chain/opPools/aggregatedAttestationPool.ts:449:47)
    at AggregatedAttestationPool.getAttestationsForBlock (file:///usr/app/packages/beacon-node/src/chain/opPools/aggregatedAttestationPool.ts:137:14)
    at BeaconChain.produceBlockBody (file:///usr/app/packages/beacon-node/src/chain/produceBlock/produceBlockBody.ts:91:55)
    at BeaconChain.produceBlockWrapper (file:///usr/app/packages/beacon-node/src/chain/chain.ts:366:36)
    at Object.produceBlock (file:///usr/app/packages/beacon-node/src/api/impl/validator/index.ts:228:21)
    at Object.handler (file:///usr/app/packages/api/src/utils/server/genericJsonServer.ts:41:23)

Expected behavior
Lodestar should be able to produce block

this issue does happen on goerli but it's so rare
grep -e "produceBlockV2" -rn beacon-2022-11-* | wc -l
124

grep -e " produceBlockV2 error  No block for root" -rn beacon-2022-11-* | wc -l
2

at slot 5099733, epoch 159364 was finalized (slot 5099648)
Nov-09 19:07:05.001[]                 ^[[32minfo^[[39m: Synced - slot: 5099733 - head: 5099733 0x59a2…ff6a - execution: valid(0xe98c…b056) - finalized: 0xda3c…ba57:159364 - peers: 50

but the forkchoice.getDependentRoot() api tries to jump to slot 5099647 (0x858b12df7d85d42459c04ae99d4142a593dd0a990d720cf3b68cc98a5e0cccc8) which is before the finalized slot, that's why we got the error
also this only happens on v1.2.0 since #4555

closed via https://github.com/ChainSafe/lodestar/pull/4745


Changed Design Of button

I came Across your amazing Website but i saw that buttons were Not that appealing So  i have made some changes Hope You like it

I came Across your amazing Website but i saw that buttons were Not that appealing So i have made some changes Hope You like it

In my opinion, it does not look good, but I will merge it if you make it look better.

I've already changed design u can check and tell me if u liked it or not ... I would try to improve it further

I've already changed design u can check and tell me if u liked it or not ... I would try to improve it further

If you can improve it, it will be better.

I've already changed design u can check and tell me if u liked it or not ... I would try to improve it further

You can add new loader, it will be better.


Impact Calculation based on Spend values

Today impact is calculated in IEF by providing observations and running them through Models and Model Plugins. This idea is about using the spend values coming in through monthly spend data which are shared by all cloud providers and using these values to calculate impact.
Explaining the idea below

All cloud providers today are providing the dollar value for using their cloud infrastructure across unmanaged, managed and serverless services.
We obtain this value at a granularity of minimum an hour
The value is provided for all types of cloud services including Virtual Machines, Kubernetes, lambda functions, cognitive and machine learning services etc.
It is possible to get the spend values without discounts.
The idea is to build a Impact model and Impact plugin that takes these spend values and outputs the impact.
In certain scenarios we can use the spend values and the observations together to get a more refined impact value.
Today observations and telemetry values are provided in impl files . We can either create a impl file that only takes spend values or we can augment the current impl schema to take spend values/cloud service. In a different sense can spend value be a type of observation ?
We need to then build impact models and impact plugins that can translate these spend values to impact.

FYI @jawache  @jmcook1186 @navveenb

Interesting - any thoughts on how spend maps to energy usage? I'm assuming we would still need all the platform config information (processor type, resource allocations, etc) and spend would be a drop-in replacement for a usage observation such as cpu_util?

Given that spend is the key component of how CCF works, I'd say we either learn from how CCF works OR just implement CCF as an IMPL.
CCF already has an extensive library published on NPM (https://www.npmjs.com/package/@cloud-carbon-footprint/azure) which contains all this logic. We'd just need to build models using the CCF libraries.
AzureBillingImporter

An importer model that given some params, queries the cloud billing system and returns an array of Observations (with cost being the main observation)
Similar to say https://github.com/Green-Software-Foundation/ief/issues/129

CCFBillingModel
A model that given say:

cost
cloud-vendor
cloud-region
cloud-service
Uses the CCF library to calculate and output carbon?

Something like that could work and be implemented reasonably fast.

Srini:

Billing models, will include discounts for different orgs. E.g. WallMart, might have negotiated a different price vs. others, that would report as lower carbon emissions.
Reserved instances also are cheaper, that would reflect in lower carbon emissions.

Rishabh:

Unknowns factor.
You don't know usage, with billing.

Closing as no activity for > 3 months. Can  re-opened if there's enthusiasm.


Histograms need dynamic bin count

Histograms seem to have a fixed bin count, drops everyone into the same bin if they answer within 15 minutes (it seems).
Could be dynamic bin count.

They are in fact one hour bins, the histogram was originally more of a "how are things distributed over the whole day" thing. Maybe another histogram for just the hour after midnight with much smaller bins?

Or (anonymous suggestion) use logarithmic x-scale.

I like that idea, best of both worlds: simple and functional

Per-day graphs with submission times added in fabf9f4 and dd73045

Switched to log scale in 086e52a8


Fix syntax on travis

^^

This travis patch and the fix-libasync-new-dmd pull request result in the following travis build:
https://travis-ci.org/etcimon/vibe.d


Merge main at eafc9ad7 into GitHub identity provider

Merge main at eafc9ad7 into GitHub identity provider

Closing because CI got stuck and there are new commits on main.


UITest & UnitTest (?)

Setup UnitTest by importing the Projects and Integrate it with DCAService.swift (Business Logic)

Unit Test Cases:

Creating Unit Test with Winning Condition for Both Using and Not Using DCA Service and Expecting Position Gains
Creating Unit Test with Losing Condition for Both Using and Not Using DCA Service and Expecting Negative Gains

UITest Cases:

Adding UITest for CalculatorPresenter, the cases contains: Yield Label Bracket Condition & Annualized Return Text Color (4 cases)


[Merged by Bors] - Modify readme.md to build the OpenVINO runtime successfully (#82)

bors r+

Closes #80


Add Ordinal Meerkats Country Club

Hey Fam, do you know why this is erroring? It is showing duplicates, but none exist.

Thanks @chrisconfirm
Did ALL of the inscriptions get put in? I think the website is only showing some of them

I believe our supply is 713 and ordinals range is #550025-1112815

@MillHaus33 how to fix updating supply according to meta.json
meta.json: supply=713, collections page: supply=204 ...


typescript inteli-sense constant crashes after update to 1.1.13 on Mac Sierra.

Hello,
After upgrading vscode to the latest version the typescript inteli-sense crashes constantly providing me with no autocomplete or info as I work. This is the output:
Using tsserver from: /usr/local/lib/node_modules/typescript/lib/tsserver.js
[Info  - 5:34:06 PM] Forking TSServer
PATH: /Users/****/Library/Android/sdk/tools:/Users/****/Library/Android/sdk/platform-tools:/usr/local/Cellar/php56/5.6.20/bin:/usr/local/mysql-5.5.48-osx10.8-x86_64/bin:/usr/local/Cellar/php56/5.6.20/bin/pear:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
[Error  - 5:41:46 PM] 'quickinfo' request failed with error.
Error: Cancelled Request 25
    at TypeScriptServiceClient.tryCancelRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/typescriptServiceClient.js:755:25)
    at token.onCancellationRequested (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/typescriptServiceClient.js:695:30)
    at e.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:14715)
    at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:53565)
    at e.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:56383)
    at e.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:56993)
    at n.Class.derive._oncancel.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:57458)
    at n.Class.derive._oncancel._cancelAction (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:46586)
    at Object.enter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:42343)
    at n.Class.derive._oncancel._run (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:44654)

[Error  - 7:20:23 PM] 'completionEntryDetails' request failed with error.
Error: Cancelled Request 38
    at TypeScriptServiceClient.tryCancelRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/typescriptServiceClient.js:755:25)
    at token.onCancellationRequested (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/typescriptServiceClient.js:695:30)
    at e.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:14715)
    at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:53565)
    at e.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:56383)
    at e.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:56993)
    at n.Class.derive._oncancel.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:57458)
    at n.Class.derive._oncancel._cancelAction (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:46586)
    at Object.enter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:42343)
    at n.Class.derive._oncancel._run (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:44654)

I am seeing this as well though with a slightly different error. This happens even after disabling all extensions.
[Error  - 2:52:39 PM] 'signatureHelp' request failed with error.
Error processing request. Cannot read property 'charCodeAt' of undefined
TypeError: Cannot read property 'charCodeAt' of undefined
    at getRootLength (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:2237:17)
    at Object.isRootedDiskPath (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:2347:16)
    at moduleHasNonRelativeName (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:4335:21)
    at tryLoadModuleUsingOptionalResolutionSettings (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:4637:13)
    at tryResolve (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:4766:28)
    at nodeModuleNameResolverWorker (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:4758:68)
    at nodeModuleNameResolver (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:4749:16)
    at Object.resolveModuleName (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:4611:30)
    at LSHost.resolveModuleName (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:73502:44)
    at LSHost.resolveNamesWithLocalCache (/Users/****/Projects/develop/node_modules/typescript/lib/tsserver.js:73539:42)
[Error  - 2:52:41 PM] 'completions' request failed with error.
Error: Cancelled Request 20
    at TypeScriptServiceClient.tryCancelRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/typescriptServiceClient.js:755:25)
    at token.onCancellationRequested (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/typescriptServiceClient.js:695:30)
    at e.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:14715)
    at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:53565)
    at e.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:56383)
    at e.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:56993)
    at n.Class.derive._oncancel.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:57458)
    at n.Class.derive._oncancel._cancelAction (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:46586)
    at Object.enter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:42343)
    at n.Class.derive._oncancel._run (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:44654)

Platform: Mac 10.10.4

I get @steelsojka's error as well. The ones I provided are just the most frequent ones. In the 'charCodeAt' case, after it triggers and I hover over some variables it gives information about variables on the next line or that are 3 or 4 positions behind my current pointer. It usually triggers after I done some keyboard combination that have "CMD" or "ALT" key included.

The charCodeAt error is tracked upstream by https://github.com/Microsoft/TypeScript/issues/16048 If you have code or steps that can reliably reproduce the error, please add it to that issue
The cancellation errors are expected. in 1.13 we incorrectly logged them in a way that looks like errors. This should be fixed in insiders #28095

Aha,
@mjbvz why don't you take a look at my attached demo and see how wierd the editor is acting after one of the errors are trigger. Notice how near the end I undo everything then re-open the file and thats when things get back to normal, temporarily.
demo.mpg.zip


Fix: localizations are removed after translating

fixes #4
This fixes localizations being removed after translating an entity.
The reason for this happening is that localizations are stored as relation in the schema, and are being removed by the translateRelations method

@cookiefirst This PR should fix your mentioned issue, can you verify it?


Make SG_ADD register parameters into the new parameter map

Apparently, this probably slows down the compilation as running tests on travis times out most of the times.

@lisitsyn the reason for the compilation slowdown is because you've changed a .h that basically being used everywhere hence the ccache-ed objects cannot be used... hence travis needs to compile everything from scratch... see in case of appveyor the compilation time is always 40+ mins ;)

ho ho ho


If I want to change the Prometheus Command-Line Flags.

If I want to change the Prometheus Command-Line Flags when prometheus is running.
Example: -storage.local.memory-chunks  or alertmanager.url ...
Now,I only restart the running prometheus. But it is a time-consuming operation.I have to wait for Prometheus program to a full stop to start a new.
Do not know to have a better way to let me complete the need to modify the prometheus flags.
func KillPrometheus() error {
	if prometheusCMD.Process != nil {
		err := prometheusCMD.Process.Signal(os.Interrupt)
		if err != nil {
			yiyun.Error("Kill Prometheus Process Error.", err.Error())
			return err
		}
		yiyun.Info("Killed old prometheus server")
	} else {
		yiyun.Info("prometheus process is nil")
	}
	return nil
}

All configuration options provided through flags are fixed and can only be changed by restarting Prometheus.
To configure Alertmanagers, we added a section to the config file in our 1.4 release. You can now use the same service discovery mechanisms you can use for targets: https://prometheus.io/docs/operating/configuration/#<alertmanager_config>
Changes to the configuration file can be applied at runtime by hitting the /-/reload endpoint or sending a SIGHUP to the process.
The -alertmanager.url flag is only around for backwards compatibility.
That said, currently the file based configuration is still flagged as alpha but is unlikely to change.

I see.


📃: Want to add Netflix clone.

🔴 Title : Netflix clone
🔴 Aim : To create a Netflix clone with a similar front end and back end to some extent.
🔴 Tech Stack Used : HTML/CSS, React, Node.js, MySQL
Screenshots 📷
N/A

✅  *To be Mentioned while taking the issue:

Full name : Ananya Sinha
What is your participant role?  GSSoC ext and Hacktoberfest contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Avdhesh-Varshney please assign me this issue

Issue already present #833


Proxy support

Like @ShiawasenaHoshi did in Java Scraper
https://github.com/postaddictme/instagram-java-scraper/commit/e4acbc9af86b65dc19c6dab7dd95e28a6bf67249

It should be possible to proxy a request using the unirest library. After all the library has proxy support.
https://github.com/Mashape/unirest-php#proxy

Anything new here? Would be really helpful if the library is able to deal with proxies! :)

@TorbenL it will be available soon


Version flag alias is capitalized

I'm not sure this is an issue or it's meant to be like this, but the alias for --version flag is a capital -V instead of -v which seems like a typo.
I can submit a PR to fix it in case it's indeed a typo.

This is not a typo. Lowercase -v is for verbose (which we have not implemented yet).

Nice to know! Thanks!


[HELP] This certian file is unreadable

I notice that one of those shady websites encrypts its website I suspect that there is a bitcoin miner in it
https://roulette.apps-host.com/scripts/main.js?t=5
but I cant get into it
var _0x7c4b = function(c, e) {
    var a, n = _0x3078[c -= 0];
    void 0 === _0x7c4b.aLNGfn && ((a = function() {
        var c;
        try {
            c = Function('return (function() {}.constructor("return this")( ));')()
        } catch (e) {
            c = window
        }
        return c
    }()).atob || (a.atob = function(c) {
        for (var e, a, n = String(c).replace(/=+$/, ""), f = "", x = 0, i = 0; a = n.charAt(i++); ~a && (e = x % 4 ? 64 * e + a : a,
        x++ % 4) ? f += String.fromCharCode(255 & e >> (-2 * x & 6)) : 0)
            a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);
        return f
    }
    ),
    _0x7c4b.bqKeDa = function(c) {
        for (var e = atob(c), a = [], n = 0, f = e.length; n < f; n++)
            a += "%" + ("00" + e.charCodeAt(n).toString(16)).slice(-2);
        return decodeURIComponent(a)
    }
    ,
    _0x7c4b.duWmgp = {},
    _0x7c4b.aLNGfn = !0);
    var f = _0x7c4b.duWmgp[c];
    return void 0 === f ? (n = _0x7c4b.bqKeDa(n),
    _0x7c4b.duWmgp[c] = n) : n = f,
    n
};

Each function goes into that
Thanks and have a good day please help me decrypt this website it gave me a error when I tried to decrypt on your website :(

Currently, I have no solution. I will save a copy here, hoping someone will help. 🍀

For cryptocurrency mining protection: https://github.com/xd4rker/MinerBlock

For cryptocurrency mining protection: https://github.com/xd4rker/MinerBlock

Thanks

Still really would like too see this website is realllyyy phi shy what they did there


Do not delete images and stages of existing git branches

Cleanup typically runs on the main (master) git branch, which could not know about new images added to werf.yaml in another branches.
Werf deletes stages cache for these images now. Which in turn results in error "stage X is not built" when trying to deploy from branch after cleanup.
Related separate issue about deleting old werf.yaml images from images repo: https://github.com/flant/werf/issues/1642

Fixed in the werf v1.1.


Control methods has_theme_font*() always returns true

Godot version
4.1.2 stable
System information
Arch Linux
Issue description
When making a call in a control script to the methods...
has_theme_font(&"asid", &"fasdf")
or
has_theme_font_size(&"dasfd", &"asda")
methods always return true even with absolutely no custom theme in use at all in project.
(NOTE: Variable name and theme_type values, in examples above, are arbitrary)
The above is not the case for the methods has_theme_color, has_theme_constant, has_theme_stylebox
Steps to reproduce

Create new project
Add a Control node
Add script to Control node

Add the following code to the script...
func _ready() -> void:
	print("Color Type Exists: ", has_theme_color(&"aisujghfd", &"asdlkujfb"))
	print("Constant Type Exists: ", has_theme_constant(&"aisujghfd", &"asdlkujfb"))
	print("Font Size Type Exists: ", has_theme_font_size(&"aisujghfd", &"asdlkujfb"))
	print("Font Type Exists: ", has_theme_font(&"aisujghfd", &"asdlkujfb"))
	print("Stylebox Size Type Exists: ", has_theme_stylebox(&"aisujghfd", &"asdlkujfb"))

Run the scene.
Output should look like...
Color Type Exists: false
Constant Type Exists: false
Font Size Type Exists: true
Font Type Exists: true
Stylebox Size Type Exists: false

Minimal reproduction project
Follow "Steps to Reproduce"

I can reproduce the issue in 4.2-rc1.
CC @YuriSizov

Can you check if theme.has_default_font() is true? It seems the check returns true when ever a default font exists

It is documented in the theme documentation, but indeed a mention in the control and window documentation would be nice. This applies to font sizes as well.

How is one supposed to identify if a font or font_size theme value of name/type exists if the default font/size makes the has_theme_font*() methods return true?
For instance, in my project (where I found this issue), I'm trying to create a custom control that can be themed with a custom theme type. I'm placing all of what I want as default theme values in a "default.theme" file and my custom control is using a function such as...
const DEFAULT_THEME : Theme = preload("res://path/to/default.theme")
func _GetThemeFont(font_name : StringName, type : StringName) -> Font:
  if has_theme_font(font_name, type):
    return get_theme_font(font_name, type)
  return DEFAULT_THEME.get_font(font_name, type)

The above pattern works beautifully with Color, Constant, and Stylebox theme components, but, if as stated, having a default font/font size in the project (which is a projects default state) causes the has_theme_font*() methods to always return true, then I'm not entirely sure these methods really do what they say on the tin.
What would I use in replacement of has_theme_font*() to truely test if a font or font size of the given name and type are actually defined somewhere in the tree?

The check is for checking a font is available with the configuration, not to check if a specific one exists, I'd say

at least under the definition of the has_theme_font*() methods.

It is documented in Theme and will be documented for Control as well

at least under the definition of the has_theme_font*() methods.

It is documented in Theme and will be documented for Control as well
However I suspect you are using themes in a non-supported way

Not sure how I'm using a theme in a non-supported way.
Documentation says I can create custom Control nodes.
Documentation says I can create custom theme types.
As such, there should be a way to check within my custom Control if a value for my custom type exists in the tree and, if not, be able to pull my own default (or choose to use the default theme's default value) as I see fit.
Looking deeper into the Theme object's definition there is a get_type_list() which, by definition, returns all types defined in a theme. This is a start, but there is no corresponding wrapper for this method in the Control node. As Control node themes can be a mix of a number of Theme resources defined on the tree, the process of finding every theme that could effect a Control node, and checking each one to see if my custom theme type (again, something that is supported in Godot) even exists is computationally laborious and would still be effected by the issue that there is no way for me to know for sure that a specific font or font size I'm expecting under my custom theme type is actually, and truly, defined.
I am not sure what I'm doing that, according to the documentation, is non-supported... except for running under the assumption that there is some way of knowing that a specific theme name/type is defined somewhere in the tree.

For my custom Control that I'm working on, I need to know if someone has applied a theme (somewhere in the tree, if not directly on an instance of my custom Control) which defined a value within the custom theme type I'm looking for, or if I should just pull that value from some default location (in my case, a secondary Theme object I pull the information from, but is not, itself, put into the tree).

Themes are not designed to be used like that. Why would your secondary theme resource not be in the tree?

For my custom Control that I'm working on, I need to know if someone has applied a theme (somewhere in the tree, if not directly on an instance of my custom Control) which defined a value within the custom theme type I'm looking for, or if I should just pull that value from some default location (in my case, a secondary Theme object I pull the information from, but is not, itself, put into the tree).

Themes are not designed to be used like that. Why would your secondary theme resource not be in the tree?

Because I wanted to use my own font and/or font size if one wasn't defined for my custom theme type. That's not non-supported. Additionally, a Theme is a resource. I do not have to put a Resource in the tree if I choose not to. In this case, I'm using this secondary Theme is a dictionary of values... this is, additionally, not non-supported.

For my custom Control that I'm working on, I need to know if someone has applied a theme (somewhere in the tree, if not directly on an instance of my custom Control) which defined a value within the custom theme type I'm looking for, or if I should just pull that value from some default location (in my case, a secondary Theme object I pull the information from, but is not, itself, put into the tree).

Themes are not designed to be used like that. Why would your secondary theme resource not be in the tree?

Because I wanted to use my own font and/or font size if one wasn't defined for my custom theme type. That's not non-supported. Additionally, a Theme is a resource. I do not have to put a Resource in the tree if I choose not to. In this case, I'm using this secondary Theme is a dictionary of values... this is, additionally, not non-supported.

Additionally, my issue would still persist even if I wasn't using a secondary Theme object not in the tree and, instead, just used a lookup dictionary of keys and values hardcoded in the custom Control class. My use of a Theme outside the tree is a moot point in this issue.
The core problem is there is no way for me to know if a custom theme name/type combination is actually defined or not for front and font size values and there seems to be no workaround for this.

Because I wanted to use my own font and/or font size if one wasn't defined for my custom theme type.

That goes against the theming system and the theme propagation logic. For any given control or window it is expected to respect its own local overrides plus every other theme resource from this and any themable parent node, plus two global themes: the default one and the project one.
So I'd like to understand why do you need to break the theming logic to achieve your goals, and what your goals are. If you want to have a sharable GUI widget and need to define some defaults, akin to the default theme for built-in controls and widgets, then this is not yet supported in a useful way, so there is no good solution for this.

Because I wanted to use my own font and/or font size if one wasn't defined for my custom theme type.

That goes against the theming system and the theme propagation logic. For any given control or window it is expected to respect its own local overrides plus every other theme resource from this and any themable parent node, plus two global themes: the default one and the project one.
So I'd like to understand why do you need to break the theming logic to achieve your goals, and what your goals are. If you want to have a sharable GUI widget and need to define some defaults, akin to the default theme for built-in controls and widgets, then this is not yet supported in a useful way, so there is no good solution for this.

I'm using a custom Control... as in, I've written a script that extends the Control node and doesn't utilize any functionality of any of the other Control-based nodes.
Given that this is a custom Control, there are no default Theme types that correspond to my custom Control, therefore, I defined my own custom theme type (this is allowed and supported).
Due to how my control operates, I wanted to be able to use a specific Font and Font Size, other than the system's default, if a user didn't set a specific override value or theme that uses the custom theme type that sets that value. I can easily test if an override value is being used (being a custom Control, I literally defined a theme override export value for all my custom Control's theme elements), but, for Font and Font Size, I cannot identify if my custom theme type is being used by a user, therefore, my custom Control's "default" theme breaks because I do not want it to use the system's default.
To be clear, this Control is being created in an Addon for users to be able to use it in their projects and I've been trying to get my custom Control to react to themes like any other built in Control (with the exception of wanting to use my own default theme on my custom Control if no other theme defines the custom theme type my Control looks for).

The core problem is there is no way for me to know if a custom theme name/type combination is actually defined or not for front and font size values and there seems to be no workaround for this.

I agree that there is no way to check if a specific definition exists. That is because there is no use for this in the theming system where we don't care if a specific definition exists. We only care if there is a usable value for any given pair of keys. A fallback value counts.
So no, your needs and approaches are not moot. I need to understand them to either find a workaround for you or to conclude that we are missing a useful feature.

"I agree that there is no way to check if a specific definition exists. That is because there is no use for this in the theming system where we don't care if a specific definition exists" ... this is explicitly untrue, as has_theme_color(), has_theme_constant(), and has_theme_stylebox() all return false if the name/type is not defined for those types... because it IS, in fact, something you may actually want to know! The fact that this is not the case for Font and Font Size is very confusing and breaks with the pattern those previous three methods seem to adhere to.
Now... yes, the Theme object documentation states that if a system default Font and Font Size are defined (as is default for project creation), then the Theme's has_font() method does state that it will return true if a default is set up and it was already stated above that the documentation needs updating to state that the Control object's has_theme_font() should reflect that it's a (sort of) wrapper around the Theme object's corresponding method... However, this does not mean there isn't (nor shouldn't be) a case where it's useful or critical to know if a specific theme name/type is explicitly defined regardless of the reason why one may want to know that. And knowing that information... a strict True/False value... would not, in any way, break how the theming system works.

The fact remains that the engine and the normal use of the engine has no use what so ever of detecting this, it only cares "can I get a theme item for this because I need it", and I don't see how your use case makes it needed, what makes you unable to just use the theming system as it is designed?

To be clear, this Control is being created in an Addon for users to be able to use it in their projects

So my answer from before applies. We currently don't have a system that allows you to create sharable GUI widgets with default theme definitions. We are working on it, but nothing exists that would make your life easier if that's your goal.

this is explicitly untrue

Let's roll back for a second. I'm describing how the system is designed to work and what considerations we had when we designed it. I'm saying that the current behavior is a conscious one and not a bug or an oversight. I'm saying that as far as Godot's theming system is concerned there is no use differentiating between "there is no explicit definition (ignoring fallback)" and "there is no definition of any kind (including fallback)".
You can't say that it's untrue, because it is what it is, and it does what it does. There are no analogs for such fallback values for other theme items, otherwise the behavior would've been the same. This is an explicit piece of functionality that any theme can define a global font definition that all controls must respect even if they don't have explicit definitions for their properties.
Now, you may disagree that this is what it should do, and we can discuss it. But I think at this point what's important is that your use case is creating sharable and themable GUI widgets, and we are aware of the limitations that exist around that and a solution for this should hopefully arrive in Godot 4.3.

@YuriSizov is it relevant for constants as well?
because does not matter what, this code is never working, because has_* returns true if there is even no overrides for constant and control uses variation:
	wrapper = HBoxContainer.new()

	var variation = theme_type_variation if theme_type_variation else "UISpinner"
	wrapper.theme_type_variation = "%sWrapper" % variation
	....
	wrapper.remove_theme_constant_override("separation")

	# remove padding for wrapper by default
	if not wrapper.has_theme_constant("separation"):
		wrapper.add_theme_constant_override("separation", 0)

@plandem The separation constant of HBoxContainer has a definition in the default theme, which is why the method returns true. It has nothing to do with the overrides or the theme type variation.
Generally speaking, has_theme_* methods are not very useful to most users. Most existing theme properties are defined for every built-in control in the default theme at least. There are only a few exceptions, like some mirrored definitions here and there, that sort of thing. Whatever your goal is, you need to come up with a different approach.
In your code example, for instance, I don't see a point of the check. If you want to set it to 0 if it's not 0, then just set it to 0 always. The absolute outcome will be the same. But, of course, you may be simplifying things and your actual code needs a check like that. Then you need to seek a different solution.
PS. For overrides specifically there are has_theme_*_override methods, e.g. has_theme_constant_override, in case that helps.

@plandem The separation constant of HBoxContainer has a definition in the default theme, which is why the method returns true. It has nothing to do with the overrides or the theme type variation.
Generally speaking, has_theme_* methods are not very useful to most users. Most existing theme properties are defined for every built-in control in the default theme at least. There are only a few exceptions, like some mirrored definitions here and there, that sort of thing. Whatever your goal is, you need to come up with a different approach.
In your code example, for instance, I don't see a point of the check. If you want to set it to 0 if it's not 0, then just set it to 0 always. The absolute outcome will be the same. But, of course, you may be simplifying things and your actual code needs a check like that. Then you need to seek a different solution.
PS. For overrides specifically there are has_theme_*_override methods, e.g. has_theme_constant_override, in case that helps.

Well, I was trying to create custom control that would use core controls, but would have some kind of default styles, but without theme out of the box. E.g. it has HBoxContainer and would like to override default separator, but keep theming ability.
So idea was to check if there is theme for it (e.g. on parent's panel) and if not then add/remove override feature  based on it.

but looks like I solved by assigned variation by default. Even it said in docs that It will use 'class name', in case of extending of base controls (e.g. PanelContainer) its not working out of the box. Maybe bug, idk.
E.g. we have this:
class_name UISpinner extends PanelContainer
...

I was supposed (based on documents), that it will use UISpinner as default type variation, but it does not. I have to set as:
	if not theme_type_variation:
		theme_type_variation = "UISpinner"

then..and only then it will be respected

but now i have another issue. E.g. created node like this:
components.wrapper = HBoxContainer.new()
components.wrapper.theme_type_variation = "UISpinnerWrapper"

in theme added override for UISpinnerWrapper with BaseClass as HBoxContainer. And this one is broken?
# returns `true`, because as you said `HBoxContainer` has it by default
print(components.wrapper.has_theme_constant("separation", components.wrapper.theme_type_variation))

# but his one returns `false`, even I would expect `true` because I set it via theme
print(components.wrapper.has_theme_constant_override("separation"))

Wild guess....is add_theme_icon_override the same as adding override via theme? Because, I feel that I didnt understand or confused by naming (both have overrides - themes and runtime)

@plandem Please try to avoid multiposting. This creates separate notifications for everyone subscribed to this issue or this repo. Use the edit button instead for comments that come up in a quick succession.
Now, to answer your points

Well, I was trying to create custom control that would use core controls, but would have some kind of default styles, but without theme out of the box. E.g. it has HBoxContainer and would like to override default separator, but keep theming ability.
So idea was to check if there is theme for it (e.g. on parent's panel) and if not then add/remove override feature based on it.

When a control extends another control, it inherits all theming properties and accepts all the styles and theme values of the extended control. So if you extend HBoxContainer, your control will look exactly like any other hbox looks in your project, by default.
There is currently no mechanism in the engine for you to define default styles for a custom control to override this behavior. I promised one up in this thread, but, unfortunately, I no longer can fulfill this promise, and I'm not aware of anyone else working on the theming system right now.

but looks like I partially solved the problem by assigning a variation by default. Even it said in docs that It will use 'class name', in case of extending of base controls (e.g. PanelContainer) its not working out of the box. Maybe bug, idk.

A proper variation must have its base type set in the project theme to the control type it is a variation of. So if you're making a variation to PanelContainer as UISpinner your project theme must have a definition for UISpinner and it must have PanelContainer defined as its base type.
If you don't do this, then the look up for theme items abruptly ends on your variation type, and no items which are supposed to be inherited are inherited anymore. This is not a bug, it works as expected in this case, although generally speaking this setup would be considered invalid. But if it works for you, then you have your solution 👍

I supposed (based on documentation), that it will use UISpinner as default type variation, but it does not.

No, the class name of a custom scripted class is not used anywhere in theming. You must define a theme type variation if you want to change where the resolution looks first.

but now i have another issue.

See my explanation earlier in this comment.

Wild guess....is add_theme_icon_override the same as adding override via theme? Because, I feel that I didnt understand or confused by naming (both have overrides - themes and runtime)

I don't know what you mean by runtime having overrides. There is only one kind of "overrides" related to theming, and it's properties of Control and Window nodes. Whether you define an override via the inspector section, or via add_theme_*_override in your script, it does the same thing. It sets a value for this specific node that has precedence over whatever is defined in any theme resource affecting the node.

@plandem Please try to avoid multiposting. This creates separate notifications for everyone subscribed to this issue or this repo. Use the edit button instead for comments that come up in a quick succession.
got it and sorry for that!

A proper variation must have its base type set in the project theme to the control type it is a variation of. So if you're making a variation to PanelContainer as UISpinner your project theme must have a definition for UISpinner and it must have PanelContainer defined as its base type.
Ok, maybe I should elaborate it more:

I have control inherited from PanelContainer and named as UISpinner:

class_name UISpinner extends PanelContainer)
....

in scene, I have theme applied somewhere at top level
In that theme, I have styles for type UISpinner with base type PanelContainer (its variation in terms of theming, right?!)
in scene, I have my  UISpinner control as is, without renaming.

Based, on documentation, I supposed that

by default UISpinner will be used as theme_type for e.g. has_theme_constant, but looks like not
styles will be auto applied (because , again theme_type is class if omitted)

to make it work, I have to set UISpinner variation on that my UISpinner node in scene. After that theme was auto-applied. Documentation is confusing, at least:
● Color get_theme_color(name: StringName, theme_type: StringName = &"") const

Returns a Color from the first matching Theme in the tree if that Theme has a color item with the specified name and theme_type. If theme_type is omitted the class name of the current control is used as the type, or theme_type_variation if it is defined. If the type is a class name its parent classes are also checked, in order of inheritance. If the type is a variation its base types are checked, in order of dependency, then the control's class name and its parent classes are checked.

If theme_type is omitted the class name of the current control is used as the type that is not true in my case (UISpinner` was not used, even it has such class name) or its a bug.

No, the class name of a custom scripted class is not used anywhere in theming. You must define a theme type variation if you want to change where the resolution looks first.

well, again...then probably it will be better to update documentation, right now its misleading, because godot differs built-in classes vs inherited/extended.

I don't know what you mean by runtime having overrides. There is only one kind of "overrides" related to theming, and it's properties of Control and Window nodes. Whether you define an override via the inspector section, or via add_theme_*_override in your script, it does the same thing. It sets a value for this specific node that has precedence over whatever is defined in any theme resource affecting the node.

Let me elaborate here then:

I have scene with UISpinner, which also has the child, e.g. UISpinner -> UISpinnerWrapper. UISpinnerWrapper extends HBoxContainer
that UISpinnerWrapper has variation assigned as UISpinnerWrapper
at top level of scene, I have a theme with  variation UISpinnerWrapper that overrides separation and has base type as HBoxContainer

Based on what you said, it should return true, but nope
# returns false
wrapper.has_theme_constant_override("separation")

while after adding it runtime, its working properly:
wrapper.add_theme_constant_override("separation", 100)

# true
wrapper.has_theme_constant_override("separation")

To me it looks like they are not the same, even you are saying that there are only one override

3. at top level of scene, I have a theme with  variation UISpinnerWrapper that overrides separation and has base type as HBoxContainer

That is not what theme overrides are. Theme overrides are properties of individual nodes. You can find them in the "Theme Overrides" section in the inspector. These are local values for the node that you configure it on. Anything you define in a theme is not a local value, it applies to all matching nodes in the same branch.

well, again...then probably it will be better to update documentation, right now its misleading, because godot differs built-in classes vs inherited/extended.

Sure, feel free to suggest changes with a PR! The docs here refer exclusively to built-in classes, not named scripts.


Merging dev to master

Major changes include
(1) Removing unstable tasks and wrappers
(2) Improved website with links to jupyter notebooks for training
(3) Allow annotating spaces using ngym.spaces
(4) Adding contribution tutorial
(5) Adding more tasks

Approved.


Clippy all targets

Fix clippy lints in tests
CI: let clippy lint also tests
They deserve equal clippy love, right? :)

nice! thanks!


Provide TypeScript version

Pls update typescript version as you update JS version

We are trying to keep the TypeScript version up-to-date with the JS version but sometimes things come up or things break and we have to shift our focus. If it is significantly behind the JS, I recommend joining our Slack channel and letting us know there: http://ionicworldwide.herokuapp.com/

@rajeevkumarsharma  , @brandyscarney   where is typescript version ?
plz ionic team focus on typescript i think most developer who use angular2 will shift to typescript
thanks ionc team

The typescript version is on the typescript branch: https://github.com/driftyco/ionic-conference-app/tree/typescript

@brandyscarney  many thanks   :+1:


Object tracking in video

What kind of techniques does imageai currently have (if any) for object tracking in video? We are facing an issue of "jumpy" bounding boxes from frame to frame. Are there models that can be ported easily from your experience for this issue?

Kindly refer to #245


Creating your first pack docs issue

SUMMARY
Documentation issue.
Here https://docs.stackstorm.com/reference/packs.html#creating-your-first-pack it says using runner_type: "local-shell-cmd" . It should be runner_type: "local-shell-script" else it gives error
raise ValueError('entry_point is only valid for local-shell-script runner')
ISSUE TYPE
Pick one below and delete the rest:

Other: Documentation

Our docs are Open Source too: https://github.com/StackStorm/st2docs/blob/master/docs/source/reference/packs.rst
Contributions are very welcome!


Network Transform System

Copied scripts from my repo to mirror, Will remove extra asmdef and move tests later on
resolves: https://github.com/vis2k/Mirror/issues/2500
How to test

Add NetworkTransformSystem to NetworkManager
Add NetworkTransformBehaviour to Player/NetworkObject
Change settings in inspector for System and Behaviour is needed
Play :)

TODO

[x] Add rotation
[ ] Add scale? (does movement syncing need scale?)
[ ] Add parent? (needs discussing internally)
[x] Find way to avoid singleton/static state
[ ] Custom editor to avoid Serialized debug fields
[x] Decide if settings should be per Behaviour instead of for System

Im fine with scale off by default, or completely removed, theres probably only 1 out of 1000 games that want to continuously sync scale.
Users in most scenarios can send change of scale via cmd/rpc, syncvar/hooks, only when required, i think the majority of others will/should do same.

closing in favor of the other one :)

closing in favor of the other one :)


Unable to load Dailymotion-Video-Player embedded script for Android in React Native

This is my code to run dailymotion player script in react native environment, given the playerId and dailymotion Video id.
const source = {     html:         <script src="https://geo.dailymotion.com/player/${playerId}” data-video=${dailymotionVideoId}> `
};
	<WebView
              overScrollMode= {'never'}
              source={source}
              allowsFullscreenVideo={true}
              allowsInlineMediaPlayback={true}
              javaScriptEnabled={true}
              domStorageEnabled={true}
              scalesPageToFit={false}
              startInLoadingState={true}
              nestedScrollEnabled={true}
              style={{backgroundColor: 'black'}}
              />`

Problem:
However, this scripts works fine on IOS and video is being played while in case of Android this player does not even seems to load on screen render. So is there a way around to fix the issue for android

@Nouman-Javaid This does not seem to be an issue with dailymotion but rather a broader issue with Webview for Android. None of my webviews are currently loading correctly.
I'm using it in an Expo managed application, are you as well?
Here is my current versions:
{
  ...
  dependencies: {
    "expo": "^45.0.0",
    "react-native-webview": "11.23.0",
  }
}

@Nouman-Javaid Okay I got all my webviews working again 🎉
My react-native-webview version was too new.
Using expo install react-native-webview the version was lowered from 11.23.0" to 11.18.1 and that fixed all loading issues! 👏


Update README.md  (the signature verification section)

Add further clarifications for the public key import section.
Finish updating the verify section

re-opening the original PR.


Added week 9

Project
Name of the project
Changes
What was updated (new pages, weekly update, etc.)
Notes
If there are any further notes.

Hey @kartiktongaria build is failing please check


RgHeader-user

Needs review from @ohskylab and someone else angular from @rockabox/frontend.
NB THIS IS MERGING INTO ANOTHER STORY BRANCH, NOT MASTER
Important parts:

Copied rb-user to rg-header-user descendent in new rg-header component.
Refactored to include new wrapper.
Split out item from rg-header-user so is composable.

See commit history for full description.
TP https://rockabox.tpondemand.com/entity/11030

Angular point of view looks alright @ohskylab take a look on the layout side

LGTM. Agree with moving User styles into descendant of RgHeader. It was done before knowing the shape of things and doesn't need that level of flexibility.


kbd: 2.6.2 -> 2.6.3

Changes: https://github.com/legionus/kbd/releases/tag/v2.6.3
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 256569 run on x86_64-linux 1

3 packages built:

kbd
kbd.dev (kbd.dev.dev ,kbd.dev.vlock)
kbd.vlock (kbd.vlock.dev ,kbd.vlock.vlock)


Array index out of bound issue

Array index out of bound exceptions in numerous places
examples:
RipQualityCalculation::classifyDataPoints =>
max_value = data[0];
min_value = data[0];
Here data array can be empty
RIPFeatures::rsaCalculateCycle =>
double max = ecg.RRStats.getElement(cInd.get(0));
Here cInd can be empty

This should be reevaluated after the data quality, interpolation, and winsorization code is integrated.  In the mean time, any information you can provide as to why particular instances have no data will be appreciated.

These problems have been corrected by introducing some additional size checks in the code.


fix(prow/config): fix labels for doc repos

unified the colors for cherry-pick labels.
add missed labels for document repos.

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

/approve


Perform physical copy in gateway

We decided not to perform physical copy for now, Garbage collections and lifecycle should handle deduplications