[ENH, MRG] Add interpolation per epoch

Complementing the functionality of autoreject, it would be nice to interpolate channels only on some epochs. For instance, if you epochs.drop_bad and notice that there are say 15 epochs all with a different bad channel, it could be just pops or other artifact that interpolation would save you an epoch and/or a channel.

I like the idea to save a couple of Epochs, but I'm -1 on adding an extra method specifically for this. It is simple, but will further congest the API and creating the input interp_chs will be confusing for some users. I would prefer that epochs.interpolate_bads(...) becomes smart enough to support this use-case.
The "nice" feature of interpolate_bads is that it knows what are the bad channels. You do not need to provide an argument containing the channels to interpolate. Similarly, we could extend the .info["bads"] field for Epochs object to support storing bad channels per epochs. Maybe info["bads"]: list[str] | dict[int, list[str]]?
As a second and third step, we could add a method to generate this dictionary from a threshold and enable interactive bad channel selections in the 2D browser (clicking on a trace will mark the channel as bad in the epochs, clicking on the background will mark the epoch as bad).
It's definitely more work, but I think it would be worth in the long run.

Really good points I hadn't considered.
If we change the info['bads'] it will have to survive roundtrip to disk which might involve modifying the FIF standard unless it just works, I'll check.
I think if info['bads'] is modified to be a list, that's going to break some things, namely plotting is the first that comes to mind so that would have to be fixed first or at the same time I think.
It might be a lot of work to store the bad channels per epoch in info['bads'] if it involves modifying the FIF standard, so much so that I know other similar situations have been worked around because it is ideal to leave FIF be. If that's the case, we can just add interp_chs overloads in the two cases that come to mind (interpolation and plotting) (and any more of those are helpful) without making new API entries, good call on that.

Agreed I don't think modifying info['bads'] is a good idea.
I think a tractable way forward is with channel-specific annotations, as these exist in raw and then carry over to epochs. See for example https://github.com/mne-tools/mne-qt-browser/issues/204 which would provide interactive marking (in addition to any automated ones people want to use), then we can write a function to look through for channel-specific BAD_ annotations (by default, descriptions to interp could be an arg) and interpolate. And ideally this interpolation bit could be part of interpolate_bads somehow, maybe with interp_annots=() by (backward-compatible) default but you could pass interp_annots="BAD_*" or similar to interpolate any channel-specific bad annotations as well as info['bads'].

I actually checked and it wasn't too crazy to make info['bads'] with a list of lists survive roundtrip to disk. I think the intractable issue in principle is that info is below epochs in the object hierarchy and in order to check that you have the right number of bad entries (one for each epoch), you need access to an information specific to the epochs -- the length of the epochs-- so in principle I think this breaks a nice object hierarchy and so isn't the way to go. I'll push the commit doing this for the record though.

I don't object to info['bads'] on implementation grounds but rather conceptual and ecosystem compliance. info['bads'] has been list of str and has worked this way for years (decades?) and other software expects it to be this. Moreover the measurement info is not designed to store time-varying information. We have already have annotations for this sort of thing, it's much better suited to it.

Hmmm @larsoner that all sounds reasonable but it sounds like a GSoC project or something, it's even more broad in scope than what @mscheltienne was suggesting. Perhaps we can live with a simple overload of interp_chs and then plan to depcrecate that for interp_annots when that gets written.
That all sounds very complicated with tagging bad epochs and channels with specific strings by the way, I'm not sure that will be implemented as such, it would make more sense to me to have a matrix with bad/interpolate entries like autoreject.RejectLog.labels as an attribute of  annotations only for epochs. Since annotations already store events, you should be able to compare just within the annotations without needing access to the parent epochs like this info problem. Just my two cents.

That all sounds very complicated with tagging bad epochs and channels with specific strings by the way, I'm not sure that will be implemented as such

We have built / are building tools around channel-specific epochs, so I don't see that as a problem. Then the mapping from the bad annotations to which channels to interpolate in which time intervals of which epochs is like a two-level loop or similar (< 10 lines probably). Where do you see the complication specifically?
Note that what I propose is also more general in the sense that it doesn't have to be specific to Epochs, though it would work thenre. You build the interpolation logic once and it works almost as easily for Epochs as it does for Raw. That to me is a big advantage. Something like find_bad_channels_maxwell could do time-varying bad channel marking (e.g., for flux jumps) or something and interpolate_bads would work on Raw or Epochs, up to you when you do it.

it would make more sense to me to have a matrix with bad/interpolate entries like autoreject.RejectLog.labels as an attribute of annotations only for epochs

Rather than sticking with this binary mask idea these labels could easily be converted to annotations on the epochs object, again with a few lines of code (we could even write a convenience function for it). Then in addition to interpolation with interpolate_bads working, we additional nice standard stuff like being able to visualize the channel specific badness/annotations in epochs.plot for example, which is a work in progress.
To me this interpolation stuff is way smaller scope than GSoC and fits within a more general framework if we conceptualize it the right way from the beginning. Using a binary mask like you suggest is the easiest way to do it perhaps but doesn't fit as nicely with existing tools/frameworks in MNE, so it misses out on some opportunities.

That sounds very convincing and reasonable other than my ignorance of the internal working of annotations. Sounds like you've been thinking about it a bit so I don't insist on sticking to what I would consider my initial impression of how to solve this.
I'll just leave this PR at this state (working with interp_chs) and it sounds like maybe should just be closed to avoid confusion until the annotations are implemented to be specific to epochs and then we can use that to reimplement this.

I hope you don't mind me saying this @alexrockhill but this is a great example of why we encourage all our contributors to open an issue first to discuss a proposed implementation before putting in the work to code it up.  (I know you can code quite fast and for you this probably wasn't a ton of time lost, but I think it's still worth making the point; those lost minutes do add up!)

I don't mind you saying it. I had already written the code for my own analysis so it was only a couple minutes extra work in this case and I was copying how Mainak did it in autoreject so I thought it would be pretty straightforward otherwise I would have opened an issue. I wasn't aware of the active development of annotations which would fit this so good to know and it ended up basically like an issue discussion but in the future I'll keep that in mind.


Working diagnostics tools that do not depend on GM rights

Without GM rights, most existing diagnostics scripts don't work in our main game. My moving the logic into the privileged libraries and publishing them globally as functions, we can offer the same tools to any player.

351c4af87130f330b0f9909ec8b55d25a8c7f03d made showXP and showXPLog work for players now, as well, as does showExchange.

Hasn't turned out to be a real problem. Closing for irrelevance.


[Web Portal] Remove entry for outdated link

Remove entry for preview submission and old marketplace.
Close #2356.

Coverage remained the same at 53.345% when pulling 7b5abe293194521b1735c06ecbeadd5e67fb7592 on xiongyf/remvoe-entry into 1e1b6bca3a2897aa102abd7f861970d1fdf36c5e on master.

Coverage remained the same at 53.345% when pulling 7b5abe293194521b1735c06ecbeadd5e67fb7592 on xiongyf/remvoe-entry into 1e1b6bca3a2897aa102abd7f861970d1fdf36c5e on master.

Seems src\app\plugin\plugin.component.js used <pai-plugin> which is MarketplaceElement, and MarketplaceElement required template-view.component which required githubThrottled.
Should we fix this too?

plugin.component.js is just the plugin instead of MarketplaceElement, it doesn't require marketplace.


xWebSite: Move localization strings to strings.psd1 file

We should move the localization strings to a strings.psd1 file. See the localization https://dsccommunity.org/guidelines/localization/

I want to try this too


Email sending

Merge conflicts

We are now working on new branch 'sent-email-ui'

This is looking pretty good. There are some comments though

👍  (It would be slightly preferable to have the dumb component as a function component but this is OK)

Oops -- tests failing. Looks like a type test. Let me know if you need some help

Getting the following error when running tests:
property zipWith not found
On Thu, Jul 14, 2016 at 1:20 PM, Rafe<EMAIL_ADDRESS>wrote:

Assigned #286 https://github.com/foundersandcoders/sail-back/pull/286
to @JMurphyWeb https://github.com/JMurphyWeb.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/foundersandcoders/sail-back/pull/286#event-722907128,
or mute the thread
https://github.com/notifications/unsubscribe/AMDYNacbouV2snJu9q-rtOvg6_JaJEkwks5qVimEgaJpZM4JKksx
.

Yes. A definition needs to be added to the interfaces/ramda.js file. Would you like me to do it?

we'll try.
Did you see the error message in the other PR?
On Thu, Jul 14, 2016 at 2:29 PM, Rafe<EMAIL_ADDRESS>wrote:

Yes. A definition needs to be added to the interfaces/ramda.js file. Would
you like me to do it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/foundersandcoders/sail-back/pull/286#issuecomment-232665360,
or mute the thread
https://github.com/notifications/unsubscribe/AMDYNa7z9q1lL5zVDGBfqFtpQsFuLBO0ks5qVjnAgaJpZM4JKksx
.

Yup! Commented there

Also, timebox trying to fix this. It's worth trying to see if you can do it, but I have a local fix so it's not worth you expending more than ~a pomodoro on it.

We give up :weary:

On 14 Jul 2016, at 14:38, Rafe<EMAIL_ADDRESS>wrote:
Also, timebox trying to fix this. It's worth trying to see if you can do it, but I have a local fix so it's not worth you expending more than ~a pomodoro on it.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/foundersandcoders/sail-back/pull/286#issuecomment-232667749, or mute the thread https://github.com/notifications/unsubscribe/AL4pcDaP-qpWVcvspvmezh5ppm79bf-9ks5qVjvmgaJpZM4JKksx.

