Unable to install

Hello everyone, I wanted to test your beautiful app but it wont install and I don't know why...

I saw that it could be a lack of memory but I'm always under 80% usage... Could someone help me ? :)
Here are my versions :

Thanks by advance
Tigerblue77

I don't know at all what I'm actually doing... but I tried the next command "mvn -pl estatioapp/webapp jetty:run" and it gave me the following error :

Hello @danhaywood and @johandoornenbal,
could you help me please, your project seems to be very good but not very easy to install... If I understand how it works, maybe I could participate, make a complete installation doc and code with you :)
Thanks by advance

Hi,
Sorry to hear you are struggling.
I tried to reproduce the test error (your first screenshot) and was not
able to.
Also the dependency problem in your second screenshot I was not able to
reproduce.
Here are some ideas:

could you check your java and maven versions?
Mine at the moment are: Apache Maven 3.6.2
Java version: 1.8.0_181
you could also try a mvn clean install -DskipTests

Then, when using jetty (by mvn -pl estatioapp/webapp jetty:run) I ran into
an error, but that has to do with jetty needing an update apparently
(java.lang.RuntimeException: Error scanning entry module-info.class from
jar .../.m2/repository/org/projectlombok/lombok/1.18.0/lombok-1.18.0.jar)
When I have time I will take a look into that.
One of the work-a-rounds would be to use the second method in the readMe:
Running as a self-hosting JAR
Package using:
mvn -pl estatioapp/webapp -Dmavenmixin-jettyconsole package
and run using:
mvn -pl estatioapp/webapp -Dmavenmixin-jettyconsole antrun:run
That worked fine on my machine.
Greetings from Johan
Op do 14 nov. 2019 om 09:12 schreef Tigerblue77<EMAIL_ADDRESS>
Hello @danhaywood https://github.com/danhaywood and @johandoornenbal
https://github.com/johandoornenbal,
could you help me please, your project seems to be very good but not very
easy to install... If I understand how it works, maybe I could participate,
make a complete installation doc and code with you :)
Thanks by advance
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/estatio/estatio/issues/96?email_source=notifications&email_token=AB6NCFLG2AEELOTUMBI27XTQTUB6RA5CNFSM4JMIMNFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEA66WY#issuecomment-553774939,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6NCFMLJXG734ZURINH4B3QTUB6RANCNFSM4JMIMNFA
.

Hi, thanks for your answer and your tests,
My Apache Maven version is 3.6.2 (second screenshot) but I just saw that I was using jdk 11 so maybe I should use jdk 8 ? (1.8.0)
I'll have a look on it this afternoon, try the second method and keep you informed :)

Well, I tried :

setting java to java 1.8.0 (java 8)
then "mvn clean install -DskipTests" that you suggested, it worked but I encountered the same error as you :

And "service unavailable" :

Well, I tried :

setting java to java 1.8.0 (java 8)
then "mvn clean install -DskipTests" that you suggested, it worked but I encountered the same error as you :

And "service unavailable" :

So I run it as a self-hosting JAR and it works, thank you

I'll learn the app, learn the code and try some things to improve it :)
I think there is a real problem... Should have a look ;) I can reproduce the case to help you

Hey @johandoornenbal
I tried to get it up and running with Java 11, but I couldn't because of some problems with datanucleus (I saw on the internet that datanucleus is not compatible with Java 11). So I installed Java 8. Here are the notes/improvements/questions:

Does this project work with Java 11? If yes, then how?
Everything went fine until this command mvn -pl estatioapp/webapp jetty:run, it failed with the same error as @tigerblue77's.
The aforementioned error is happening because of a bug in jetty maven plugin. By default, jetty maven plugin 9.3.5 is being downloaded and it gives the error. I don't know which minimum version fixes the bug, but the latest stable version 9.4.35.v20201120 works well. I tested it with a jar file.
Next task would be to look into the mavenmixin-jettyconsole package and probably make it download the latest jetty maven plugin version, is this the right thing to do?

Apart from this, I see some warnings because of deprecated API usage and some problems with the frontend. Do you want me to email you the list or create Github issues? Thank you.

Hi Upasana,
The Estatio project is stil on Java 8. (Will be on 11LTS prob also 17 LTS
the coming year. Also it is on still on v1 of the Isis framework.
Migration is planned for next year as well)
If you could create github issues that would be great.
Looking into mavenmixin-jettyconsole would be nice.
How about running from IDE (IntelliJ?) using org.apache.isis.WebServer ?
I must admit that I hardly ever look into this, because I use the private
(proprietary) version that uses the OS version as a git submodule ..
Best regards / Met vriendelijke groet,
Johan Doornenbal
M 06 227 666 28
<EMAIL_ADDRESS><EMAIL_ADDRESS>www.yodo.nl
Griene Daam 7
9084 DG Goutum
Op do 26 nov. 2020 om 22:40 schreef Upasana<EMAIL_ADDRESS>
Hey @johandoornenbal https://github.com/johandoornenbal
I tried to get it up and running with Java 11, but I couldn't because of
some problems with datanucleus (I saw on the internet that datanucleus is
not compatible with Java 11). So I installed Java 8. Here are the
notes/improvements/questions:

Does this project work with Java 11? If yes, then how?
Everything went fine until this command mvn -pl estatioapp/webapp
jetty:run, it failed with the same error as @tigerblue77
https://github.com/tigerblue77's.
The aforementioned error is happening because of a bug in jetty
maven plugin. By default, jetty maven plugin 9.3.5 is being downloaded and
it gives the error. I don't know which minimum version fixes the bug, but
the latest stable version 9.4.35.v20201120 works well. I tested it with a
jar file.
Next task would be to look into the mavenmixin-jettyconsole package
and probably make it download the latest jetty maven plugin version, is
this the right thing to do?

Apart from this, I see some warnings because of deprecated API usage and
some problems with the frontend. Do you want me to email you the list or
create Github issues? Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/estatio/estatio/issues/96#issuecomment-734486326, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6NCFMQLEONDGBLQU4LU2TSR3DLNANCNFSM4JMIMNFA
.

Hi @johandoornenbal
Thank you for responding. I actually started with Intellij, but didn't succeed (it was probably because of Java 11 issue), so ditched it and tried on command line, but I'd like it to work with Intellij, I will create an issue and take a look at it later.

I submitted https://github.com/estatio/estatio/pull/102
We can also change jettywar plugin itself, but it might affect the other projects which are using jettywar. Please let me know if this is not the right way to go. Thank you.


graphql-request query stuck on loading state

Describe the bug
Hello, im using graphql-request with react-query.
Below is my getProjects query
const { data, isLoading, error } = useQuery(
    ["projects"],
    async () => await request<QueryData>(URL, ProjectsQuery)
  );

The query isLoading is true, but isFetching is false and stuck on the paused state on react-query-devtools
While investigating the problem found out that official react-query docs graphql-request page was having the same problem as mine.
Press link to see:
https://tanstack.com/query/v4/docs/examples/react/basic-graphql-request
Anyone has faced this kind of problem?
Your minimal, reproducible example
https://codesandbox.io/s/github/tanstack/query/tree/main/examples/react/basic-graphql-request
Steps to reproduce
Go to https://codesandbox.io/s/github/tanstack/query/tree/main/examples/react/basic-graphql-request
Open up console - no request getting send
React-query-devtools - query is on paused state
Expected behavior
Should send request
How often does this bug happen?
Every time
Screenshots or Videos

Platform
only on Chrome
macOS
react-query version
v4.2.3
TypeScript version
4.7.4
Additional context
No response

The example works fine for me. The query will be in paused state when there is no internet connection? Maybe there were some connection problems?

The example works fine for me. The query will be in paused state when there is no internet connection. Maybe there were some connection problems?

Hello, no connection problems occuring, The example is stuck on paused only on Chrome browser, works fine on different browsers, so is my project.

maybe you have network disabled in the chrome devtools or something. anyways, not an issue.


Axis zoom is very restrictive

Is there someway to manage my zoom in only on the y-axis? The variability of my data is in the 0.001% range and it just looks like a straight line no matter how much I zoom because the zoom appears to be locked on both the x and y axis.
Also it appears to default to have y=0 on the bottom, my values are in the 10^6 and again it makes things look like straight line.

@danre07  I'd like to add a pair of new configurable fields (for x and y axis individually) to allow the corresponding axis to disable the default baseline settings which ensures that "0" is included in the viewport. (in your case, that makes no sense) I'd like to take it as a graphic-walker's issue and do some enhancement around.
About zooming on only one of the axes, i'll also be searching for a solution but i'm not sure about that. I suppose that the feature above may solve this problem.


