Feature request: database schema in entity configs

Quite often, it becomes necessary to place different tables in different database schemas, not only in public. It would be nice to get support for this case from ent.
It might look something like:
func (User) Config() ent.Config {
    return ent.Config{
        Table:  "my_table",
        Schema: "my_schema",
    }
}

Hey @alexeyco and thanks for proposing this issue.
Named schema is a feature of PostgreSQL and I'm not sure we want to add it to the ent schema. However, 2 things about it:

I think you can achieve it today by using the "search_path" parameter in the connection string - I didn't check this, so if you tried it, let us know if it works for you.
We plan to re-structure the migration API soon and it'll provide a way to control the schema.

I think you can achieve it today by using the "search_path" parameter in the connection string - I didn't check this, so if you tried it, let us know if it works for you.

No, I can't – tables can be placed in different schemas. The dot in the table name breaks everything

Just FYI:
I was able to get around the issue (for MySQL) by doing a couple of hacky things:

Put the database name in the table itself
Add r == '.' to this function: https://github.com/facebook/ent/blob/e1fe2267bc56e57ceeaf1bf8dfb322d16c4b5f95/entc/gen/func.go#L112
Remove all backticks from queries. I did it by doing a ReplaceAll here which is obviously just a workaround as I am not familiar with how the query is constructed and how I can remove those backticks more properly: https://github.com/facebook/ent/blob/e1fe2267bc56e57ceeaf1bf8dfb322d16c4b5f95/dialect/sql/sqlgraph/graph.go#L550

@a8m any idea if this is something that ent will support? 🙏
If so, would love to know what the API would look like as I'm not too familiar with ent's internals (yet!).
Thanks!

@a8m any idea if this is something that ent will support? 🙏

Yes.

If so, would love to know what the API would look like as I'm not too familiar with ent's internals (yet!).

I promise to give it more attention in the upcoming days.

@a8m that's great! Thanks for all of your work 🎉

Hey, some update regarding this issue.
The Annotations option will be added to the schema config, and we'll use it to pass the schema option to the SQL templates.
The Table option in ent.Config will be moved to annotation as well. Here's an example how I think that API will look like:
func (User) Config() ent.Config {
    return ent.Config{
        Annotations: []ent.Annotations{
                entsql.Annotation{Table: "...", Schema: "...", Charset: "...", ... },
                entgql.Annotation{/* other annotations */ },
        }
    }
}

The entsql.Annotation option will make it possible to address more issues we have today, and allow users to control the columns and FKs configuration.

@a8m that sounds great. Looking forward to it!

@a8m any luck here and/or anything I can do to help?
Thanks!

Hey all, I want to add this feature really soon, and currently have an implementation working with static schema configuration using annotation as mentioned above (e.g. entsql.Annotation{Schema: "public", ...}). However, I don't think static config is good enough for such problem, and I'm re-thinking about it atm. Any thoughts or ideas are more than welcome! Thanks 😃

Hey @a8m , thanks for the update! I think static configuration is definitely a great start, and for my own purposes is probably more than enough.
That said, here are the two places I can see dynamic schema configurations can happen (knowing that certain models/tables will have different schemas/db-names):

First: At client initialization level: aka ent.Open("<driver>", "<conn>", options...) -- I imagine the following option:

ent.Open("mysql", conn, ent.WithSchema(
  user.Schema("users_db"),
  car.Schema("cars_db"),
))

Or perhaps, have it take the same exact Annotation type:
ent.Open(
  "mysql",
  conn,
  user.WithAnnotations(entql.Annotation{Schema: "users_db"}),
  car.WithAnnotations(entql.Annotation{Schema: "cars_db"}),
)

Second: At query/mutation level:

c, _ := ent.Open(...)
c.User.WithSchema("users_db").Query().Where(...).All(ctx)

That said, I'd be surprised if there was enough demand/usecase for when a program doesn't know the dbname of a table until they're about to fire a query.
So personally, I'd be in favor of Option 1 or honestly just the static one is also fine.
Thanks again!

@a8m the more I think about it, I think Option 1 here is most idiomatic because DBNames are always runtime initialized. If you take the MySQL driver as an example, dbname is part of the connection URL.
So option 1 would fit nicely because DBNames are determined at "constructor time" which is neither statically in the schema, nor at query time.
Let me know what you think :v:

Issue resolved. Please see the sql/schemaconfig feature-flag if you want to use it.
Thanks @alexeyco for the proposal and thanks @marwan-at-work for working on this  🙏


[Feature] Two Separate buff trackers

Describe the feature
This feature may be niche but it would just eliminate the need for most of my weakauras for me - I'd ideally like to have two seperate buff trackers for my player frame so that I can track things like bloodlust, trinket procs, movement, etc but also have a second one that I can track spec specific buffs (much like most weakauras use an "auras" section).
Describe the implementation
Add another widget for buffs tracking separate from the already existing one

Niche indeed, but I do vibe with the idea.
Will brainstorm a bit how I want it implemented.

I think rather than just "two", maybe something like cell's indicator system where you can specificy any number of buff trackers you want, could be more beneficial. (Of course I don't know how much more work this require, just brainstorming.)


[3.0] Add some log when failed to get return types

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #9618 (8523bd9) into 3.0 (5e89714) will decrease coverage by 0.54%.
The diff coverage is 59.67%.

@@             Coverage Diff              @@
##                3.0    #9618      +/-   ##
============================================
- Coverage     65.73%   65.18%   -0.55%
+ Complexity      297      296       -1
============================================
  Files          1189     1191       +2
  Lines         51828    51952     +124
  Branches       7843     7855      +12
============================================
- Hits          34068    33866     -202
- Misses        14087    14386     +299
- Partials       3673     3700      +27

Impacted Files
Coverage Δ

...pc/cluster/support/wrapper/MockClusterInvoker.java
65.07% <ø> (ø)

...a/org/apache/dubbo/rpc/model/MethodDescriptor.java
76.12% <0.00%> (ø)

...org/apache/dubbo/remoting/exchange/Exchangers.java
100.00% <ø> (ø)

.../exchange/support/header/HeaderExchangeClient.java
82.19% <ø> (-0.25%)
:arrow_down:

.../apache/dubbo/rpc/protocol/tri/TripleProtocol.java
89.74% <ø> (ø)

.../rpc/protocol/dubbo/LazyConnectExchangeClient.java
57.73% <46.66%> (+1.81%)
:arrow_up:

...pache/dubbo/remoting/transport/AbstractClient.java
62.23% <47.05%> (+1.36%)
:arrow_up:

...onfig/spring/schema/DubboBeanDefinitionParser.java
79.80% <70.83%> (+0.26%)
:arrow_up:

...apache/dubbo/common/extension/ExtensionLoader.java
81.67% <100.00%> (ø)

...ava/org/apache/dubbo/common/utils/StringUtils.java
79.90% <100.00%> (+0.04%)
:arrow_up:

... and 73 more

Continue to review full report at Codecov.

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


How to integration v3 with other asynchronous framework?

For example I want integration v3 with Workerman or ReactPHP, But v3 has no Loop::run() method, I can't adapter v3 with these asynchronous framework's Event Loop.
For example:
$worker = new Worker('http://<IP_ADDRESS>:8005');
$worker->onMessage = function($connection, $data) {
    async(function() {
        delay(2000);
        return 'Hello World';
    })->onResolve(fn($e, $result) => $connection->send($result));
};

Worker::runAll();

This in workerman will never send message to connection.
For example:
$worker = new Worker('http://<IP_ADDRESS>:8005');
$worker->onMessage = function($connection, $data) {
    delay(2000);
    $connection->send('Hello World');
};

Worker::runAll();

This will block other onMessage until this delay finished.
I have tried:
$worker->onMessage = asyncCallable(function($connection, $data) {
    delay(2000);
    $connection->send('Hello World');
});

Never run the callback.
I have no idea to use v3 with tradition callback asynchronous framework now, how??

As with ReactPHP now, you'll need an event loop adapter, because there can always only be one event loop, otherwise they block each other. Where do you run Amp's event loop currently?

I just noticed that https://github.com/amphp/react-adapter doesn't have a v3 branch yet. Does that mean using react-based libraries in Amphp v3 is not supported yet? :thinking:

I have amp v2 event-loop adapter to Workerman in my framework: wind-framework/Amp.php .
But the question is these framework use callback on message coming, the v3 base on fiber block current stack except they're in different async(), I don't know how to run amp v3 in these framework callback and not block them, do I need to use defer() or asyncCallback() to make these framework's callback been asynchronous?
I have tried code like $framework->onRequest = asyncCallback(function(){});  doesn't work, $framework->onRequest = function() { defer(function() {}); }; doesn't work.
Because framework's callback running in top scope of php, not in async() of amp, so one callback will block all other callback.

Look's like I have made the wrong test, I used browser to visit the server, and delay blocked each request, I think that because the browser keep-alive and framework have some problem, after I test it used curl in command line, the request can be concurrent.
I think the problem is been solved.
Thank you.


Make loader class XMLFile use the setup method

Importing lxml in the setup() method instead of the top level code prevents nasty import errors if lxml is not installed.

Tested on Linux and Windows.


Verify cards

In the current Mongoose backend, cards are validated by sending an email to the member with a validation link.
Board members are also able to verify a card in Koala's admin interface.
This prevents members stealing Mongoose credit by filling in someone else's student number.
We should provide something comparable in undead-mongoose.
This means that

