Add Graphql Failure Logic

On the client, if graphql request fails such as invalid access token, we need to intercept and start oauth again

Added https://github.com/apollographql/apollo-link which will let us detect errors and surface them and take appropriate action such as redirect for new auth tokens.


Missing language in the list from overflow

CUDA
FORTRAN
Markup languages (html, markdown, ...)

Unix Shell Scripting

done


Knative integration

Not sure if it makes sense to do this in a PR, but here's the Knative integration. It depends on my Knative branch here:
https://github.com/jroper/knative-serving/tree/serving-deployer
Along with an Istio master branch build (from about the 19th of May onwards, it needs to include the outbound port exclusions PR that I made).
Everything essentially works, but a lot more testing is needed. You can deploy a Knative function with an EventSourced deployer configured, and then Knative won't do the deployment, instead, this operator will do the deployment. The Akka sidecar, instead of the Knative serving queue proxy, will be used. The Akka sidecar reports metrics on concurrent requests to prometheus, and then the pod autoscaler picks these metrics up, scaling up/down as appropriate. I haven't had an opportunity yet to set anything up that will actually actually generate enough load to see it scale up to more than 1 replica, but instead I've multiplied the reported concurrency so that the autoscaler kicks in at much lower loads than configured, and it seems to work as expected.

Wow—massive PR, @jroper!
When ready to merge go ahead and merge!


Outdated ex

Outdated examples rewrite.
Point to any example/test I may have missed.
IN PROGRESS.
EDIT: next ones:

gradient_example=> Is how it should be from my understanding.
TTI the way acoustic is done => DONE
tti_example (2D and 3D) => DONE
tests fix => Mostly done

@navjotk I still don't really get the point of gradient_example specially considering that with the new interface, it makes it quite messy to enroll everything.

@FabioLuporini I need you to lokk at test_tti_clusters_to_graph() as I am not sure how to rewrite it with the new interface.

All seems good, only Travis fail is in test_dse/test_tti_clusters_to_graph
 DSEException: Found redundant node in the TemporariesGraph.
@FabioLuporini any ideas what that is?

I'll take a look later, thanks
Can you meanwhile rebase this on top of master ?

Can you meanwhile rebase this on top of master ?

Waiting for #253 to land

@mloubout How old is the EDIT in the comment above? do  you still see the DSE failure?

EDIT is from earlier today. The DSE failure was still there at "waiting for 253"
I'll rebase on master once #253 is in and let you know.

@mlange05 thoughts?

In tti/operators.py it's clear how the operator definition requires different syntax for 2D and 3D (is 3D a generalization of 2D or are there some non-trivial subtleties that I'm neglecting?)
Anyway, I wonder whether it's better to have two subfolders 2D and 3D under tti with the relevant files in there. I think this would be helpful for new users going through the examples

is 3D a generalization of 2D or are there some non-trivial subtleties that I'm neglecting?)

Well 3D has one extra physical parameter (phi) so the PDE solved is not really the same, that's why I separated it.

Also, do I get it right: for acoustic we only have 3D, while for TTI we have both 2D and 3D

yes because acoustic is the same equation/parameters not matter the number of dimensions.

I wonder whether it's better to have two subfolders 2D and 3D under tti
There is already quite some layers of subfolders so I would avoid it

@mlange05 I'm basically happy with this PR, can you take a look too? I'd like to merge this ASAP because it's "the last of the bulks of changes" that we needed after 3.0

Merged.


B #3373: pass VM template via STDIN

for tm/*/{pre,post,fail}migrate
Signed-off-by: Anton Todorov<EMAIL_ADDRESS>

Hello @atodorov-storpool
I modified it so the action scripts (tm/*/{pre,post,fail}migrate) receives VM template on stdin.
Do you think you can test it?
https://github.com/OpenNebula/one/commit/690dfb09f4398c14f010bf2cc9cb1c54c1925c55
thanks

Hi @xorel,
I think that the template should be stored in a temporary file that should be red by xpath_rb
Please take a look at https://github.com/OpenNebula/addon-storpool/blob/master/tm/storpool/premigrate#L47
And the patched xpath.rb :
https://github.com/OpenNebula/addon-storpool/blob/master/datastore/xpath-sp.rb
(the patch is not perfect, it just works for me :D )

I don't think it's necessary. The error (Argument list too long) is only hit when the parameter is passed as a positional argument but still could be stored in a variable and passed through a pipe via stdin like here:
https://github.com/OpenNebula/one/commit/690dfb09f4398c14f010bf2cc9cb1c54c1925c55#diff-606e289f74e14c1c2e1c35de93119c31R127

Fair enough :)
Can't spot other issues

Created https://github.com/OpenNebula/one/pull/3583 instead


Tweak SceneTree Documentation

Introduction
Continuation of #67072, #67100, #67208, #67718,... #67880 and #68560...
Here a big list of changes. Someone reading this may take it as a future point of reference. Not just that, but some information deemed important by the maintainers could have been lost during the rewrite. Criticism is encouraged.
Do note that some exceptions or unexplained changes may be present all around. These are typically done to improve the flow of the sentence.
General

Made the wording match how other classes are documented a lot more closely.

Made use of [param] and several other strong references more often.

Stripped awkward, needlessly long sentences.

Changed words where it felt necessary, where they could be mistaken for another concept of Godot's API, where technical terms are more appropriate. For example:

"whenever" -> "when";
"group members"/"members of group" -> "nodes added to".

Saying "members" can make it seem like a new concept or "mechanic" is being introduced, but it really is something exclusive between Node and SceneTree, so it is very worth being specific here.

Replaced several self-links to this class ([SceneTree]) with "tree".

The consensus is that self-links within the same class end up making descriptions much less readable, when the subject is "this current object". From RocketChat:

KoBeWi: It's used, but not consistently. Probably better to not overuse it.

Me: Like, it works and may be nice for methods like get_node_and_resource() because there, you have to explain the return value accurately. So you do not say "the node" or "a node", you say [Node] because you refer to a Node class object, and in those cases it makes it a lot clearer.

YuriSizov: I agree that sometimes this gets obnoxious and that we shouldn’t use it when talking about specific instances of a class [...] this looks a bit misleading, as if [Tween] is a singleton of sorts.

Methods

create_timer
...
    Made parameter descriptions match the rest of the documentation.
Merged footnote into the first paragraph.

get_frame
"Returns the current frame number [...]"
Thank you...?

get_nodes_in_group
"Returns a list of all nodes assigned to the given group."
So all of them? Every single one in the whole engine?

has_group
"Returns true if the given group exists."
This is closer to how it works internally. Saying it like this is incredibly vague. You cannot even fetch all groups present in the SceneTree.

Properties

paused
"_process, _physics_process and _input will not be called anymore in nodes."
Not quite. This is not accounting for all of the various Node.process_modes available.

root

Expanded description considerably.
        Added crash warning.

Signals

tree_process_mode_changed
Made consistent with other signal descriptions.

Constants

GROUP_CALL_DEFAULTGROUP_CALL_REVERSEGROUP_CALL_DEFERREDGROUP_CALL_UNIQUE
"Call a group"
Groups are not objects and cannot be called. Let's not muddy the waters.

Feedback is very, very welcome.

@RedMser Check revisions of the issues above if you'd like.

Noticed a few mistakes, feeling like more can be done about them in the upcoming days.

Rebased.

Rebased (again)...!

Rebased. I'm quite content with this.

Rebased after further tweaks to the documentation had been made.

Pushed changes for the C# suggestions above. Thank you for the additional attention to this PR.

Shockingly there's no conflicts. Are we okay to have this for 4.3?

Gonna go through a second pass through history myself to see if any information was lost accidentally.

Pheeeuw. There are several commits such as:

e5f2c442c7bebed100e4fb305deefb31af0c94ce
bddf24645d127cbdda13a42598f2a2d31b9b2335
4354cd8d41e044fba2dc5b63324388e01a786049
a5fe392b7812f62309e228959e8b7ea8c93013d8
ab01dc5a480c52be8a61c1cc802fffa83eb590d9...

that added new documentation and I'm not particularly fond of the way they are worded. I would tweak it more, but no more delaying this PR.
With that said, yes. 0ce0c11b9e999b0307d3d8b5af3999b9afdd8dd9 was "lost". For SceneTree's has_group:

Returns [code]true[/code] if the given group exists.
A group exists if any [Node] in the tree belongs to it (see [method Node.add_to_group]). Groups without nodes are removed automatically.

Which my PR simply summarizes... I'd say a bit better without needing to spell it out too much? I can let people decide:

Returns [code]true[/code] if a node added to the given group [param name] exists in the tree.


Health explorer: update africa.textproto

Text for health topic page
I could not make charts for the Wasting section work. @jm-rivera can you let me know if they work on your env?

@caravansteve same issue with this pull request and indicators under the SDG group not showing properly.

See my comment in the other PR -- looks like an issue on the DC side.


extension invocation on ACTIVE state freezes on some plugins

It seems some plugins cause UI freezes and no further processing is performed e.g. "Start" > "Show Native UI" > freeze.
After the "freeze" it goes out of control; no note ons/offs are sent. No further extension calls are made.
Reproduced plugins:

aap-juce-adlplug-ae

aap-juce-obxd too, but it is rather due to #174. The thing is that we need further tweaks on projuce-app.sh.

It was most likely due to missing callback invocation, but to invoke the callback we need to pass requestId which is currently not doable within the API. We need to fix the API first.

It was not about missing callback, but due to missing MIDI output port that resulted in missing reply handling.
It is easy to fix this issue by adding MIDI output port, but it makes me wonder what we should do - maybe we should ALWAYS populate a MIDI port (actually both input and output), and treat manual port desgination as intent to process USER MIDI inputs and outputs.