I'm going to give you instructions, so you walk around the file a bit and start to get a bit familiar.
Line 166: change declare class RList<T> { to declare class RList<T, S, R> { (this gives us extra type variables)
Add a line at the bottom of the class (it will be line 279) with
zipWith: CurriedFunction3<BinaryFn<T, S, R>, Array<T>, Array<S>, Array<R>> (@alexeygolev provides us with CurriedFunctionN and BinaryFn as awesome helper functions)

Thanks Rafe, this makes sense written out although not sure we could have come up with it from scratch.

@rjmk @ivanmauricio zipWith was added to the typings:-) also the typings were cleaned up quite a bit. Check out the new version in https://github.com/flowtype/flow-typed

Thanks, @alexeygolev! I will have a look. Have made some changes of my own to the typings, but imagine they can be replaced wholesale with the new ones on flow-typed

@rjmk please let me know if it still lacks anything crucial. Just create an issue in flow-typed repo


Bugfix/issue 129

Added an option to show bottom navigation.
Added a sample showing how to hide bottom navigation.

Codecov Report

Merging #137 into master will increase coverage by <.01%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master     #137      +/-   ##
============================================
+ Coverage     46.95%   46.95%   +<.01%
  Complexity      116      116
============================================
  Files            24       24
  Lines           886      888       +2
  Branches         85       86       +1
============================================
+ Hits            416      417       +1
  Misses          406      406
- Partials         64       65       +1

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/stepstone/stepper/StepperLayout.java
35.59% <50%> (+0.09%)
19 <0> (ø)
: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 593e5af...1d2ecef. Read the comment docs.

Hi @enizbilgin,
Thank you for this PR!
It looks good to me, especially thank you for providing a sample as well.
Could you change this PR so that it merges to the develop branch instead though?
It would be also nice if there was a StepperLayout#setShowBottomNavigation(boolean) method so that the visibility could be changed programmatically as well, e.g. on a subset of steps only.

Hi @zawadz88,
I updated this PR, added StepperLayout#setShowBottomNavigation(boolean) method.
I changed the pull request merged to the develop branch.


The latest version of codelldb requires a explicitly specified port

Yes, it works on v1.6.10, but fails like this since v1.7.x.

https://github.com/simrat39/rust-tools.nvim/commit/9e00f62d0bb2aadcaf1b56b0c6a4b67cbb2fe103
Was fixed in a branch which will be merged soon hopefully, so feel free to check it out

Branch modularize_and_inlay_rewrite fixes this issue. When do you think it will be merged to master?

Fix has been merged


Azure fix ep 000

:tada: This PR is included in version 1.73.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update request.zig

I hope I am understanding the inner workings of this library correctly.

Ya, that's right. Thanks.


[Bug] Custom CSS Editor can not Handling multibyte characters correctly

Describe the Bug
Custom CSS Editor panic caused by multibyte characters.
To Reproduce

Input any multibyte characters(e.g: emoji(🦄) and Japanese(あ)) to Custom CSS Editor.
Input any characters.
Characters appear to Custom CSS Editor more than input.
ex; Copy & Paste is more causes strange behavior.

Expected Behavior
doesn't panic by multibyte characters.
Discord Version
Stable
Additional Context
This bug is not fatal. because in edit CSS usually, not used multibyte characters.

if install ACE on Better Discord context, may fix this problem.
but it will be complicated dependency.

thank you fix this!


password / auth is broken in docker images or python driver

Testing out neo4j on a new project, and the authentication for running in docker seems broken or strange.
repro steps
delete all volumes that might have some historical information related to this post
https://stackoverflow.com/questions/55152286/why-neo4j-docker-authentication-doesnt-work

rm -rf ~/neo4j

startup a new image with:

docker run --rm \
    --name neodocker \
    -p7474:7474 -p7687:7687 \
    --env NEO4J_AUTH=neo4j/test \
    --user="neo4j" \
    neo4j:latest

gives me this response:
▶ bin/neo4j-docker.sh
Error response from daemon: No such container: neodocker
Changed password for user 'neo4j'.
Directories in use:
  home:         /var/lib/neo4j
  config:       /var/lib/neo4j/conf
  logs:         /logs
  plugins:      /var/lib/neo4j/plugins
  import:       /var/lib/neo4j/import
  data:         /var/lib/neo4j/data
  certificates: /var/lib/neo4j/certificates
  run:          /var/lib/neo4j/run
Starting Neo4j.
2020-03-16 13:22:47.387+0000 INFO  ======== Neo4j 4.0.1 ========
2020-03-16 13:22:47.397+0000 INFO  Starting...
2020-03-16 13:22:51.920+0000 INFO  Bolt enabled on <IP_ADDRESS>:7687.
2020-03-16 13:22:51.921+0000 INFO  Started.
2020-03-16 13:22:53.379+0000 INFO  Remote interface available at http://<IP_ADDRESS>:7474/

try a shell login on the docker container

docker exec -it neodocker bash

neo4j@b384ab88c879:~$ cypher-shell -u neo4j -p test
Connected to Neo4j 4.0.1 at neo4j://localhost:7687 as user neo4j.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j@neo4j>
Bye!
neo4j@b384ab88c879:~$ cypher-shell -u neo4j -p xxx
The client is unauthorized due to authentication failure.
neo4j@b384ab88c879:~$

so it seems the PW is really set to test
additionally via web
To help us understand your issue, please specify important details, primarily:
▶ docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:21:11 2020
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

on mac osx latest

the problem is if I try and run a small python script:
from neo4j import GraphDatabase

class NeoDriver(object):

    def __init__(self, uri, user, password):
        print('connecting...')
        self._driver = GraphDatabase.driver(uri, auth=(user, password), encrypted=False)
        print('connected')

def loader():
    print('startup')
    neo = NeoDriver("bolt://<IP_ADDRESS>:7687", 'neoj4', 'test')

loader()

I will just get the error

neobolt.exceptions.AuthError: The client is unauthorized due to authentication failure.

@dcsan you set the username to "neoj4" not "neo4j"

https://github.com/neo4j/docker-neo4j/issues/223
since I can login using bash terminal and web, maybe it's a problem with the python driver?

@dcsan well it could be, but like I said, from the code you have posted here it looks like you're giving the python driver the wrong username. Did you try again after changing the username to neo4j instead of neoj4 like is in your code?
https://github.com/neo4j/docker-neo4j/issues/238#issuecomment-599542239

doh! how annoying. thanks eagle eyes!

No problem! I appreciate very much that you gave us a whole load of code to reproduce the issue. That really saved a lot of time for both of us :slightly_smiling_face:


Support for AWS Requester Pays buckets

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm trying to work with AWS requester pays buckets, but getting an error:
GenericError: Generic S3 error: Error performing list request: Client error with status 403 Forbidden:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
    AccessDenied
    <Message>There were headers present in the request which were not signed</Message>
    <HeadersNotSigned>x-amz-request-payer</HeadersNotSigned>
    <RequestId>QEA9RD5BETE6BN7E</RequestId>
    <HostId>tfgEYvVBmWEx5EZljTRXuR6S6ocChjas5qF8eXThc0yt6bRyGEJCYjCFJ+/YOvA2Q2DT/NSqBTw=</HostId>
</Error>

The following is a Python example from obstore. It should be easy to interpret what the underlying Rust code is, but I can provide a pure-Rust example if necessary
import obstore
from obstore.store import ClientOptions, S3Store
import boto3

# boto3.Session reads credentials from disk, which then passes them to AmazonS3Builder
session = boto3.Session()

# Set x-amz-request-payer as a default header for every request
options = ClientOptions(default_headers={b"x-amz-request-payer": "requester"})

# This is a bucket exposed through the AWS open data registry
# https://registry.opendata.aws/naip/
# It's public with requester-pays turned on
store = S3Store.from_session(session, bucket="naip-visualization", client_options=options)

# Make the request
result = obstore.list(store, "ny/2022/60cm/rgb/40073/").collect()

Describe the solution you'd like
Include AWS header in signature calculation. Presumably there would need to be some way to tell object_store which default headers to include in its signing mechanism?
Describe alternatives you've considered

Additional context
This AWS docs page has a reference on requester pays and request signing

The only prior discussion I can find is on discord:

Hi everyone, if anyone is familiar with the object_store implementation in arrow-rs I had a question; is there a way to pass in arbitrary AWS (specifically S3) options via HTTP headers? For example, I don't see implicit support for requester pays buckets, which is hinted at by passing in this header value pair: x-amz-request-payer : requester so I'm wondering if there's a way to add in our own options like that.

Not on a per-request basis, as it sort of breaks the abstraction of being any object store, but you could look at overriding the headers using ClientOptions when you build the AmazonS3 client

Default headers are applied onto the underlying reqwest::Client directly, but then it's not possible to access those default headers back out of a Client. So it's not possible to use that with requester pays because you need include the header content in the signing process.

label_issue.py automatically added labels {'object-store'} from #6768


cannot use other port except 8080

Bug reports
Using version 2.26.3 of Wiremock
Using the stack builder library within Junit5 tests to execute stubbed endpoints
Using gradle 6.2.1
here is code
    WireMockServer wireMockServer = new WireMockServer(65000); //No-args constructor will start on port 8080, no HTTPS
    wireMockServer.start();
    stubFor(get(urlEqualTo("http://localhost:65000/test"))
            .willReturn(aResponse()
                    .withStatus(200)
                    .withHeader("Content-Type", "application/json")
                    .withBody(result.toJSONString())));

Here is a summary of the error
Connect to localhost:8080 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at com.github.tomakehurst.wiremock.client.HttpAdminClient.safelyExecuteRequest(HttpAdminClient.java:473)
at com.github.tomakehurst.wiremock.client.HttpAdminClient.executeRequest(HttpAdminClient.java:454)
at com.github.tomakehurst.wiremock.client.HttpAdminClient.addStubMapping(HttpAdminClient.java:131)
at com.github.tomakehurst.wiremock.client.WireMock.register(WireMock.java:298)
at com.github.tomakehurst.wiremock.client.WireMock.register(WireMock.java:293)
at com.github.tomakehurst.wiremock.client.WireMock.givenThat(WireMock.java:104)
at com.github.tomakehurst.wiremock.client.WireMock.stubFor(WireMock.java:108)

You need to configure the static DSL to use your server's configured port:
WireMock.configureFor(wireMockServer.port());


refactor(allowance): list types

Describe the changes you have made in this PR
Switching allowance-list to TS
Relates to #989
Type of change (Remove other not matching type)
refactor
How has this been tested?
Will test it manually.
Would be nice to add a Jest test but mocking/stubbing Dexie needs to be figured out. Maybe pairing works?
Checklist

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

@bumi approves, need to resolve conflicts


Fix reset inside click

Fix bug where mousedown/touchstart inside the child, then mouseup/touchend outside the child doesn't reset the insideClick flag. This change now resets the insideClick flag on window mouseup/touchend.

Thank you!

Published<EMAIL_ADDRESS>


Figure out if emphasis should be put on reactor::Handle or reactor::Pinned

The more I think about, given how industry convention there is around trying to keep IO on the same thread, would it be preferable to design the API to put emphasis on Pinned, which keeps execution local vs. Handle which allows IO types to get spread around threads.
This issue is currently mostly a placeholder for a discussion and will be filled out more as thoughts evolve.
Relates to #13

Some thoughts:

A pin can always be trivially "upgraded" to a handle
Functions taking a pin can behave differently than those taking a pin (e.g. they know the event loop is nearby)
It'd be very bad to not have functionality like using Handle to create I/O objects.
It'd be bad, but not catastrophic, to duplicate API surface area and have a function for a handle and a function for a pin

@alexcrichton I think you made a typo here :P

Functions taking a pin can behave differently than those taking a pin (e.g. they know the event loop is nearby)

Server case
My sense is that, in most cases, server code "begins" in the event loop. Usually you've have a "root" task that is accepting connections, then spawning additional tasks onto the event loop (at least per-connection). Those tasks will then spawn tasks onto thread pools etc as necessary. But I/O is always "driving".
In other words, you get the following task hierarchy, with each task spawning the tasks below it:

I/O: Root task (accepts connections)
I/O: Session task
I/O: Per-request task (for some multiplexed protocols)
CpuPool etc: the work of the request

I think this will be a common model, whether you're using tokio-service or rolling your own server. And this model does indeed suggest that external tasks spawning onto the event loop, or otherwise using Handle, would be unusual. The more typical setup would be for e.g. a CpuPool task to return a value or a stream to its parent I/O task, which manages all I/O.
Given all the above, it certainly makes sense to work with Pinned, since all of the I/O tasks will be created on the event loop thread. Working with Pinned gives you some simplifications (in terms of the API) and expressiveness (in terms of what kinds of things you can spawn). If we don't emphasize Pinned, people will likely miss out on those benefits for no good reason.
So I think I'm in favor of emphasizing Pinned, though we should talk concretely about what that would mean.
Client case
What's less clear to me is whether the above makes sense for a "pure client" -- that is, a client app that wants to do some futures-based I/O. We've spent a lot less time thinking about that case, but my guess is that we'll probably want to package everything up into a very simple and slick API, so that the above isn't really relevant (as long as we keep the Handle functionality available in some form).

My current thoughts regarding how to emphasize "pinning" is more or less the following:

Rename reactor::Pinned -> reactor::Handle.
Have reactor::Core::handle() return the new reactor::Handle (which is "pinned" to the thread).
Come up w/ a new name for the cross-thread reactor handle which indicates more of an "action at a distance" behavior. I don't know what a good name would be, but for I will use ActionAtADistanceHandle (so that the name doesn't stick hopefully)
Add an fn on new reactor::Handle: Handle::into_action_at_a_distance() (name tbd) that returns the cross thread handle.