Each newly added card should get the status verified: false
Only cards with verified: true should be allowed to buy stuff, trying to login to with an unverified card should show a 'please verify, check your email' message (on Sloth)
There should be a way for an admin to verify a card (section in the interface)
There should be a way for an user to verify a card. An email with a verification link is probably the best option here, but means adding mail support to undead-mongoose. It would also be possible to build a verification button on the user side, but we don't have a user side yet.

This has been implemented as of cb2ecf280fee33ee7b1ccf98bd0fd67b8169b8e9


Add sample file

I have added every samples. I just have to test them all and I will merge.

bors try

Waiting for the @bidoubiwa's review and we will merge that 🚀

bors merge


Made the Advanced Search templates work with a barebones context

Summary Change Description
This makes it possible to render any of the advanced search output formats by supplying it a queryset and 2 other basic parameters:

mode (with the value view)
format with 1 of 3 possible values:

pgtemplate (for peakgroups)
pdtemplate for peakdata
fctemplate for fcirc

Affected Issue Numbers

Resolves #371

Code Review Notes
I included a temporary function in views.py called test_barebones_advanced_search to demonstrate how you can call the template.
I basically just added checks on the new mode to decide whether to render things in the template that depend on various context variables being present.
I consider this implementation a first (very simple) step.  I think the next step would be the ability to show an empty search interface above the results (the same way there is one when in "browse" mode).
Checklist

[ ] All issue requirements satisfied (or no linked issues)
[x] Linting passes.
[x] Migrations created & committed (or no model changes)
[ ] Tests implemented (or no code changes)
[x] All tests pass

Nice! This could be used to quickly generate URLs/views for a myriad of things. Off the top of my head, adding links to the names in the PeakGroups Leaderboard could be cool.

Indeed.  It could even be cooler to call the view and provide all the context.  In the example you cite, that would go something like this (and now that I compose this example, I see ways to streamline this):
Create an AdvancedSearchView object, create the qry object, and generate the queryset:
asv = AdvancedSearchView()
qry = asv.basv_metadata.getRootGroup()

# Set the format to the peakgroup format
qry["selectedtemplate"] = "pgtemplate"

# Name the results (used in the title over the results table)
qry["searches"]["pgtemplate"]["name"] = "Michael's Great Peak Groups"

# Initialize the query (pre-populated with an empty needed to render an empty form):
qry["searches"]["pgtemplate"]["tree"]["queryGroup"] = []
my_search = qry["searches"]["pgtemplate"]["tree"]["queryGroup"]

# Append your query (This assumes a single outer `and`-queryGroup):
my_search.append({
    "type": "query",
    "pos": "",
    "static": True, # Users will not be able to modify this initial search, i.e. they're restricted to this subset of records on this page
    "ncmp": "iexact",
    "fld": "msrun__sample__researcher", # We would have to add this field to compositeviews.PeakGroupSearchView to support this search
    "val": "Michael Nienast",
})

# Get the queryset
qs = performQuery(qry)

Then all we have to do is flesh out the context.  Note, not all of these are required, but for completeness, these are the context variables you would need to supply.  You know, maybe the majority of this could be replaced simply by sending the asv object:

res: qs
qry: qry
mode: "search"
format: qry["selectedtemplate"]
default_format: "pgtemplate"
root_group: asv.basv_metadata.getRootGroup()
download_form: AdvSearchDownloadForm(initial={"qryjson": json.dumps(qry)})
pager: asv.pager
forms: asv.form_classes
ncmp_choices: asv.basv_metadata.getComparisonChoices()
fld_types: asv.basv_metadata.getFieldTypes()
fld_choices: asv.basv_metadata.getSearchFieldChoicesDict()
debug: settings.DEBUG


Connecting to a WebSocket Server from the browser fails

Godot version
4.0.2 stable
System information
Windows 10, NVIDIA 1060, Vulkan Mobile
Issue description
Connecting to a WebSocket Server from inside browser fails with the error:
WebSocket connection to 'wss://myserveriphere:8888/' failed: WebSocket is closed before the connection is established.
I can connect to the server just fine from a windows build. I am using itch.io to host this game on the web, could something on itch be blocking my connection?
Steps to reproduce
Here is the code I use for server/client logic:
func create_game(server:bool):
	var peer = WebSocketMultiplayerPeer.new()
	if server:
		var err = peer.create_server(8888)
		if err == OK:
			print("created server")
			multiplayer.multiplayer_peer = peer
			multiplayer.peer_connected.connect(player_connected)
			multiplayer.peer_disconnected.connect(player_disconnected)
		else:
			push_error("Error creating server: " + str(err))
	else:
		var url = "wss://myserveriphere:8888"
		var err = peer.create_client(url)
		if err == OK:
			print("created client")
			multiplayer.multiplayer_peer = peer
		else:
			push_error("Error creating client: " + str(err))

Also I uploaded a reproduction project.
Minimal reproduction project
WebMultiplayer.zip