The update ^ is implemented in aap-core, and thus aap-juce-adlplug-ae now works without further fix within itself.
Once we confirmed aap-juce-obxd works, this issue will be closed.

aap-juce-obxd, or any project that is based on Projucer, is effectively blocked by issue #174 and it is impractical to get this fixed right now. We go ahead without Projucer-based projects for now. Those projects that use Projucer are kind of outdated anyways.


How to open short position

May I check how do I open/close short position for coin with margin account, for example btc/usdt

Please refer to our documentation at https://www.kucoin.com/support/900002211683 , section Long and Short Strategies Explained


ref: MemoRelationListView.tsx

Simplified the arrow function in the map function by removing the curly braces and the return keyword, since it only has one expression.

Please fix the error from eslint check.


changed to v2

updated to 2.0 tests via conical data.

Hello there @luoken...thanks for the PR!
Would it be possible for you to take a look at why the CI build is failing?
Once you get those green, I can merge this in.

Closing as stale.


[BUG]无效的玩家数据(invalid player data)

Versions

EasyAuth 3.0.0-11
Fabric API 0.69.1

Describe the bug
当服务器版本从1.19.2升级到1.19.3时，已注册玩家无法进入游戏，会出现无效的玩家数据
When I update my server from 1.19.2 to 1.19.3,the player that had registered can't join the server,the error is invalid player data.
(如果可以，请使用中文回复)
To Reproduce
Steps to reproduce the behavior:
1.update the server to 1.19.3
2.delete other mods except EasyAuth and Fabric API
3. start the server
4. See error
Expected behavior
所有玩家都可以加入服务器
All players can join the server.
(如果可以，请使用中文回复)
Additional context
当我移除EasyAuth文件夹时错误消失，但玩家数据全部消失了
When I remove EasyAuth folder,the error disappered.but all player's data lost.

Can't reproduce it.
Can you send error from log?
And I don't think that data can be recovered.

the log had lost.
And sometimes the error will happen in 1.19.2
there is some screenshots:

the log had lost.
And sometimes the error will happen in 1.19.2
there is some screenshots:

you can try update the server and the easyauth mod(use fabric installer to overlay Installation) to reproduce the error.

you can try update the server and the easyauth mod(use fabric installer to overlay Installation) to reproduce the error.

I had fix this error. sorry for waste your time.


Don't add nil context. error check

Description
Changes proposed in this pull request.
Test plan
Outline the test plan used to test this change before merging it.

Fixes #.

Codecov Report

Merging #354 into master will decrease coverage by 0.16%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
- Coverage   59.53%   59.36%   -0.17%
==========================================
  Files          51       51
  Lines        5815     5833      +18
==========================================
+ Hits         3462     3463       +1
- Misses       2087     2104      +17
  Partials      266      266

Impacted Files
Coverage Δ

enforcer/datapath_tcp.go
64.95% <100%> (+0.06%)
:arrow_up:

enforcer/nflog_linux.go
7.5% <0%> (-2.03%)
:arrow_down:

Continue to review full report at Codecov.

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


Nullable as parameter gives CS8639