Regarding clients, my current thinking is that most clients will benefit from some level of connection sharing across client handles, either in the form of keep-alive, connection reuse (sending multiple requests through the same open socket), or a connection pool. As such, the handle that end users hold to issue requests on will need to dispatch a request to a task that manages the socket.
I'm currently organizing the task that manages the socket to live on the IO thread, so my goal of keeping sockets on the IO thread stays.
There may be a use case of wanting to move the socket to a CPU pool, but I have never encountered it. The only question I've crossed is at what point do you start moving app logic off of the IO thread vs. keeping it all on the IO thread.

@aturon your reasoning sounds pretty logical to me, so I think I agree that we should perhaps be emphasizing the "pinned to thread handle" vs the "sendable to other threads handle".
I think though we'll still want all I/O objects themselves (aka PollEvented<T>) to still contain a sendable handle to ensure the I/O objects are sendable. If there's any need to then recover today's implementation of creating I/O objects returning futures you'd just need to use a Oneshot to send the value back. (in other words, I think we don't need two suites of methods, we could just provide ones that take "pinned to the thread" handles).

Yeah, I agree w/ @alexcrichton that for now sticking w/ a sendable handle is sane.

Was it intentional that 66cff8e changed UdpSocket to not return a future anymore for ::bind()? UdpSocketNew is unused after this. Also ::new() returns a Result instead of IoFuture now

@sdroege indeed! Now that Handle is tied to the event loop thread, we don't need to return a future any more and can return a result immediately.

@alexcrichton My other point was that UdpSocketNew is unused now, should probably be removed then :)

Gah oops, right!


"enabledLiveAutoComplete": false has no effect

I'm using 1.36.0, macos, MySql 8 database (but I noticed on others as well).
I'm trying to disable the live completion but it just won't go
I tried both using the settings on the gui and editing sqlelectron.json, neither "enabledLiveAutoComplete": false nor  "enabledAutoComplete": false makes any effect, when I go to my database and start typing in the query editor, immediately it starts appearing.

Here is the full config file:
{
  "servers": [
    {
      "id": "cb508927-9f47-41b7-b457-150425a2045a",
      "name": "mysql",
      "client": "mysql",
      "ssl": false,
      "host": "localhost",
      "port": 3306,
      "socketPath": null,
      "user": "root",
      "password": {
        "ivText": "6lv2/JcFt9rMLiANclLr0A==",
        "encryptedText": "GIYgFDGkmI0ZuYBBdK8Prg=="
      },
      "schema": null,
      "encrypted": true
    }
  ],
  "zoomFactor": 1,
  "limitQueryDefaultSelectTop": 100,
  "enabledDarkTheme": false,
  "disabledOpenAnimation": true,
  "csvDelimiter": ",",
  "connectionsAsList": false,
  "customFont": "Lato",
  "enabledAutoComplete": false,
  "enabledLiveAutoComplete": false
}

And the docker-compose file I'm using to run the db (although I doubt it makes any difference):
version: '3.3'
services:
  db:
    image: mysql:8
    command:
      - '--local-infile=1'
      - '--secure-file-priv='
    restart: always
    security_opt:
      - seccomp:unconfined
    environment:
      MYSQL_DATABASE: 'db'
      MYSQL_USER: 'user'
      MYSQL_PASSWORD: 'password'
      MYSQL_ROOT_PASSWORD: 'password'
    ports:
      - '3306:3306'
    expose:
      - '3306'
    volumes:
      - ./my-db:/var/lib/mysql
      - ./mysql-files:/var/lib/mysql-files
volumes:
  my-db:
  data:

Thanks for the otherwise awesome project!

Thanks for reporting it @betafcc . I just confirmed the app isn't respecting the configuration file values for those fields.

@maxcnunes I noticed an old issue that may be related https://github.com/sqlectron/sqlectron-gui/issues/319


fix id counter

i bring great shame to my family

I was wondering about the zero bytes in the ids in logs lately. :-)


jQuery compatibility and simplified array re-ordering code

Hey thanks for the great directive. It was just what I was looking for. But I noticed that it wasn't compatible with jQuery because "dataTransfer" method doesn't exist on the jQuery wrapped event.
In trying to fix this, I also found a slightly simpler way to do the re-ordering. Rather than attaching the original index to the element and then reading it on the other side, I created a small service to keep track of which element is being dragged. I also created a small helper function for moving the item inside of the array.
Thanks

@adamalbrecht hey! sorry, i saw this when you first opened the PR, but i forgot all about it, until another PR opened up. i'm short on time at this moment, but i want to get this merged in soon.
i like the itemBeingDragged service idea a lot. thanks for the help!

It would be simpler to just have "jQuery.event.props.push('dataTransfer');" at the top of the library...

@adamalbrecht 🙈


Update for Beat Saber 1.36.0

Included a minor fix on song hash by using SongCore.
The original method is not always correct because the game will append directory names to the level ID for the levels with the same hash. This fix was committed before I made any changes for 1.36. I can make a separate PR if you prefer.
For the 1.36 update, I have also bumped the dependency versions so it will not load on older (<1.34.4) versions of the game.

Dropping a build here for anyone that wants to test
DiTails_[v1.0.0-g1.36.0-837e733].zip

I am releasing this myself.


feature: use util.LockerPool instead of local storage locker

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #575 into master will decrease coverage by 0.12%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #575      +/-   ##
==========================================
- Coverage   48.18%   48.05%   -0.13%
==========================================
  Files          96       96
  Lines        5294     5275      -19
==========================================
- Hits         2551     2535      -16
+ Misses       2550     2549       -1
+ Partials      193      191       -2

Impacted Files
Coverage Δ

supernode/store/local_storage.go
72.14% <80%> (-2.08%)
:arrow_down:

supernode/daemon/mgr/scheduler/manager.go
25.98% <0%> (+0.78%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Fix visibility check

Hey!
I was going through the code and spotted this double if testing for the same condition twice.
I think the second one should probably be Visibility_Hide_Blocking?

Actually I think that method is a bit more broken than that, let me add a few commits.

It may not be easy to review the second commit, I can split it into several commits to make the changes more progressive.
In any case, here is a diff for one of the demos which makes the grid layout code crash.
The changes in this pull request fix this crash.
diff --git a/_examples/widget_demos/basic_container/main.go b/_examples/widget_demos/basic_container/main.go
index 97b812b..5abbb8f 100644
--- a/_examples/widget_demos/basic_container/main.go
+++ b/_examples/widget_demos/basic_container/main.go
@@ -26,13 +26,26 @@ func main() {
                // Containers have the concept of a Layout. This is how children of this container should be
                // displayed within the bounds of this container.
                // The container will use an anchor layout to layout its single child widget
-               widget.ContainerOpts.Layout(widget.NewAnchorLayout()),
+               widget.ContainerOpts.Layout(widget.NewGridLayout(
+                       widget.GridLayoutOpts.Columns(1),
+                       widget.GridLayoutOpts.Stretch([]bool{true}, []bool{false, true}),
+               )),
        )

        //From here you can add other containers and widgets to the container.
        //Please see the button widget example to continue.
        //rootContainer.AddChild(button)

+       container := widget.NewContainer(
+               widget.ContainerOpts.Layout(widget.NewRowLayout()),
+       )
+       container.GetWidget().Visibility = widget.Visibility_Hide
+
+       // add the button as a child of the container
+       rootContainer.AddChild(container)
+       rootContainer.AddChild(widget.NewContainer())
+
+
        // construct the UI object
        // This ui object has an Update method and Draw method that must be
        // called in the ebitengine Update and Draw methods as seen below.


Stocard internal branch.

Removed some classes which are in conflict with the current manatee library.

This should not be merged. Just for internal build. Maybe we can delete this branch in near future after conflics have been solved.


acl,object: Add new MatchType enum values after protocol extension

Make codegen from https://github.com/nspcc-dev/neofs-api/commit/541cd3cd8d030b5670e7e247122395dfabaadeac.

Conflicts.


Applicants can see list of required information and documents for a form before starting their application (i.e. application preview)

(Not necessary for MVP)

Because of #607, we may not need to let the CiviForm admin add very much info -- we could probably just ask them for a link to the program details page, and a list of required documents. Program information and metadata will probably already be recorded on pages on seattle.gov, which are already maintained by the program admins -- so we don't want to force them to copy-paste details into CiviForm too.


tcplay -c    hangs after some GB

Hi.
On Dragonfly with Hammer2 FS.
When creating a default tcplay  5GB slice on a file via /dev/vn0   all works fine.
When trying to create a 1TB slice, the tcplay create hangs in dead air after writing/filling a few GB. And the kernel doesn't seem to want to give any process write access to regular filesystems, so i can't run commands anymore.
Please let me know what you want to know, which command outputs you need, etc :)

PS.  when doing the tcplay -c -z  is does create te slice,  but then the kernel goes into FS hang/lock modus after writing about 23GB of data to it.

I don't see how that has anything to do with tcplay? tcplay only sets up the mapping, and then is out of the picture.

On Mon, 21 Feb 2022 23:51:21 -0800
Alex Hornung @.***> wrote:

I don't see how that has anything to do with tcplay? tcplay only sets up the mapping, and then is out of the picture.