So, I was not able to reproduce the issue you describe, but I was able to reproduce something similar, which I think it's what you are facing.
Your code is starting a websocket server on port 8888 without TLS, but you are connecting to it using TLS (i.e. wss and not ws).
In this scenario, the connection will fail, printing the error you describe on the browser, and silently on the desktop (you could listen for multiplayer.connection_failed signal on the godot side to catch this event).
You probably need to use wss on the web, since the page on itch is https (and browsers will refuse non secure connections). More so, you will need a valid TLS certificate for browsers to allow the connection to happen (you can get free TLS certs via https://letsencrypt.org/ ).
There are then 2 ways to make the websocket server use TLS:

Use it directly via TLSOptions.server(load("/path/to/server.key"), load("/path/to/server.crt"))
Use it via proxy, letting letsencrypt configure your web server for TLS, then configure it to proxy your local server.

E.g. for nginx:
        location / {
                if ($http_upgrade = "websocket") {
                        proxy_pass http://localhost:8888;
                }
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
        }

@Faless Thank you so much! I figured out how to get TLS certificates and it all seems to be working just fine.


Supplementary data by schedule

What is the purpose of the pull request
#1550 fix feature: Supplementary data with schedule
Before running, get the schedule of the task and generate task information according to the schedule
Brief change log
for parallel run

edit dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ExecutorService.java

for serial run

edit dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java

util

edit dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/ProcessDao.java
add dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ScheduleUtils.java

ui tips

edit dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue
edit dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
edit dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

Verify this pull request
Manually verified the change by testing locally.
And optimize the ScheduleUtils.java.

Codecov Report

Merging #1670 into dev will decrease coverage by 0.11%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##              dev   #1670      +/-   ##
=========================================
- Coverage   14.92%   14.8%   -0.12%
=========================================
  Files         284     285       +1
  Lines       13960   14072     +112
  Branches     2270    2296      +26
=========================================
  Hits         2083    2083
- Misses      11655   11767     +112
  Partials      222     222

Impacted Files
Coverage Δ

.../dolphinscheduler/api/service/ExecutorService.java
0% <0%> (ø)
:arrow_up:

...va/org/apache/dolphinscheduler/dao/ProcessDao.java
0.86% <0%> (-0.01%)
:arrow_down:

...e/dolphinscheduler/server/utils/ScheduleUtils.java
0% <0%> (ø)

...heduler/server/master/runner/MasterExecThread.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Error: modulenotfounderror no module named 'pywintypes'

Hi,
I'm getting the error message "ModuleNotFoundError: No module named 'pywintypes'" and when I try to run pip install pypiwin32 I get the message "Requirement already satisfied'.
What is going wrong?
Thanks

I had the same problem.  Got past it by commenting out the import and replacing the two references to it (which were both the Catch part of a try-catch) to catch Python Exceptions instead.  Now it can't find the sspi module. (next import line in requests_negotiate_sspi.py). I don't see an sspi package for python.  Just kerberos-sspi and winsspy, both of which I've installed.

Thanks for your reply.
I'm just starting with python and I'm afraid that I hadn't kite understood your answer. Did you manage to put this software working or are you stuck because of the sspi module?
Do you have a patched file working?
Thanks,

@pbneves what version of python are you using, and on what OS?

@brandond  I'm using python version 3.7.3 on Windows 7 SP1..

I have the same issue... seems to be a Python 32-bit versus 64-bit thing... It works on the 32 bit environment, but not on the 64 bit one. I added requirement files, and the Python intpreter specifics below.
32 bit python:
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
64 bit python:
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
requirements32.txt
requirements64.txt


eosjs token transfer - Cannot read property 'Symbol(Symbol.iterator)' of undefined

I'm getting an error whenever I try to transfer EOS using Scatter.  The issue appears to be in eosjs.  Scatter opens up and I successfully sign, but then the transaction fails with the following error:
Uncaught (in promise) TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at ./node_modules/eosjs/dist/eosjs-jsonrpc.js.__values (eosjs-jsonrpc.js:42)
    at arrayToHex (eosjs-jsonrpc.js:58)
    at JsonRpc.<anonymous> (eosjs-jsonrpc.js:323)
    at step (eosjs-jsonrpc.js:36)
    at Object.next (eosjs-jsonrpc.js:17)
    at eosjs-jsonrpc.js:11
    at new Promise (<anonymous>)
    at ./node_modules/eosjs/dist/eosjs-jsonrpc.js.__awaiter (eosjs-jsonrpc.js:7)
    at JsonRpc../node_modules/eosjs/dist/eosjs-jsonrpc.js.JsonRpc.push_transaction (eosjs-jsonrpc.js:316)
    at Api.<anonymous> (eosjs-api.js:411)
    at step (eosjs-api.js:44)
    at Object.next (eosjs-api.js:25)
    at eosjs-api.js:19
    at new Promise (<anonymous>)
    at ./node_modules/eosjs/dist/eosjs-api.js.__awaiter (eosjs-api.js:15)
    at Api../node_modules/eosjs/dist/eosjs-api.js.Api.pushSignedTransaction (eosjs-api.js:409)
    at Api.<anonymous> (eosjs-api.js:399)
    at step (eosjs-api.js:44)
    at Object.next (eosjs-api.js:25)
    at fulfilled (eosjs-api.js:16)

Here is the entire file:
import React from "react";
import { Api, JsonRpc, JsSignatureProvider } from "eosjs";
import ScatterJS from "scatterjs-core";
import ScatterEOS from "scatterjs-plugin-eosjs2"; // Use eosjs2 if your version of eosjs is > 16

// Using junglehistory here to get actions.  I tried the transaction with https://jungle2.cryptolions.io:443 and got the same error.
const endpoint = "http://junglehistory.cryptolions.io:18888"; // Jungle

const network = {
	blockchain: "eos",
	protocol: "https",
	host: "jungle2.cryptolions.io",
	port: 443,
	chainId: "e70aaab8997e1dfce58fbfac80cbbb8fecec7b99cf982a9444273cbc64c41473" // Jungle
};

class EOSIOClient extends React.Component {
	constructor(contractAccount) {
		super(contractAccount);
		this.contractAccount = contractAccount;
		this.account;
		this.eos;

		ScatterJS.plugins(new ScatterEOS());

		try {
			ScatterJS.scatter.connect(this.contractAccount).then(connected => {
				if (!connected) return console.log("Issue Connecting");

				const scatter = ScatterJS.scatter;
				this.scatter = scatter;

				this.requiredFields = {
					accounts: [network]
				};

				this.rpc = new JsonRpc(endpoint);
				window.ScatterJS = null;
			});
		} catch (error) {
			console.log(error);
		}
	}

	login = cb => {
		try {
			this.scatter.getIdentity(this.requiredFields).then(() => {
				this.account = this.scatter.identity.accounts.find(
					x => x.blockchain === "eos"
				);

				this.eos = this.scatter.eos(network, Api, { rpc: this.rpc });
				return cb(this.account);
			});

			window.ScatterJS = null;
		} catch (error) {
			console.log(error);
		}
	};

	transaction = (action, data) => {
		return this.eos.transact(
			{
				actions: [
					{
						account: this.contractAccount,
						name: action,
						authorization: [
							{
								actor: this.account.name,
								permission: this.account.authority
							}
						],
						data: {
							...data
						}
					}
				]
			},
			{
				blocksBehind: 3,
				expireSeconds: 30
			}
		);
	};

	tokenTransfer = data => {
		return this.eos.transact(
			{
				actions: [
					{
						account: "eosio.token",
						name: "transfer",
						authorization: [
							{
								actor: this.account.name,
								permission: this.account.authority
							}
						],
						data: {
							from: this.account.name,
							to: data.to,
							quantity: data.quantity,
							memo: data.memo
						}
					}
				]
			},
			{
				blocksBehind: 3,
				expireSeconds: 30
			}
		);
	};

In case anyone else runs into this issue - it was caused by using the wrong chainId.  Jungle recently change their chainId when they became Jungle2.

I don't get the error if I set broadcast: false in the options.  However, then the transaction isn't pushed.

@liebeskind This might be related to a different issue.  Could you post a copy of your lock file, or tell us what version of eosjs it has in there?

Lock file... will try deleting and reinstall node modules.
"eosjs": {
      "version": "20.0.0-beta2.0",
      "resolved": "https://registry.npmjs.org/eosjs/-/eosjs-20.0.0-beta2.0.tgz",
      "integrity": "sha512-lECf0Nbfw25mN1ixHhT1IPuHgqZUJqGUhxDL7bfKzshy8l+hxWjeJW2XxLr7XlpbvDgG6gFqRIIaDB29lK3qGg==",
      "requires": {
        "@types/jest": "^23.3.1",
        "babel-runtime": "^6.26.0",
        "eosjs-ecc": "^4.0.1",
        "text-encoding": "^0.6.4"
      }
    },
    "eosjs-api": {
      "version": "7.0.4",
      "resolved": "https://registry.npmjs.org/eosjs-api/-/eosjs-api-7.0.4.tgz",
      "integrity": "sha512-oLbM39rcyWYkqu6nIEQ50I92yT2vvD7WZPZ3FujbydG2ssR5Re/uSvbkFfZTB02g3I4D+UDUA1jd65HlM7r3MQ==",
      "requires": {
        "camel-case": "^3.0.0",
        "isomorphic-fetch": "^2.2.1"
      }
    },
    "eosjs-ecc": {
      "version": "4.0.4",
      "resolved": "https://registry.npmjs.org/eosjs-ecc/-/eosjs-ecc-4.0.4.tgz",
      "integrity": "sha512-9wAYefts4TidHOu+eN9nAisZdWpUzlUimZrB63oP7+/s4xRNJEn2Vvep2ICRODpxpidbshM1L7WaSYW9oiV5gA==",
      "requires": {
        "bigi": "^1.4.2",
        "browserify-aes": "^1.0.6",
        "bs58": "^4.0.1",
        "bytebuffer": "^5.0.1",
        "create-hash": "^1.1.3",
        "create-hmac": "^1.1.6",
        "ecurve": "^1.0.5",
        "randombytes": "^2.0.5"
      }
    },

Deleting package.lock and node_modules, then reinstalling modules didn't fix the issue.

We ran into this exact problem due to https://github.com/EOSIO/eosjs/issues/447
We just published a patch that addressed the original problem that was caused by the @edge release referenced in the issue above.  Doing a yarn install now might resolve your problem.  You should find that the version of eosjs that you get is 20.0.0-beta2.2
I believe the chain your using is supported, but if this doesn't resolve the problem, we can rope somebody in who can help with that.

Thanks @masaka3620.  Looks like updating to 20.0.0-beta2.2 worked.

I'm getting the same error, using scatterjs-plugin-eosjs2 and eosjs 20.0.0-beta3. Downgrading to beta2.2 does not fix the issue

@liebeskind update this issue in your tutorial posted on medium. Which is Scatter integration with eos

Same issue


Fix flaky test in URLNormalizerTest.java

The test below in URLNormalizerTest.java was found flaky because of the ordering of result String. The orders of elements in the String are not the same every time being called. In this case, two possible outputs of the String are applied to ensure the orders do not cause the flakiness. This code change is trying to fix the flaky tests mentioned above, because they sometimes fail (as the picture showed) and sometimes pass. The failure could be reproduced by the commands above by using the tool of NonDex. The code change is to make sure the tests will always pass in this case.

com.networknt.url.URLNormalizerTest.testAllAtOnce

The test failures could be reproduced by

mvn install -pl http-url -am -DskipTests
run tests with NonDex
mvn -pl http-url edu.illinois:nondex-maven-plugin:1.1.2:nondex -Dtest=com.networknt.url.URLNormalizerTest#testAllAtOnce

@yannizhou05 Thanks a lot for your help.


STM32 UART DRIVER :  add support for buffer circular mode

This PR introduces the implementation of the circular mode in the uart communication on the stm32 driver.
It is inspired by this commit  https://github.com/zephyrproject-rtos/zephyr/commit/72752802f18a70542a8fe79285a4a6419f5d5945#diff-54bdff4ff3a16e194201b66e24cada279fdfdd40dfd66b1df3df3a99d0f65cd0R1007 made by @fouge
The cyclic mode will be configured from the devicetree and will also have the management of the dma buffer with the integration of the half full and full irq .
This implementation is compatible with all STM32 series that have the CIRC bit at the 5th position of the DMA_CCRx register.
A sample driver has been made available and tested on the C0, F0 and G0 series with communication speeds reaching up to 500kbps.

I have not analyzed the PR in detail, but saw some fragments of code that could possibly touching a solution to discussion in:
https://github.com/zephyrproject-rtos/zephyr/discussions/81104 which is about calling event callback in case of rx timeout (even with 0 bytes received)


@dev-plugin/async-storage inline editing cursor jump

Async storage devtools have an option to inline edit the value, but it updates the value after each keystroke, which sets the cursor at the beginning of the text input. The result is typing backwards!
For example, trying to type testing results into:

React probably re-renders after the value change and resets the cursor.

Yeah I'd had that issue before and though I'd fixed it, I will take a look and see what's going on tonight or tommorow.


Dropbox tbx dropbox team teamfolder file size to search Subfolders

Is your feature request related to a problem? Please describe.
I am having issues when i just want to scan a few subfolders of a bigger Team Folder. when i try to do this example $HOME/Desktop/tbx dropbox team Team folder file size -folder-name "Team folder/Subfolder1"  the command runs but the folder sizes all show 0
Describe the solution you'd like
i would like to be able to  run reports just  on a sub folder vs the having to run a report in a entire folder to see the size of folders

Hi @Wes-scott21 ,
This issue probably related to #624 .
This #624 requires relatively large changes. Please retry once this #624 fixed.


Rename CNA to Aio

This PR renames all instances of CNA to Aio.
Once this is merged in, it should require a major version bump.

Aio or AIO ?

@purplecabbage dunno, I chose Aio

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ecd43aa). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      4
  Lines             ?     36
  Branches          ?      2
=======================================
  Hits              ?     36
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/AioCoreSDKErrorWrapper.js
100% <100%> (ø)

src/AioCoreSDKError.js
100% <100%> (ø)

test/classes/MySDKError.js
100% <100%> (ø)

src/index.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 ecd43aa...d785202. Read the comment docs.


vscode crashes on go project

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.75.0
OS Version: Linux Manjaro KDE 22.0.2 kernel 5.15

Steps to Reproduce:

Open go project and change some code. After a while, it crashes by oom, using more than 40gb of RAM
log attached

log.txt

fixed by upgrage golangci-lint to v1.51.0


Issues pushing new scene after upgrading from beta8 to beta 15

Version
Tell us which versions you are using:

react-native-router-flux v4.0.0.beta15 (v3 is not supported)
react-native v0.45.1

Expected behaviour
Should push to new scene
Actual behaviour
Does nothing and the action taken place is "
REACT_NATIVE_ROUTER_FLUX_PUSH"
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Note: This code worked correctly on react-native-router-flux v4.0.0.beta8
<Scene key="root" {...sceneConfig} hideNavBar={true} style={{backgroundColor: 'white'}} >
               <Scene key="launch"{...sceneConfig} component={InitialScreen} initial hideNavBar style={{ backgroundColor:'white'}}/>
               <Scene key="login" {...sceneConfig} cardStyle={{backgroundColor: 'white'}} component={Login} title="Login" duration={1}/>
               <Scene key="register" {...sceneConfig}component={Register} duration={1}/>
</Scene>

var sceneConfig = {
   cardStyle: {
       backgrouwndColor: 'white'
   },
   labelStyle: {
       fontFamily: 'open-sans',
   },
   activeTintColor: '#de1d3e',
   inactiveTintColor: 'gray',
   navBarTintColor: 'red',
}

Buttons used to get to Scene:
<Button style={styles.clickButton} textStyle={styles.buttonTextStyle} onPress={() => Actions.login()}>
                    Log In
                </Button>
                <Button  style={styles.clickButton} textStyle={styles.buttonTextStyle} onPress={() => Actions.register()}>
                    Sign Up
                </Button>

Had to remove node modules and restart package manager.


Update dependencies with darc

Manually ran darc update-dependencies -c '.NET Core 3 Dev'.
It missed:

Updating DotNetEfPackageVersion, even though versions.details.xml was updated (cc @mmitche )
Updating dependencies from aspnetcore-tooling (cc @pranavkm @rynowak )

2019-01-17T20:30:24.4873203Z   System.InvalidOperationException: No process is associated with this object.
2019-01-17T20:30:24.4873972Z      at System.Diagnostics.Process.EnsureState(State state)
2019-01-17T20:30:24.4874675Z      at System.Diagnostics.Process.EnsureState(State state)
2019-01-17T20:30:24.4875635Z      at System.Diagnostics.Process.GetWaitState()
2019-01-17T20:30:24.4876288Z      at System.Diagnostics.Process.WaitForExitCore(Int32 milliseconds)
2019-01-17T20:30:24.4876529Z      at System.Diagnostics.Process.WaitForExit()

@natemcmaster @benaadams this may help: you get this when you call WaitForExit after calling Stop/Dispose on a Process.


Internal auditing of our codebase

Background
We should go through an internal audit of every module in our codebase over this sprint, aiming to hit our new documentation standards as a component of this.
Modules

[ ] #1834
[ ] #1835
[ ] #1836
[ ] #1837
[ ] #1838
[ ] #1839
[ ] #1840
[ ] x/superfluid
[ ] x/tokenfactory
[ ] x/txfees

Hi @ValarDragon can i do internal auditing for txfees?


Use Trajectory "PseudoAttributes" in TIS

This PR will add caching of maximum values of the order parameter for TIS. This should speed up sampling and analysis.
In #691, @jhprinz added a generalization of collective variables that can take objects other than snapshots are inputs. The basic idea is that OPS CVs are wrappers for function that takes a CV as input and gives some output. The CV object is clever about caching results in memory, and, if desired, to disk. This makes analysis a lot faster, because you don't have to reload entire snapshots and recalculate the CVs.
The generalization in #691 makes it so that the same abilities are available for functions of other objects. In this case, we'll use it for functions of a trajectory -- in particular, the maximum value of the order parameter. This gives us a couple advantages in TIS:

Sampling speed-up: in combination with candidate trajectory check from #669, this should make repex and path reversal movers O(1) instead of O(L) for trajectory length L. This will be notable for toy model RETIS simulations.
Analysis speed-up: rather than checking every frame when looking for the maximum value of the order parameter, it will already be calculated and cached/saved. This should lead to much faster analysis (rate calculations, etc.)

Tasks:

[x] Associate a cv_max function with each TISEnsemble (built with TISTransition object)
[x] Ensure that the cv_max is built in MSTIS and MISTIS
[x] Use cv_max in sampling
[x] Check sampling performance improvements
[x] Use cv_max in analysis
[x] Check analysis performance improvements
[x] Update tests for coverage

Note that this includes #686, so it should only be merged after that.

I am really looking forward to see the speed up... 👍

Sampling performance
The effect on sampling speed is pretty modest, even for the toy model. The reason is that this just isn't the bottleneck. When I dug into the profiling, calling the TIS ensemble from the movers only made up a small fraction of the total cost.
The biggest computational cost right now is saving each step, which takes 68% of the total simulation time. (@jhprinz, any ideas on how to improve this? Nearly all of that time is in saving snapshots. This means that most of the overhead is in storage.)
About 27% of the time is spent doing moves. Path reversals and replica exchange are now very fast, each taking less than 1% of the total simulation time (for ~20-30% of the moves each). Selecting subtrajectories for the minus move takes 7% of the total simulation, which is much longer than it should -- but I see how to fix it, and that will write a PR to do that soon. The moves that do dynamics (shooting moves and extension part of the minus moves) take a total of 14% of the simulation time, although only 2% of the total simulation time is spend in the actual dynamics. The rest of that is the OPS overhead to monitor the can-append/can-prepend methods. I'm not sure what improvements can be made in there; it will take a more careful profiling analysis to figure that out. (Keep in mind that, for a 2D system, we expect overhead to be significantly more expensive than dynamics! The overhead cost should be roughly constant with system size; the dynamics cost will grow significantly.)
Again, the best change we could make here would be to speed up storage, specifically of snapshots.

Analysis performance
As a test, I ran the MSTIS example until it had ~100 shooting moves per ensemble (2100 total MC steps). I used the %%prun magic to analyze the total crossing probability calculation for one interface set, using the new TIS analysis framework. Note that this doesn't include the time spent loading the AnalysisStorage, which can be significant.
Before the analysis improvements in this PR, the generation of the histograms of the maximum value of the order parameter took about 32% of the total analysis time. Now it takes 6%. In both cases, the main cost in the TCP calculation is the WHAM procedure, although that will be independent of the total number of samples in the simulation. Now the second most expensive part is the steps_to_weighted_trajectories method, which is re-used by other parts of the analysis.
Overall, for this setup, the total crossing probability takes well under a second, so I don't think we need to worry about further optimizing it for a while. The main costs for the rate calculation are opening the AnalysisStorage and calculating the flux from the minus move.

This is just waiting on resolution of #721.

Remaining problems were fixed by #738. This is ready for review and merge!

Looks good to merge. I did not completely understand the use of _reset, but I assume that is something for testing and not intended to be used in normal production, right?


cave gold

For the gold, does it need to be in ore form or gold bars?

On Jun 21, 2015, at 10:49 AM, John Roper<EMAIL_ADDRESS>wrote:
Assigned #48 to @Ahenryb.
—
Reply to this email directly or view it on GitHub.

I was thinking that it should be like rocks of different sizes and (sort
of) shapes.
On Sun, Jun 21, 2015 at 1:06 PM, Ahenryb<EMAIL_ADDRESS>wrote:

For the gold, does it need to be in ore form or gold bars?

On Jun 21, 2015, at 10:49 AM, John Roper<EMAIL_ADDRESS>wrote:
Assigned #48 to @Ahenryb.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/starlightgraphics/STORY/issues/48#issuecomment-113930836
.

--
John roper
President and CEO of Starlight Graphics Studio
Boston, MA USA
http://starlightgraphics.tuxfamily.org


Combined PR

✅ This PR was created by the Combine PRs action by combining the following PRs:
#244 Bump prettier-plugin-tailwindcss from 0.1.13 to 0.2.0
#243 Bump @tanstack/react-query from 4.16.1 to 4.18.0

Tested on the preview 👍


Teams Crashes on iOS 12 Beta

I was signed into Teams before installing they beta, and afterwards I was able to still receive push notifications, but when opening the app, it would crash after about 1 second.
I then deleted and reinstalled Teams, and it did not crash on open, but it did crash as soon as I signed in.
iOS 12 is obviously new and high-risk for bugs with apps, but I wanted to at least call attention to this one.

I have noticed the same behavior with iOS 12

@mattbell89 and @gknowd - product teams and support are tracking this now. Thank you for reporting! Here is a related PR: https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/pull/420 regarding beta.


bump minor version after upgrading graphql peer-dependency

Looks like you've already updated package.json to have a peer dependency on the latest version of<EMAIL_ADDRESS>Can you please do a 0.3.7 release so consumers can run the latest version of the graphql lib while satisfying your peer-dependency?

Yes. See https://github.com/graphql/graphql-relay-js/pull/75

Release is now up.

Thanks, @wincent.


[IOTDB-775] Add SQL of creating snapshot manually

Add SQL for users to create snapshot manually.
Grammar: create snapshot for schema

@HTHou Thanks for your review and approval during festival > <


Generate more meaningful example descriptions

Before all examples used the same generic meta data description. Now
we extract the first non headline sentence in an example and use it
as description, e.g.:
<meta name="description" content="How to display Ads in your AMP HTML files." />
Here is a list of generated descriptions for the current examples:
[00:52:44] Hello_World: AMP HTML is entirely built on existing web technologies.
[00:52:44] amp-accordion: amp-accordion is currently in experimental mode and needs to be manually enabled: check the box under CDN experiments.
[00:52:44] amp-ad: How to display Ads in your AMP HTML files.
[00:52:44] amp-anim: Embed animations (gif, webp) into your AMP HTML files.
[00:52:44] amp-audio: amp-audio replaces the HTML5 audio tag.
[00:52:44] amp-brightcove: The amp-brightcove component allows embedding a Brightcove Video Cloud or Perform player.
[00:52:44] amp-carousel: The amp-carousel component allows displaying multiple similar pieces of content along a horizontal axis.
[00:52:44] amp-dailymotion: Import the amp-dailymotion component.
[00:52:44] amp-facebook: The amp-facebook component allows embedding both posts and videos into AMP files.
[00:52:44] amp-iframe: Embed iframes into AMP files.
[00:52:44] amp-image-lightbox: The amp-image-lightbox component allows the user to expand an image to fill the viewport.
[00:52:44] amp-img: AMP HTML files don't support the normal HTML img tag.
[00:52:44] amp-instagram: Embed instagram posts into your AMP HTML files.
[00:52:44] amp-lightbox: The amp-lightbox component allows for a “lightbox” or similar experience - where upon user interaction a component expands to fill the viewport, until it is closed again by the user.
[00:52:44] amp-list: The amp-list component fetches dynamic content from a CORS JSON endpoint and renders it using a supplied template.
[00:52:44] amp-pinterest: Import the amp-pinterest component in the header.
[00:52:44] amp-soundcloud: Import the amp-soundcloud component.
[00:52:44] amp-twitter: Embed tweets into your AMP HTML files.
[00:52:44] amp-user-notification: Use amp-user-notification to display a dismissable notification to the user.
[00:52:44] amp-video: Embed videos into your AMP HTML files.
[00:52:44] amp-vimeo: Import the amp-vimeo component in the header.
[00:52:44] amp-vine: Import the amp-vine component in the header.
[00:52:44] amp-youtube: Embed YouTube videos into your AMP HTML files.
[00:52:44] Image_Galleries_with_amp-carousel: The amp-carousel component works great for image galleries.
[00:52:44] amp-user-notification_with_server_endpoint: Use amp-user-notification to display a dismissable notification to the user.

@juliantoledo @kul3r4 PTAL

LGTM.


Release 1.1.1

This will create a new 1.1.1 release.
The "Export All Private Keys" and "Pastel ID" sections are hidden from the wallet because:

Export All Private Keys is not currently working
Pastel ID is not currently completed

Release should not be merged into master


[windows] High RSS Usage

I've noticed that Flutter Windows has significant memory usage. Started investigation when I noticed my flutter app using 4.2 gigabytes in process manager.
DevTools snapshot at start:

And in a few minutes:

Details
No specific steps to reproduce, just a case worth reporting, I guess. That is hapenning in my (poorly written) app, if that might help to check what's wrong: https://github.com/Jamminroot/multistack_launcher (not expecting you guys to review it or debug :D )
Target Platform: Windows
Target OS version/browser: 21H1
Devices: PC
Logs

Logs
C:\DEV\multistack_launcher>flutter analyze
Analyzing multistack_launcher...
No issues found! (ran in 1.6s)

C:\DEV\multistack_launcher>flutter doctor -v
[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.19043.1237], locale en-US)
    • Flutter version 2.5.0 at C:\Tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (2 weeks ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\jamminroot\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31424.327
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.3
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7727

[√] VS Code (version 1.60.1)
    • VS Code at C:\Users\jamminroot\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1237]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 93.0.4577.82
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 93.0.961.52