Naming of SAP S/4HANA in the architecture.png

Expected Behaviour
The correct name for the Backoffice System in the architecture.png should be "SAP S/4HANA"
Actual Behaviour
Currently the name for the Backoffice System in the architecture.png should be "SAP Hana 4" (https://github.com/adobe/commerce-integration-starter-kit/raw/main/architecture.png)
Steps to Reproduce
Check the image that is also used in the README.md.

Thanks for raising this issue.
Since the starter kit is generic and not back-office specific, instead of doing a rename in the diagrams I will remove any reference to SAP S/4HANA.


[Low-Code Concurrent CDK] Allow non-incremental substreams and list based partition router streams with parents to be processed by the concurrent cdk

Closes https://github.com/airbytehq/airbyte-internal-issues/issues/10552
What this solves
Specific areas to highlight

Summary by CodeRabbit

New Features

Enhanced handling of streams with the addition of new logic for substreams and concurrent processing.
Introduced two new streams: arcana_personas_stream and palace_enemies_stream.

Bug Fixes

Improved error handling in the testing framework for specific slice keys.

Tests

Updated test cases to accommodate new streams and refined assertions for concurrent streams.

Documentation

Added comments to clarify the rationale behind changes in resumable full refresh behavior.

Regression test results for source-asana: https://github.com/airbytehq/airbyte/actions/runs/12041043907/job/33572113642

18 out of 19 streams are running in concurrent (one stream workspaces is full refresh and not a substream)
Record counts for full refresh match exactly (asana does not have any incremental streams)
There are mismatches on the is_resumable = False not present on stream objects in the catalog in the new version. This is ultimately not a problem because its optional and it not being there implies false. But I'll put a fix in this PR for consistency
Records are reported as mismatched because of properties missing from a record. However, I spot checked these and these field values were null. This was a change added in CDK v4. And this is getting flagged since we're going from v1 -> v6.

I'll push the catalog fix and max's comments, but aside from that, asana doesn't seem to show any issues running on concurrent candidate version vs the legacy flow.


Drag limits

Hi, I was checking out the project and I am wondering if it is possible to have drag limits, like I accidentally drag the browser too high and could not retrieve it.

Thanks for raising the first issue :)
Well, yea I have it already in my TODO list to make a smart window offscreen check to bring it back in a visible area automatically. But I will try to implement the w11 usual approach for that which is to right-click on the button in the nav to bring it back.
Will try to work on that today and once I push changes I will let you know

The smart window offscreen check is a great idea to solve this.

@annanharry Please let me know if the new solution works well for you. I have just deployed a new version :)

Yeah, it works mate. the windows do not get stuck above the screen limits.


Allow JupyterHub admins different cloud permissions than standard users

Context
@rabernat brought up the point that it's important for hubs to be able to create cloud buckets whenever they want, without entirely having to rely on 2i2c. This can be accomplished by giving hub admin accounts a different set of cloud credentials when they're logged in to the hub than regular users - that way, we can scope it to just the extra perms they want (probably full GCS / S3 access) without having to give them full ownership on the cloud project.
Proposal
We already provide cloud credentials via workload identity in GCP and  IRSA on AWS. This is matching a kubernetes SA to a GCP / AWS SA. We can have a different kubernetes service  account for admins and thus grant that different rights

[x] Create a different KSA that is attached for hub admins
[ ] Write terraform config that optionally provisions an extra GCP Service Account for this specific account. This should be a superset of regular permissions
[ ] Optionally give extra rights to admins
[ ] Write documentation on how to create additional storage buckets

Updates and actions
No response

This is currently being done in https://github.com/2i2c-org/infrastructure/pull/3932 for AWS


Mikan MVP

Integration of Mikan Search