Dear Alex,
You are not a kind/helpful type of person, are you?  Bit typical for programmers :(
Blame shifting is more the game, ...instead of being social by simply just pointing in the right direction with your
knowledge about how it all works.....


Error using default query filter

When using the default and dataone query filters I noticed an error in the default worker pod, pasted below. The default is currently an empty dict. I think we should have the default filter query across all DataONE repositories because this will be the default that Slinky will use in production.
thomas deploy % kubectl logs worker-default-647f4597db-lvtsl
22:00:41 Worker rq:worker:5e4a337da1b74aa5b96aaa2f18bec9ee: started, version 1.10.1
22:00:41 Subscribing to channel rq:pubsub:5e4a337da1b74aa5b96aaa2f18bec9ee
22:00:41 *** Listening on default...
22:00:41 Cleaning registries for queue: default
22:00:43 default: d1lod.jobs.update_job() (3b1325d2-4e4f-4550-b25d-0dc5ff96d716)
22:03:43 Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/rq/worker.py", line 1061, in perform_job
    rv = job.perform()
  File "/usr/local/lib/python3.9/dist-packages/rq/job.py", line 821, in perform
    self._result = self._execute()
  File "/usr/local/lib/python3.9/dist-packages/rq/job.py", line 844, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/dist-packages/d1lod/jobs.py", line 36, in update_job
    datasets = client.get_new_datasets_since(cursor, BATCH_SIZE)
  File "/usr/local/lib/python3.9/dist-packages/d1lod/client.py", line 91, in get_new_datasets_since
    return self.d1client.query(
  File "/usr/local/lib/python3.9/dist-packages/d1lod/filtered_d1_client.py", line 88, in query
    response = super().query(engine, "?" + urlencode(query_params))
  File "/usr/local/lib/python3.9/dist-packages/d1_client/baseclient_1_1.py", line 101, in query
    response = self.queryResponse(
  File "/usr/local/lib/python3.9/dist-packages/d1_client/baseclient_1_1.py", line 80, in queryResponse
    return (self.POST if do_post else self.GET)(
  File "/usr/local/lib/python3.9/dist-packages/d1_client/session.py", line 240, in GET
    return self._request("GET", rest_path_list, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/d1_client/session.py", line 369, in _request
    return self._session.request(method, url, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/adapters.py", line 440, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
  File "/usr/local/lib/python3.9/dist-packages/rq/timeouts.py", line 63, in handle_death_penalty
    raise self._exception('Task exceeded maximum timeout value '
rq.timeouts.JobTimeoutException: Task exceeded maximum timeout value (180 seconds)

Still need to fix this bug (weird failure when filter is not defined) and also change the default. We talked as a team and decided the best default would be something that wouldn't hammer DataONE if a user didn't change such as defaulting to all of DataONE. I suggest maybe making the default just recent datasets (last week, last month, etc).


preserve-symlinks parameter is missing for ng test

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.

1.3.0
Desired functionality.

Would like to use a monorepo using something like lerna/yarn workspaces and testing gives errors which can be sidetracked by using a symlinked @angular directory in the local node_modules folder:
ng test --preserve-symlinks

Mention any other details that might be useful.

Example repository: https://github.com/spektrakel-blog/a-glimpse-at-yarn-workspaces
PR/Issue: https://github.com/spektrakel-blog/a-glimpse-at-yarn-workspaces/pull/2

Similar to #7081

Ahah, thought I didn't find anything, thanks :)


Showing Nectar symbol for balance on the proposal page

It is also showing a different icon in the top right for Balances

What's the NECTAR symbol you are referring to? Could you post a screenshot?
Regarding the icon for the balances, that token is the wrapped token. If no icon was set for token in the dao-list then it uses a default one. We can use the same one that was set for the wrappableToken (BRIGHT) but that may cause more confusion.

I think that image should be the token icon as we have it for 1Hive the HNY icon, is that what you are suggesting?

This is for BrightDAO. In the picture is depicted the token logo for NCTR which belongs to the Beezus DAO. I believe there was a mixup when @0xGabi uploaded the assets. I included a logo that is the Bright symbol but with a different colour to represent the wrapped version of our token.

Ah i see, thanks for clarifying. I thought you didn't provide a logo for the wrapped version. The NCTR token logo is actually a default one we use when no logo is provided.
@0xGabi do you have the wrapped icon logo version to include in dao-list?


chore: fix the missing mail address

This PR should merge as soon as possible (to avoid sending error mail by apache)

@javeme @coderzc  merge this PR to avoid sending error alert to private mail group


changed static root to global variable

@kurtw @rosskarchner

Maybe we can split the difference on this?
STATIC_ROOT = os.environ.get('STATIC_ROOT', '/var/www/html/static')

That way, there's a sensible default if STATIC_ROOT isn't defined.
I might lobby for DJANGO_STATIC_ROOT -- that way, an admin who isn't familiar with our code, wouldn't have to figure out that it's a django configuration.

@rosskarchner ok i can agree with that, i've made the change

:+1:

:100:


Some improvements

Switch yarn to pnpm
Switch glob to fast-glob
Fix checkBanned
Switch hapi to fastify
Fix some stylistic issues
Change the deprecated select menu

I removed that because I couldn't get Prisma working with the current code architecture


Pathfinder 2e compatibility?

Handwriting not showing up in PF2e worlds, even with no other modules running.
Most likely from the PF2e system update 1.11.4 from Feb 2nd.

At this time it looks like all of the paragraph styles aren't changing font. I checked it with the Sci-fi ones and a custom sheet; colour, seems to be carrying through but any changes in font family doesn't.


Convert @cat_tree to use TreeBuilder

Convert @cat_tree to use TreeBuilder.
Location:
controller/miq_policy_controller/miq_actions.rb
action_build_cat_tree
app/views/miq_policy/_action_options.html.haml
@miq-bot add_label ui, technical debt

I'm working on it in  #12869

Closing - done in https://github.com/ManageIQ/manageiq-ui-classic/pull/22

..except I can't actually close .. @chessbyte can you?


Unity Exception" Destroy

Hello...
While working with the HoloLens and the Odyssey HMD, I have run into a very persistent Exception. Where upon switching to a new scene I get the exception each time. Then after 4 or 5 scene switches there is a major crash.
I am creating numerous Scenes where each Scene has an interactive button that launches a next Scene. Upon launching a new Scene from a launched Scene, or for that matter, switching from any Scene to another Scene, I get a nasty Development Console message saying:

Unity Exception" Destroy can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers instead move initialization code to the Awake or Start function.

So that's it ! Is it me? Maybe Unity? Or could it be the MRTK system?
I get this nasty situation  no mater the project such as if I start a simple project and compile, then fire up and switch a scene I always get this issue.
I have attached  to this message the "Player Log" file, where you can see all is well until I switch a scene, I do it a few times then you will see the crash at the end. According to the Player Log, (we believe) this looks to to have something to do with - Speech.DictationRecognizer.Dispose ???
Player Log File:
Unity Player Log.txt
To reproduce:
Simply fire up your Hub Example, compile and launch. Switch to a few different scenes then check your Player Log.
My setup:

This occurs from Unity Version 2019.1.14f1 to the newest, that I am presently using, 2019.2.17f1
Microsoft.MixedReality.Toolkit.Unity.Examples.2.2.0.unitypackage

Target platforms:

HoloLens
WMR immersive - Samsung Odyssey

Also, I have researched on the www and found others who have wrestled with this exception.
For example:
https://forum.unity.com/threads/load-can-only-be-called-from-the-main-thread-error-on-changing-scenes.382574/
Any advice as to a way to terminate this bug will be greatly appreciated...
I look forward to being enlightened and if anything else is requested of me I will be most eager to respond.
Thanks, Paul
<EMAIL_ADDRESS>www.terrasame.com

This got me interested and found this thread:
https://forum.unity.com/threads/error-this-value-can-only-be-destructed-on-mainthread-when-doing-dispose.585607/
According to it, Dispose might not be working unless the DictationRecognizer was stopped, even though the official documentation does not state anything like it. Could be worth trying to call Stop before Dispose.

Hello Alexees... Good of you to respond... Yes agreed as we have been looking for an answer and wrote the code bite to stop but can't find where to add the stop. I think it
needs to be added in a dll...  I found a work around for this issue by recreating the entire project in the format of the "Hub Example". The crashes are gone and the fade between scenes is a nice add. BUT, now, there seems to be another BUG where it is not possable to get the sky box running for HMD/Odyssey as the clear flags constantly change to color at run time... I would like to compile for all uwp devices... If it isn't one bug it's another...
Thanks Alexees
Paul

Update:
I said that by using the Hub Example that all crashes are gone. This is only 1/2 correct as the crashes are gone when running through the HMD Odessey but the same crash occurs when running through the HoloLens...
Thanks

I have figured out how to get the sky box to work. And I have created a bug report with Unity about the exception crashes. They are presently looking into this. Thanks

We've made improvements across profile switching, scene switching, and the examples hub over the last couple years. I'm going to close this out now, but please re-open if you're still seeing this.

Okay... Thanks!
On Fri, May 28, 2021, 12:37 PM Kurtis @.***> wrote:

We've made improvements across profile switching, scene switching, and the
examples hub over the last couple of years. I'm going to close this out
now, but please re-open if you're still seeing this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/MixedRealityToolkit-Unity/issues/6962#issuecomment-850538194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFMY7RBRM7T6HDVDV57SY6DTP7BEZANCNFSM4KBVRNXQ
.


[feat] Review status belongs to report

Earlier a review status belonged to a bug hash. This way the users could
set the review status of a report in another user's personal run if it
shared the same bug.
So now we store the review status to each report instead of bug hash.
When a review status is set to a bug which didn't have one from source
code comment then we store the information that this report got a new
review status on the server. Each time a new report is stored with the
same bug hash, it will get this previously set review status as a
default value.

This PR is missing a database migration script which assigns review status to reports which already have a source code comment. Please, don't merge it until it's done, however the PR is a candidate for code review.

One important thing came into my mind. Let's assume that somebody added a new review status rule (False positive) on the GUI and forgot to set the review status message. In this case a new review status rule will be added with the current date.
Now let's assume that I make a screenshot from the statistics page and save it to my local disk.
Let's assume that a week later my manager look into this issue and ask me why I marked this report as False positive. So he ask me to update the review status rule and add a description why I did this. For this I will update the message of the review status rule.
Now if someone checkes the statistics, he will see differences compared to the previously saved statistics because the date for the review status rule is updated:
https://github.com/Ericsson/codechecker/blob/a3ed795712da4b6527319ede44397486f17fab04/web/server/codechecker_server/api/report_server.py#L1868
So changing the message of a review status rule will change the statistics.
I think we need to set the date only on the following cases:

the first time when a new rule is added.
when the review status is changed from unreviewed / confirmed to false positive / intentional.

What do you think @bruntib?

When changing review status the fixed_at date is set. If review status changes from false positive to intentional then the report remains closed, so fixed_at date doesn't change. Statistics are computed based on this date, not the review status setting date. This behavior holds even now.

Diff in the GUI and in the command line should behave the same
comparison modes:
List reports that can be found only in baseline or new runs or in both. False positive and intentional reports are considered as resolved, i.e. these are excluded from the report set as if they were not reported.
--new                 Show results that didn't exist in the 'base' but
appear in the 'new' run.
--resolved            Show results that existed in the 'base' but
disappeared from the 'new' run.
--unresolved          Show results that appear in both the 'base' and the
'new' run.
This has the same definition as on the GUI:
-only in baseline == resolved
-only in compareto == new
-both in baseline and compareto == unresolved
Run-A (baseline):
report-a
report-b
report-c
//codechecker_suppress report-e
report-f //suppressed in GUI
Run-B:
report-a
report-b  //fixed in the code
//codechecker_suppress report-c
report-d
//codechecker_suppress report-e
report-f
--
diff A (on server), B (on disk)
new (only in B): d
resolved (only in A): b, c
unresolved (both in A and B): a
neither: e, f
The diff in the command line and the GUI does not behave the same!
new:  CodeChecker cmd diff -n ./build/RUN-B -b RUN-A --url http://localhost:8999/Default --new
the same result: d
resolved:
in the command line: b, c (as expected)
in the GUI: only b is  shown  (but c not)
unresolved (both):
The CMD line is correct.
The GUI is wrongly showing: report-c, report-f, report-e


Order Fulfillment feed -> Get Paid

Hello,
I am trying now automate the process for orders that are send by us, so setting the carrier code and tracking number. Any advice or examples would be greatly appreciated, specially the case where an order is split in several packages.

Are you referring to Merchant fulfilled prime?
This is where you purchase shipping via amazon?
If so, the tracking details are returned to you in the create_shipment call as .parsed.Shipment.TrackingId
If you are shipping the items via your own carrier, you can send Amazon the tracking reference via the feeds api
an example of this would be:
feeds_api = MWSFactory.factory('feeds')
    feed_headings = ['order-id', 'order-item-id', 'quantity', 'ship-date', 'carrier-code', 'carrier-name',
                     'tracking-number', 'ship-method']
    feed_header = '\t'.join(feed_headings)
    feed_header = '{}\n'.format(feed_header)
    feed_row_template = '{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}'

This gets an instance of the feeds api (via my own factory method) then builds a string of headings - including carrier details.
Then simply .format in the required data and join the created data to the header.
result = feeds_api.submit_feed(feed_data, '_POST_FLAT_FILE_FULFILLMENT_DATA_')
done.


Not clear what the determining properties are for a template

Based on calls, I know that the following are determining properties for a template. This needs to be clearer in the spec.

verb
objectActivityType
contextGroupingActivityType
contextParentActivityType
contextOtherActivityType
contextCategoryActivityType
attachmentUsageType

This is defined in text:

The verb, object activity type, attachment usage types, and context activity types listed are the determining properties.

We can list them more explicitly and/or rearrange if you think that would help clarity, of course.

I must have missed that text on reading it. So we can either blame me as the read and do nothing, or assume that because I missed it, it needs to be clearer. I'm happy either way.

It's been made more distinctly present in a recent PR if you want to take a look


Fix a bug in Flows.java: modifying immutable Collections.emptySet()

mapM method is calling add() on Collections.emptySet(), which is immutable. See https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html#emptySet--. The exception below occurred when using the mapM method for Map:
java.lang.UnsupportedOperationException
        at java.base/java.util.AbstractCollection.add(AbstractCollection.java:251)
        at hydra.Flows.lambda$mapM$21(Flows.java:118)
        at java.base/java.util.Optional.map(Optional.java:260)
        at hydra.Flows.lambda$map$11(Flows.java:84)
        at hydra.Flows.lambda$bind$2(Flows.java:41)
        at hydra.Flows.lambda$bind$2(Flows.java:38)
        at hydra.Flows.lambda$bind$2(Flows.java:38)
        at hydra.Flows.lambda$map$11(Flows.java:83)
        at hydra.Flows.lambda$bind$2(Flows.java:38)
        at hydra.Flows.lambda$bind$2(Flows.java:41)
        at hydra.Flows.lambda$bind$2(Flows.java:41)
        at hydra.HydraTestBase.assertSucceedsWith(HydraTestBase.java:60)
        at hydra.HydraTestBase.assertSucceedsWith(HydraTestBase.java:56)
        at com.linkedin.agm.galgos.graphs.coders.GraphVertexCoderTest.testEncode(GraphVertexCoderTest.java:50)

Initializing empty Set using HashSet to fix the issue.

Thanks for the fix.


bug: Angular2 & ionic 2 blank screen Samsung

From @romanornr on November 14, 2015 6:28
Type: bug
Platform: android 4.x webview
Recently I noticed that apps written with ionic 2 alpha have some problems.
Samsung devices have problems with opening the app. The app will load & show a blank screen.
Other devices just showed the app.
Not sure but there seems to be a case that ionic 2 is slightly slower too.
The app failed to load on a Samsung device
But succeeded to open on a HTC smartphone.
Copied from original issue: driftyco/ionic2#519

From @adamdbradley on November 14, 2015 20:34
What version of android is it? There are large differences between 4.0, 4.1 - 4.3 and 4.4. Are there any errors? What version of Ionic2 is it?

From @adamdbradley on November 17, 2015 14:49
What's the error?

From @kbytesys on November 17, 2015 14:34
I've got same error with android 4.0 devices.
Same app with 5.x android works fine.

From @kbytesys on November 17, 2015 15:6
This is the android log output.
android.txt

@kbytesys is this still broken with the latest alpha49?

From @kbytesys on January 11, 2016 2:39
Nope. How I could give you more debug info?

Hmm, the log does't tell a whole lot. This sounds pretty similar to https://github.com/driftyco/ionic2/issues/794 which was fixed a few days ago. Mind giving it a shot with alpha48

Nope, but this is the result of the adb logat | grep -i webview
https://gist.github.com/kbytesys/3c4ce3b8327d0d471e45

Hmm, this does tell a whole lot. This could be a polyfil missing, but it's not clear what the issue is. Though a safe bet would be to use crosswalk, given that the version of android is rather old.
I will note that we have dropped support for android 4.0.

Yep, the app works fine with crosswalk.
Btw my testing phone atm is a S3mini with Android 4.1.2.
If you want to drop the support for that phone is fine.
Please just add some doc to suggest to try crosswalk or something.

I have the same problem trying to run ionic-preview-app with ionic 2 beta version. I am getting blank screen also. I tried on Samsung s3 neo (android 4.4.2) and samsung galaxy A3 (android 5.0.2). In browser console I am getting error  Failed to load resource: net::ERR_FILE_NOT_FOUND file:///android_asset/www/build/js/app.bundle.js. Any suggestions are welcomed for solving this problem

@josipkolic what version of the CLI do you have?
ionic -v

It should be beta17
This could be from the CLI not building and bundling everything before building.

sorry @mhartington for late response, it was my mistake, i installed wrong the new beta version(it's beta 17 yes). I reinstalled ionic again and it works perfectly on android 5.0 devices, on 4.4.2 there are some problems with click events but that is other issue.

Closing this as it doesn't seem to be an issue anymore. Please let me know if otherwise.

For me it's not working yet! I have ionic<EMAIL_ADDRESS>

@aneudysamparo hey! So the latest release of Ionic 2 is Ionic 2.0.0 beta.4. If you run ionic info your ionic framework version is the actual version of Ionic you are using. It sounds like what you posted is your ionic-cli version. Also, what version of Android are you having the issue with?

Hi @jgw96
I'm using 4.1.2 Android, Galaxy S3 of T-Mobile.
Yes, i posted ionic-cli (my bad).
I could able make it runs, updating cordova version of the project to cordova 5.1.1.
After i build the apk, it gave me two different file
amrv7-debug.apk
x86-debug.apk
Even though both of them are working fine now!
Also i update crosswalk .
I hope it helps!
PS: Run those commands on the project's folder.
ionic plugin add cordova-plugin-crosswalk-webview
cordova platform update android

No problem! (: Sorry if im confused but is it working for you now with crosswalk? We do not support Android 4.1.2 as its really hard to support those older android webviews and still have good performance but with crosswalk it should work. Thanks again!

Yes, it's working fine now!
I know and i was thinking about this. But let me tell you, the performance on now is good and I think is more faster than ionic 1. Also all the feature of Material Design are working.
Thanks btw! (:

Awesome, glad to hear! No problem at all!

Can anyone please help me to build an apk file using ionic2?

Running the default app. Device: S3 mini, Android 4.1.2.
$ ionic -v
2.0.0-beta.25

$ ionic plugins
...
cordova-plugin-crosswalk-webview 1.6.1 "Crosswalk WebView Engine"

Chrome's inspector: no errors.
But the white screen is still there.

@kolyaflash Try to update cordova

@GaneshPediredla For me
ionic build android is working fine.

I am also getting white screen issue on both android 6 (Motorola) and Windows 10.
Here's what ionic info gives:
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS:
Node Version: v5.11.0

@sachittandukar Hey try those!
Update your ionic!
npm install -g ionic
Add this plugin
ionic plugin add cordova-plugin-crosswalk-webview
and then update this on your project's file.
cordova platform update android

@sachittandukar I would recommend you to update your project to beta.6 (following the steps in the linked guide) because there are some important bug fixes and I guess that the problem will be solved.

@iignatov thanks! I have been using nightly version to fix my initial issues. I will try new beta version.

@sachittandukar I updated my ionic and cordova. But still in my machine when i tried to run a sample app using ionic serve. Its giving errors. My OS is Linux Fedora. Is there any possible way to run the ionic app in Linux without any errors. Its working fine in RootUser but in local It's not working...

@GaneshPediredla Could you open a new issue and post some details there, e.g. run ionic info and copy&paste the output, error messages, stacktraces, etc?

I am having the same issue with a project with
Ionic 2.0.0-beta.33
Cordova 6.6.1

And trying @aneudysamparo solved the problem for me i.e
1. ionic plugin add cordova-plugin-crosswalk-webview
2. cordova platform update android

Now all is working fine!

Hello, guys
I updated ionic:
2.0.0-beta.36
Updated cordova
Installed crosswalk plugin:
C:\Users\Andrey\SuperTruck> ionic plugins
cordova-plugin-crosswalk-webview 1.8.0 "Crosswalk WebView Engine"

did cordova platform update android
but still get blank screen on the Samsunsg s6/Android 6.0.1 and Fly/Android 4.4.2
Windows 10
file:///android_asset/www/build/js/app.bundle.js Failed to load resource: net::ERR_FILE_NOT_FOUND

@AnSharipov Did you find the solution for this?
This error is not consistent for me. Sometimes I get it, sometimes I don't.
Also, I do not think it is related the crosswalk plugin. But, if it is then correct me.

Hi there. Please check your build to make sure things are building correctly.
Also update to the latest ionic 2 release and latest app-scripts.
Locking this issue since it is an old issue and the original cause has been resolved.


configured env. variables and paths

related #140 . @robgietema These are the common configs from ejected create-react-app.

Coverage remained the same at 57.636% when pulling cde676070745d7df8a0cd7c56cc5377812c31e86 on webpack-configs into 3643239cec81758f23cb09bc818452b52a6b1a01 on create-react-app-feature.

I guess should mere this now.

@nileshgulia1 I just reviewed your PR, I haven't had the chance to talk with @robgietema yet, but I think we still have different visions on what we want to accomplish. I'll try to resume it, and again without having talked yet with Rob: We don't want a clone of CRA underneath plone-react-app, we want our own setup like plone-react has now, but with the feature set of CRA in terms of skeleton building, webpack/babel/eslint hidden configs, etc... not in terms of what it does at the app level.
So I don't get why you introduced some depencencies (the same that CRA has), like SVGR etc...
Let's talk about it as soon as possible. I've been busy in ReactEurope these days, maybe we should sync again next week.
/cc @tisto

@sneridagh Actually, In the meeting earlier @robgietema and I discussed , First task should be making plone-react as library like react-scripts. And regarding the app layout we have discussed nothing much so I thought we should go with the same layout(skeleton building) which CRA has. Ofcourse the feature set and packages should be ours(plone-react).

So I don't get why you introduced some depencencies (the same that CRA has), like SVGR etc...

Yes, this was done by mistake I accidentally installed these packages, assuming they may be required in future.


Request add hignore option to ignore sector id head field value

Add hignore option to ignore the value in the sector id head field.
eg Track with sector ids writen as sector 1..n, trk y, head0 treated the same as sector 1..n, trk y, head1
allowing to read disks with both sides labelled as side 0
Peter

Consider this done, see #261


[FP]: npm package wordwrap falsely identified as word-wrap

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:word-wrap_project:word-wrap:1.0.0:*:*:*:*:*:*:*
CVE
CVE-2023-26115
ODC Integration
{"label"=>"Docker"}
ODC Version
8.3.1
Description
npm package wordwrap is being falsely identified as package word-wrap, and flagged for CVE CVE-2023-26115. The package URI is correct, but mapped to an incorrect CPE.

approved


Deployment fails as requirements.txt not present in root folder

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Azure Deployment is getting failed as requirements.txt file seems to be missing.

The requirements.txt is inside app/backend, and that's what azd deploys per the azure.yaml file. Are you deploying some different way?

You should cd into app/backend and run the deploy from there, in that case. You'll also need to run npm install from the frontend folder as a first step.
You could also use azd for your CI/CD, we had a stream about that yesterday: https://aka.ms/hacktogether/chatapp/session10


Escaped asterisk (MD bug) + removed references to "2015"

Docs Build status updates of commit 39f57e5:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 39f57e5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsUserPoolInfo.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@greiginsydney - thank you! Much appreciated!


test - 500 error when searching

As shown in product meeting will drop video later

@adambard1 is this still an issue?


Unhandled Exception Error

I am getting error, i have tried using continueAfterRatelimitError: true, requestDelay: 1000. But nothing is working.
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
 Error: snoowrap refused to continue because reddit's ratelimit was exceeded. For more information about reddit's ratelimit, please consult reddit's API rules at https://github.com/reddit/reddit/wiki/API.
     at snoowrap._awaitRatelimit (/opt/www/cron/node_modules/snoowrap/dist/request_handler.js:155:11)
     at /opt/www/cron/node_modules/snoowrap/dist/request_handler.js:81:18
     at tryCatcher (/opt/www/cron/node_modules/bluebird/js/release/util.js:16:23)
     at Promise._settlePromiseFromHandler (/opt/www/cron/node_modules/bluebird/js/release/promise.js:512:31)
     at Promise._settlePromise (/opt/www/cron/node_modules/bluebird/js/release/promise.js:569:18)
     at Promise._settlePromiseCtx (/opt/www/cron/node_modules/bluebird/js/release/promise.js:606:10)
     at Async._drainQueue (/opt/www/cron/node_modules/bluebird/js/release/async.js:138:12)
     at Async._drainQueues (/opt/www/cron/node_modules/bluebird/js/release/async.js:143:10)
     at Immediate.Async.drainQueues (/opt/www/cron/node_modules/bluebird/js/release/async.js:17:14)
     at runCallback (timers.js:672:20)
     at tryOnImmediate (timers.js:645:5)
     at processImmediate [as _immediateCallback] (timers.js:617:5)

Could you give an example of your code that causes this error?

const Snoowrap = require('snoowrap');
const Snoostorm = require('snoostorm');
const r = new Snoowrap({
    userAgent: USER_AGENT,
    clientId: CLIENT_ID,
    clientSecret: CLIENT_SECRET,
    username: USERNAME,
    password: PASSWORD,
    refreshToken: REFRESH_TOKEN,
    accessToken: ACCESS_TOKEN
});

r.config({continueAfterRatelimitError: true, requestDelay: 1000});

const client = new Snoostorm(r);

const stream = client.SubmissionStream({
    'subreddit': subreddits,
    'results': 10,
    'pollTime': 1000
});

stream.on('submission', (data) => {
    //process data
});

stream.on('error', (error) => {
    /** handle errors */
});

Is it possible that you're running multiple instances of this script at the same time, or that you're using the client ID for multiple different things outside of this snoowrap instance? If you're sending a single request per second, I think you would only exceed the ratelimit if there is something else also sending requests from that app.

I've found that a bot I created was allowed less than 60 requests per minute, because it was a new user. Maybe that's what is happening in this case?

No. It is not being used.

there are two "ratelimits" to be aware of -- the regular 60 requests/minute ratelimit imposed on all API clients, and an additional timer on creating content imposed on accounts with low karma

Now that you mention it, that sounds right. But the bot I was testing was making a request, I believe, every 4 seconds but it was still running out of requests. I was only using the comment-streaming functionality, not creating any content. I haven't worked on it in a while, I'll have to investigate again.

Could you tell if i could try something else to fix this?

What is the output if you add r.config({debug: true}) after creating the snoowrap instance?

Using the following code
const r = new Snoowrap({
    userAgent: USER_AGENT,
    clientId: CLIENT_ID,
    clientSecret: CLIENT_SECRET,
    username: USERNAME,
    password: PASSWORD
});

r.config({continueAfterRatelimitError: true, debug: true});

const client = new Snoostorm(r);
stream = client.SubmissionStream({
     subreddit: subreddits,
      results: 10,
      pollTime: 1000
});
stream.on('submission', (data) => {
 // data has continueAfterRatelimitError as false.
});

I am getting the following:
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: snoowrap refused to continue because reddit's ratelimit was exceeded. For more information about reddit's ratelimit, please consult reddit's API rules at https://github.com/reddit/reddit/wiki/API.
at snoowrap._awaitRatelimit (/opt/www/cron/node_modules/snoowrap/dist/request_handler.js:155:11)
at /opt/www/cron/node_modules/snoowrap/dist/request_handler.js:81:18
at tryCatcher (/opt/www/cron/node_modules/bluebird/js/release/util.js:16:23)

Since I couldn't figure it out right away, does this happen some time or right away? If it's right away then we will have to look at it, otherwise it might be Snoostorm being overzealous with its requests.
Closing this as I believe it to be the former, you should open an issue with SnooStorm about it

Right, I misread the report. I tried reproducing it but I couldn't. When I used the code you sent and looked at _awaitRatelimit() I could not trigger the exception.
Remember that you have to set the config before making any requests


Distinguishing courses, lessons, tutorials and pathways

We are about to introduce a new concept to obook called pathways. The idea is that we provide a linear guide for all 6 roles mentioned on the getting started page through the materials. This will help us also complete the materials and provide a good path to reviewing them regularly.
Tutorial
A step-by-step guide to complete a well-defined mini-project. Examples: ROBOT template tutorial. DOSDP template tutorial. Protege tutorial on using the reasoner.
Lesson
A collection of materials (tutorials, explanations and how-to-guides) that together seek to teach a well defined concept. Examples: Contributing to OBO ontologies; An Introduction to templates in OBO; An Introduction to OBO Application development. While the distinction to "tutorial" is often fuzzy, the main distinguishing feature should be that a lesson conveys a general concept independent of some concrete technology stack. While we use concrete examples in lessons, we do always seek to generalise to problem space.
Course
A convenience content type that allows us to assemble materials from obook for a specific taught unit, such as the yearly ICBO tutorials, or the ongoing Monarch Ontology Tutorials and others. Course pages serve as go-to-pages for course participants and link to all the relevant materials in the documentation. Course usually comprise lessons, tutorials and how-to guides.
Pathways
A pathway is a kind of course, but without the expectation that it is ever taught in a concrete setting. A pathways pertains to a single concrete role (Ontology Curator, Pipeline Developer etc).  It is a collection of materials (lessons, tutorials, how-to-guides) that is ordered in a linear fashion for the convenience of the student. For example, we are developing a pathway for ontology pipeline developers that start by teaching common concepts such as how to make term requests etc, and then go into depth on ROBOT pipelines, ODK and Make.
The purpose of this issue is so that we all agree on these four distinctions, and then add these definitions to the reference somewhere.

[x] @jamesaoverton
[x] @shawntanzk
[x] @nicolevasilevsky
[x] @sabrinatoro
[ ] @beckyjackson
[ ] @dosumis
[X] @matentzn

@beckyjackson @dosumis do you think the proposal makes sense?

This is a great idea! 100% approve.


AM mode switch to FM mode step value not 100K

Hi，Thanks for sharing such a cool radio. I made one based on the data. It is now my favorite radio, but I found a bug that bothers me.
Switching from AM to FM mode, the step value is no longer 100K, which will cause the FM frequency to fail to align with 100K, and reception problems

When meet the bug. I can only use "PRESET" to make the  fequence align  to 100K again.

Problem solved in version 4.1. Please update your setup.


Compatibility w/ PySCF #1859 (issue #40)

Update some class initializations to correspond to the PySCF MCSCF refactor in PySCF PR #1859. This is the minimal necessary change to pass existing unit tests.

Thanks for this!

SCF convergence tolerances may need to be increased for test_lpdft.py, or else validation thresholds should be loosened.


Can't start WSL1 or 2 instances since 18970 - Remote Procedure Call Failed

Your Windows build number:  (Type ver at a Windows Command Prompt)
10.0.18970.1005

What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

Can't start existing WSL - new WSL shows same error upon trying to create a new user - regardless of DISTRO.
C:\Users\jbari>wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu-18.04 (Default)
Ubuntu1804_v1

C:\>wsl
The remote procedure call failed.

C:\>wsl -d Ubuntu1804_v1 -u root
The remote procedure call failed.

C:\>bash
The remote procedure call failed.

What's wrong / what should be happening instead:

Should start up! Been using my v1 (because I had vmware workstation installed) since WSL was a thing.

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

Can't do an strace if I can't get into the distro :)

For WSL launch issues, please collect detailed logs.

All 3 logs stay empty :(
Reverting to an earlier build worked - but the update happened again overnight since I forgot to pause. Now it won't back down again :( So now I can't use WSL at all.
I've tried removing everything, removing the feature, adding it back in, and even removed VMWare workstation and ALL VPNs except my Fortinet client (need that one right now) so that WSL can do v2 if it wants - Hyper-V machines can run fine with full network, so no issues there.
Event logs show:
Faulting application name: svchost.exe_LxssManager, version: 10.0.18970.1001, time stamp: 0x992e0685
Faulting module name: ucrtbase.dll, version: 10.0.18970.1001, time stamp: 0xafa25d02
Exception code: 0xc0000409
Fault offset: 0x00000000000714ae
Faulting process id: 0x5fc8
Faulting application start time: 0x01d564e01a2d28c7
Faulting application path: C:\WINDOWS\system32\svchost.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 2494190c-fadc-4d38-ae5c-59b3df5f838c
Faulting package full name:
Faulting package-relative application ID:

each time the WSL or BASH command is run......so there is a crash with svchost.
sfc /scannow is clean
dism check also clean.
really stuck here - help!?! I really need WSL back :)

Are there any Windows Error Reporting Service dumps?

Hmm - where would I find that?

New ones are also being deployed as v1 - I just tried Kali for example.

wsl -l -v
NAME             STATE           VERSION

Ubuntu-18.04     Stopped         1
kali-linux       Running         1
Ubuntu1804_v1    Stopped         1

wsl --set-version kali-linux 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The RPC server is unavailable

Same event:
Faulting application name: svchost.exe_LxssManager, version: 10.0.18970.1001, time stamp: 0x992e0685
Faulting module name: ucrtbase.dll, version: 10.0.18970.1001, time stamp: 0xafa25d02
Exception code: 0xc0000409
Fault offset: 0x00000000000714ae
Faulting process id: 0x63a4
Faulting application start time: 0x01d564eecc3ed605
Faulting application path: C:\WINDOWS\system32\svchost.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: b637da50-5cd0-4670-af4d-6bb066b52317
Faulting package full name:
Faulting package-relative application ID:

This may work: https://www.gfi.com/support/products/How-to-collect-user-mode-crash-dumps-with-Windows-Error-Reporting

Sure i'll add svchost.exe to the regkeys and try and capture....hang on

Can't get a crashdump to save my life with the regkeys set....

I did some digging and found where Waston crashes end up.  I'm looking at some dumps now.  Thanks!

Awesome - let me know if you need anything else....I'll be watching this closely!

Confirmed problem still there in 18975 :(

I have resolved this issue, it is due to some bad assumptions about network state. Best course of action is to revert to the previous build if you are experiencing this issue.  Fix is on the way.

As stated before I can't back out anymore and 18980 didn't fix. If there is a complex method to fix please post it! Or - if it isn't possible to fix short of a nuke from orbit, I'll find time to do just that on my laptop.

@benhillis
Would be nice to get an estimate of when this fix will go live.  I got a big update the other day from MSFT but did not include fix for this issue.
E:>ver
Microsoft Windows [Version 10.0.18980.1]
E:>wsl
The remote procedure call failed.
This is really a problem since I can't revert the Window update without basically nuking all the machines I have.

@transmitterdan - Hard to give an exact date, but I hope next week.

Last few days my WSL is broken too
Faulting application name: svchost.exe_LxssManager, version: 10.0.18362.1, time stamp: 0x32d6c210
Faulting module name: lxssmanager.dll, version: 10.0.18362.239, time stamp: 0x00e72cfc
Exception code: 0xc0000005
Fault offset: 0x000000000004a7c6
Faulting process id: 0xb10
Faulting application start time: 0x01d570249b42bc47
Faulting application path: C:\WINDOWS\system32\svchost.exe
Faulting module path: c:\windows\system32\lxss\lxssmanager.dll
Report Id: 46c28135-8dee-4bc9-9bfa-2a90aede5529
Faulting package full name:
Faulting package-relative application ID:

Would love some insight as to the exact issue here. Its a black box for me. Thank you to whoever is working on fixing this!

Essentially a fast fail coming safe buffer copy library and a variable length struct. The code was fine but the library was being overprotective. Fix is inbound.

Those who facing this issue can you guys able to open hyper-v manager i think hyper-v is not working in the backgroud

Can able to run Hyper-v but no luck in running wsl2
same RPC server not available error :(

Fixed in 18995.

@benhillis
The fix is partially effective.  Now WSL will run which is great.  But DNS is broken. The "dreaded" Temporary failure in name resolution. error is back.
It seems that the symlink /etc/resolv.conf-->../run/systemd/resolve/stub-resolv.conf is no longer appropriate. Deleted the symlink and created manually /etc/resolv.conf with single line:
nameserver <IP_ADDRESS>
line and DNS works again.

I'd like to chime in on this issue as well.
Same failure mode as O.P.
Attempt to start WSL, receive "The remote procedure call failed".  Same error in windows logs regarding svchost_LxssManager.
Cannot manually set LxssManager to start - will fail right out.
Full text of failure:
Faulting application name: svchost.exe_LxssManager, version: 10.0.19030.1, time stamp: 0x7f0c4c00
Faulting module name: ntdll.dll, version: 10.0.19030.1, time stamp: 0x71167529
Exception code: 0xc0000008
Fault offset: 0x000000000009e8ca
Faulting process id: 0x396c
Faulting application start time: 0x01d5a4bdd8bc5dd8
Faulting application path: C:\WINDOWS\system32\svchost.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 00591644-bb36-46ac-9df0-237bdc83e757
Faulting package full name:
Faulting package-relative application ID:
Windows build version: Microsoft Windows [Version 10.0.19030.1]
WSL was working fine until this latest update on my system.

same as @mmcgirr
Faulting application name: svchost.exe_LxssManager, version: 10.0.19541.1000, time stamp: 0x05c40bb9
Faulting module name: ntdll.dll, version: 10.0.19541.1000, time stamp: 0xb9629030
Exception code: 0xc0000008
Fault offset: 0x00000000000a21da
Faulting process ID: 0xa74
Faulting application start time: 0x01d63a1530709753
Faulting application path: C:\WINDOWS\system32\svchost.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: 027100fc-e0e1-426e-a8e1-5bfb0d16fbd4
Faulting package full name:
Faulting package-relative application ID:

@Project-Magenta - Sounds like a different bug, could you please open a new issue?

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

It seems that KB4571756  mixed up with Windows 10 Insider Preview 20211.1000 (rs_prerelease)...
I cannot find the way to uninstall KB4571756. Do you have any tips to do that? With standalone KB4571756 installation file?

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

It seems that KB4571756 mixed up with Windows 10 Insider Preview 20211.1000 (rs_prerelease)...
I cannot find the way to uninstall KB4571756. Do you have any tips to do that? With standalone KB4571756 installation file?

I went into Windows Update -> View update history -> uninstall updates and then select the KB4571756 and uninstall it. Hope it helps. I'm not running Windows Insider Preview. Version 10.0.19041 Build 19041

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

It seems that KB4571756 mixed up with Windows 10 Insider Preview 20211.1000 (rs_prerelease)...
I cannot find the way to uninstall KB4571756. Do you have any tips to do that? With standalone KB4571756 installation file?

I went into Windows Update -> View update history -> uninstall updates and then select the KB4571756 and uninstall it. Hope it helps. I'm not running Windows Insider Preview. Version 10.0.19041 Build 19041

Same problem with you guys, but i can't find KB4571756 update to uninstall.

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

It seems that KB4571756 mixed up with Windows 10 Insider Preview 20211.1000 (rs_prerelease)...
I cannot find the way to uninstall KB4571756. Do you have any tips to do that? With standalone KB4571756 installation file?

I went into Windows Update -> View update history -> uninstall updates and then select the KB4571756 and uninstall it. Hope it helps. I'm not running Windows Insider Preview. Version 10.0.19041 Build 19041

Same problem with you guys, but i can't find KB4571756 update to uninstall.

Maybe we need rollback to previous version? or just wait for another update~

Follow this solution, it worked for me after i installed the update:
https://github.com/microsoft/WSL/issues/5880#issuecomment-691367294

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

It seems that KB4571756 mixed up with Windows 10 Insider Preview 20211.1000 (rs_prerelease)...
I cannot find the way to uninstall KB4571756. Do you have any tips to do that? With standalone KB4571756 installation file?

I went into Windows Update -> View update history -> uninstall updates and then select the KB4571756 and uninstall it. Hope it helps. I'm not running Windows Insider Preview. Version 10.0.19041 Build 19041

Same problem with you guys, but i can't find KB4571756 update to uninstall.

Maybe we need rollback to previous version? or just wait for another update~

Oh, BTW, I'm running 20211 on Insider.

Follow this solution, it worked for me after i installed the update:
#5880 (comment)

It's another issue. Element Missing~re-register dll.

hi my wsl is broken
Microsoft Windows [Version 10.0.19042.508]
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706be
Error: 0x800706be The remote procedure call failed.
Press any key to continue...
I m try to uninstall linux wsl and reinstall.
try start e stop wuauserv and crpto..... not works

I also got problem with this after an update 2020-09-10. I uninstalled update KB4571756 and it started working for me again.

It seems that KB4571756 mixed up with Windows 10 Insider Preview 20211.1000 (rs_prerelease)...
I cannot find the way to uninstall KB4571756. Do you have any tips to do that? With standalone KB4571756 installation file?

I went into Windows Update -> View update history -> uninstall updates and then select the KB4571756 and uninstall it. Hope it helps. I'm not running Windows Insider Preview. Version 10.0.19041 Build 19041

Same problem with you guys, but i can't find KB4571756 update to uninstall.

Maybe we need rollback to previous version? or just wait for another update~

Oh, BTW, I'm running 20211 on Insider.

Same issue on insider 20221

After I update to 10.0.19041.208,My wsl cannot start with error message: The remote RPC server was cancelled.
I try to uninstall KB4571756,and install KB4577063, but still not work.
At last,I revert to previous build and pause windows update.now wsl can work.

Try to see if lxssmanager is running and if not then try to manually turn it on and change the service to start automatically. If it says access denied then run the following command in an elevated cmd promt:
sc config LxssManager start=auto
This fixed the issue for me.


Increase heights of Merkle Trees

In order to start thinking about a deployed testnet, we would want to increase the heights of the merkle trees. Currently that appears to break the system in a number of places resulting in test failures. We need to fix this.
Suggested heights of trees
contract tree = 16
private data = 32
nullifier = 32
l1 to l2 tree height = 16
l1 to l2 roots height = 16
private data roots height = 16
contract tree roots height = 16

All the tree heights other than the one of nullifier tree were updated in this PR.


TestExtractRootCertExpiryTimestamp test failure

https://prow.istio.io/view/gcs/istio-prow/pr-logs/pull/istio_istio/24863/unit-tests_istio_release-1.6/366

flaky issue moves to tech-debt

Why do we need a tech debt label when we already have a label dedicated to test failures?

it seems a PR from this : https://github.com/istio/istio/pull/23076. yangmin gives some comments on it. Assign it to yangmin

@williamaronli  please do not assign the issue to me, I only did a general code review of the PR and not sure about the test failing.

cc @lucasvmiguel who changed the test in the original PR.

@howardjohn @lucasvmiguel  as the code has been changed is it still flaky ?

I think its fixed


convert: add support for gramjs StoreSession

I mean StoreSession which use folder with files as storage.

this variant is more useful because you do not need start login process without string and then setup session string

...what?

oh wait. i misunderstood you, i misread the title and thought you wanted me to implement StoreSession in mtcute 🤦♀


Generic I/O routines for 16C2550 serial chip

We will need generic routines for the 16C2550 chip that can be re-used in any program. My suggestion is to write them as simple ML subroutines that can be invoked from any ML program or from BASIC with a SYS call.
Here's the list

OPEN: Sets the baud rate, parity, data width, stop bits, and flow control mode.
a. Set baud rate on R0/R1
b. Parity on R2
c. Data Width (7-8) on R3
d. Flow Control Mode on R4
e. Return C=1 on success or C=0 on failure.
SEND: Transmit 1 byte. Waits for buffer ready before sending.
READ: Read 1 byte. C=1 if data is read. C=0 if no data was waiting.
TR: Transmit Ready, Return C=1 if the transmit buffer is not full
RR: Receive Ready, Return C=1 if the receive buffer has data
SET_PINS: Sets the flow control pins to the value on A: RTS and DTR
READ_PINS: Returns the status of the CTS, DSR, RI, and DCD pins in A
CLOSE: Sets DTR and RTS low, telling the remote device to end communication.

The only issue is how to specify the baud rate. I'm going to suggest accepting a 32-bit number, which can specify any data rate that a device might be capable of, up to gigabit Ethernet.
If the device can't handle the requested combination of values, then it should set the Carry flag to 1 and return without performing the operation.

I've been thinking about this as well and trying to strike a balance between efficiency and convenience. Once the base address is figured out, reading and writing is as easy as a LDA or STA outside of using interrupts. I actually need interrupts at least for RECV so I'd like to see that in there. Means more sophisticated apps can do something else while waiting on data (games for instance or fancy terminals that support playing music or some such, not unlike the OOII terminal).
The baudrate range at least for Kevin's approach is from 18 to 1.1mbit or so. What about instead of specifying the actual rate, we have a LUT (to the user and in the code) which maps to the most common serial values plus a few less standards ones (e.g. MIDI)? If folks wanna do something weird, they can always write directly to the chip. That avoids having to write a big number or worry about doing math to derive the divisor. It does assume the lib will be tied to the clock Kevin chose so other folks implementing UARTs on the X16 would need to follow suit. That or there's multiple LUTs.
The divisor math BTW is:
divisor = Clock / ( target baud * 16)
So for Kevin, Clock = 18.432MHz.
So for MIDI, divisor = 0037. For 9600 baud, divisor is 120.
If we set the lowest baud rate to 4800 or so, we only need a LUT of single bytes (since the high byte of the divisor is always just 00). 2400 is unfortunately a divisor of 480, so that would require a 2 byte LUT. Outside of nostalgia, not sure when 2400 would be relevant to the X16 directly.
The I/O range also has me thinking. In the MIDI test app, it's hard-coded right now, which makes all the registers just derived from the base as compile time constants. ezpz. Providing the user a way to specify the IO range (plus hi/lo) would be nice, but that requires storing the base address somewhere and deriving the register addresses from the base. Lots of ways to do that, but I haven't found a way that is say ROM friendly or elegant.

What about instead of specifying the actual rate, we have a LUT (to the user and in the code) which maps to the most common serial values plus a few less standards ones (e.g. MIDI)?

That was the first thing I thought of. My only issue was that if someone else wanted to copy the API for a different interface, I was hoping to preserve compatibility, so you could keep the same interface specification. Maybe the answer is a backward LUT that lists the available speeds as a set of integer values.