! Doctor found issues in 1 category.

Hi @Jamminroot
I just tired your profile on the latest stable on Windows in debugging and profile modes for 30min+ on each mode
I see around 200MB in debug mode and 150MB in profile mode, the app never reached more 210MB (debug mode is supposed to consume more memory anyway)

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.22000.194], locale en-US)
    • Flutter version 2.5.1 at C:\Users\Taha\Code\flutter_stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (6 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31702.278
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.60.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.194]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 94.0.4606.54
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 93.0.961.47

• No issues found!

Which mode are you running in? Also, can you please try Stable `2.5.1
Thank you

Thanks for quick response. I thought about memory consumption in my case, and I think that the issue might be related to scheduled (timer) updates which run some async jobs.
The process might be sped up with a git repo added to the list and forcing updates consequently multiple times (in my case it's Persistence.updateProjectsGitStatus()).
As for the Stable 2.5.1, I'll assemble new build and report back.

Similar result.
I've put a button which forces timer update ahead of time, and clicked it several times. That's the result for ~2-3 minutes

So I've made a sample app (basically, a draft app offered by IDEA IDE with an example usage from http package assigned to FAB), and I'm getting similar results upon clicking the button:

That is the result of profiling code below. What it does is it running a request every 3 seconds with doRequest():
import 'dart:async';
import 'dart:convert' as convert;

import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

late Timer _timer = Timer.periodic(const Duration(seconds: 3), _timerHandler);

void resetTimer() {
  _timer.cancel();
  _timer = Timer.periodic(const Duration(seconds: 3), _timerHandler);
}

void doRequest() async {
  var url = Uri.https('www.googleapis.com', '/books/v1/volumes', {'q': '{http}'});

  var response = await http.get(url);
  if (response.statusCode == 200) {
    var jsonResponse = convert.jsonDecode(response.body) as Map<String, dynamic>;
    var itemCount = jsonResponse['totalItems'];
    print('Number of books about http: $itemCount.');
  } else {
    print('Request failed with status: ${response.statusCode}.');
  }
}

void _timerHandler(Timer timer) {
  timer.cancel();
  resetTimer();
  doRequest();
}

void main() {
  resetTimer();
  runApp(const MyApp());
}

abstract class TimerOps {}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Text(
          'Test',
          style: Theme.of(context).textTheme.headline4,
        ),
      ),
      floatingActionButton: const FloatingActionButton(
        onPressed: resetTimer,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

Another run:

Hi @Jamminroot
Thanks for filing the issue
Reproducible code sample

complete minimal runnable code sample
import 'dart:async';
import 'dart:convert' as convert;

import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

void doRequest() async {
  var url = Uri.https('www.googleapis.com', '/books/v1/volumes', {'q': '{http}'});

  var response = await http.get(url);
  if (response.statusCode == 200) {
    var jsonResponse = convert.jsonDecode(response.body) as Map<String, dynamic>;
    var itemCount = jsonResponse['totalItems'];
    print('Number of books about http: $itemCount.');
  } else {
    print('Request failed with status: ${response.statusCode}.');
  }
}

void _timerHandler(Timer timer) {
  doRequest();
}

void main() {
  var timer = Timer.periodic(const Duration(seconds: 3), _timerHandler);
  runApp(const MyApp());
}

abstract class TimerOps {}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Text(
          'Test',
          style: Theme.of(context).textTheme.headline4,
        ),
      ),
      floatingActionButton: const FloatingActionButton(
        onPressed: doRequest,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

stable
master

❗
❗

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.22000.194], locale en-US)
    • Flutter version 2.5.1 at C:\Users\Taha\Code\flutter_stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (10 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31702.278
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.60.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.194]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 94.0.4606.61
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 93.0.961.47

• No issues found!

[✓] Flutter (Channel master, 2.6.0-12.0.pre.98, on Microsoft Windows [Version 10.0.22000.194], locale en-US)
    • Flutter version 2.6.0-12.0.pre.98 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 48e6758fb5 (8 hours ago), 2021-09-26 21:28:03 -0400
    • Engine revision 65ad5a4836
    • Dart version 2.15.0 (build 2.15.0-150.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31702.278
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.60.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[✓] Connected device (4 available)
    • Windows (desktop)       • windows • windows-x64     • Microsoft Windows [Version 10.0.22000.194]
    • Windows (UWP) (desktop) • winuwp  • windows-uwp-x64 •
    • Chrome (web)            • chrome  • web-javascript  • Google Chrome 94.0.4606.61
    • Edge (web)              • edge    • web-javascript  • Microsoft Edge 93.0.961.47

• No issues found!

✅: No Issue ❗: Issue reproduced
Thanks for filing the issue

Glad to help

Can you confirm what mode you're seeing this in? (debug mode, release, profile)?

@gspencergoog
Debug (stays around 220MB)

Profile (Goes as high as 500MB when letting the app runs for 10-15min)

Release mode doesn't show devtools, I think this WAD

Initial catch (~4,2gb) was noticed out on --release builkd:
flutter build windows --release

Hey guys, any update on this problem? Or is it still not triaged\prioritized? Wondering because not just this is a concerning problem for anyone who actually develops desktop application with Flutter, but also a major fun killer - knowing that your app will end up draining quite a lot of RAM is really discouraging

Any news on this?.. The problem is still there :(

As a someone evaluating whether or not to use Flutter for an upcoming multi-platform project, I have to say I'm disappointed to see no action on this and (potentially) other such memory leak issues. He asked for an update about six months ago and to date hasn't had any replies.
Look, I get it, you've got bigger fish to fry and higher priorities. This isn't intended as hostile in any way at all folks (far from it!). But I gotta say...I like what Flutter can promise, but if this is the best I can expect from delivery, hell, I might as well roll with Electron.

Hello, I tried to investigate this.
Only when I run that example with the profile mode, and after I open the DevTools, it seems that the http's Response remains in memory and isn't cleared by GC (ran from DevTools).
Otherwise, the GC seems to cleanup the responses correctly, even if it is built with debug mode and after I opened the DevTools.

flutter doctor -v
[√] Flutter (Channel master, 3.1.0-0.0.pre.666, on Microsoft Windows [Version 10.0.19044.1706], locale ja-JP)
    • Flutter version 3.1.0-0.0.pre.666 at C:\Users\moko256\softwares\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 496049263e (7 days ago), 2022-05-11 23:14:11 -0700
    • Engine revision b8ca6a5e0e
    • Dart version 2.18.0 (build 2.18.0-106.0.dev)
    • DevTools version 2.13.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\moko256\AppData\Local\Android\sdk
    • Platform android-32, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31424.327
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code, 64-bit edition (version 1.65.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.24.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1706]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 101.0.4951.67
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 100.0.1185.29

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Example which I minimized
I tried to minimize the example. (Please run both on same machine if you try this.)
App:
import 'package:flutter/material.dart';
import 'package:http/http.dart';

void doRequest() async {
  await get(Uri.http("localhost:8000", "/"));
  print("GET");
}

void main() {
  runApp(
    MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: Scaffold(
        appBar: AppBar(),
        body: const Center(
          child: OutlinedButton(onPressed: doRequest, child: Text("GET")),
        ),
      ),
    ),
  );
}

Server:
# python
import http.server

msg = "".join(['a' for i in range(10000000)])

class GetHandler(http.server.BaseHTTPRequestHandler):
    def do_GET(self):
        self.send_response(200)
        self.end_headers()
        self.wfile.write(bytearray(msg, "UTF-8"))
        self.wfile.flush()
        return

def server_start():
    http.server.ThreadingHTTPServer.allow_reuse_address = True
    handler = GetHandler
    with http.server.ThreadingHTTPServer(("localhost", 8000), handler) as srv:
        print("start")
        srv.serve_forever()

server_start()

It seems that this doesn't affect the release build. I keep this opened to fix the leak on the submitted example, but if you find another memory issues in master channel, please open new issue.

I'll re-check the problem again on the latest stable version of the flutter, and come back with results - did not really follow this problem last few months

Sorry for a delay - coming back after checking again, and it seems the issue was actually resolved somewhere between the version I originally found this on (2.5.0 with dart 2.14.0) and the one I tested just now (2.10.4 with dart 216.2).
For anyone interested, other variables which might've afftected the outcome are:

http version (not sure what was the original one, but the one I had successfull (no overuse) run is 0.13.4)
Windows version 10 21H1 (not exactly sure of the build) -> 11 22H2 (22621.11) - but here I'd expect the result only to become worse lol.

I'm closing the issue


Form values are undefined in react virtualized example

The form values are undefined on submit of the form. All inputs are populated with correct values but value is only received if any of the fields are changed.
https://react-hook-form.com/advanced-usage#Workingwithvirtualizedlists
official sandbox url given in that page -> https://codesandbox.io/s/react-hook-form-with-react-window-forked-3j3mq?file=/src/index.js
a

@bluebill1049 so you have changed the example used ?
the example says "Rather than register fields, we use getValues and setValue."
i dont see getValues () or setValue() used any where in the new example.

@bluebill1049 so you have changed the example used ?
the example says "Rather than register fields, we use getValues and setValue."
i dont see getValues () or setValue() used any where in the new example.

It's no longer the case for v7. I will update the description as well.


Synonyms of species during standardisation

Summary of changes (Bug fix, feature, docs update, ...)
Added call to synonyms in read_file() function of all data_type classes.

Please check if the PR fulfills these requirements

[x] Closes #969 #1003 (Replace xxxx with the Github issue number),
[x] Tests added and passed if fixing a bug or adding a new feature
[x] All code checks passing - black --line-length 110 run over code, mypy and flake8 not showing any errors
[x] Added an entry in the latest CHANGELOG.md file if fixing a bug or adding a new feature
[x] Added any new requirements to requirements.txt and recipes/meta.yaml

Not required: - [ ] Documentation and tutorials updated/added

Hi Prasad, thanks for adding the test to check that "inert" is standardised correctly but the test I was actually mentioned:

Would be useful to add a test for the known fail case mentioned in the original issue https://github.com/openghg/openghg/issues/969 specifically for the search interface for a gas like "hfo-1234zee" (i.e. species name with a "-" in it).

Basically adding a check for a footprint file which has "hfo-1234zee" as a species to make sure this can be standardised and retrieved as this was raised in the original issue.

Hi Prasad, thanks for adding the test to check that "inert" is standardised correctly but the test I actually mentioned was:

Would be useful to add a test for the known fail case mentioned in the original issue #969 specifically for the search interface for a gas like "hfo-1234zee" (i.e. species name with a "-" in it).

Basically adding a check for a footprint file which has "hfo-1234zee" as a species to make sure this can be standardised and retrieved as this was raised in the original issue.

Hi Prasad, thanks for adding the test to check that "inert" is standardised correctly but the test I actually mentioned was:

Would be useful to add a test for the known fail case mentioned in the original issue #969 specifically for the search interface for a gas like "hfo-1234zee" (i.e. species name with a "-" in it).

Basically adding a check for a footprint file which has "hfo-1234zee" as a species to make sure this can be standardised and retrieved as this was raised in the original issue.

Oh apologies from myside. Will quickly compress a file and add test for it. This will also take care of the bug.

Hi Prasad, thanks for adding the test to check that "inert" is standardised correctly but the test I actually mentioned was:

Would be useful to add a test for the known fail case mentioned in the original issue #969 specifically for the search interface for a gas like "hfo-1234zee" (i.e. species name with a "-" in it).

Basically adding a check for a footprint file which has "hfo-1234zee" as a species to make sure this can be standardised and retrieved as this was raised in the original issue.

Added the test which standardises the file and also retrieves with expected synonym name. Also checks for data_type as the search operation is only performed using species name(extra validation).


Question about post-process

The format of the output result is [b,num_queries,classes], so each query is a tensor with a shape of [classes].
So why flatten many queries to find the maximum 100 values. This will cause a query to predict multiple boxes, that is, topk_boxes（second graph） will have duplicate values. What is the reason for this?

I am also stuck here.

同样的疑问

同样的疑问，请问您现在有明白为什么要这么做吗


mapTypeId: map.MapTypeId.ROADMAP does not work when loading async

Now you can use type: 'ROADMAP'


Broken link

In section "Detailed Diagnostic logging" there is a broken markdown link
[Sample Kusto queries]((monitor-analysis-services.md#sample-kusto-queries).

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

ID: a48d2c19-151e-3845-7f1a-ba1725738a62
Version Independent ID: 608dca2a-3a1b-3ddd-cc28-969f84730b58
Content: Azure Analysis Services scale-out
Content Source: articles/analysis-services/analysis-services-scale-out.md
Service: analysis-services
GitHub Login: @kfollis
Microsoft Alias: kfollis

@&

@kthejoker
Thanks for your feedback! We will investigate and update as appropriate.

@kthejoker - thank you for brining that to our attention! Great eye for detail. I have fixed the markdown and the link should now work properly when publishing is refreshed today.
#please-close


feat(deck): add tdpfix for cards that has 15W TDP on boot due to writable sysfs on boot

We do not know what causes a super small subset of GPUs to boot with sysfs writable on the deck images, but this will at least set the permissions back to 644 and reset the TDP at boot if it was messed with by gamescope-session and steam.
DNM before d3Xt3r tests and verifies that this works in testing as they have a system affected by this issue

d3Xt3r confirmed the tdpfix works, currently we have only had this happen with amd cards when the amdgpu module has loaded.

How can i check, if i habe this fix already installed on my Device? This fix seems to be in Release 2.5.0 but i‘m not sure where i can see the release of bazzite that is installed.

How can i check, if i have this fix already installed on my Device? This fix seems to be in Release 2.5.0 but i‘m not sure where i can see the release of bazzite that is installed.

if rpm-ostree status say you are on bazzite:latest and version ends with a recent date then you are on 2.5.0
the bazzite "version" on github is irrelevant as soon as you have bazzite installed on the system.
you can also just check if you have /usr/libexec/bazzite-tdpfix.
you can check if it was triggered with journalctl -xe -t bazzite-tdpfix, the conditions to make it run are pretty  specific (but we can adjust them)
currently the condition is that the current TDP has to be 15W (as this is the bug), and the default TDP for the card has to be higher than 45W (this is to avoid "fixing" this for any handhelds or laptops)

The file /usr/libexec/bazziite-tdpfix exiists, it is not triggered.
When i first insalled bazzite, my Graphics card was not installed. I ran the installation and configuration with the onboard gpu. The Onboard Gpu is still active. i will try it again tomorrow after the onboard gpu ist disabled. As far as i know, i can disabled it in the bios.
Maybe the fix is not triggered, because the onboard GPU (a Raphael-Chip) needs a tdp of <45 watts.

The file /usr/libexec/bazziite-tdpfix exiists, it is not triggered.
When i first insalled bazzite, my Graphics card was not installed. I ran the installation and configuration with the onboard gpu. The Onboard Gpu is still active. i will try it again tomorrow after the onboard gpu ist disabled. As far as i know, i can disabled it in the bios. Maybe the fix is not triggered, because the onboard GPU (a Raphael-Chip) needs a tdp of <45 watts.

open an issue and we can work on it from there, instead of a closed PR, i already have some potential ideas to try

Okay, thanks.
See Issue #965

How can i check, if i have this fix already installed on my Device? This fix seems to be in Release 2.5.0 but i‘m not sure where i can see the release of bazzite that is installed.

if rpm-ostree status say you are on bazzite:latest and version ends with a recent date then you are on 2.5.0 the bazzite "version" on github is irrelevant as soon as you have bazzite installed on the system.
you can also just check if you have /usr/libexec/bazzite-tdpfix. you can check if it was triggered with journalctl -xe -t bazzite-tdpfix, the conditions to make it run are pretty specific (but we can adjust them)
currently the condition is that the current TDP has to be 15W (as this is the bug), and the default TDP for the card has to be higher than 45W (this is to avoid "fixing" this for any handhelds or laptops)

Hi i hope youre doing well, im running an rx 6600 with bazzite deck image on a modded steam deck, my tdp is locked at 15 watts, i check and the bazzite-tdpfix is being run but its giving out his error:
( stat: cannot statx '/sys/class/hwmon/hwmon3/power1_cap'$'\n''/sys/class/hwmon/hwmon4/power1_cap': No such file or directory )
even tho i checked and the file does exists in that directory, seems puzzling to me,
when i run this it gives me :
find /sys/class/hwmon/*/ -name "power1_cap"
/sys/class/hwmon/hwmon3/power1_cap
/sys/class/hwmon/hwmon4/power1_cap
idk if you need this but : rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb
Version: 40.20240621.0 (2024-06-21T05:13:33Z)
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb
Version: 40.20240621.0 (2024-06-21T05:13:33Z)

How can i check, if i have this fix already installed on my Device? This fix seems to be in Release 2.5.0 but i‘m not sure where i can see the release of bazzite that is installed.

if rpm-ostree status say you are on bazzite:latest and version ends with a recent date then you are on 2.5.0 the bazzite "version" on github is irrelevant as soon as you have bazzite installed on the system.
you can also just check if you have /usr/libexec/bazzite-tdpfix. you can check if it was triggered with journalctl -xe -t bazzite-tdpfix, the conditions to make it run are pretty specific (but we can adjust them)
currently the condition is that the current TDP has to be 15W (as this is the bug), and the default TDP for the card has to be higher than 45W (this is to avoid "fixing" this for any handhelds or laptops)

Hi i hope youre doing well, im running an rx 6600 with bazzite deck image on a modded steam deck, my tdp is locked at 15 watts, i check and the bazzite-tdpfix is being run but its giving out his error: ( stat: cannot statx '/sys/class/hwmon/hwmon3/power1_cap'$'\n''/sys/class/hwmon/hwmon4/power1_cap': No such file or directory ) even tho i checked and the file does exists in that directory, seems puzzling to me,
when i run this it gives me : find /sys/class/hwmon/*/ -name "power1_cap" /sys/class/hwmon/hwmon3/power1_cap /sys/class/hwmon/hwmon4/power1_cap
idk if you need this but : rpm-ostree status State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb Version: 40.20240621.0 (2024-06-21T05:13:33Z)
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb Version: 40.20240621.0 (2024-06-21T05:13:33Z)

hey, this PR should cover this scenario now :)
https://github.com/ublue-os/bazzite/pull/1279

How can i check, if i have this fix already installed on my Device? This fix seems to be in Release 2.5.0 but i‘m not sure where i can see the release of bazzite that is installed.

if rpm-ostree status say you are on bazzite:latest and version ends with a recent date then you are on 2.5.0 the bazzite "version" on github is irrelevant as soon as you have bazzite installed on the system.
you can also just check if you have /usr/libexec/bazzite-tdpfix. you can check if it was triggered with journalctl -xe -t bazzite-tdpfix, the conditions to make it run are pretty specific (but we can adjust them)
currently the condition is that the current TDP has to be 15W (as this is the bug), and the default TDP for the card has to be higher than 45W (this is to avoid "fixing" this for any handhelds or laptops)

Hi i hope youre doing well, im running an rx 6600 with bazzite deck image on a modded steam deck, my tdp is locked at 15 watts, i check and the bazzite-tdpfix is being run but its giving out his error: ( stat: cannot statx '/sys/class/hwmon/hwmon3/power1_cap'$'\n''/sys/class/hwmon/hwmon4/power1_cap': No such file or directory ) even tho i checked and the file does exists in that directory, seems puzzling to me,
when i run this it gives me : find /sys/class/hwmon/*/ -name "power1_cap" /sys/class/hwmon/hwmon3/power1_cap /sys/class/hwmon/hwmon4/power1_cap
idk if you need this but : rpm-ostree status State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb Version: 40.20240621.0 (2024-06-21T05:13:33Z)
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb Version: 40.20240621.0 (2024-06-21T05:13:33Z)

hey, this PR should cover this scenario now :) #1279

You son of Gun that was real quick !! Thank you, i'm so excited to try this out, it really is a happy day :)

How can i check, if i have this fix already installed on my Device? This fix seems to be in Release 2.5.0 but i‘m not sure where i can see the release of bazzite that is installed.

if rpm-ostree status say you are on bazzite:latest and version ends with a recent date then you are on 2.5.0 the bazzite "version" on github is irrelevant as soon as you have bazzite installed on the system.
you can also just check if you have /usr/libexec/bazzite-tdpfix. you can check if it was triggered with journalctl -xe -t bazzite-tdpfix, the conditions to make it run are pretty specific (but we can adjust them)
currently the condition is that the current TDP has to be 15W (as this is the bug), and the default TDP for the card has to be higher than 45W (this is to avoid "fixing" this for any handhelds or laptops)

Hi i hope youre doing well, im running an rx 6600 with bazzite deck image on a modded steam deck, my tdp is locked at 15 watts, i check and the bazzite-tdpfix is being run but its giving out his error: ( stat: cannot statx '/sys/class/hwmon/hwmon3/power1_cap'$'\n''/sys/class/hwmon/hwmon4/power1_cap': No such file or directory ) even tho i checked and the file does exists in that directory, seems puzzling to me,
when i run this it gives me : find /sys/class/hwmon/*/ -name "power1_cap" /sys/class/hwmon/hwmon3/power1_cap /sys/class/hwmon/hwmon4/power1_cap
idk if you need this but : rpm-ostree status State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb Version: 40.20240621.0 (2024-06-21T05:13:33Z)
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:b5b9747ef6b7608fcca8b9813d95509b2ae9235a1ba37a1fb49ef175c46e86bb Version: 40.20240621.0 (2024-06-21T05:13:33Z)

hey, this PR should cover this scenario now :) #1279

You son of Gun that was real quick !! Thank you, i'm so excited to try this out, it really is a happy day :)
edit: does this fix also apply to bazzite deck?

the tdpfix script is only in the deck image (and other handheld images based on deck) as it fixes a problem that only happened on the deck image.
if the fix is needed on bazzite desktop i can easily move it there (its just that all the reports we have gotten has been from  deck images)


Object.keysToArray documentation

Object.keysToArray documentation. Why not just call this "keys"? Shorter and matches Javascript. I see a few places in the code with keysToArray - should change it everywhere. Map just uses keys and values.

Consolidated into https://github.com/rescript-association/rescript-core/pull/117


Fix focus switching when changing tabs in CupertinoTabScaffold

Fixes https://github.com/flutter/flutter/issues/12397


SRG CLI should validate if status is warning and stop based on the flag disable/enabled

Investigate if warning status is available as a SRG evaluation result and update the code to handle this scenario

Hi @drqc,
nice to meet you.
I'm using your cool tool to evaluate Dynatrace Guardians.
I was indeed struggling with 'Warning' evaluation status:
My CICD pipeline is not stopped if the evaluation result is warning in both cases:

with flag --stop-on-warning
with ENV variable SRG_EVALUATION_STOP_ON_WARNING

Did I catch your point or this open issue is related to something else?
I look forward to read your feedback about that.
Kind Regards,
Luigi

HI Luigi yes the warning issue is something that we are working on to be fix on the next release


Fix CLI after running alluxio-start.sh local

Follow PR to fix #9185.
Append "alluxio.master.hostname" to "conf/alluxio-site.properties" after "alluxio-start.sh local", so that alluxio CLI can also run

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4111/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4136/
Test FAILed.

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4138/
Test FAILed.

@calvinjia  PTAL

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4149/
Test FAILed.

@calvinjia Comments addressed. PTAL

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4220/
Test PASSed.

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.0 please.


Unified link for CoCo RFC documents

Provide a unified link like `https://github.com/confidential-containers/rfc/ for users to download and viewing CoCo specific data format like:
initdata format
kata-agent policy format
container image policy
runtime attestation format
sealed secrets format
image encryption format