Recent book listing [done]
Book download from book listing [done]
Simple search [done]
Advanced search [done]
o Master Data retrieval and caching (authors / circles, languages, characters, tags, series) [done]
o Advanced search panel overhaul [done]
o Development of new search capabilities on Hentoid DB (re-use of new advanced search UI for querying user's own downloaded library) [done]
Library view UI ironing for Mikan mode [done]

Integration completed as per 0eb1470ef51747f5c98a0b3a6d5a7dc52202baf1


Refactor Bounding Box Code

Refactor Bounding Box Code
Problem
The Bounding Box code in vision/common/bounding_box.py needs to be refactored to reduce complexity and remove unnecessary features.
Solution
The refactored bounding_box.py should:

not have setter and getter functions

unnecessary for our use case

not have an ObjectType

no longer needed (also remove the Enum)

not have an attributes dictionary

largely unnecessary and should be implemented seperately if needed

Store coordinates as a top left corner position, width, and height

NOTE: Tentative, further discussion needed

Does anything need to be done with the tlwh_to_vertices function as well or can that be left how it is?

I think it should be fine as is, at least for now.
It might become redundant if we convert the bounding box representation to the format of storing one corner coordinate along with a width and length. But, I still haven't decided if that would be a good idea, as I'm not yet sure if we will need support for rotated boxes, TBD.


[Feature]: Select card to control select and input_select entities

Requirements

[X] I have updated Mushroom to the latest available version
[X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
Mushroom cannot control select or input_select entities at the moment.
Describe the solution you'd like
Either a new "Select Card" or the ability to show a select dropdown for entity card when a select or input_select entity is selected.

Thank for your feature request. There are lot of non-supported entity in Mushroom and we can not add support for all the domain because for now : 1 domain = 1 card. And it's a lot a duplicate code.
You can use the more-info popup for now for this.

Thank for your feature request. There are lot of non-supported entity in Mushroom and we can not add support for all the domain because for now : 1 domain = 1 card. And it's a lot a duplicate code. You can use the more-info popup for now for this.

Thank you. Working on the card as we speak, PR requires an open issue on the topic so opened one.
PS: any chance you can take a look at my RGBW light PR so I can move forward with it?

As I work for Nabu Casa now, there will be lot of ongoing change to the HA dashboard so I prefer to slow down the mushroom development to avoid big refactoring 😅

I do not prefer to add additional control for now. The editor is already too cluttered, which is opposite to what I wanted to bring with Mushroom.

I agree that a cluttered editor is bad. However, I think it's pretty trivial to only show relevant options based on the selected entity. For example, selecting an RGBW light entity would hide the "Temperature color control?" toggle. So the number of options in the editor wouldn't increase (it would actually decrease if implemented for every option).
Also, while I agree that showing too many options is not great, we're not talking about adding options for the sake of it. Being able to control the white channel(s) in a light that has them is pretty important and something everyone that has that kind of light needs to be able to do. It's not a niche feature.


HeadBranch is missing from WorkflowJob

The workflow_job events contain the branch information (head_branch) but it's missing from the WorkflowJob object. I'm working on generating some metrics based on Github Actions activity, and the branch name would be useful in the presented data. Unless there is an explicit reason not to include that field, I'm about to open a PR to add it to the struct.

This PR aims to fix this issue: https://github.com/google/go-github/pull/2764

Thank you for the quick review, @gmlewis ! 🙇


about using twemoji

Are there any rules for using twemoji for non-commercial purposes? For example, when I use twemoji to create a letter, do I need to include a license notice? Also, are there any cases where I should not use twemoji? I would appreciate a reply from anyone who is authorized to speak on the use of twemoji.

it's on their website. a mention in code/footer would suffice


Impossible to have multiple IDidChangeTextDocumentHandlers

I've tried using multiple handlers that extend IDidChangeTextDocumentHandler and only the first one is working and being registered.
Registering them both with LanguageServerOptions.WithHandler.
The code:
var server = await LanguageServer.From(options =>
    options
        .WithInput(Console.OpenStandardInput())
        .WithOutput(Console.OpenStandardOutput())
        .WithLoggerFactory(new LoggerFactory())
        .AddDefaultLoggingProvider()
        .WithMinimumLogLevel(LogLevel.Trace)
        .WithHandler<TextDocumentHandler>() //My first handler; Using the default one from the sample
        .WithHandler<InspectionDocumentHandler>() //My second handler that extends IDidChangeTextDocumentHandlers
);

I need to have multiple ones because on TextDocumentHandler I have it to do a full sync of the text, but on InspectionDocumentHandler I need it to have it do incremental sync.

@david-driscoll sorry for the ping.
Meanwhile, is there a plausible workaround for the time being for this issue?

@NickAcPT sorry for the delay!  I'm going to see if this has been solved or what is the cause of the issue.

Thank you so much and no worries! Take your time. Anything I can help with?

Do they handlers target the same document selector?

Yeah. Is that what was causing the problem?

I believe so.  the HandlerDescriptors are stored in a HashSet with a key that combines the type, method, and the document selector (if it applies to the handler).
For your use case what do you want to happen with the additional handler?  Do you want it to trigger for both?
The assumption I made originally (which may be a bad one) was that we'd have one unique handler for those combinations, but that is really an assumption around requests, you can only have one request return a response, but notifications are different however.
Now that I understand the issue I think I can come up with something where notifications will work slightly differently than requests.

Well, my main idea was to have two handlers, where each one had the same document selector but a different TextDocumentSyncKind. An example of this could be having one document handler to handle the file changes (with TextDocumentSyncKind.Full) and another where it could run code diagnostics just on the changed regions (with TextDocumentSyncKind.Incremental).
In my head, I wanted it separate because there was no method to correctly handle TextDocumentSyncKind.Incremental and I didn't want to go through the trouble of doing that to handle edit synchronization between the client and the server. 😄

ahhh.  I have no idea how common clients like vscode would react to that.  I assume if we register the same document selector multiple times, as long as they support dynamic registration it should work.
The problem I can't get past at the moment is how to properly route the notifications, because we see is the document uri, which means you'll get some requests as full text and some as incremental to both handlers.

I see. In that case, what is the best thing to do? Close this issue and just use one handler? I feel there's no need to over complicate things just because of this one request. 😄

Yeah, I think this one would be really hard to handle unfortunately!  Sorry!


Use transitive dependency's version as top-level version

What version of dep are you using (dep version)?

v0.3.1
What dep command did you run?

cd $GOPATH/src/github.com/benmai/dep-test-c && dep init
What did you expect to see?
I've set up three example repositories, benmai/dep-test-a, benmai/dep-test-b, benmai/dep-test-c to demonstrate this:

dep-test-a has no dependencies and two revisions, bfe5ef (the earlier revision) and 790c1e4 (the later revision).
dep-test-b imports dep-test-a and has a constraint to set its version of dep-test-a to bfe5ef (the earlier revision).
dep-test-c imports dep-test-a and dep-test-b. dep-test-c's Gopkg.toml has not yet been created, since we're running dep init now.

   A
 / |
B  |
 \ |
   C

I expect to see:

dep init to finish without errors.
Gopkg.toml to be empty (the dependencies should be inferred from imports).
Gopkg.lock to contain:

Lock of dep-test-a at bfe5ef (the earlier revision).
Lock of dep-test-b at 7a70e4a (its only revision).

What did you see instead?
No versions of github.com/benmai/dep-test-b met constraints:
	master: Could not introduce github.com/benmai/dep-test-b@master, as it has a dependency on github.com/benmai/dep-test-a with constraint bfe5ef24b86ad8946c91275fcde1739f0d4bf12b, which does not allow the currently selected version of master

It appears that since dep-test-c imports dep-test-a, dep init begins by forcing dep-test-a to the tip of master instead of deferring to dep-test-b's constraint.
Is this expected behavior? It seems I would have to create a Gopkg.toml by hand here, which I don't want to do. I would like to use the version of dep-test-a which dep-test-b specified in its Gopkg.toml by default.

hi, welcome! thanks for the detailed the issue.
i think this might be a small solver bug; we have a bit of a blind spot around plain revisions in Gopkg.toml, as we generally discourage it as an approach. let's quickly validate before i say more - push a tag (doesn't matter what it's called) to the tip of dep-test-a, then try the same dep init again, and see if it magically works.

@sdboyer Thanks for the quick response!
I added a tag on dep-test-a called ok-version for commit bfe5ef, and your hypothesis is proven correct:
$ dep init
Locking in  (bfe5ef2) for direct dep github.com/benmai/dep-test-a
Using master as constraint for direct dep github.com/benmai/dep-test-b
Locking in master (7a70e4a) for direct dep github.com/benmai/dep-test-b

Additional questions I have now:

Why does dep-test-b but not dep-test-a show up as a dependency in dep-test-c's Gopkg.toml by default? They are both dependencies of dep-test-c.
Why would adding a tag fix this while I'm still using a commit hash in dep-test-b's Gopkg.toml?

And most importantly:

In the real-life case I'm dealing with, the equivalent of dep-test-a is not in my org, but dep-test-b and dep-test-c are. I want to be able to set an org-wide dependency on a specific version of dep-test-a, but that repository doesn't use tags. What do you recommend?

Also, even though I'm digging into this revision issue, I really do appreciate that dep discourages using specific hashes, and I think that's a great approach. It sets a good tone for dependency hygiene in the community. 👍

i do love guessing right 😄

Why does dep-test-b but not dep-test-a show up as a dependency in dep-test-c's Gopkg.toml by default? They are both dependencies of dep-test-c.

This is another judgment call we made in pursuit of that same goal - not having revisions in Gopkg.toml. Given the number of existing tools that supported, or even required, the use of SHA1s in their metadata files, we were concerned that such values into Gopkg.toml by default would just cause people to never question those habits, even though it's a deeply suboptimal way of doing things. And, because the same reproducibility assurances are achieved through Gopkg.lock, we weren't really losing anything by doing it.

Why would adding a tag fix this while I'm still using a commit hash in dep-test-b's Gopkg.toml?

The detailed answer reaches into the depths of dep's solver, and I don't know where the problem is exactly (if I did, we wouldn't have this bug!), as it's a subtle order-of-operations issue. But, the problem arises from solver mechanics: when the solver is trying to figure out which version of a dependency to use, it creates an ordered list of versions to try.
That list does not, by default, contain revisions, because that would mean the solver would have to search every revision in every dependency to see if they work. Instead, when we encounter a revision constraint, we hack that version in to the list at the front. My hunch was that the problem arose when that hack is applied on an already-empty (or perhaps just a single-item) queue, as it's basically the only time that we mess with the version list after initial construction (like I said, it's a hack), so it was the only plausible way that i could imagine the solver missing a version it needed to try.
And that's why adding another to dep-test-a fixed the problem - the queue was not exhausted, or whatever, by the time the solver arrived at the new revision constraint it wanted to apply.

In the real-life case I'm dealing with

Apart from waiting for a fix, which may take me a little while to get to, I think your best bet is likely to be picking out the revision of dep-test-a that you know dep-test-b will eventually want, and hand-populating it into Gopkg.lock. Having a revision in Gopkg.lock already causes that revision to be the first item in the version queue, and obviate the need for this entire code path. That may mean you can't use dep init to set up your projects at first, unfortunately.
Alternatively, ask the maintainers of dep-test-a if they might be willing to push a dummy branch or non-semver tag (it could just point to the initial commit of the repo).

Also, even though I'm digging into this revision issue, I really do appreciate that dep discourages using specific hashes, and I think that's a great approach. It sets a good tone for dependency hygiene in the community.

i'm glad you agree! 🎉 🎉


Integrate with Logging feature.

This PR adds the LoggingLayer, essential to use Tracers and Traces from iohk-monitoring-framework

bors r+


GQL Api Calls Cleanup - StreamGet breakdown

Expected vs. Actual Behavior
It's a bit messy at the moment! The StreamGet query returns too many things, and at the same time not enough things - or some things that are needed are not there yet 🙃
Where this started from: currently, to get the latest commit in a stream, regardless of branch, i have to search through all the branches returned by the original StreamGet, and then dig inside all of their commits. There's a different field in the schema, the stream's commits, that... just returns the latest commits.
Proposed Solution (if any)
I propose we break this down a bit, and add a few extra calls that will be more on point.

[ ] StreamGet: gets the stream basic info, total branches count, and total commit count (basically the current query, sans the branches part, or, at least without the branches.commits part)
[x] (collection query) StreamGetCommits: gets the stream's commits. I need this to easily check which is the latest commit in the case of stream bound receivers.
[x] (collection query)  StreamGetBranches: the current branches subquery, more or less
[ ] (item query) StreamGetBranch - gets the branch as it is now.
[x] (item query) CommitGet - gets the full info of a specific commit (already implemented)

Optional: Affected Projects
It's an open questions for all the connector implementations!

@didimitrie quick question: what's the reasoning for naming StreamGetBranch and CommitGet differently? would it not be more user friendly for them to have a similar naming convention (eg either StreamGetBranch & StreamGetCommit or BranchGet & CommitGet)?

@didimitrie quick question: what's the reasoning for naming StreamGetBranch and CommitGet differently? would it not be more user friendly for them to have a similar naming convention (eg either StreamGetBranch & StreamGetCommit or BranchGet & CommitGet)?

No reason, just sloppy code. Pick the easiest way forward (or the one you prefer most 😎 ) and 🚀

No reason, just sloppy code. Pick the easiest way forward (or the one you prefer most 😎 ) and 🚀


All containers end up on one node

I'm at home with a small cluster of machines: 2 managers and 4 nodes with consul.
I am using doit on a manager to launch multiple containers. Every single container ends up on the same node:
Containers: 18
 Running: 11
 Paused: 0
 Stopped: 7
Images: 56
Server Version: swarm/1.1.3
Role: primary
Strategy: random
Filters: health, port, dependency, affinity, constraint
Nodes: 4
 atom1: <IP_ADDRESS>:2375
  └ Status: Healthy
  └ Containers: 1
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 2.018 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=4.2.0-34-generic, operatingsystem=Ubuntu 15.10, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-04-14T03:04:56Z
 atom2: <IP_ADDRESS>:2375
  └ Status: Healthy
  └ Containers: 1
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 1.922 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=4.2.0-34-generic, operatingsystem=Ubuntu 15.10, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-04-14T03:04:56Z
 atom3: <IP_ADDRESS>:2375
  └ Status: Healthy
  └ Containers: 15
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 1.922 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=4.2.0-34-generic, operatingsystem=Ubuntu 15.10, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-04-14T03:04:39Z
 atom4: <IP_ADDRESS>:2375
  └ Status: Healthy
  └ Containers: 1
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 1.922 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=4.2.0-34-generic, operatingsystem=Ubuntu 15.10, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-04-14T03:04:56Z
Plugins:
 Volume:
 Network:
Kernel Version: 4.4.3-dhyve
Operating System: linux
Architecture: amd64
CPUs: 16
Total Memory: 7.783 GiB
Name: b67c295759d5

you can see they are all on atom3. I have tried spread and random strategies. When I run individual containers by hand: docker run busybox hostname the containers seem to be distributed correctly.
I don't understand why the containers launched by doit are not distributed--doit is running in a shell where I export DOCKER_HOST=local.docker:4000 and doit is just executing shell commands of docker run ...blahblahblah.
docker version:
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      swarm/1.1.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   7e9c6bd
 Built:        Wed Mar  2 00:15:12 UTC 2016
 OS/Arch:      linux/amd64

I found someone else with a similar problem recently: https://github.com/docker/docker/issues/21968

There is some possibility that it is  potentially has some affinity in the commands doit executed.

@JoshRagem Links are only working on the same host.

Is there any details in links link_str ? @JoshRagem

@doronp ok, that makes sense. I guess I missed the step of creating an overlay network and leveraging that, so the only way the containers could be linked is on the node-local docker bridge network. is my new understanding correct?
@allencloud they are nothing special: ' '.join([ '--link={}-{}:{}'.format(k,TEST_ID,v) for (k,v) in links.items() ]) just basic linking to some other containers. I think I understand now why it did not work.

after getting an overlay network set up and refactoring the doit script, this works as expected.


docs(components/input-groups): add hint that custom file inputs require js to display the selected file name

As a ng-bootstrap user (Angular + Bootstrap) I was confused that the custom file input component requires Bootstrap's JS to display the file name. ng-bootstrap does not require Bootstrap's JS. Bootstrap's documentation should clarify this.
Repro

Go to https://getbootstrap.com/docs/4.5/components/input-group/#custom-file-input
Disable JS via the browser's dev tools
select a file in an upload dialog
the original placeholder is still visible

Tested under Arch Linux with Firefox 84.0b4

It does not require Bootstrap's JS; it requires bs-custom-file-input and it's already documented: https://getbootstrap.com/docs/4.5/components/forms/#file-browser

It does not require Bootstrap's JS; it requires bs-custom-file-input and it's already documented: https://getbootstrap.com/docs/4.5/components/forms/#file-browser

not explicitly on https://getbootstrap.com/docs/4.5/components/input-group/#custom-file-input though, maybe worth adding some small note there? maybe cross-reference to https://getbootstrap.com/docs/4.5/components/forms/#file-browser ?

Feel free to add a note/callout, sure :)

#32457


+open Egg Sacs Broken

🐛 Bug Report
The latest update for OSB removed the ability to open egg sacs dropped from Sarachnis. Will look into the revision history to try and find the breaking change.

It appears to have been broken in oldschool js with this commit:
https://github.com/oldschoolgg/oldschooljs/commit/b4bd7bafc17dc6acfb62a70581b607b3d3a41745#diff-83094b5a1b45ab92abed92ce00a37223f615fa829234efcf9bbed3fd2f1805ad
The import for gianteggsacfull has been removed

This change also breaks opening nest boxes retrieved from birdhouses or trading in giant mole items.


chore(main): release 0.2.4

:robot: I have created a release beep boop
0.2.4 (2024-06-11)
Bug Fixes

fixed custom auth (2c30636)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.4
:sunflower:


Permission page returns blank

Describe the bug
After clicking "Consent to permissions",  blank list is returned.
Request
https://graphexplorerapi.azurewebsites.net/permissions?scopeType=DelegatedWork
Payload
{"StatusCode":400,"Message":"Failed to fetch permissions"}
To Reproduce
Steps to reproduce the behavior:

Authenticate User.
Click user icon.
Click "Consent to permission".

Expected behavior
List of permissions are displayed.
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser Edge
Version 126.0.2592.87

Additional context
Add any other context about the problem here.

This can be closed now. There was a downtime on the permissions service. Please reopen this issue if it


My first upstream contribution

I worked on sending my name into the attendees.txt and am now practicing a pr. In my pr is an edit to the attendees.txt where I added my name and email.

well done!


[API] Load binary from a JUnit test

Good morning,
I am starting to push some unit tests for my extension based on the Ghidra API. One of my tests requires to have access to a Program instance, based on a compiled binary. I am looking for a way to properly load a binary using ghidra's api, from a JUnit test perspective (meaning I don't have access to the methods supplied by GhidraScript). I have stumbled upon the AutoImporter class that provides useful methods that I believe could fulfill my requirements, but whenever I try to use it like:
Program p = AutoImporter.importByUsingBestGuess(new File("/path/to/my/binary.o"), null, this, new MessageLog(), null);