Thanks for fixing nullables as return value.
But I also have nullables as parameters, and now with 3.5.0 I get a compile error instead:
CS8639 The typeof operator cannot be used on a nullable reference type
So the warnings before were better than the errors now :(

Thanks for reporting the issue. I fixed this issue and released v3.5.1. Try it!

Tried 3.5.1 and still the same :(

Please upload an example code that reproduces the problem. All tests are passing.

public interface IAdapterHubClient : IAddonHubClient {     Task<bool> SetValueAsync(EntityAddress entityAddress, EntityMemberId fieldId, DataWithType? newValue); }
The types are our own records/classes.

I fixed this issue and released v3.5.2. Try it!

Working in 3.5.2. Thank you!


docs-bug(COMPONENT): TITLE

Documentation Feedback
I get following warning when building the application:
The same typography styles are generated multiple times. Read more about how style duplication can be avoided in a dedicated guide. https://github.com/angular/components/blob/main/guides/duplicate-theming-styles.md [plugin angular-sass]
But the link provided does not exist (404 error).
Affected documentation page
https://github.com/angular/components/blob/main/guides/duplicate-theming-styles.md

Just wanted to chime in, I started working on this one.


Non-Forms Android never gets Branch link parameters

I have integrated the Branch Xamarin SDK into my app as described in this documentation (v2.1.0), but for some reason anytime I open one of my short links (e.g. https://bnc.lt/1234/823687kf) where 1234 is the suffix assigned to me an configured as DataPath in my Intent filter, the dictionary in the InitSessionComplete method is always empty. When I create a standard deep link using the URL parameter method everything works OK, but that's probably because it's using my custom URL scheme and not the App Links method. Anything I should look for here?

@mlb5000 Sorry for delay, I have questions:

Did you add intent filter as described?
https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/blob/master/README.md#leverage-android-app-links-for-deep-linking

How did you create your link (https://bnc.lt/1234/823687kf)?

@antonargunov yes, the intent filter is like this:
[IntentFilter(new[] { "android.intent.action.VIEW" }, Categories = new[] { "android.intent.category.DEFAULT", "android.intent.category.BROWSABLE" }, DataScheme = "https", DataHost="bnc.lt", DataPathPrefix = "/mbWm")]
We create our links on our backend using the Branch HTTP API. 1234 was just an example, obviously any we generate are actually prefixed with https://bnc.lt/mbWm/

@mlb5000

Did you enable App Links for Android?
Did you register your prefix in Dashboard?

@antonargunov yes, App Links is enabled. I don't see a place to register a prefix on the Dashboard. I put my certificate fingerprint in there and it says Please be sure to include this in your intent-filter: android:pathPrefix="/mbWm".

@mlb5000 try please:

create new link in dashboard (link will be created with prefix)
try new link

Note:
When I enable App Links and use default prefix (I have no any certificate), my links work ( I create links in Dashboard ).
So, let's try to create new link with your prefix in dashboard and try to use it.

@mlb5000 I am appologise for questioning :), but we need info to reproduce this bug.
Btw, can you write method that you use for link generation (with example data)?

@antonargunov I created a Marketing link using the dashboard. The app recognizes it, but the dictionary passed to InitSessionComplete only has two keys +is_first_session and +clicked_branch_link, both of which are False.

I do keep seeing this after I send up an event every time. I don't know if data here could be overriding my Intent.
04-08 09:34:26.726 I/BranchSDK(32365): returned {"session_id":"246978404391974152","identity_id":"244117684524978162","device_fingerprint_id":"244117684478878684","browser_fingerprint_id":null,"link":"https://bnc.lt/a/key_live_<removed>?%24identity_id=244117684524978162","identity":"6048","data":"{\"+is_first_session\":false,\"+clicked_branch_link\":false}"}

Actually, it's not every time I send an event. That's the response to https://api.branch.io/v1/open

Note that the device I am testing on is Android 5.1, but I don't think that should make a difference. The OS still understands the intent filter and shows my app in the list for those links, so the SDK should be able to grab the parameters.

I just checked the Intent passed to OnNewIntent when opening the app using that marketing link. The DataString parameter has the deep link as expected, but the InitSessionComplete dictionary is still only those two keys and not the custom fields I provided.

I don't actually see any sign in LogCat that the SDK is trying to look up the parameters for the link at all...should I?

I just downgraded to 1.2.1 and even that isn't working.

Wait please I am trying to reproduce your issue.
As I understand, you click link in browser, app opens, but dictionary is empty (or with 2 flags), right?

@antonargunov yes, that is all.

@antonargunov if I close the app completely and open it using the deep link it works (as an app link), but if the app is already running the new parameters are not retrieved. Using 1.2.1, and I am callING SetNewUrl in OnNewIntent

@mlb5000 can you download from github full SDK v.2.1.0 with our TestBed and try Android TestBed (with your changes for App Links, with your key and bundle id)? Use please link that you created in Dashboard.
Really, I don't understand what is happens, because all works for me.
Note: use please v2.1.0, don't use v1.2.x

@antonargunov Doesn't work in the test bed app either. The only parameters that show up in latest params are the two I mentioned.
Upgrading from 1.2.1 to 2.1.0 the app doesn't even fetch deep link parameters when opened from the background. At least 1.2.1 did that. Neither retrieve new parameters when the app is reactivated from the background using a new Intent.

@antonargunov Confirmed. After adding my key to MainActivity.cs and changing the package ID to match the app showed +is_first_session: True the first time. Then I sent the app to the background and opened the deep link. The app launched and that changed to False. However, none of the Deep Link Data I configured on that link are pulled in, which is kind of the whole point.

@antonargunov I experience EXACTLY the same issue as the one @mlb5000 described. I keep clicking the same deep link, no matter how it's created, if it's persistent or not etc - I'm 100% confident link is correct. Sometimes there is link data available in OnInitComplete, sometimes it's not.
I see same stuff in logcat: sometimes there is a "good" json response with link data from https://api.branch.io/v1/open, sometimes it's "bad" and only has two keys +is_first_session and +clicked_branch_link, both of which are False.
There is no real pattern - there might be 3 or 4 successful attempts, then a few "no-data" ones, then a few "good" ones again.
@antonargunov, it's a month since the issue is first reported. Do you have any fix or is there any workaround? Do you need any extra information from logcat/debug session?

@h15ter I haven't heard anything from them in weeks. Even their iOS SDK does this sometimes, which is disappointing since it's completely useless without retrieving the parameters.

@antonargunov
Here are screenshots from the debug session and meaningful logcat logs for a few sequential deep link attempts:

logcat.txt

Hi guys, I am preparing new version of Xamarin SDK with updated native libs.
Wait please until I will finish new version. I think new version will be made next week.

@antonargunov
So is it a known problem of old native libs? Could you please give me a link to the issue registered for native sdk so I could contact guys developing it for details?
Do you know what exactly goes wrong, what makes you think that the problem will be solved after you update native libs? I'm just trying to understand if it's just an assumption or proved fact based on some investigation...
I don't want to look rude, please understand. I see a month-old issue with no progress at all, no details from developer etc. We already spent quite a few time trying to integrate Branch.io with our product, and we don't feel it's reliable enough, so I'm a bit skeptical about the idea to just cross fingers and wait.   I'd like to get some real help now.

@h15ter

we could not to reproduce this issue in our TestBed
we discussed with Matthew via e-mail, and we tried his links and branch key - all worked, and we sent him our logs
we didn't receive his test project, but project as I understood with several activities
we can't imagine what architecture of app you have, what and where and how you call
we even don't know how you set Branch parameters in your app
we don't know what parameters you use when you generate links
etc.

So, the best way:

wait until I will finish new version
if issue will occur - send your test project where we will be able to reproduce this issue

Right now, you can ping our support team and send test project,
or ping our support team and we can work with you more closer via skype.
We want to fix the issue asap, but right now we have no real additional info.

@antonargunov
I've posted logcat logs, it's clear that Branch API returns no data. There are timestamps, keys, session IDs and other parameters - should be enough to start investigation, right?
I can provide the link and other details, what do you need?
If you can't investigate the issue without app now, what will happen if something will stop working later, when we go live with Branch? Would you also demand us to send source code of our production/live app to begin investigation? :)

@h15ter

If you can't investigate the issue without app now, what will happen if something will stop working later, when we go live with Branch?

Investigate what?
I can see in your log:

request was sent
response was returned
in first case you had "+clicked_branch_link:true", it means for me - you clicked a link and you received "deeplinkselfcompleteserver", "deeplinkselfcompletetoken", "+referrer" (as I understand deeplinkselfcompleteserver and deeplinkselfcompletetoken are metadata parameters)
in second case you had "+clicked_branch_link:false" it means for me - you opened app without clicking any links
third case is the same like first case

For me - all works.
I don't know what did you do, can you write detailed steps for reproducing?
Did you try to reproduce this issue with our TestBed? If no, can you try?

@antonargunov
Yes, I'll try your TestBed later.
Here is what I do with my app:

I generate link in browser by sending post request to your public API
I pass no extra parameters, only my deep link data
I immediately validate the link with get request to your public API, and I see it's valid and has data attached
I also tried to use persistent link (created from dashboard) instead
Once link is created, I add it to my HTML, so user can click it
When I click the link, app launches (or resumes)
OnInitComplete hits, and it either has link data available or not
I switch back to the browser and click the same link again
I repeat steps 7-8 multiple times, and this is the way how requests are logged
The issue is about data not consistently available on step 7
It doesn't really matter if I keep clicking exactly the same link from the same page, or different ones, if I refresh page or not etc.

@h15ter as another data point. Is your app Forms or non-Forms?

Hi guys, I have committed new version of Xamarin SDK with updated native libs.
Try please.
You can download new package from github and update from local source or wait until we upload it to nuget.org

Guys, we have uploaded new package to nuget.org

I upgraded the package but it still never realizes that the Intent was launched with a Branch link: +clicked_branch_link:false. I even changed the code to initialize the framework using Application and calling GetInstance().InitSession(this) in my Activity's OnResume and OnCreate, but still nothing. It doesn't even work some of the time, and logcat shows no hint that the framework even realized the app was launched with a link.

@mlb5000 I have sent an e-mail

We have uploaded new version of Xamarin SDK.
You can find samples for iOS and Android (form, non-form) in our repo.


Trinity shutdown hangs (maybe only on linux and beam sync?)

Starting up with:
trinity --enable-experimental-eth1-peer-tracking --data-dir ~/.local/share/trinity-beam --beam-from-checkpoint "eth://block/byhash/0x109b73471d490442d9dab482526150502e724a438c48028958edf3ac534eecc7?score=15,029,080,564,412,225,625,481"

(haven't tried other sync modes besides Beam yet).
When I Ctrl-C, it seems to attempt a shutdown, but hangs:
https://gist.github.com/carver/5efce093107de4106f0190626ce4765e#file-trinity-log-L1351-L1356
Here's the full debug log:
https://gist.github.com/carver/5efce093107de4106f0190626ce4765e
There's stuff printed to stderr that didn't make it to the log, starting here:
https://gist.github.com/carver/5efce093107de4106f0190626ce4765e#file-trinity-stderr-log-L49
Then see a bunch of attempted Ctrl-C's (more than 20 seconds after the console stopped printing anything), with no apparent effect:
https://gist.github.com/carver/5efce093107de4106f0190626ce4765e#file-trinity-stderr-log-L49
I ran a pkill -2 -f trinity at the end of the log (around 2020-04-20 15:51:03,695), but the console was still hung. A repeat of the same command, about 12 seconds later finally relinquished the console.
How can it be fixed
:man_shrugging:
Maybe it's related to #1666 and/or #1663 ?

@carver can you pull https://github.com/ethereum/trinity/pull/1688 and try again? that will give us asyncio_run_in_process DEBUG logs (which we don't have in the logs you pasted above), and it includes a couple changes that might help with shutdown issues.

After updating to 84ac4e5b689adaf8, (which includes #1688) shutdown seems to work again. (Well, at least it doesn't hang).
    INFO  2020-04-21 16:34:51,429      ComponentManager  Received shutdown request: ShutdownRequest(reason='Node exiting. Triggering shutdown')
    INFO  2020-04-21 16:34:52,571      ComponentManager  Components stopped.
    INFO  2020-04-21 16:34:52,575                  root  Shutting down Trinity (Node exiting.  Triggering shutdown)
(venv) [04/21 16:34:52] jcarver@carver-alienware:~/code/trinity

Closing as the hang seems to have been fixed

@gsalgado I wanted to see if this would let us activate the clean shutdown test for beam sync but I ran into this one.
DEBUG  04-28 11:06:44  async_process_runner.py  b'    INFO  2020-04-28 11:06:44,135               trinity  \n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'      ______     _       _ __       \n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'     /_  __/____(_)___  (_) /___  __\n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'      / / / ___/ / __ \\/ / __/ / / /\n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'     / / / /  / / / / / / /_/ /_/ / \n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'    /_/ /_/  /_/_/ /_/_/\\__/\\__, /  \n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'                           /____/   \n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'    INFO  2020-04-28 11:06:44,135               trinity  Started main process (pid=25926)\n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'    INFO  2020-04-28 11:06:44,136               trinity  Trinity/v0.1.0a35/linux/cpython3.7.5\n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'    INFO  2020-04-28 11:06:44,136               trinity  Trinity DEBUG log file is created at /tmp/tmpii339838/trinity/mainnet/logs-eth1/trinity.log\n'
   DEBUG  04-28 11:06:44  async_process_runner.py  b'    INFO  2020-04-28 11:06:44,136           IPCListener  Starting <trinity._utils.logging.IPCListener object at 0x7f66b90c1410> server over IPC socket: /tmp/tmpii339838/trinity/mainnet/ipcs-eth1/logging.ipc\n'
   DEBUG  04-28 11:06:45  async_process_runner.py  b'    INFO  2020-04-28 11:06:45,427               trinity  Started DB server process (pid=25934)\n'
   DEBUG  04-28 11:06:50  async_process_runner.py  b'    INFO  2020-04-28 11:06:50,722             DBManager  Starting <trinity.db.manager.DBManager object at 0x7f6f6a7b1b10> server over IPC socket: /tmp/tmpii339838/trinity/mainnet/ipcs-eth1/db.ipc\n'
   DEBUG  04-28 11:06:50  async_process_runner.py  b'    INFO  2020-04-28 11:06:50,745      ComponentManager  Starting components: JSON-RPC API/Network Database/Discovery/Upnp/Beam Sync Chain Execution/Beam Sync Chain Preview 0/Beam Sync Chain Preview 1/Beam Sync Chain Preview 2/Beam Sync Chain Preview 3/Request Server/Sync / PeerPool/TxComponent\n'
   DEBUG  04-28 11:06:52  async_process_runner.py  b'    INFO  2020-04-28 11:06:52,173      ComponentManager  Components started\n'
   DEBUG  04-28 11:06:54  async_process_runner.py  b'    INFO  2020-04-28 11:06:54,349      DiscoveryService  Preferred peers: (<Node(0x1118980bf48b0a3640bdba04e0fe78b1add18e1cd99bf22d53daac1fd9972ad650df52176e7c7d89d1114cfef2bc23a2959aa54998a46afcf7d91809f0855082@<IP_ADDRESS>:30303)>, <Node(0x78de8a0916848093c73790ead81d1928bec737d565119932b98c6b100d944b7a95e94f847f689fc723399d2e31129d182f7ef3863f2b4c820abbf3ab2722344d@<IP_ADDRESS>:30303)>, <Node(0xddd81193df80128880232fc1deb45f72746019839589eeb642d3d44efbb8b2dda2c1a46a348349964a6066f8afb016eb2a8c0f3c66f32fadf4370a236a4b5286@<IP_ADDRESS>:30303)>, <Node(0x3f1d12044546b76342d59d4a05532c14b85aa669704bfe1f864fe079415aa2c02d743e03218e57a33fb94523adb54032871a6c51b2cc5514cb7c7e35b3ed0a99@<IP_ADDRESS>:30303)>)\n'
   DEBUG  04-28 11:06:54  async_process_runner.py  b'    INFO  2020-04-28 11:06:54,360      DiscoveryService  No internet-facing address found on any interface, using fallback one\n'
   DEBUG  04-28 11:06:54  async_process_runner.py  b'    INFO  2020-04-28 11:06:54,447      DiscoveryService  Node details changed, generated new local ENR with sequence number 1\n'
   DEBUG  04-28 11:06:54  async_process_runner.py  b'    INFO  2020-04-28 11:06:54,449      DiscoveryService  Running on enode://2a2f36a02b597a41725a1720b9ed76c70bc39db6a592372022a7cafbd123b12a499708797a48629ecbc9ca5e8ea7f1b442462c5e778e595232d52d52755b0aed@<IP_ADDRESS>:38025\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,387                TxPool  Running Tx Pool\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,476            FullServer  Running server...\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,477            FullServer  enode://2a2f36a02b597a41725a1720b9ed76c70bc39db6a592372022a7cafbd123b12a499708797a48629ecbc9ca5e8ea7f1b442462c5e778e595232d52d52755b0aed@<IP_ADDRESS>:38025\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,477            FullServer  network: 1\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,477            FullServer  peers: max_peers=25\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,481    NoopMetricsService  Running NoopMetricsService\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,488       BeamSyncService  Initializing beam-sync; current head: <BlockHeader #0 d4e56740>\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,497      ComponentManager  Stopping components\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:57,514       EventBusService  Failed to connect bbeam-sync-chain-execution to one of bbeam-sync-chain-preview-0: \x1b[0m\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:57,522       EventBusService  Failed to connect bbeam-sync-chain-preview-3 to one of bbeam-sync-chain-preview-0: \x1b[0m\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:57,522       EventBusService  Failed to connect network-db to one of bbeam-sync-chain-preview-0: \x1b[0m\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:57,526       EventBusService  Failed to connect brequest-server to one of btxcomponent: \x1b[0m\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:57,535       EventBusService  Failed to connect bbeam-sync-chain-preview-1 to one of bbeam-sync-chain-execution: \x1b[0m\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'    INFO  2020-04-28 11:06:57,507           ETHPeerPool  Connected peers: 0 inbound, 0 outbound\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:57  async_process_runner.py  b"sys:1: ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('<IP_ADDRESS>', 38025)>\n"
   DEBUG  04-28 11:06:57  async_process_runner.py  b'ResourceWarning: Enable tracemalloc to get the object allocation traceback\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:58,551           ETHPeerPool  Timed out getting blacklisted peers from connection tracker, pausing peer addition until we can get that.\x1b[0m\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:58,551           ETHPeerPool  Timed out getting blacklisted peers from connection tracker, pausing peer addition until we can get that.\x1b[0m\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'\x1b[1m\x1b[33m WARNING  2020-04-28 11:06:58,552           ETHPeerPool  Timed out getting blacklisted peers from connection tracker, pausing peer addition until we can get that.\x1b[0m\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    INFO  2020-04-28 11:06:58,902                  upnp  NAT port forwarding successfully set up: internal=<IP_ADDRESS>:38025 external=<IP_ADDRESS>:38025\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'Process SpawnProcess-3:\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'Traceback (most recent call last):\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_signals.py", line 165, in open_signal_receiver\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    yield queue\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/trio.py", line 109, in _do_run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    nursery.cancel_scope.cancel()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_generator/_util.py", line 53, in __aexit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await self._agen.athrow(type, value, traceback)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_service/trio.py", line 409, in background_trio_service\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await manager.stop()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_core/_run.py", line 730, in __aexit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    raise combined_error_from_nursery\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_service/trio.py", line 208, in run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    for _, exc_value, exc_tb in self._errors\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_service/base.py", line 301, in _run_and_manage_task\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await task.run()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_service/trio.py", line 76, in run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await self._async_fn(*self._async_fn_args)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/event_bus.py", line 73, in run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await self.manager.wait_finished()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_generator/_util.py", line 53, in __aexit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await self._agen.athrow(type, value, traceback)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/lahja/trio/endpoint.py", line 575, in serve\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await endpoint._stop_serving()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/async_generator/_util.py", line 53, in __aexit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await self._agen.athrow(type, value, traceback)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/lahja/trio/endpoint.py", line 286, in run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await self._stop()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_core/_run.py", line 730, in __aexit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    raise combined_error_from_nursery\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/lahja/trio/endpoint.py", line 383, in _run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    nursery.cancel_scope.cancel()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_core/_run.py", line 730, in __aexit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    raise combined_error_from_nursery\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/lahja/trio/endpoint.py", line 478, in _process_connections\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    connection = await TrioConnection.connect_to(config.path)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/lahja/trio/endpoint.py", line 88, in connect_to\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    socket = await trio.open_unix_socket(str(path))\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_highlevel_open_unix_stream.py", line 50, in open_unix_socket\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    await sock.connect(filename)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_socket.py", line 670, in connect\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    return self._sock.connect(address)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'ConnectionRefusedError: [Errno 111] Connection refused\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'During handling of the above exception, another exception occurred:\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'Traceback (most recent call last):\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    self.run()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    self._target(*self._args, **self._kwargs)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/trio.py", line 95, in run_process\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    trio.run(cls._do_run, boot_info)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_core/_run.py", line 1804, in run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    raise runner.main_task_outcome.error\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/trio.py", line 109, in _do_run\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    nursery.cancel_scope.cancel()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/usr/lib/python3.7/contextlib.py", line 130, in __exit__\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    self.gen.throw(type, value, traceback)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_signals.py", line 167, in open_signal_receiver\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    queue._redeliver_remaining()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_signals.py", line 93, in _redeliver_remaining\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    deliver_next()\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_signals.py", line 89, in deliver_next\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    signal_raise(signum)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_util.py", line 68, in signal_raise\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    signal.pthread_kill(threading.get_ident(), signum)\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'  File "/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/trio/_core/_ki.py", line 198, in handler\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'    raise KeyboardInterrupt\n'
   DEBUG  04-28 11:06:58  async_process_runner.py  b'KeyboardInterrupt\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'/home/cburgdorf/Documents/hacking/ef/trinity/venv37/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  from eth_utils.typing import (\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b"/home/cburgdorf/Documents/hacking/ef/trinity/trinity/sync/common/peers.py:56: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n"
   DEBUG  04-28 11:06:59  async_process_runner.py  b'  elif isinstance(response_command_type, collections.Sequence):\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'\x1b[1m\x1b[31m   ERROR  2020-04-28 11:06:59,621               asyncio  Task was destroyed but it is pending!\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'task: <Task pending coro=<AsyncioIsolatedComponent._do_run() running at /home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/asyncio.py:61> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f2e9bcf2c90>()]>>\x1b[0m\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'\x1b[1m\x1b[31m   ERROR  2020-04-28 11:06:59,636               asyncio  Task was destroyed but it is pending!\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'task: <Task pending coro=<AsyncioIsolatedComponent._do_run() running at /home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/asyncio.py:61> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f5c0273bcd0>()]>>\x1b[0m\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'\x1b[1m\x1b[31m   ERROR  2020-04-28 11:06:59,637               asyncio  Task was destroyed but it is pending!\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'task: <Task pending coro=<AsyncioIsolatedComponent._do_run() running at /home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/asyncio.py:61> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f8233fc4790>()]>>\x1b[0m\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'\x1b[1m\x1b[31m   ERROR  2020-04-28 11:06:59,640               asyncio  Task was destroyed but it is pending!\n'
   DEBUG  04-28 11:06:59  async_process_runner.py  b'task: <Task pending coro=<AsyncioIsolatedComponent._do_run() running at /home/cburgdorf/Documents/hacking/ef/trinity/trinity/extensibility/asyncio.py:61> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f60dace7c10>()]>>\x1b[0m\n'

Was this already on your radar?

@cburgdorf looks like a trio component is getting multiple SIGINTs

Might have something to do with the heavy-handed way these tests shutdown trinity


MM-11655: Don't ask me again fix

Summary
Before this commit, mattermost asked you if you want to get out of "Out
Of Office" state explicitly always, no matter if you set the flag "Don't
ask me again". Now if you select "Don't ask me again" It won't ask you
and use your preivous selected option.
Ticket Link
MM-11655
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

@hmhealey and @esethna  I removed the "needs mobile implementation" after investigate it a see that current mobile implementation do not support the user preference to show or not the OOO confirm modal, and actually, the confirm modal doesn't support "Don't show me again". Do we want to create a User Story for that?

Yeah, if you could create a ticket for that, that'd be great


Issues with generating ant maze dataset

Hi, I'm trying to generate the ant maze dataset using the generation script but getting a "No module named 'locomotion.ant'" error when loading the policy load_policy('ant_hierarch_pol.pkl'). I installed the locomotion module as well as the rlkit fork, so any idea on how to fix this error?

I am struggling with the same issue.

I have the same issue now.

I find that the locomotion here is not the locomotion module installed by pip but the locomotion dir of d4rl. Make a copy of d4rl/locomotion to the root dir and change the import in it (change import d4rl.locomotion.* to import locomotion.*). Remember to remove the environment register in the locomotion/init.py to fix the re-register question.

@gaisibo Does your solution solve this issue?


⚠ Avatar API Endpoint has degraded performance

In df023a8, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1396 ms

Resolved: Avatar API Endpoint performance has improved in 667aca1.


fix: make ranges.Add thread-safe

Overview

ranges.Add method is not thread safe. if you execute it in parallel you can end up with ranges out-of-order.
In syncer.newNetHead nothing prohibits parallel execution of  pending.Add - syncing point is in wantSync using buffered channel.
newNetHead is called ass libp2p gossip validator, which is asynchronous - can be executed in parallel.
This change ensures that Add method is thread-safe.
Added test fails in first commit (to proof the point), and second commit fixes the issue.
Probably fixes #955. My gut feeling is that is also may fix other, more-nuanced, non-panicing sync issues.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Can you try to run the reconstruction swamp teat locally with -count 100 to see if it's really fixes it?
Good catch anyway!

https://github.com/celestiaorg/celestia-node/actions/runs/4023389491/jobs/6914202398#step:4:320


Larger Models Availability

I think it would be great for the community if you could release your 256 and 512 embedding-size models!

Sorry I did not save those models so they were lost 😢

rm -rf AllMyHardWork


[CI] Add configuration for PostgreSQL in CircleCI

It would be nice to add configuration for PostgreSQL in CircleCI settings so we can check that SQL performances are OK against a PostgreSQL database as well.
Ideally we can keep both SQLite and PostgreSQL.

found this: https://discuss.circleci.com/t/django-postgresql-and-circleci/15032/3

It's never too late. 😉


Ken/#50 better test coverage

Closes #50

CI failing due to missing python3.8 support in pytest-cov. Supporting version already in testing..


bump faraday and multipart-post

:v:
/cc @zendesk/vegemite @zendesk/wombat
Description
Just tested this with a zat update, seemed to work fine.
Removes these warnings:
/Users/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/multipart-post-1.2.0/lib/composite_io.rb:19: warning: UploadIO#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/multipart-post-1.2.0/lib/composite_io.rb:105: warning: respond_to? is defined here

Risks

[low] network calls do not behave as we expect

:+1:

👍


Mergeup 6.3.x to master

Picks up Docker changes from #3231 properly

I'm not sure if this is needed on 6.3.x for the docker builds but we've killed off 6.3.x for other PDB work so haven't been merging up changes though that branch. Maybe we could cherry pick the docker changes to master if they're needed there as well .

Yeah, in the future @Iristyle we should only need to target master here

CLA signed by all contributors.


Improve connection string to add debug options

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
Aspire is mostly used for development purposes. So, it would be nice to enable debug options in the connection strings to help devs.
For instance, on postgresql, you can enable the two following options to the connection string to get better error messages (doc):

Include Error Detail=true
Log Parameters=true

Describe the solution you'd like
I don't know if it's possible to enable these options by default. It could also be an extension method on resources that provide a database connection string.
var postgres = builder.AddPostgres("postgresdb");
var db = postgres.AddDatabase("sample")
    .AddConnectionStringOptions("Include Error Detail", "true")
    .AddConnectionStringOptions("Log Parameters", "true");

Additional context
No response

Dupe of https://github.com/dotnet/aspire/issues/2964


Update new_pr.yml

This PR:

[x] Install the latest ontobot-change-agent in the workflow
[x] Passes the prefix GO needed for new term request template processing (will be inactive for this repository).

@hrshdhgd it seems like the QC action run for your fork does not read the ODK_VERSION variable we have set here. Do you know if that can be made to work?
https://github.com/geneontology/go-ontology/blob/3177889a3d4bc6bf6861e10f3f176b8749b1421a/.github/workflows/qc.yml#L22

Aah! Let me fix this on this repo rather than opening a PR from my fork

@balhoff , where is the vars variables defined? The GH workflows on my fork are running unnecessarily and sending me failure notifications. How do I stop these auto-runs? Any thoughts?

@balhoff , where is the vars variables defined? The GH workflows on my fork are running unnecessarily and sending me failure notifications. How do I stop these auto-runs? Any thoughts?

Defined here: https://github.com/geneontology/go-ontology/settings/variables/actions
Is there a setting in your fork to turn off actions?

Thanks! I think there is a setting to disable actions altogether but I'll need to run the ontobot one for debugging so it seems to be all or nothing. But I may be wrong. For now I've declared the variable in my repo too.


Workflows for publishing to Confluence

These workflows are one way to publish from GitHub to Confluence. Outcome is viewable here: https://ledgerhq.atlassian.net/wiki/spaces/SE/pages/5036769289/GitHub+Tests
Another way is to use a Confluence plugin. Outcome is viewable here: https://ledgerhq.atlassian.net/wiki/spaces/SE/pages/5186060332/GitHub+Tests+2
If we choose the workflows and not the plugin, then we should merge this PR.

Decision to not deploy this solution for now (secrets to be removed: ATLASSIAN_USERNAME and ATLASSIAN_API_TOKEN.


parse methods incorrectly add explicit closing tag to param elements

Example:
When parsing "", an Element representing  is returned, confusing some web browsers.
As a work around, I have to invoke the following method after all other html processing:
private static String fixParams(String s){
return s.replaceAll(">","/>")
}

(Closing out old, dormant bugs. If you are still impacted by this, please reopen & vote.)


Invite Me to OpInCo Org

I am Kartikey Rawat , I am trying to be part of this community

I am N.Sushmita ,I am to be part of this community

i am ishu pathak i am trying to  be a part of this community

I am hemani ,I am trying to be part of this community

I am vishaI am trying to be part of this community

I am Abhishek Sahu, I am trying to be part of this community

I am samkoba, I am trying to be part of this community


Display name/number for escrow payments

migrating from https://github.com/celo-org/celo-monorepo/pull/6836
Description
When an escrow payment is sent to an unverified number, the transaction now shows the number or name if available. Previously, these transactions were showing as Unknown because we weren't storing invitee information when the ESCROW_WITHOUT_CODE feature flag is set
Tested
Sent payment to unverified number on Android phone
Related issues

Fixes half of #46, does not fix the Escrow Payment sent comments, design still needed for that

Backwards compatibility
Yes

rebased into #163


fix(rlp): receipts from non legacy transactions returning wrong length

As the title suggests.
Found out by #829 , and according to @Rjected it should have shown when we calculate receipts root. Are we doing that yet? I'm guessing not.

Codecov Report

Merging #847 (a3c258f) into main (ba3048c) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #847      +/-   ##
==========================================
- Coverage   73.32%   73.32%   -0.01%
==========================================
  Files         279      279
  Lines       29283    29295      +12
==========================================
+ Hits        21473    21480       +7
- Misses       7810     7815       +5

Flag
Coverage Δ

unit-tests
73.32% <100.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

crates/net/eth-wire/src/disconnect.rs
83.94% <100.00%> (-0.35%)
:arrow_down:

crates/net/eth-wire/src/p2pstream.rs
79.32% <100.00%> (-0.13%)
:arrow_down:

crates/net/eth-wire/src/types/receipts.rs
96.77% <100.00%> (+0.54%)
:arrow_up:

crates/primitives/src/receipt.rs
93.86% <100.00%> (+10.42%)
:arrow_up:

crates/transaction-pool/src/test_utils/mock.rs
53.11% <0.00%> (-6.60%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
58.87% <0.00%> (-0.50%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Are we doing that yet? I'm guessing not.

Yes, we are

Before Byzantien recept type was different and had a state root at every receipt. We are currently skipping that:
https://github.com/paradigmxyz/reth/blob/e6ca4c56c6a314e5553656e5b62be3bca6801b85/crates/executor/src/executor.rs#L261-L268
Hash forcalculating receipt root is done over 01 | rlp(..) and not rlp(01 | rlp(..)) so this function is not called. We are doing receipt rot check in eth block tests.

@joshieDo can merge pending conflicts


Update gradle dependencies

Hi, can you upgrade gradle dependencies 'com.android.support:support-v4:25.3.1' to 'com.android.support:support-v4:27.0.0'

@distlibs I'd be happy to merge a PR for that. Would also be worth upgrading the gradlew version, and changing compile to implementation


Test Cases for PlayerStatistics with 100% coverage.

I did the test cases and got 100% coverage for my feature.

coverage looks good, now finally the checkstyle


Problem when validating masked fields

Hello!
There is a problem when we try to validate some masked fields like date or phone numbers that uses jQuery Masked Input plugin.
When you enter an invalid value in any masked field, it is validated correctly and an error message is triggered. But when we try to provide a valid value to this field, it seems that the validation doesn't work anymore and the previous error message doesn't disappear.
I created an example that you can see the problem with both built-in and customized validators.
http://codepen.io/marcelgsantos/pen/BKygxo
I used Parsley.js 2.3.5 and jQuery Masked Input 1.4.1.
Thanks,
Marcel dos Santos

Thanks for the Codepen :-)
Indeed, it looks like validation doesn't happen when it should. I'll try to check this more closely tomorrow or thursday to understand what's going on.

I think I got it. The plugin intercepts the keypress event (which parsley no longer relies on) but by doing so, the browser doesn't trigger the input event that parsley needs.
I will propose a PR for masked input that triggers the input event when they do that...

I'm running into this right now as well.  Keep us posted on an update!

I created https://github.com/digitalBush/jquery.maskedinput/pull/364
I'm not holding my breath, the last commit for that library is about a year old! Looks like it's not maintained anymore.
A quick fix if you want to use it nevertheless (not tested):
$(document).on('keypress', function(evt) {
  if(evt.isDefaultPrevented()) {
    // Assume that's because of maskedInput
    // See https://github.com/guillaumepotier/Parsley.js/issues/1076
    $(evt.target).trigger('input');
  }
});

I'd recommend people switch to https://github.com/RobinHerbots/jquery.inputmask which is maintained and seems even more capable. It also takes care of the input even and so should be working fine with Parsley.

How i can do the parsley validation if all fields are entered properly, I want to change the state of button from disable to enable without using any event.
Please suggest me a idea to solve this.


refactor docs

Codecov Report

Merging #198 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #198   +/-   ##
=========================================
  Coverage     60.08%   60.08%
  Complexity      536      536
=========================================
  Files            88       88
  Lines          1989     1989
  Branches        259      259
=========================================
  Hits           1195     1195
  Misses          734      734
  Partials         60       60

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 b1aa6d3...e40629b. Read the comment docs.


Try enable cloudinary (

HI,
I'm try enable cloudinary but unsuccessful ((
--
Completed 500 Internal Server Error in 1441ms (ActiveRecord: 15.8ms)
ActionView::Template::Error (Must supply cloud_name in tag or in configuration):
19:
20:
21: <%= csrf_meta_tags %>
22: <%= favicon_link_tag "#{AppSettings['design.favicon']}" %>
23: <%= cloudinary_js_config %>
24:
25:

Looks like you haven't set up cloudinary options in the admin settings.

Exactly!
Thanks, ;)

@kerncore No problem!


[ingresscontroller] Update Easegress link for Kubernetes website

Hi, in pr, we introduce Easegress as a Kubernetes Ingress Controller into this Kubernetes website.
Recently, we update our documents and as a result, previous link in kubernetes website not work any more. This pr is used to update the Easegress ingress controller link.
Thanks a lot!

sorry for force push... I will open a new pr for this fix... really sorry...

/remove-language ko
/remove-language zh


mvn package fails to build project

Hi! As discussed, I just picked up https://github.com/IQSS/dataverse/issues/8372 , cloned the project (I'm on 5f69ddc of the branch-5.0 branch), and tried to do a mvn package. It failed:
$ mvn package
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM org.dspace:xoai-data-provider:4.2.1-SNAPSHOT (/Users/pdurbin/github/gdcc/xoai/xoai-data-provider/pom.xml) points at io.gdcc:xoai instead of org.dspace:xoai, please verify your project structure @ line 11, column 13
[FATAL] Non-resolvable parent POM for org.dspace:xoai-data-provider:4.2.1-SNAPSHOT: Could not find artifact org.dspace:xoai:pom:4.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 11, column 13
[WARNING] 'parent.relativePath' of POM org.dspace:xoai-service-provider:4.2.1-SNAPSHOT (/Users/pdurbin/github/gdcc/xoai/xoai-service-provider/pom.xml) points at io.gdcc:xoai instead of org.dspace:xoai, please verify your project structure @ line 11, column 13
[FATAL] Non-resolvable parent POM for org.dspace:xoai-service-provider:4.2.1-SNAPSHOT: Could not find artifact org.dspace:xoai:pom:4.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 11, column 13
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.dspace:xoai-data-provider:4.2.1-SNAPSHOT (/Users/pdurbin/github/gdcc/xoai/xoai-data-provider/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.dspace:xoai-data-provider:4.2.1-SNAPSHOT: Could not find artifact org.dspace:xoai:pom:4.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 11, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project org.dspace:xoai-service-provider:4.2.1-SNAPSHOT (/Users/pdurbin/github/gdcc/xoai/xoai-service-provider/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.dspace:xoai-service-provider:4.2.1-SNAPSHOT: Could not find artifact org.dspace:xoai:pom:4.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 11, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

If it matters, here's my version of Maven:
$ mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/pdurbin/tools/maven/3.6.3/apache-maven-3.6.3
Java version: 11.0.10, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"

Help!

Thanks, @poikilotherm for pushing a fix at 06dbf60. As of that commit I'm still seeing errors with mvn package...
[INFO] Results:
[INFO]
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ xoai-common ---
[INFO]
[INFO] ---------------------< io.gdcc:xoai-data-provider >---------------------
[INFO] Building XOAI Data Provider 5.0.0-SNAPSHOT                         [4/5]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.dspace:xoai-common:jar:5.0.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for XOAI : OAI-PMH Java Toolkit 5.0.0-SNAPSHOT:
[INFO]
[INFO] XOAI : OAI-PMH Java Toolkit ........................ SUCCESS [  0.285 s]
[INFO] XOAI XML IO Commons ................................ SUCCESS [  2.146 s]
[INFO] XOAI Commons ....................................... SUCCESS [  0.907 s]
[INFO] XOAI Data Provider ................................. FAILURE [  0.023 s]
[INFO] XOAI Service Provider .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.018 s
[INFO] Finished at: 2022-04-29T14:23:47-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project xoai-data-provider: Could not resolve dependencies for project io.gdcc:xoai-data-provider:jar:5.0.0-SNAPSHOT: Could not find artifact org.dspace:xoai-common:jar:5.0.0-SNAPSHOT -> [Help 1]

... but as you indicated in chat, mvn package -pl xoai-common,xoai-xmlio now works fine:
[INFO] Results:
[INFO]
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ xoai-common ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for XOAI XML IO Commons 5.0.0-SNAPSHOT:
[INFO]
[INFO] XOAI XML IO Commons ................................ SUCCESS [  2.412 s]
[INFO] XOAI Commons ....................................... SUCCESS [  0.879 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.937 s
[INFO] Finished at: 2022-04-29T14:26:29-04:00
[INFO] ------------------------------------------------------------------------

Thanks!

Works! Thanks! I just pulled as as of a95172d mvn package works fine. Thanks!


[FEATURE] pack a debugger in docker

Right now there is no gdb or lldb. Should it be in docker or maybe there is a standard way to deal with it?

https://github.com/jfalcou/compilers/issues/1


Address space console reports "Server connection lost" after 60s of inactivity when deployed to AWS

With EnMasse 0.29 RC3 deployed to AWS, if I create an address space and then go to the address space console, after 60seconds of inactivity I see "Server connection lost".

I think the issue will be the default network idle timeout of AWS closing the idle AMQP connection.  It might be possible for the user to configure their AWS provision to lengthen the timeout.  However, there are probably scenarios where this would be inconvenient.
We should investigating turning on either websocket ping/pong or AMQP idle connection timeout (heartbeating).


[Request] Config option to enable/disable the Guide to Plant Fiber Cordage from Jungle Soul

Title. I don't want vine ropes, but want the other effects.

My internet glitched and double-posted this, sorry


Use fitnesse-format npm package

Status
READY/IN DEVELOPMENT/HOLD
Description
A few sentences describing the overall goals of the pull request's commits.
Deploy Notes
Notes regarding deployment the contained body of work.  These should note any
db migrations, etc.
Todos

[x] Code builds clean without any errors or warnings
[x] Using approved terminology
[x] Added corresponding Documentation
[x] Added unit tests

Hey @chrisotto6,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: ebdba000-2f36-11ea-9a83-5d969b5f7b0b


[BUG] Reconsider 8MB copy buffer size in GpuParquetScan

The GpuParquetScan has an 8MB copy buffer allocation per reader instance.
https://github.com/NVIDIA/spark-rapids/blob/d7f58eacc42fe0154ee6eaaf1429ae5d22d21842/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuParquetScan.scala#L1391
This might account for a significant portion of the executor's available memory, on setups with a high core count, and low heap allocation.
For instance, on machines with 128 cores, if the executor is set up with only 1GB of memory, then enabling the multi-file reader for Parquet could result in the entire 1GB of memory being consumed by the copy buffers across all threads.  This leads to failures such as in https://github.com/NVIDIA/spark-rapids/issues/9135.
It would be good to evaluate whether this 8MB allocation can be lowered if possible. Or at least, accounted for.

Recommendation from within the team is to reduce the 8MB size to see if it will address https://github.com/NVIDIA/spark-rapids/issues/11227 .
There are alternative ideas here: https://aws.amazon.com/blogs/storage/optimizing-performance-of-apache-spark-workloads-on-amazon-s3/
Any changes will require rerunning all performance tests.

The default of 8 MiB might have been inspired by Performance Design Patterns for S3 https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance-design-patterns.html#optimizing-performance-parallelization
recommending it as a granularity for byte range requests.

Recommendation from within the team is to reduce the 8MB size to see if it will address https://github.com/NVIDIA/spark-rapids/issues/11227 .

One is reminded of a very similar failure (#9135) with Parquet-reader tests on CDH (in local mode).  At the time, we had discussed either reducing the -Xmx or the thread-pool size.
That failure tended to happen in local mode.  We had a PR to address the failure (https://github.com/NVIDIA/spark-rapids/pull/9177) by setting the thread-pool size.  I suspect it might possibly address this OOM as well, depending on how many threads are running.
At the time, adjusting the core-count or memory was deemed a workaround, instead of fixing the reader.  We might consider this again.
cc @razajafri, just in case this might be pertinent to #11227.


Ability to provision external services consumed by the deployed application

I'd be cool if external services that need to be provisioned can be as part of the button deploy.  Ideally we use app.json to specify these.  Maybe they are based on the API names that need to be enabled?  Should we have some way to select an existing resource?  Examples GCS, Cloud SQL, etc.
End goal: An app that needs something like Cloud SQL can be deployed to 100% functionality from the button.

This is very close to reinventing Deployment Manager, Marketplace or Terraform.
I'm currently -1, but if there are minimal things (perhaps like service account provisioning or a GCS bucket) that can we that helps 80-90% of the blocking use cases, we should consider. Otherwise it opens a can of worms.

Yeah, you are right that we don't want to replicate those other systems.  So maybe we just keep it confined to a couple common things (GCS, Cloud Shell, Pub/Sub) or alternatively encourage using post-deploy scripts for this (#76).

Here is a project that could use this:
https://github.com/jamesward/nodebars
Note that it is slightly more complicated than just provisioning Cloud SQL because I also need to setup the schema.  Maybe a good way to handle that part is with #76.

Once we get pre/post create script support (#76) repos will be able to provision resources (Cloud SQL, buckets, service accounts, etc) but they will likely have to do it in postcreate and call gcloud to update the service.  This will work and is a nice low-level escape hatch but it has some downsides: the first deploy may fail due to missing required resources and is pretty manual for common needs.  The reason we can't do the provisioning in precreate is that there is no way to propagate the config info to the service since it doesn't exist yet. And the ways in which the propagation need to happen vary.  In some cases there is a single env var based on provisioning info, sometimes multiple, and sometimes non-env var config like --service-account.
So I think we should also add support for having Cloud Run Button provision common resources and then it can handle the individual needs for those resources.  For service account see #33
The app.json changes could be something like:
{
    "gcloud": {
        "resources": {
            "bucket": {},
            "service-account": {
                "roles": []
            },
            "cloud-sql": {
                "size": "db-f1-micro"
            }
        }
    }
}

Cloud Run Button provision common resources and then it can handle the individual needs for those resources

I prefer we don't go down that route. That's how you build a mini Deployment Manager or Terraform, which I think is a large can of worms. :)
If there's a simpler way we can achieve what use cases need, it's better we look out for those opportunities.


Biomes stick together

Mod version: lostcities-1.12-2.0.4
Biomes stick together (there are never less than three biomes generated near) when using lostcities_bop worldtype (If to use default worldtype or BIOMESOP, they are generated separately).

You're all reporting this but lost cities just uses the biomes as they are generated. So not much I can do about this. In addition I don't understand what is actually wrong

Desert world, and biomes should be single islands in the desert. But when using the parameter level-type = lostcities_bop they are glued together

I don't understand what you mean by 'single islands'?

Like islands in the sea, but in the desert. This concept of modpack - one islands? one biome.

I still don't really understand what you mean by these islands but I think the problem you describe may have to do with me filtering the biomes because most biomes are restricted.  So in other words this is intentional


Goods review

This issue is a suggestion/discussion issue - not decided that we actually will change the current goods setup... connected with #846
The goods system in now is not realistic with regards to trade or pop needs. This should be reviewed. The idea is to select goods to map to the SITC goods types.
An overview of world trad 1992.

Main SITC categories would be subdivided such that total number of goods roughly correlate to the current number, stacked as dependencies based on SITC complexity, as show below

As seen the basic RGO's is a relatively small part of trade, and thus in value the goods/factory stack should be inverted i.e. factories produces more in amount than they need in rgo goods. This is not currently the case.
The graphics needs updating from the current;

To be continued...

Going to park this work--- so to remeber where we left of.
Each high end product should have one or two goods RGO or LEV1 and then for efficiency be dependent on oil, machinery etc..
To warrant a own goods at least 1992 >1.6% of world trade (including summing category minors).
For RGO/LEV use the complexity listing
Population types:
life_needs - only RGO'salteveryday_needs/luxuary_needs exponential increas in ammount. airplanes, gold/dianlds only luxuary_needs.
We want to mod modern industry heavy tilt towards services (artisans/entrepreneurs) to be renamed services
So artisans should produce simple services - need RGO only (20% of pop_need of services) and advanced services (need proportional of high-end goods - 80% of pop need of services).
By tech industries get more efficient and "robotized" and productivity increases - explodes, so the number of workers in industries decrease and instead they have to work in services, were "productivity" is more limited.
New Goods SITC suggestion - WIP
SITC - Current goods - RGO
Animal Fibers - Wool - RGO
Fruit - Fruit - RGO
Meet and eggs - Cattle - RGO
Lether - TBD - RGO
Coal - Coal - RGO
Tobacco - Tobacco - RGO
Precious stones -> diamonds(NEW) - RGO
Misc argiculture - coffe/sugar - RGO MERGE
Fish and seafood - fish - RGO
Cotton, rice, soybeans and other - cotton/rice - RGO MERGE
Tropical treecrops and flowers - tropical (NEW) - RGO
Processed minerals - alluminium/(i.e bauxite zink lead) - RGO
Cereals and vegitable oils - grain - RGO
Oil - pretoleum - RGO
Mining 6 (gold, copper, iron, alluminium (see processed minerals), nickel (from bauxite), uranium/other_methals (from other_methals) RGO
Milk & Cheese - TBD - LEV 1
Bear, Spritis & Ciggarets - ciggarets - LEV 1 (tobacco + ?)
Agrochemicals - TBD - LEV1 (oil)
Inorcanic salt and acids - inorganic_chemicals - LEV1 (oil)
Petrochemicals - plastics - LEV1 (oil)
Boilers - copper_wire transformers - LEV1 (copper + iron)
Ships - ships - LEV2 (steel + electic gear)
Home and office prodicts whatches art work - NEW - LEV2 (copper_wire + ?)
Pulp and paper - paper - LEV1 (timber + oil)
Textile and fibre 1 (textiles) - fabric - LEV1 (cotton and rice + oil)
Metal products  - steel - lev1 (iron + coal)
Food processing - canned_food - LEV2 (plastics)
Aircraft 1 - aeroplanes - LEV2 (copper_wire | plastics + aluminium)
Other chemicals 2 - medicament + consumer_plastics - LEV1 (oil)
NAN - finacial services - LEV3 (computers)
Construction materials 3 (furniture, "building materials" (from iron. aluminium, copper)) + RGO timber
Garments 4 (footware, outerwear, cloath)
Chemical and healt realted products (lubricant oils - div instruments) 2
Electronics 7 (computers, cpu/microprocessors, vitvaror, sound, tv/video, optics, telephones)
Machinery 6 (cars, vhicla parts, tires, motors, heating, machinery)
Current goods:
small_arms
weaponry
ships
aeroplanes
fish
cattle
wool
fruit
grain
rice
timber
oil_seeds
iron
other_minerals
copper
bauxite
coal
gas
petroleum
rubber
gold_silver
sugar
tea
tobacco
coffee
cotton
copper_wire
fuel
steel
lumber
inorganic_chemicals
fabric
plastics
paper
glass
machine_parts
aluminium
integrated_circuits
clothes
optics
cigarettes
footwear
furniture
beverages
electric_gear
pharmaceuticals
computers
telecommunications
automobiles
jewellery
beverage_tobacco
health
furniture_houseware
clothes_footwear
canned_food
cement
heating_electricity
transport
communication
education_rnd
culture
recreation
financial_services
credit

For new RGO goods see #846

Will close this as completed though a lot of balancing is not jet done.

The fundamental idea is to mirror the NWO goods system to real world trade goods categorization. I.e. the SITC. For real world trade stats see the Observatory of Economic Complexity.
So the goods mapping looks as follows (colors correlates to those used in the OEC).

The stack is simplified (and more shallow max lev3). At the top we have the end consumer (pops or military - yellow color), and below that industrial goods, and at the bottom RGOs.


the issue for the factscre

when  test my summary ,  the factscore is 0.723 not 0.126 et.   the 0.126 is too low, what happen ,

I hope to receive a response soon. This is very important to me. Thank you.


Generate CSV Report

Added generateCSVReport() function in AppState.java. This function will be triggered when onLongPress of btnRunRace.
Added test cases to check if desired output will be generated.
The generate CSV will look like as follows:
LAP,PILOT,TIME
1,Pilot 1,00:00:00
2,Pilot 1,00:10:00
1,Pilot 2,00:01:00
2,Pilot2,00:00:00

The generated file will be saved at \ChorusRFLaptimer\
File name format will look like this (dd-mm-yy hh-mm-ss): RaceResults_290617104304.csv
Files will be kept for 14 days, and will be deleted automatically on startup after it reached 14 days in storage.
Added function to check for file storage (if it has more than 30mb of storage) before writing the file.

*warning this is not tested on actual device. (my chorus broke. )

@raveerk , @voroshkov -
Can I suggest another solution?
After stopping the race, once the times are sorted, the Save button may be available. Default location for Chorus folder or better mSD card.
The next super feature would be to push to google drive / dropbox

@MilewskiPawel Do you think auto-saving is not that convenient?

Even such functionality is sufficient


[Bug report] Failed to cap frame - we saw an FlushMappedBuffer() that we didn't capture the corresponding Map() for

Description
I build the game project https://github.com/ciro-unity/UnityRoyale-Public with  gles 3.0. Then I run this game on my android 10 device. But I could not capture the game frame successfully. The error log is
'Failed to cap frame - we saw an FlushMappedBuffer() that we didn't capture the corresponding Map() for'
Steps to reproduce

I send you a email with the title '[Bug report] Failed to cap frame - FlushMappedBuffer'. The game application is in the E-mail attachments. The package name is 'com.UnityTechnologies.UnityRoyale/com.unity3d.player.UnityPlayerActivity'.
Install the application, and try to capture a frame.

Environment

RenderDoc version: 1.17 release
Operating System: Windows, Android 10 & Adreno 640 mobile phone
Graphics API: OpenGL ES 3.2

I don't have an Adreno 640 phone but I tested this on a device with a 630 and it works as expected for me.
The error you've identified is not the cause of the problem and is harmless, the real problem appears to be that the device is running out of memory and failing to allocate. How much memory do you have available on the device? Are you able to test on a different one to see if it's something device-specific?

Closing this due to lack of activity and no further information to investigate.

I upgraded my mobile phone system, and I can capture the game frame now. It seems to be an device problem. Thanks.


feat: add compile py command

Proposed Changes

Add "compile py" command which compiles Python to TEAL with Puyapy
Puya compilation errors are shown

Fixes #400

Great work @PatrickDinh , left some comments - also to clarify docs are removed temporarily? The plan is to rewrite it again once this goes public? Wonder if we should have the docs written beforehand and stashed somewhere internally to not spend time rewriting it once we make it public.

Thanks @aorumbayev for reviewing, good call out about the doc, I'll stash it locally.


Could I have a little bit of help?

Hi there,
I have come across your Repo just yesterday and I am wondering how to setup the MySql Database, by that I mean the tables and all that. Is there a .sql file I am missing somewhere or has it not been done yet. Either way, well done and thank you in advance.


Issue-16603 Changed Kiev to Kyiv

This should contribute to fix Issue-16603

🤖 Generated by Copilot at 5467b82
Updated the spelling of 'Europe/Kiev' to 'Europe/Kyiv' in the timezones.js fixture file. This is part of a pull request that fixes timezone names in the Ghost admin interface.

Hey @jonock 👋 Thanks for the contribution! This is a right change to do. There's one more piece missing - bumping the dependendy @tryghost/timezone-data where the Admin UI app pulls the displayed names from. I have just released an updated version of the timezone-data package, so all is left to do here is upgrade to the<EMAIL_ADDRESS>and the fix is done 🎉  Can you please bump the version and I'll make sure to merge the change asap. Thanks!


Upload Images to Team Page

Tasks

Add images of the respective team members to the 'team-images' folder with filename equal to member name. Example - saumya.jpg/.png/.jpeg
Add links of these images to the team page.

Please assign me this :)


Migrates zipkin-kafka docker image

See https://github.com/openzipkin/docker-zipkin/issues/86
cc @jeqo

good idea
On Thu, Oct 17, 2019, 11:59 AM Anuraag Agrawal<EMAIL_ADDRESS>wrote:

@anuraaga commented on this pull request.
In docker/hooks/post_build
https://github.com/openzipkin/zipkin/pull/2852#discussion_r335800830:

docker build --build-arg version="$SOURCE_BRANCH" -f "$DOCKERFILE_PATH" -t "openzipkin/zipkin-ui:${TAGS[0]}" --target zipkin-ui .
for tag in ${TAGS[@]:1}; do
docker tag "openzipkin/zipkin-ui:${TAGS[0]}" "openzipkin/zipkin-ui:$tag"
done

+echo Building zipkin-kafka
+docker build --build-arg version="$SOURCE_BRANCH" -f "docker/kafka/Dockerfile"-t "openzipkin/zipkin-kafka:${TAGS[0]}" --target zipkin-kafka .
+for tag in ${TAGS[@]:1}; do

docker tag "openzipkin/zipkin-kafka:${TAGS[0]}" "openzipkin/zipkin-kafka:$tag"
+done

We also build storage images to correspond with the server version to keep schemas up to date
for storage in cassandra; do
Should be able to just add kafka here I think
In docker/README.md
https://github.com/openzipkin/zipkin/pull/2852#discussion_r335800879:

@@ -22,6 +22,20 @@ nginx. To build, run something like
$ docker build -t openzipkin/zipkin-ui:test -f docker/Dockerfile --target zipkin-ui .

+## zipkin-kafka Docker image

Can you either move the Cassandra readme here or this to the subdirectory?
Either is fine if consistent

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/openzipkin/zipkin/pull/2852?email_source=notifications&email_token=AAAPVV6G5TOPWCUOUH3WCY3QO7PK3A5CNFSM4JBTZSMKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCIHUTSI#pullrequestreview-302991817>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAPVV5EVCT3HOB3AHYYLWDQO7PK3ANCNFSM4JBTZSMA>
.


Clear text password logged after successful connection to SFTP server

I was testing connectivity with a public SFTP server when I noticed in the olv.log file that there is a log statement that is not masking the password when logging file that is being loaded by OLV.
Below it's a snippet of the logs, including the clear text password since it is from a publicly available SFTP test server.
INFO  19 Apr 2022;20:07:07.283 [AWT-EventQueue-0] pl.otros.logview.api.gui.LogViewPanelWrapper Log view panel is removed from view. Clearing data table for GC and running onCloseAction action
INFO  19 Apr 2022;20:07:07.287 [AWT-EventQueue-0] pl.otros.logview.logloader.basic.BasicLogLoader Closing LogLoadingSession{id='f238f285-9127-43b5-a7d1-a336acf76740'<EMAIL_ADDRESS>openMode=From start}}
DEBUG 19 Apr 2022;20:07:08.130 [Thread-10] pl.otros.logview.logloader.basic.LoadingRunnable Log import stopped
INFO  19 Apr 2022;20:07:08.130 [Thread-10] pl.otros.logview.logloader.basic.LoadingRunnable Loading of files<EMAIL_ADDRESS>is finished
INFO  19 Apr 2022;20:07:08.130 [Thread-10] pl.otros.logview.logloader.basic.LoadingRunnable File<EMAIL_ADDRESS>loaded
INFO  19 Apr 2022;20:07:08.130 [Thread-10] pl.otros.logview.api.io.Utils Closing file<EMAIL_ADDRESS>INFO  19 Apr 2022;20:07:08.326 [Thread-10] pl.otros.logview.api.io.Utils File<EMAIL_ADDRESS>closed
INFO  19 Apr 2022;20:07:08.326 [Thread-10] pl.otros.logview.api.io.Utils Closing file<EMAIL_ADDRESS>INFO  19 Apr 2022;20:07:08.330 [Thread-10] pl.otros.logview.api.io.Utils File<EMAIL_ADDRESS>closed
DEBUG 19 Apr 2022;20:07:09.032 [AWT-EventQueue-0] pl.otros.vfs.browser.VfsBrowser Updating selection
DEBUG 19 Apr 2022;20:07:13.455 [AWT-EventQueue-0] pl.otros.vfs.browser.actions.BaseNavigateAction Executing

The second line in the snippet displays the password in clear text, but the subsequent lines mask the password with asterisks.
This should be easily reproducible by loading a log file (or any text file for that matter) via the SFTP:// command in the log viewer.
I'm using OLV 1.4.16

I checked the code and there are quite a few other places where the password is being logged in clear text. This happens when logging the contents of the text field in the GUI.
The logs statements that show the password with asterisks is because the url was already processes by the Apache VFS library and the getFirendlyName() method is invoked.
I will submit a pull request for fixing this issue shortly.

Thank you @benlazaro. I merged it to master. I seems to be we have enough for a new release.


Ubuntu does not provide network.service

Unit files in documentation utilize network.service to ensure the service starts after the network however does not exist on ubuntu.
For docker unit files remove and replace with a dependency on docker. For podman identify a better dependency that is cross platform

Using network.target rather than network.service seems to work...


Score Keeper App added

Description 📜
A simple score keeping app made with the help of HTML CSS and Javascript
Fixes #96

Type of change 📝

[x] Add a new project

Domain of Contribution 📊

[x] Project using HTML, CSS & JS

Checklist ✅

[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸

@darkling10 resolve the conflicts at your end.


Binding to string variable

Is the a way to bind a string variable to  the current culture so that if the culture changes the string variable also changes automatically ?
thank you.

So you want to have a "value representing the current culture" provided by the localization?
Well, that value is not provided by the extension, but you can achieve that behavior with your own implementation.
pseudocode:
public class LanguageChanger{
  DependencyProperty CultureInfo CurrentCulture;
  // ^^ ^^ ^^ thats the property you can bind to in your xaml.

  public void Change(CultureInfo newCulture){
    LocalizeDictionary.Instance.Culture = newCulture;
    CurrentCulture = newCulture;
  }
}

not exactly , suppose i have a string in the on Resource.en.resx file with the same key as another string in Resource.fr.resx and i create  a string variable in c# i want it to contain the satring stored in Resource.en.resx and if the culture changes i want that string to change to the one with same key but in Resource.fr.resx .

i am not sure if what i said is clear

Well, you can bind to poco objects, not only to wpf objects.
here is a little example I quickly put together to demonstrate it:
it contains also an implementation for a custom resource provider.
void Main()
{
  var provider = new TestLocalizationProvider();
  WPFLocalizeExtension.Engine.LocalizeDictionary.Instance.Culture = CultureInfo.InvariantCulture;
  WPFLocalizeExtension.Engine.LocalizeDictionary.SetDefaultProvider(null, provider);

  var target = new ChangeTarget();
  var targetProperty = target.GetType().GetProperty(nameof(ChangeTarget.ChangedValue));

  var locBinding = new WPFLocalizeExtension.Extensions.LocTextExtension("the-key");

  Console.WriteLine("Before binding: " + target.ChangedValue);

  locBinding.SetBinding(target, targetProperty);
  Console.WriteLine("After binding: " + target.ChangedValue);

  WPFLocalizeExtension.Engine.LocalizeDictionary.Instance.Culture = new CultureInfo("de");
  Console.WriteLine("After set culture to 'de': " + target.ChangedValue);

  WPFLocalizeExtension.Engine.LocalizeDictionary.Instance.Culture = new CultureInfo("fr");
  Console.WriteLine("After set culture to 'fr': " + target.ChangedValue);

  WPFLocalizeExtension.Engine.LocalizeDictionary.Instance.Culture = new CultureInfo("en");
  Console.WriteLine("After set culture to 'en': " + target.ChangedValue);
}

// Define other methods and classes here
public class ChangeTarget
{
  public string ChangedValue { get; set; }
}

public class StringResourceKey : FullyQualifiedResourceKeyBase
{
  public StringResourceKey(string key)
  {
    this.Key = key;
  }

  public string Key { get; set; }

  public override string ToString()
  {
    return this.Key;
  }
}

public class TestLocalizationProvider : ILocalizationProvider
{
  public FullyQualifiedResourceKeyBase GetFullyQualifiedResourceKey(String key, DependencyObject target)
  {
    return new StringResourceKey(key);
  }
  public object GetLocalizedObject(string key, DependencyObject target, CultureInfo culture)
  {
    if (key == "the-key")
    {
      switch(culture.TwoLetterISOLanguageName)
      {
        case "de": return "de value";
        case "fr": return "fr value";
      }
    }

    return $"Key '{key}' for Culture '{culture.Name}' not found.";
  }
  public ObservableCollection<CultureInfo> AvailableCultures
  {
    get { return new ObservableCollection<CultureInfo>(new[] { new CultureInfo("de"), new CultureInfo("fr")}.ToList()); }
  }
  public event ProviderChangedEventHandler ProviderChanged;
  public event ProviderErrorEventHandler ProviderError;
  public event ValueChangedEventHandler ValueChanged;
}

output:
Before binding:
After binding: Key 'the-key' for Culture '' not found.
After set culture to 'de': de value
After set culture to 'fr': fr value
After set culture to 'en': Key 'the-key' for Culture 'en-US' not found.