@Xynnn007 @fitzthum @mkulke

Provide a unified link like `https://github.com/confidential-containers/rfc/

On a related note, there's a need for a documented (a KEP-like) process for getting new enhancements tracked starting from the original RFC into a release with test cases implemented.

Hm we could make a new repo for this although note that links to documents within that repo wouldn't be entirely clean. We could also potentially use the website.


Alert shows up wring in rtl layout in android

🐛 Bug Report
When using Alert.alert on android in when using rtl (Right to Left) language the text alignment is wrong. instead to show it from right to left it shows it from left to right (like in English or other ltr languages)

To Reproduce
use android emulator, switch to rtl language and use Alert to show content.
Expected Behavior
when using Alert in rtl mode id like to see the text alignment in Alert starting from right to left.
Code Example
I18Manager.forceRtl(true)
Alert.alert("בדיקה", "בדיקה 1 2")

Environment
System:
OS: macOS 10.14.4
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 32.98 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.14.0 - /usr/local/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.3, 28.0.3
System Images: android-26 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5<IP_ADDRESS>64788
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.2 => 0.59.2
npmGlobalPackages:
react-native-cli: 2.0.1

Can you run react-native info and edit your issue to include these results under the Environment section?
If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] alongside an explanation in your Environment: section.

it was before as well, but in code mode, so now its plain text


Change the down to top button

Pull Request
Description
Please include a summary of the changes and the related issue.
Closes #
Type of change

[x] Adding a new Resource
[x] Adding a new Category
[x] Documentation enhancement or fixes
[x] Website enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Screenshots (if appropriate):
Please add screenshots to help explain your changes.
Additional

I was just looking your website
It was great but when i clicked the dark theme
the down to up button was not showing so i changed the color of the button

You raised a PR wiithout you getting assiged to it. One rule in GSSOC is 'First Come, First Served' and someone already raised this issue before you so I will close this PR for now, sorry


BLOB field value is truncated to 32kb

Hi there!
I'm using go-ora as driver for native database/sql package. Everything works fine, but I've ran into a problem while selecting BLOB's value from arbitrary table: I'm getting only first 32 kilobytes (exactly 32768 bytes) from BLOB's field value.
Here is my code example:
package main

import (
	"database/sql"
	"fmt"
	"log"
	"os"
	"time"

	_ "github.com/sijms/go-ora/v2"
)

func main() {
	conn, _ := sql.Open("oracle", "oracle://xxx:yyy@<IP_ADDRESS>:1521/zzz")
	conn.SetMaxOpenConns(32)
	conn.SetMaxIdleConns(32)
	conn.SetConnMaxIdleTime(time.Minute)

	query := "select pos, filename, mimetype, filesize, filecontents from attachments"
	sqlResult, err := conn.Query(query)
	if err != nil {
		log.Fatal(err.Error())
	}
	defer func(sqlResult *sql.Rows) {
		err := sqlResult.Close()
		if err != nil {
			return
		}
	}(sqlResult)

	type attachment struct {
		pos          int    `db:"type=number,name=POS"`
		filename     string `db:"type=varchar,name=FILENAME"`
		mimetype     string `db:"type=varchar,name=MIMETYPE"`
		filesize     int    `db:"type=number,name=FILESIZE"`
		filecontents []byte `db:"type=blob,name=FILECONTENTS"`
	}

	data := &attachment{}

	for sqlResult.Next() {
		if err := sqlResult.Scan(
			&data.pos,
			&data.filename,
			&data.mimetype,
			&data.filesize,
			&data.filecontents,
		); err != nil {
			fmt.Println(err.Error())
		}

		fmt.Println(data.pos, data.filename, data.mimetype, data.filesize, len(data.filecontents))
	}

	os.Exit(1)
}

Output:
1 test1.png image/jpeg 52988 32768
2 test2.png image/jpeg 52988 32768
3 text3.png image/png<PHONE_NUMBER>8

As we can see, value of the BLOB field is truncated exactly to 32768 bytes (4th value is an actual value size, 5th value is a length of BLOB field).
I did some research and find out that in case of selecting BLOB data as described in examples/clob/main.go (functions
readWithOutputParameters or readWithOutputParameters2) all works as planned.
It's a pity, but I can't use go_ora.NewConnection, because it doesn't make connection pool, which sql.Open does.
So, what should I do to solve the issue?

if BLOB size is truncate to 32 KB this means that it read as a RAW value which has max size of 32 KB so BLOB should read as
blob
i will investigate the issue

I test the code
would you please test again with url option lob fetch=post

Change of URL to conn, _ := sql.Open("oracle", "oracle://xxx:yyy@<IP_ADDRESS>:1521/zzz?lob fetch=post") did a trick!
No it works as supposed to be:
1 test1.jpg image/jpeg 52988 52988
2 test2.jpg image/jpeg 52988 52988
3 text3.png image/png<PHONE_NUMBER>56

Thanks a lot :)


the code doesn't work

Challenge Make Dead Links using the Hash Symbol has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

In the future, please post on the one of these channels Help Gitter channels first. If the consensus there is that it is a bug, then you should post here.

@ananaymital Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


A dialog to enter these meta descriptions to components and symbol browser window to be floating

Hi @designcraveyard,
Thank you for reaching out.
Coming soon

The Floating (always open) window is coming soon.
Tabs for the active library (Quick navigation across libraries)

Will pick up next

Form-based Meta description generation.

Hi @designcraveyard. I have added this feature with the v3.5.2 release. Please check it out here:  http://symbol-browser.pratikshah.website/


event DataReceived run after get (enter) char at end

hi.
how can i config server to raised DataReceived event when data has (enter) at the end of strings data?
my client is andrid and data change to base64 string .
thanks

Hi @mzelecom you can't.  SimpleTcp will simply read from the socket and fire the event with whatever it gets.  There is no message framing.
You are welcome to modify the DataReceiver method in the client/server to examine the data it's read and fire the event when it suits your needs.


Cyrillic problem (Cannot create a user with an empty login name)

Error message “An error occurred while creating a new user! Cannot create a user with an empty login name” appears every time when user with Cyrillic first name and last name is trying to register via Facebook, Google, Odnoklassniki. Any advice appreciated.

Resolved. I installed plugin “Allow Cyrillic Usernames”. But it did not allow to create users with more than  8 Cyrillic characters. So in database I modified "user_nicename" in table "wp_users": varchar(50) replaced by varchar(200).


Require a specific cert CN from peer client certificate

When turning on Kubernetes TLS bootstrapping, we'd like to generate dynamic peer client certs for etcd members, but only want to maintain a single CA per cluster (the CSR API doesn't handle multiple CAs well). We're going to be granting client certificates to other things in the system (the API server, kubelet, etc) and don't want them to be able to talk to the etcd peer API.
We can already restrict the client API using the certificate CN, we'd like to be able to do the same thing for the peer API. Something like this:
--peer-cert-allowed-cn="etcd-member"

which would require the client certs to have that exact CN.
Alternatives might be something more dynamic, such as having each etcd peer have a different CN. But since the etcd members use the peer API to join the cluster, it's unclear how we would update that list. Would you use the client API?
You also can't specify an etcd member's name beforehand (this is an intentional choice) so schemes like etcd-member:(member name) won't work either.
cc @luxas I think we hit a similar issue to you.
cc @heyitsanthony

Very interested in how this turns out... playing with different alternative implementations right now...
Would be great to make etcd clustering easier/more dynamic

Alternatives might be something more dynamic, such as having each etcd peer have a different CN.

Would IP/DNS SAN be enough to bind the cert to a peer? Certs can be banned via CRLs and the certs could expire within some reasonable timeframe to keep the CRL from growing indefinitely.
The basic user-tunable peer CN flag would be very easy add to etcd.

Would IP/DNS SAN be enough to bind the cert to a peer? Certs can be banned via CRLs and the certs could expire within some reasonable timeframe to keep the CRL from growing indefinitely.

IP/DNS SAN values don't have much value in client certs, do they? Are you suggesting something like the client having to have send traffic through an originating IP that its client cert is signed for?
I feel like the CRLs point is a different feature. Even if we don't add an auth-Z mechanism to the peer API, we could still talk about credential revocation through CRLs.

@ericchiang etcd peer listeners already check CRLs and SAN values for incoming connections when given. I'd like to avoid having an additional authentication mechanism if everything can already be done via certs...

Is there a way to require a SANs value? That might be enough. Let me see if there's some platform agnostic way to get the expected IP of the etcd node in our setup.

@ericchiang yes.

I would also like to have this ability. Being able to use the same CA for client and peer certs while requiring peer certificates to match exactly or using regex would make deployment and management easier.

This should be covered by https://github.com/coreos/etcd/pull/8616.

@ericchiang Happy with the implementation?

@luxas yep. This works for me.


[1.0.3] Do not resolve hash-only urls used for routing

I think the error #651 that was fixed in 0.5 is back in 1.0.
I have an my-element.html that defines:

but in the browser it's converted to my-element.html#del.

I wonder if it's the case of avoiding resolution for urls starting with / too, like we had in 0.5:
https://github.com/Polymer/polymer/blob/c7169640c567fb9bc709207ecbd9f747f8df48d5/src/lib/url.js#L99-L101


Feature Flag Management with LaunchDarkly and Azure DevOps

I don't see how the steps to apply changes to integrate LaunchDarkly fit within the solution.
https://azuredevopslabs.com/labs/vstsextend/launchdarkly/
For Exercise 2 Step 10 there is no _Layout.chtm file to edit - closest I can find it _Layout.cshtml but there is no reference to replace any items as the line numbers do not match and the @await line code does not exist?

Hi @DanEvansBI ,
Could you please check if the checked out branch is launch-darkly or not?
Thanks


Add zero-shot box to leaderboard

Add a zero-shot box to the leaderboard. This also required adding annotations to models on whether they are zero-shot or not.
This also requires adding a default to benchmark whether zero-shot should be the default.

This is a duplicate of #1372 I'm closing it