I got the following error:
No load spec found for import file: /path/to/my/binary.o

Is there maybe an easier/hidden way to get a Program instance of a binary ?

What type of file is binary.o?

$> file binary.o
binary.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

Can Ghidra import this file through the GUI by default?  Does it want to use the ElfLoader or BinaryLoader?

I assume your loader is required to load this file?  Is it working through the GUI?

Actually it is a normal, GCC-compiled C file, I am just trying to load it through ghidra API calls, so of course the GUI is able to analyze it and disassemble it.
I am not implementing a new loader, I just want to get an easy-to-use instance of a binary to call some custom analysis on it.

I would have to run it through the debugger to see what's happening.  Does it work with the headless analyzer (headless analyzer uses the AutoImporter).

Is your test class extending AbstractGhidraHeadedIntegrationTest or AbstractGhidraHeadedIntegrationTest? You don't have to but they get most of the necessary setup out of the way. I have seen similar problems caused by not having all the modules loaded.
AbstractProgramBasedTest may also serve your needs nicely.

Extending AbstractGhidraHeadlessIntegrationTest solved the issue actually ! As I don't use any GUI feature, I thought this one would be a more convenient solution ;)
Thanks for your help !


At the top of the readable netlist, add a COMPONENTS section that shows the reference designator, manufacturer part number, and supplier part number of each component

/bounty $10
e.g.
COMPONENTS:
 - R1: 1k 0402 resistor
 - U1: ATMEGA328P, C1234

/attempt #2


Modifications needed for this page

[Enter feedback here]
https://learn.microsoft.com/en-us/azure/iot-hub/quickstart-control-device?pivots=programming-language-python
This page should include the GitHub page for source reference.
And the file name "SimulatedDevice.py" does NOT exist. Should be SimulatedDeviceSync(or Async).py
Any way the web contents should be checked with the GitHub page.
Thank you for your good tutorial. And looking forward to more NEW tutorials.

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

ID: 8c1184ca-0d97-ef3d-c465-37ba88918613
Version Independent ID: ce37dc27-75ca-9e52-5e09-acf7bf4f29c1
Content: Quickstart - Control a device from Azure IoT Hub
Content Source: articles/iot-hub/quickstart-control-device.md
Service: iot-hub
GitHub Login: @kgremban
Microsoft Alias: kgremban

@sgkim99 Thanks for the feedback! We are currently investigating and will update you shortly.

@sgkim99
This page should include the GitHub page for source reference.
Pre-requite steps already included this reference.

And the file name "SimulatedDevice.py" does NOT exist. Should be SimulatedDeviceSync(or Async).py
PR has been created to address this. Fix will be deployed after a peer review and merge. Do let us know if you have any further queries.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Flexible HttpClient configuration for interactions with Fedora

Do not merge yet
This PR allows the user to provide an HttpClient for interacting with Fedora, and provides for more flexible authn configuration of the default/provided HttpClient used by API-X for this purpose.  This allows API-X to adapt to arbitrarily complex authn protocols that may protect Fedora (such as JWT)

In OSGi, API-X uses the highest ranked HttpClient published to the service registry for communication with Fedora.
API-X listens for added/removed HttpClients in the OSGi service registry, and immediately starts using HttpClients as soon as they are available.
Additional configuration properties are provided for using basic auth with the default HttpClient used by API-X.
The Fedora instance used in the ITs has been updated to require a username/passwd via basic auth

Resolves #112

As noted in a comment on the CLAW issue, updates to the service indexing ITs are pending

@ajs6f @acoburn
Just FYI, I was able to get the camel http4 component to use a provided HttpClient by adding the param
?httpClient=#httpClient to an http4 endpoint URI, and having a bean with id of httpClient available in blueprint.  It doesn't look like this is documented anywhere I could find, except via looking through the source code.  It should work for using the JWT-enabled CLAW HttpClient in camel routes.

Tracking the question of httpClient here.


Memory Leak in shouldCompactOnLaunch

Goals
shouldCompactOnLaunch not to create 2 byte memory leak
Expected Results
No memory leak
Actual Results
Line 235, configuration.shouldCompactOnLaunch = ObjectiveCSupport.convert(object: shouldCompactOnLaunch) registers a 2 byte memory leak.
Steps to Reproduce

Setup default realm
Pass in closure for shouldCompactOnLaunch
Run Profile > Instruments > Leak Checks

Code Sample
Closure being passed to shouldCompactOnLaunch:
   private static let CompactionNonDataUsageFileSizeThresholdMB: Int = 50

    // totalBytes refers to the size of the file on disk in bytes (data + free space)
    // usedBytes refers to the number of bytes used by data in the file
    private static var shouldCompactOnLaunch: (Int, Int) -> Bool = { (totalBytes, usedBytes) -> Bool in
        let totalFileSizeMB = totalBytes / (1024 * 1024)
        let usedMB = usedBytes / (1024 * 1024)
        let diff = totalFileSizeMB - usedMB

        // Compact if the file is over XMB in size and less than Y% 'used'
        let shouldCompact = diff > Realm.CompactionNonDataUsageFileSizeThresholdMB
        return shouldCompact
    }

Version of Realm and Tooling
Realm framework version: 3.7.2
Realm Object Server version: N/A
Xcode version: Version 9.4 (9F1027a)
iOS/OSX version: iOS 11.4/macOS 10.13.4
Dependency manager + version: Cocoapods + 1.5.3

Screenshot from Instruments:


[iOS] Crashed: com.apple.main-thread - [FlutterEngine iosPlatformView]

HI we had raised one issue that we are getting noticeable amount on crash in production and shared the logs.
https://github.com/flutter/flutter/issues/112545
Now we got to know that the issue has been fixed and one CP request has been raised.
https://github.com/flutter/flutter/issues/115650
Now we need to know how much time it may take to be merged and how soon it will be available so that we can update the get fix for the crash.
Actually  high amount of crash  is appearing in each build and it is impacting the app.

Hello @siddew201. Please read Cherrypick Process on the wiki to get more information. You can follow up on the thread in https://github.com/flutter/flutter/issues/115650 instead of creating new issues to discuss this. Closing this issue for the same reason. Thank you

(void)didMoveToParentViewController:(UIViewController *)parent {
// when flutterVc is removed from nav, this method would be called
if (!parent) {
self.engine.viewController = nil;
}
[super didMoveToParentViewController:parent];
}

add this method in your flutterviewcontroller to set self.engine.viewController to nil
the reason is that flutter vc listens app termination and would destroy flutter engine in the terminate method, somehow in the termination process, flutter viewController dealloc method will be called,  in dealloc method , it will access flutter engine again, so crash will be casued.


Compute shaders for subdiv

Port metal shaders from opensubdiv? Unknown amount of work

Even if it's not that much work I don't think this is worth it. There's a bunch of other handling within opensubdiv which makes it possible to enable adaptive subdivision (not implemented yet, probably gonna add it as an editor setting) and also made it easy to interpolate skinning and UV's. Porting all of that seems to be too much work overall for the benefit of it imho.
What I had a short look at instead was BFR. It was newly released with opensubdiv 3.5 a month ago. I don't fully understand what the downside of it is ("repeated evaluation of a fixed set of points" is still better done with far, which would be the current baking implementation). Upsides I saw are you can set it to triangulate quads at the end and it's apparently faster than Far based table solution, which we don't even currently use, so performance  should see a significant increase for runtime subdivision (SubdivMeshInstance3D  with skinning is very laggy right now on high levels.)
It  also didn't look too complicated to implement from the tutorials I tried out and might be worth trying out instead. All of this is future stuff though, I don't think I'll work that much on this project myself in the near future except bugfixes/stabilization. I just needed semi quick subdivision for a project I'll continue working on now.

I'm perfectly happy with what godot_opensubdiv has too. We're using float=64, so I have to debug that. The msvc bug isn't critical.

Hi again! I currently use the topology data stuff without subdivision for a character with lots of blendshapes and think I got the 2 major performance problems down now.
1. Triangulation Code
There is a lot of problems with this one. First of it's using SurfaceTool internally and generates tangents every single time if it has normals. That takes combined with the other triangulation code a total of 76ms for an around 10.000 vertices mesh. Remove that and we're already down to 14ms. Remove it entirely and resize lists before to not have to append you can half that again. With caching the index array and other stuff this probably can be cut down to half of that again. So I won't implement this right away, but this is something I'll definitely do when I have the time.
2. Subdivision itself
Forget my former post the new bfr is only really suitable as a replacement for adaptive subdivision which imo looks ugly on most things and only really is suitable for faraway objects (I just looked at the demo stuff, but e.g. a cube has a lots of free spots).
Instead what we should use is StencilTables to be able to actually use all the different fast subdivision options opensubdiv has. They provide a tutorial for the StencilTables so that should not be too hard, actually using it with the different GPU computation libraries might take longer though, but all official examples use them so atleast there is a lot reference.

I think we can do a optimized implementation of what we use SurfaceTool for.
What are stencil tables?

Stencils are used to factorize the interpolation calculations that subdivision schema apply to vertices of smooth surfaces. If the topology being subdivided remains constant, factorizing the subdivision weights into stencils during a pre-compute pass yields substantial amortizations at run-time when re-posing the control cage.

Factorizing the subdivision weights also allows to express each subdivided vertex as a weighted sum of vertices from the control cage. This step effectively removes any data inter-dependency between subdivided vertices : the computations of subdivision interpolation can be applied to each vertex in parallel without any barriers or constraint. The Osd classes leverage these properties by exploiting CPU and GPU parallelism.

from https://graphics.pixar.com/opensubdiv/docs/far_overview.html
The second part is the important thing. Currently just simple subdivision algorithms are being used here with no real parallelism and stencils make it possible to use OpenCL/GLSL/... or also CPU parallelism. I still don't fully know how to implement it well so that someone could also come around and use the library they like. My current bet is to do something like this


SW-4411 Rework planting site notification schema

We're about to add several more reminder notifications for planting sites, and
it will start to get a little unwieldy to have a separate column in the planting
sites table to keep track of each one.
Create a new table planting_site_notifications that tracks how many of each
type of notification we've sent for a planting site. This models the reminder
notifications a bit differently than before: they are considered to have the
same notification type but a different "notification number" where the first
notification about something is number 1, the first reminder is number 2, etc.

Current dependencies on/for this PR:

main

PR #1474   👈

This stack of pull requests is managed by Graphite.


spec: import docker distribution specification

This imports the API specification from the docker distribution repository, preserving the contribution history. Note that the merge commits have been pruned in the process. This PR contains two addition commits: the first is a merge commit from the pruned repository to join the history with this repository and the other moves the specification from docs/spec/api.md to spec.md.
While this is the end of the era, I'll take this time to thank all those who contributed to the source specification. Your commits will be preserved and will become a part of the OCI specification.
At this time, there should be no review, as modifications will be made in follow on pull requests.
Closes #2

LGTM, suggest we merge this in before Monday :)

LGTM

Hmm, should I merged commit or a rebase ?


Update the locales

Hi @bensinjin ,
Yay! I just got the app working for me at home for the first time in weeks. And I figured I'd do a little bit of cleanup around the locales in preparation for MVP. So here's what I did in this branch:

Remove Chinese
Add French
Re-generate all the strings and clean unused ones from the messages.json and messages.js files
Add missing <Trans> tags to add more strings to localize
Localized missing strings in Arabic and French using Google Translate
What do you think?

Also, I don't have an issue number for this. I wasn't sure what the protocol was with that.

Cheers @trisapeace. Today is a bit crazy for me so I probably won't get to looking at this today but on Monday I can create an issue around this and you can tag your commit with the appropriate issue number.

I'm not actually sure what the AC should be for this issue. Can we discuss Wednesday at our meeting?

Created https://github.com/pg-irc/pathways-frontend/issues/163 for this, used commit summary above as ACs for now.


is it possible to return a readable stream when there is no file name given, and support range download?

Is it possible to return a readable stream when there is no file name given, and support range download?
I use to use node-ytdl-core before.
and then find this for ytdl-core face 410 error when deploy to  Heroku

ytcog's current download module streams (video and audio) into files and merges (if necessary) into single file.  It uses ranges to improve performance. But it is essentially a black box running in a separate fork.
Perhaps if you can flesh out your use case (code would be helpful) of ytdl-core, I could look at adding an alternative to video.download that gives programmatic access and control over streams.
You can still get full access to the download urls after a video.fetch() via video.videoStream[n].url and video.audioStream[n].url

@gatecrasher777 I will try to create a class, which extends class Video, and rewrite the download method. the new download method may like downloadfrominfo in ytdl-core


Kyvli master

Resolving kou1okada/apt-cyg issue 47 which is posted by @kyvli.

I want to hear your comment about this patch.


Investigate "no callback found"

https://github.com/rust-lang/miri/pull/1761 managed to somehow trigger an ICE in Miri:
normalized stderr:
thread 'rustc' panicked at 'no callback found', src/thread.rs:714:55
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::option::expect_failed
   3: core::option::Option<T>::expect
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/library/core/src/option.rs:349:21
   4: miri::thread::EvalContextExt::run_timeout_callback
             at ./src/thread.rs:714:13
   5: miri::eval::eval_main::{{closure}}
             at ./src/eval.rs:230:21
   6: miri::eval::eval_main
             at ./src/eval.rs:218:38
   7: <miri::MiriCompilerCalls as rustc_driver::Callbacks>::after_analysis::{{closure}}
             at ./src/bin/miri.rs:53:40
   8: rustc_interface::passes::QueryContext::enter::{{closure}}
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_interface/src/passes.rs:755:42
   9: rustc_middle::ty::context::tls::enter_context::{{closure}}
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_middle/src/ty/context.rs:1726:50
  10: rustc_middle::ty::context::tls::set_tlv
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_middle/src/ty/context.rs:1710:9
  11: rustc_middle::ty::context::tls::enter_context
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_middle/src/ty/context.rs:1726:9
  12: rustc_interface::passes::QueryContext::enter
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_interface/src/passes.rs:755:9
  13: <miri::MiriCompilerCalls as rustc_driver::Callbacks>::after_analysis
             at ./src/bin/miri.rs:35:9
  14: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter
  15: rustc_span::with_source_map
  16: rustc_interface::interface::create_compiler_and_run
  17: scoped_tls::ScopedKey<T>::set
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.53.0-nightly (9b0edb7fd 2021-03-27) running on x86_64-apple-darwin

note: compiler flags: -Z miri-disable-isolation -C prefer-dynamic

query stack during panic:
end of query stack

The actual stderr differed from the expected stderr.
Actual stderr saved to /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/compiletestOPSWb6/concurrency/libc_pthread_cond.stage-id.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args concurrency/libc_pthread_cond.rs`

error: 1 errors occurred comparing output.
status: exit status: 101
command: "/Users/runner/work/miri/miri/./target/x86_64-apple-darwin/release/miri" "tests/run-pass/concurrency/libc_pthread_cond.rs" "-L" "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/compiletestOPSWb6" "--target=mips64-unknown-linux-gnuabi64" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/compiletestOPSWb6/concurrency/libc_pthread_cond.stage-id" "-A" "unused" "--edition" "2018" "-Dwarnings" "-Dunused" "--sysroot" "/Users/runner/Library/Caches/org.rust-lang.miri" "-Zmiri-disable-isolation" "-L" "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/compiletestOPSWb6/concurrency/libc_pthread_cond.stage-id.aux"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'no callback found', src/thread.rs:714:55
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::option::expect_failed
   3: core::option::Option<T>::expect
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/library/core/src/option.rs:349:21
   4: miri::thread::EvalContextExt::run_timeout_callback
             at ./src/thread.rs:714:13
   5: miri::eval::eval_main::{{closure}}
             at ./src/eval.rs:230:21
   6: miri::eval::eval_main
             at ./src/eval.rs:218:38
   7: <miri::MiriCompilerCalls as rustc_driver::Callbacks>::after_analysis::{{closure}}
             at ./src/bin/miri.rs:53:40
   8: rustc_interface::passes::QueryContext::enter::{{closure}}
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_interface/src/passes.rs:755:42
   9: rustc_middle::ty::context::tls::enter_context::{{closure}}
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_middle/src/ty/context.rs:1726:50
  10: rustc_middle::ty::context::tls::set_tlv
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_middle/src/ty/context.rs:1710:9
  11: rustc_middle::ty::context::tls::enter_context
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_middle/src/ty/context.rs:1726:9
  12: rustc_interface::passes::QueryContext::enter
             at /Users/runner/.rustup/toolchains/master/lib/rustlib/src/rust/compiler/rustc_interface/src/passes.rs:755:9
  13: <miri::MiriCompilerCalls as rustc_driver::Callbacks>::after_analysis
             at ./src/bin/miri.rs:35:9
  14: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter
  15: rustc_span::with_source_map
  16: rustc_interface::interface::create_compiler_and_run
  17: scoped_tls::ScopedKey<T>::set
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.53.0-nightly (9b0edb7fd 2021-03-27) running on x86_64-apple-darwin

note: compiler flags: -Z miri-disable-isolation -C prefer-dynamic

query stack during panic:
end of query stack

------------------------------------------

test [ui] run-pass/concurrency/libc_pthread_cond.rs ... FAILED

The panic ultimately triggered here:
https://github.com/rust-lang/miri/blob/7b2e325728e800664e55a7b91bac8b8b8378ab74/src/thread.rs#L714
I have not seen this before, so looks like it is unlikely but possible to happen. Would be good to at least come up with a plausible theory for a chain of events that lead here. Cc @vakaras

The only idea that comes to my mind is that host's clock was shifted back just at the right moment…

For the system clock that would actually be "legal".

But yeah, I think the only way this can happen is if schedule sees some timeout with a wait duration of 0, but then get_ready_callback doesn't find any.
(Btw, do we compute the wait time on each iteration through the main interpreter loop? That seems like a lot, TBH.)

For the system clock that would actually be "legal".

I guess in that case instead of unwrapping we should go back to the scheduler without doing anything:
let (thread, callback) = if let Some((thread, callback)) = this.machine.threads.get_ready_callback() {
    (thread, callback)
} else {
    // get_ready_callback can return None if the computer's clock was
    // shifted after calling the scheduler and before the call
    // to get_ready_callback. In this case, just do nothing, which
    // effectively just returns to the scheduler.
    return Ok(());
};

Btw, do we compute the wait time on each iteration through the main interpreter loop?

Yes.

I guess in that case instead of unwrapping we should go back to the scheduler without doing anything:

Yeah, that sounds reasonable.

Yes.

Hm, now I wonder if it's a problem (in particular perf-wise) to keep hitting the clock API so rapidly. At least we only do it when there are timeouts waiting to happen, but then we do it once for each timeout.

Hm, now I wonder if it's a problem (in particular perf-wise) to keep hitting the clock API so rapidly. At least we only do it when there are timeouts waiting to happen, but then we do it once for each timeout.

I guess, the scheduler, in general, could be called each 10th step or so. I remember that at some point there was an idea to change the scheduler to pick a different thread after some number of steps. However, this probably was not implemented, right?

One naive approach would be to move the "can we continue running the current thread" check above the timeout -- but I think the comment there explains that we cannot do that, even though I do not fully understand it.

I think we could move the continue the current thread check above the timeout check if we changed the implementation of conditional variables to immediately return E_TIMEOUT in case it was scheduled to fire in the past.

Wouldn't that effect also be achieved by making pthread_cond_timedwait implicitly yield?

I think that this should also work.


add testimonies

Gather reviews from potential customers to get users on the site enticed to come to Luxcore

added testimonies with quotes


Fix for ExactlySameAs (c++) and IsNumberMatch

-- ExactlySameAs in C++ didn't look at the number_of_leading_zeros field
-- isNumberMatch now ignores the number of leading zeros if italian_leading_zero is set to false, and considers explicitly set values that match the defaults to be the same as the defaults. Note this shouldn't affect any user who creates phone numbers using "parse" as per recommendations.

This change is

There is an actual fix in here though (even for people correctly only creating PhoneNumbers via "parse").
ExactlySameAs - shouldn't that be in the release notes?

It's c++ only so not sure; release notes is in the Java folder so don't
think anyone would look there for C++ changes. Happy to add though if you
think in the "wrong" place is better than not at all!!
I think we should move the release notes and pending code changes files up
one level after the next release - what do you think? I think at some point
we didn't because it was only Java that has official release numbers since
it goes to maven but now the js demo refers to the same version number etc..

feb. 2017 4.58 p.m. skrev "Keghani Kouzoujian"<EMAIL_ADDRESS>

:

There is an actual fix in here though (even for people correctly only
creating PhoneNumbers via "parse").
ExactlySameAs - shouldn't that be in the release notes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/pull/1567#issuecomment-278982606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjiszU9wIpGMb-jWB66aVaMqMn7HdFAks5rbIkOgaJpZM4L9hVI
.

We've been adding all sorts of changes there so I'd mention it. Yes, let's move one level up!
They do end up in the git tag of that name so the C++ code does get versioned.


Updated Perf_BuildKernel script.

As a result, it now supports enabling gcov for the hv daemons and it
also supports grub2-based guests.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: herciunichita sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Fix calico-node spamming cni-config-monitor errors

While testing Calico 3.21 on LXD, I noticed this error spam coming from calico-node:
2022-02-14 19:55:12.116 [ERROR][53] cni-config-monitor/token_watch.go 34: Failed to watch Kubernetes serviceaccount files. error=no such file or directory
2022-02-14 19:55:17.117 [ERROR][53] cni-config-monitor/token_watch.go 34: Failed to watch Kubernetes serviceaccount files. error=no such file or directory
2022-02-14 19:55:22.117 [ERROR][53] cni-config-monitor/token_watch.go 34: Failed to watch Kubernetes serviceaccount files. error=no such file or directory

This upstream PR indicates that the error is part of CNI token watch code that only runs when CALICO_MANAGE_CNI=true.
From the calico-node reference docs, the CALICO_MANAGE_CNI option has the following description:

Tells Calico to update the kubeconfig file at /host/etc/cni/net.d/calico-kubeconfig on credentials change. [Default: true]

We don't need this because the Calico charm writes and maintains its own CNI kubeconfig here.
To fix this, we set CALICO_MANAGE_CNI=false. I've confirmed that doing so makes the error go away.

I've updated the integration test bundle to pull from charmhub, to get around this error:
ERROR cannot deploy bundle: cs:~containers/etcd-669 resource "core": bad metadata: resource missing filename

It looks like maybe we never attached the core resource to the edge channel:
$ charm list-resources etcd
RESOURCE REVISION
core     0
etcd     3
snapshot 0

$ charm list-resources etcd --channel edge
RESOURCE REVISION
core     -1
etcd     3
snapshot -1

Oh well. We need to get our tests pulling from charmhub anyway.

🚀 🎆 🥳


Make list / checkout outputs tally-able

@rbyh This should address your https://github.com/expectedparrot/edsl/issues/696 issue. I'll request your approve PR once tests pass


Add simplified object initialization

If code style rule  "IDE0017 Object initialization can be simplified" enabled (default) in VS, generated mapping code cause the warning occurrence. Maybe it worth to consider implement simplified object initialization or added this feature as an option in the extension configuration.

This is one of the must have feature. Because the mapping can be very complex (with nested object) is's not so easy to implement. Probably it requires refactoring of MappingGenerator class.

Available in https://github.com/cezarypiatek/MappingGenerator/releases/tag/1.3.116
@ungradge I would be appreciate if you could check this new mapping option and let me know if everything works fine.


Cherry pick event source fix for Identity 1.4.1 patch release

Patching Azure Identity 1.4.0 with recent event source duplication fix.

/azp run net - identity

/azp run net - identity - ci

/azp run net - core - ci


CRITICAL:root:twint.run:Twint:Feed:noDataExpecting

I keep getting this error! It has something to do with Twitter ratelimiting the scraper, I presume? Was it really that hard to build in a queue of requests and only allow N requests per minute?

Maybe you add your query or at least describe what you're trying to achieve, please?

On a similar note, i keep getting this error on my linux/debian 10 distribution when im using twint to collect tweets. In contrast, this error have never appeared in my Windows 10 machine, even when looking for the same hashtag/user/keyword/etc. Is there a reason why this keep happening?
p.s. excuse the broken english, not a native speaker

I think that's related to #567

When fixating the user agent to
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2224.3 Safari/537.36
or
Mozilla/5.0 (Windows NT 6.4; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2225.0 Safari/537.36
this error seems to go away.

@o7n thank you for sharing your findings, I'll give it a run asap!

I tried 4 installation with
Debian Mint e Kali
always the same error of critical root
I did installations with
Pip3
Python3 build and install setup.py
Pipenv
On the older isntallations no problems, it works. Why this?

How much old?

september?

I have the same problem. I ran
twint -s "children's home volunteer" --year 2020 -o -children_home_volunteer.csv --csv
It stopped once in 2018-09-27 and again in 2017-02-25.
It seems to be a problem with a certain number of blank pages?

#604


Consider adding a license to this project

You should consider adding a license to this code so it is clear for people how and with what restrictions they can use your code and approach.
Regards

Sure. Thank you for your suggestion. We have added an MIT license to the code.


How to disable web workers on v2.1.266?

I'm currently trying to disable the web workers to use "fake web worker" using Chromium for see if it fixes #9048 on 2.1.266 but I can't figure out the API for it.  When I set GlobalWorkerOptions.workerSrc to false then the page refreshes over and over again on every browser.  Is there a bug or am I missing something in a changed API?

Also if I don't set workerSrc then the browser reloads/refreshes with the message Error: Setting up fake worker failed: "window.pdfjsWorker is undefined".

First of all, please keep in mind that disabling of workers have never been an officially supported configuration, but rather only exists for compatibility with older browsers and/or Node.js.
In PDF.js version 2.0 changes were made to make it more difficult to disable workers, please refer to PR #9385 and the related discussion. (The code should give some idea of how the API/viewer implements disabling of workers for debugging purposes.)

When I set GlobalWorkerOptions.workerSrc to false

That's never been a supported configuration, as far as I know...

Finally, this issue is missing most the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md and there's also no working example provided; please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.

What if I need to use the library in Service Worker? You can't create a Worker from it.


SIP macOS - add fallback to arm64

Currently we extract x64 binary but sometimes arm64 is available so we can avoid emulation. In this case we should extract the arm64 binary and patch it.

Almost done, just one concern, @aviramha: Isn't it possible that there are going to be fat binaries with arm64 binaries included in them, on macs with intel chips? In that case, if we prefer the arm64 binaries over the x64 binaries and use them, the patched arm64 binary is not going to be able to run on the intel x64 mac, is it?
Should we choose the binary according to the system's architecture?

That's correct.. That should be probably done in compile time, no?


type: acf-plugin ?

Would it make sense to add acf-plugin as supported package type as used in this plugin?
Map acf-plugin to wordpress-plugin?

Well.. is it a wordpress plugin that needs to be installed in the WP plugin dir? If so I think it's fine to declare its type as wordpress-plugin

@Seldaek: Yes, ACF plugins are like normal WordPress plugins, but they hook into ACF (or ACF Pro) and add new functionality (field type, behaviour, etc).

OK, sounds to me like for composer purposes they should just have the wordpress-plugin type then, it's kind of a detail where they hook after install.


Add repr methods to GDB classes for debugging purposes

I found these convenient for debugging, so I figured I'd offer them to the repo.
That being said, they were written for functionality rather than readability and violate some people's style recommendations.

I haven't abandoned the thread, my backlog is just taking longer than expected


Some styles are missing after inline

Take this template: https://github.com/leemunroe/responsive-html-email-template
Inline it
check the button
the cursor: pointer; property will be missing from the a tag

Script: mkdirp build && inline-email src/email-1/index.html --out build/email1-inlined.html -f --noInlineImages
$ npm -v
6.13.4
$ node -v
v12.14.1

"dependencies": {
  "inline-email": "^2.0.1"
}

Ubuntu 18.04

Closing: if the <a> element has no valid href, Gmail, and probably other cliens will remove the cursor: pointer; as it seems.


Compatibility with the SingleCellExperiment class

As of October 2017, scater has switched to the SingleCellExperiment class from the SCESet class. With this update, this code is once again compatible with the latest release of scater.

Hi
Thanks for the update. This repository is meant to provide the exact code used in the paper so I'm not sure if it is appropriate to update it. I'll have a think but maybe we can find somewhere else to put it.
Luke

Hello Luke,
Yes, it makes sense. But please note that the current version of the code does not work with Bioconductor 3.6.
Bests,
Anil


Docker - CLI install dependencies

Test if installing all dependencies from docker frontend and backend CLI makes is easies to set up a branch.
Aim is to get it to run with the least amount of commands

docker-compose run --rm --no-deps backend-node install
docker-compose run --rm --no-deps frontend install
npm install
npm install express?
npm install react-router-dom


Snapshot: unable to parse command

I created a mirror and updated it per the tutorial. http://www.aptly.info/tutorial/mirror/
It won't let me snaphot the mirror, though. It says ERROR: unable to parse command

@19kestier I believe you need mirror in your command:
aptly snapshot create google64-... from mirror google64


Default values in structs?

I would like to generate an analytics event like this:
struct LoginEvent {
    let name: String = "Login"
}

But the only way I have found is that I can create a template and evaluate values from a file. Pkl example:
module LoginEvent

name = "Login"

The result is fully mutable and lost default values:
struct LoginEvent {
    var name: String
}

Is there any way to provide a default value during code generation and make let properties?

The generator will not generate data, so it can't generate default values. Doing so would require a 1-to-1 Pkl -> Swift code translator:
class Foo {
  myProperty = complicatedFunction() // <- how to translate `complicateFunction` from Pkl to Swift?
}

You can use the auto-generated loadFrom function to load data from Pkl.


[Android] Implement the text zoom API.

This patch is to implement API for setTextZoom() and getTextZoom().
Adjust test case for reuse.
Add test case for setTextZoom() and getTextZoom().
BUG=XWALK-4994

Thanks hengzhi's quick fix!
I have two comments for this:
1), I think no need to export these API through XWalkView. Cause XWalkSettings will be public soon. For this, you may refer to @lincsoon.
2), Please also help to implement the following API(It's my fault. I tried to add the following API in the bug description. But seems not succeed.)
setDefaultFontSize(size);
setDefaultFixedFontSize(size);
size:a non-negative integer between 1 and 72 ， The default is 16

I will communicate with @lincsoon  next Monday.
I will implement the APIs in another PR.
Thanks.

This PR is still available. Let's just wait for XWalkSettings

The APIs about default font size has been implemented, I will rebase it when XWalkSettings was exposed.

@axinging @lincsoon @XiaosongWei @xzhan96 @fujunwei PTAL, thanks.

LGTM

LGTM

LGTM


Minor Changes for Demo

Article Fields: Remove “Featured Sections” (https://github.com/unicef/iogt/issues/25#issuecomment-866829780)
Export Users: Move Export > Users data page new position at Settings > Export/Import Users. Remove “Add User” button from Export User page and replace with “Upload users” button (inactive for now)

@dannyparsons

@ehmadzubair We discussed some changes to user options:

Export Users moves to Reports > Export Users
"Upload Users" button goes next to "Add a user" button

@dannyparsons This is good to merge


Allow IPython 5.x syntax highlighting to control colors in interactive shell.

When using Anaconda / IPython interactive shell, the syntax highlighting matches that of the code editor. I'd like it to instead utilize IPython's color scheme as though it were run in the command line.

I'm not sure that we're able to flow the colours through to our interactive window, but if you have specific suggestions about the differences you'd like to see then we may be able to do some of those.


Unable to create users immediatly after the the app is created using the WebAPI

I am trying to integrate my app with Sendbird using REST WebAPI.
When I create the new application, I get the AppId in respond along with the ApiToken which is great. The returned AppId is usually is in all caps NEW-APPLICATION-ID. If I send a second request to create new users immediately after the app is created, I get the following error

Name or service not known (api-new-application-id.sendbird.com:443)

The problem here is that when using C# to create a Uri() to use for the HttpClient, the URI is converted to all lowercase. Because domains are case-insensitive by nature.
However, if I wait a white and then try to create users using the same host api-new-application-id.sendbird.com:443 it works with no probelm. It's like the server requires time delay to be aware of the case insensitive domain.
Is there a work around for this problem?

@MikeAlhayek Hi there.
My recommendation would be to wait sometime for the application set up to be completed before running any requests to it. In normal cases, it should take several seconds or more for the new application set up to complete. What do you think?

@supertopoz Yes that is the approach I already took as a workaround. But, do you have any idea how long should we wait? I have to sync up the users when after creating the application.
Anyway, I don't think the applications API should respond with success until the process is complete. If the API on your end fires some sort of background job which does internal work. Then maybe the API should have a call back url to call when the application is ready for usage. In other words, add a new parameter (ex, callback_url) where your API will post-back to after the application is completely setup and ready for action. This way we can do follow up tasks like synchronize users, create default channels or anything else that maybe needed.

@MikeAlhayek Hi again.
Can I ask are you using this C# SDK to create the apps or REST webapi as you mention in the first case, please?
There is a way to call to the newly created app without needing the app_id, but I couldn't see the code in the this SDK so wondering if you are using this end point directly.
https://sendbird.com/docs/chat/platform-api/v3/organization/managing-application/create-an-application#1-create-an-application

@supertopoz i am using the REST API directly without any SDK.
To create the application I use this endpoint
https://sendbird.com/docs/chat/platform-api/v3/organization/managing-application/create-an-application#1-create-an-application
Which works and return the appId and the auth token.
Then the second request would be to use the newly created AppId to create users using the following endpoint
https://sendbird.com/docs/chat/platform-api/v3/user/creating-users/create-a-user

@MikeAlhayek I sent you an email with a possible solution.


Validate staking contract keys when nodes register

Closes https://github.com/dapperlabs/flow-go/issues/5597
Adds code to validate that the staking key and networking key are valid public keys before allowing the node to be created and registered
TODO: Find out a way to get CI to pass. It currently can't because it needs to be able to use a pre-compiled version of relic

@tarakby I don't remember what the conclusion was on getting relic working with CI here. Do you know what we can do to get it working?

@tarakby is it really necessary to remove the length checks? I know that the key validation already does it, but it might be helpful to have the length checks anyway in case the user includes a 0x or something like that by accident.

is it really necessary to remove the length checks? I know that the key validation already does it, but it might be helpful to have the length checks anyway in case the user includes a 0x or something like that by accident

@joshuahannan It is not necessary to remove it. This doesn't make the code more or less secure.
The idea was to make the contract agnostic of the crypto implementation of public keys (the crypto may update the serialization of keys for instance and those hardcoded lengths in the contract won't be valid). The 0x would make the hex decode function fail anyway.


DEV-28595 Paginated requests include all query params in link section

The PR addresses the missing query parameters in the links section of the getUsers() API.

Maybe we also include a small note here saying that it will include the query parameters?
https://github.com/acrolinx/platform-api/pull/100/files#diff-dc31b80e161d209b2d3d032acd88ad5047e9cabf6daf1142cecb4f87865b8d1aL1391
I am not sure if we should add it or not so referring to @madeline-brennan to see if we should add a note there or not. Personally I think fixing the example is ok as it mimics the query params shown.

Maybe we also include a small note here saying that it will include the query parameters?
https://github.com/acrolinx/platform-api/pull/100/files#diff-dc31b80e161d209b2d3d032acd88ad5047e9cabf6daf1142cecb4f87865b8d1aL1391
I am not sure if we should add it or not so referring to @madeline-brennan to see if we should add a note there or not. Personally I think fixing the example is ok as it mimics the query params shown.

Added a small doc for this.


FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory

We're getting the following error when using Zombie:
FATAL ERROR: CALL_AND_RETRY_2 Allocation
failed - process out of memory
Unfortunately there's no additional backtrace. I'm just opening this ticket to see if anyone else has experienced similar problems.

hello assaf,
How do you suggest that how we should clear the memory or history ??
I am running into same problem. I have done a scraper where its throwing the same error after doing 200 websites.
Shall I create new zombie object for each request or there is a better way of doing this ??
Regards,