Remove EndSpan and rely on the IDisposable from StartSpan

Remove EndSpan from the IManagedTracer and only rely on the IDisposable from StartSpan to end a span in a trace. The IDisposable from StartSpan will contain more information about the span and allow for better handling of Spans across threads.
Fixes #1124

Assigned Mike officially as he's clearly on the case :)

Ok, I think I'm starting to get confused a bit now. We may want to sync up offline about this. But thinking about this some more, I think in some cases you really do want to pop off all disposed items form the start when you start/annotate/end a span. Let's say thread A starts a parent span, spawns thread B while that span is open, and then thread C disposes that parent span. If thread A starts a new span, you don't want it to be a child of that disposed parent. In that case you want it to pop off disposed ones before creating the child. But if thread B starts a new span, you do want it to be a child of the disposed parent since thread B was spawned while the parent span was active. I don't know if there's an easy way to compare execution contexts though to know whether or not to pop off from the stack. I'm going to look into that. Also, things seem to be getting a little complicated now, so I'll try to think of a better way.

I'm getting confused too, I'll put something on your calendar.

@evildour I pushed a change (just so you cant TAL before we talk tomorrow) that I think should solve the problem with async tasks.  I don't think we can ever track things across actually threads thought.

@evildour PTAL
@jskeet Mike and I iterated on a solution for this.  In the end I think we figured the best solution for this is to allow a thread to end in another thread but not guarantee the state of new spans after this.  I think given that this is an uncommon case it's fairly safe for now.  If it becomes and issue in the future we will probably need to revisit and/or create a managed tracer.  Does this sound reasonable?

All fixed up PTAL

It looks like some of the relevant tests may be failing.

Sorry, hadn't seen the comment asking for more input. I'm afraid I don't remember enough context of what's going on here, but if you and Mike are happy it's the best solution for now, that's fine by me.

Yeah, it's unfortunate: we either have this 'partial' fix with a warning not to close spans on other threads or we have a hacky solution of popping off all disposed spans before trying to do anything with the top of the stack, but only if you're in the same thread that started the disposed span(s).
We thought we had a good workaround in the form of capturing the current ExecutionContext when starting a span and then running a lambda within that EC to pop off from the stack when closing the span. However, we learned that capturing an ExecutionContext gives a point-in-time snapshot of the current AsyncLocal values in the logical call context. You can't write back to the originals or get updated values. So only logic within the lambda running in the captured EC saw the span as ended. All other threads thought it was still open.

Assuming tests pass now, LGTM.

There is an overload of Interlocked.CompareExchange that works on longs. Can you use that?

Did not realizes that, done.


package.json version (5.1.0-beta.2) doesn't match npm version (5.1.0)

🐛 Bug Report
The latest package.json says its version is 5.1.0-beta.2, but the npm registry and the versions page of this repo says that the latest version is 5.1.0.
https://github.com/immerjs/immer/blob/52c991467058b04fd6fccf32511ed4e97f1bc6c3/package.json#L3
I assume that either a non-beta 5.1.0 was published by mistake, or someone forgot to update package.json when releasing 5.1.0.

The package.json is unrelated to the actually published latest version, since the latter is managed by semantic-release. 5.1.0 on npm is correct.


option matchers

https://github.com/facebookexperimental/reason-native/issues/148 Went with the basic API. Not sure if we want .toBeSome to take a value or not (e.g. make it functionally equivalent to .not.toBeNone). Holding off on implementing result matchers as I think the answer to that question informs .toBeOk() and .toBeError() (or whatever we want to call that)
type optionMatchers('a) = {
  toBeNone: unit => unit,
  toBeSome: (~equals: equalsFn('a)=?, 'a) => unit,
  toBe: (~equals: equalsFn('a)=?, option('a)) => unit,
};

type optionMatchersWithNot('a) = {
  not: optionMatchers('a),
  toBeNone: unit => unit,
  toBeSome: (~equals: equalsFn('a)=?, 'a) => unit,
  toBe: (~equals: equalsFn('a)=?, option('a)) => unit,
};

toBeSome probably does not need to accept the value because we have toBe(Some(value)) instead. Otherwise there isn't a good matcher that just checks if it is some without caring about the value


added color scheme

Description
Added new color scheme
Fixes #188
closes the issue number #188
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@avinashkranjan please check the PR.

@avinashkranjan Please check updated to markdown format thanks


Stories need to have valid OpenGraph & Schema.org metadata

Bug Description
Stories need to look great when shared on both Facebook and Twitter, and pass the requirements to appear in Google Discover and Search.
Expected Behaviour
To test this, Stories should pass Google's Schema.org validator, and look great when shared on Facebook and Twitter (have thumbnail, title etc.).
Steps to Reproduce

Screenshots

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

Create a new story, making sure it has a featured image
Pass story through Google's structured data testing tool
Pass story through Twitter's Card Validator
Pass story through Facebook's Sharing Debugger
Try sharing on Facebook and Twitter (no need for actually posting; the previews should work fine)

I think this links to #113

Some docs:
https://developers.google.com/search/docs/guides/enable-web-stories
https://blog.amp.dev/2020/02/12/seo-for-amp-stories/

Some schmema.org metadata is added in \Google\Web_Stories\Story_Post_Type::get_schemaorg_metadata

Stories need to look great when shared on both Facebook and Twitter

@pbakaus should we implement things like Twitter Cards or Open Graph tags ourselves to meet the  minimum requirements for this? Or rely solely on third-party plugins like Yoast SEO (see #113)?

and pass the requirements to appear in Google Discover and Search

I believe we cover the technical basics already (valid AMP, schema.org data). Although it's difficult to deduce the correct content type for structured data.

@pbakaus should we implement things like Twitter Cards or Open Graph tags ourselves to meet the minimum requirements for this? Or rely solely on third-party plugins like Yoast SEO (see #113)?

Yes, we should definitely add these ourselves. We can allow Yoast and other plugins to override/complete them though. Sharing our stories should render nice previews out of the box on Twitter & FB. /cc @o-fernandez

Seeing this error in the Google Structure Tool:

And on Twitter:

And getting this on FB:

I'll leave the url I used for testing -  https://stories-qa-wordpress-amp.pantheonsite.io/stories/whiz-bang/ -untouched so that it can be replicated

Ah well, our staging site is nnoindex 🤦  So yeah the card validator doesn't work there.
Tried it on my own public site and it works as expected:

Structured Data Testing Tool:
Seems like the logo needs to be annotated as a proper @ImageObject:

Facebook Sharing Debugger:

og:description: looks like we need to bring back excerpts... Will open a new issue for this.
fb:app_id: Nothing we can provide. That's specific to the website, so can be ignored.

Using ImageObject seems to work:

@csossi for QA you want to temporarily disable the  Discourage search engines from indexing this site option under Settings -> Reading. Then Twitter should work.

Verified in QA

For completeness, output of Facebook's sharing debugger:

And Twitter card validator:

See newly added description.
No errors in both tools.


Missing XEP and version supported

Can you add the supported XEP and what version?

https://xmpp.org/extensions/xep-0384.html
https://xmpp.org/extensions/xep-0454.html

The "Original" OMEMO is 0.3.0:

https://xmpp.org/extensions/attic/xep-0384-0.3.0.html

Diff Tool (there is a problem with 0.8+ in xmpp.org):

0.3.0 to current: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.3.0.html&newfile=https://xmpp.org/extensions/xep-0384.html
0.8.3 to current: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.3.html&newfile=https://xmpp.org/extensions/xep-0384.html
0.8.2 to 0.8.3: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.2.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.3.html
0.8.1 to 0.8.2: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.1.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.2.html
0.8.0 to 0.8.1: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.1.html
0.7.0 to 0.8.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.7.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.0.html
0.6.0 to 0.7.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.6.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.7.0.html
0.5.0 to 0.6.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.5.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.6.0.html
0.4.0 to 0.5.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.4.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.5.0.html
0.3.0 to 0.4.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.3.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.4.0.html

Hi @Neustradamus thanks for pointing out. I think the XEP that is supported is : https://xmpp.org/extensions/xep-0384.html
The library has the functions to generate the input needed from publishing bundle, encryption and sending group and personal message.
I will add that to mention in readme for XEP.
But for media sharing of this https://xmpp.org/extensions/xep-0454.html is not yet supported.

Sorry I just realize just now :D, I have been working for past weeks to integrate with xmpp and mobile application to test it out.

For version, I think the version is 0.8.3, because I tried to follow the latest one on https://xmpp.org/extensions/xep-0384.html
What are the problem with 0.8+ ?

Thanks for your answers!
If you want, at this time, compatibility with all OMEMO clients, it is 0.3.0.
It is really important to add the version supported to know compatibility ^^
Where have you integrated? :)

Oh, I see, this lib here is not directly tightened to XMPP XML schema but instead, it would handle the key generation, ratcheting and encrypt/decrypt and encode/decode the protobuf schema for the PreKeySignalMessage and the SignalMessage which provide information construct the bundles, sessions, and message.
For OMEMO client supported for XMPP, I added to the forked library here: https://github.com/npsopheak/xmpp_dart/tree/dev :D which only supported the 0.8.3 of XEP 0384. (I was thinking to add the omemo encryption functionalities to the XMPP library too but I am not sure how to fit it, so I separated it.)
I integrated with the flutter mobile application with Mongooseim v5 as a server and this forked xmpp_dart (xmpp_stone).

Any news on it?


feat(choices): choices with both skill checks and ifs working

⚠ NOTE: use notes like this to emphasize something about the PR. This could include other PRs this PR is built on top of; new or removed environment variables; reasons for why the PR is on hold; or anything else you would like to draw attention to.

Checklist

[ ] Linked an issue for this PR (or no issue is relevant)
[ ] Have you followed the guidelines in the CONTRIBUTING.md file?
[ ] Have you checked if there are breaking changes in this PR, and if so mentioned them below?

** Feel free to delete sections that aren't relevant to your changes **
Problem
What problem are you trying to solve?:
Solution
How did you solve the problem?
Before & After Screenshots
(Include if relevant)
BEFORE:
[insert screenshot here]
AFTER:
[insert screenshot here]
Other changes (e.g. bug fixes, UI tweaks, small refactors)
Any additional explanations needed about changes:
Breaking Changes
Do any of the changes cause breaking changes for users? For example: Changes in the config, in scripting syntax...:

closes #63


Homework 1 - Pull request to remote repository

Learned how to fork and clone a repository into my local directory. Then made changes, committed them and pushed into my remote forked repository.

Now I am creating a pull request into the remote repository of the project. This means that my pull request will be reviewed and can then be merged into the source project.

Yes, first step is good. But normally you add code with the pull request itself, therefore it's homework 1&2. But good start! :)

Not a bad start. For now, don't bother yourself too much with validation- that will be done in the next homework along with if statements. In fact even making your own functions is not absolutely needed.
However, there is one thing that I would like to pick on- naming. Question is not a good name for a function, because it's a noun. What does it mean? It should be AskQuestion at least. In any case, it's more like PromptForBmi or similar.

I presume this is not finished based on your own comments in code, so I will not flag it as anything just yet.

I presume this is not finished based on your own comments in code, so I will not flag it as anything just yet.

Hello, thank you for your comments. I have completed this exercise for now (might try to refactor it later on). I do see the mistake that I made by pulling before completing the coding exercise (so every time i committed and pushed to the remote repository it goes into the pull request too). I will know this for next time.

Keep it up ;)


Better routing abstraction

Introduced ScreenRegistry - now app-level screens register themselves in this registry and App component knows nothing about specific screens.
Currently when we navigate to different part of application in React-Native we push a new scene into our navigator's scene stack: https://github.com/jitsi/jitsi-meet-react/blob/master/index.native.js#L27-39
Here is the article describing problem with this: https://blog.nativebase.io/the-caveats-of-using-navigator-in-react-native-9547d99172ce#.prwf1f48t
When we pushed views into the navigator, the navigator got stacked with new pages. As we kept pushing new views to the navigator, the app started to slow down and lag.
The reason was that whenever a new view was pushed, it was mounted every time causing the app to slow down.
....
Navigating to new screen by push() doesn’t destroy the instance of the last screen and the component isn’t unmounted at all until it is popped out. So, if you’re not handling push() and pop() correctly, you may end-up in huge memory leak issues, making your app really slow.
It happened with us and we learnt how different Navigator is from other routers on the web.
So mainly each time we push new scene to navigator, it mounts a new scene, without cleaning the previous ones.
Instead in this PR it is suggested to replace current scene with new one (https://facebook.github.io/react-native/docs/navigator.html#replace).
Also in scope of this PR welcome page specific state that holds room name for now was introduced.
Some statistics: after join-quit conference for 4 times without this fix app consumes more than 100 MB of RAM. With fix - about 85 MB of RAM.
Introduced more "component-oriented design" - now components dispatch actions when they are mounted/unmounted instead of handling this inside navigation.

I think that the ScreenRegistry could be simplified by using a Map internally so that we can use the for ... of iterator in the places where getAllScreens() is used now.
Requiring the screens to include an index field to ensure consistent ordering by getAllScreens() doesn't seem right unless there's another use that I missed seeing.

@legastero

I think that the ScreenRegistry could be simplified by using a Map internally so that we can use the for ... of iterator in the places where getAllScreens() is used now.

I think we can store them not as Object or Map at all. I'll change it to Set internally.

Requiring the screens to include an index field to ensure consistent ordering by getAllScreens() doesn't seem right unless there's another use that I missed seeing.

This is not for the ordering. It's used for React-Native's navigator - https://facebook.github.io/react-native/docs/navigator.html#additional-scenes. But I'll check if this is strictly required.

This is not for the ordering. It's used for React-Native's navigator - https://facebook.github.io/react-native/docs/navigator.html#additional-scenes. But I'll check if this is strictly required.

Aha! That bit of info clears a lot of this up for me :)

@legastero I've updated the PR according to your concerns

@tsareg, please don't modify this PR from now on. Thank you!


Documentation about validation of relationships object using getResourceObject

Hey there,
Forgive me if I read incorrectly, but I don't think there's any documentation about validating relationships as part of a new resource creation, such as the request body shown in the example under http://jsonapi.org/format/#document-resource-objects
The current solution I'm using is to manually construct the relationships validator and set it on the main resource validator. eg.
$validator = $this->getResourceObjectValidator(...)
$validator->setRelationshipsValidator(new RelationshipsValidator([
   'relationshipName' => $this->getHasOneValidator('relationship_type')
]);

Although I'm not 100% sure that this is the recommended method.
If you would like me to submit a change to README to that effect under content validation, I'm happy to do that too.

@mosen
Thanks for your message. I need to sit down and write some proper documentation at some point but unfortunately the project that I've created this package for is burning all of my time at the moment. Better documentation will come at some point!
What you're currently doing above works, but there's handy helper methods that make it easier to write. What you've written above can be rewritten as:
$validator = $this->getResourceObjectValidator(...)
	->hasOne('relationshipName', 'relationshipType');

You can also use hasMany() as a helper for adding a hasMany relationship. These helper methods are chainable, so you you call many in a row.
Both hasOne() and hasMany() take the relationship name as the first argument and a relationship type for the second. If your relationship can accept multiple types (i.e. it's polymorphic) then pass in an array of types for the second argument.
Both these helper methods take an optional third argument of options (in an array) that can be set on either the HasOneValidator or HasManyValidator that is created. E.g. you could do the following:
$validator = $this->getResourceObjectValidator(...)
	->hasOne('relationshipName', 'relationshipType', [
		'required' => true,
		'allowEmpty' => false,
		'callback' => function (ResourceIdentifierInterface $identifier) {
			return Person::where('id', $identifier->getId())->exists();
		}
	]);

required is whether the client must have provided the relationship in the resource object that was sent. allowEmpty is whether the relationship can be empty (null for has-one, empty array for has-many).
If provided, the callback is invoked by the validator to check that the actual id provided by the client is valid. This callback is only called if all other validation on the relationship passes - i.e. you can trust that $identifier passed in to the callback has the correct resource type on it and there is an id value.
For a has-many validator, the callback is provided with an instance of ResourceIdentifierCollectionInterface.
Let me know if you have any questions! I'm going to leave this issue open as a reminder that I need to add better documentation for validation.

Thanks a bunch, that really cleared up everything I was missing on validation.

howdy @lindyhopchris
I've been checking out the relationship management with creating/updating a resource and I've stumbled upon this issue...I have a few questions:

Could you please give me an example of what would a real life relationshipName and relationshipType look like? I'm having trouble distinguishing them (especially the relationshipType).

When not sending the optional third argument array to the methods hasOne() and hasMany(), what are the default values for required, allowEmpty and callback?

Related to the previous question (third argument array), is it possible to only send a subset of its vaules? e.g. Send only the required and have the rest as default? What would each value default to?

Thank you so much in advance.

@nickelozz
No problem...

$relationshipName is the key of the relationship on the resource object that is being validated. $relationshipType is the type of the resource on the inverse side of the relationship (I probably should have called the variable $resourceType). E.g. if you are validating a post resource object that has an author relationship, where the author is a person resource object, then $relationshipName would be author and $relationshipType would be person.

allowEmpty is true, required is false. callback is null, i.e. no callback to execute in the validation. I use the callback to check that the provided id for the relationship actually exists (normally a database query).

Yes. All options arrays are exchanged in a way so that only values that are provided are set over the defaults. E.g.
https://github.com/cloudcreativity/json-api/blob/master/src/Validator/Relationships/HasOneValidator.php#L199

@lindyhopchris excellent!! tyvm sir :smiley:

Hi @lindyhopchris !
I have the same question, how can I validate relationships object's data?
I tried to use $relationships->hasOne('key', 'type', true, false) in relationshipRules() method, but I think that this method just for checking exist of object .
How can I add some validation rules to related object?

Hi @lindyhopchris !
I have the same question, how can I validate relationships object's data?
I tried to use $relationships->hasOne('key', 'type', true, false) in relationshipRules method, but I think that this method just for checking exist of object.
How can I add some validation rules to this object?

Hi @mandryka
The relationship validation checks that the relationship object is correct according to the JSON API spec, and it also checks via the store that the related resource exists. Additionally it checks allowEmpty and required depending on the settings.
If you need to validate the actual relationship identifier that was sent, pass a Closure for the next argument as per here:
https://github.com/cloudcreativity/json-api/blob/master/src/Contracts/Validators/RelationshipsValidatorInterface.php#L55-L56
Alternatively you can pass an instance of AcceptRelatedResourceInterface which would allow you to use dependency injection within that instance if you resolve it out of the container.
If you're still stuck or can't figure out how to do what you're trying to achieve, then create a new issue with an explanation of what you're trying to validate and I'll be able to help.

@lindyhopchris thanks a lot!
I created AcceptRelatedEntity class, which implements AcceptRelatedResourceInterface
and added validation for related entity to accept(...). Also I used ErrorCreatorTrait for adding errors.

Might be able to close this one, since it seems like everything has been rewritten 😄

Yeah, good point.


Not able to get the libraries to load, using SystemJS loader

Hello,
I am using Angular 4.x.x and a SystemJs loader.
Configuration I passed as per the end of the wiki:
"map": {
'angular-sortablejs': 'node_modules/angular-sortablejs/dist/',
'sortablejs/Sortable.min': 'node_modules/sortablejs/Sortable.min.js'
},
"packages": {
"app": {
"defaultExtension": "js"
},
"angular-sortablejs": {
"main": "index.js",
"defaultExtension": "js"
}
}
Main module contains:
import { SortablejsModule } from 'angular-sortablejs';
and in the imports section
SortablejsModule.forRoot({ animation: 150 })
In the component.ts file
import { SortablejsOptions } from 'angular-sortablejs';
In the component.html template file the following binding

While I am able to "require" the Javascript file, the Angular wrapper eludes me.
SytemJS is resolving to a file that includes a "<" character, and then failing. Not sure how, because the mapped paths don't have any index.html type files in them...
Any help would be appreciated
Thanks
Eti

PS I did try the newer format with the maps contained within the packages, but still no joy.

includes a "<" character

sounds that some HTML file is served instead of JS...

I think the html you get is your index.html. Typically this kind of error appears when the script file is not found and index.html is served instead as a 404 fallback. You should be able to see what systemjs is calling in the browser network console

Just realized, the docs only mention the addition to the imports array... but not the import statement itself - what is that supposed to look like?
I was assuming the default? -
import { SortablejsModule } from 'angular-sortablejs';

All I can see from the console output is that systemjs is failing after trying to load my module (the one with the sortable in it)... does not give a paths tried... trying to find some more debugging input.
map-search:65 SyntaxError: Unexpected token <
at eval ()
at evaluate (http://localhost:9001/node_modules/systemjs/dist/system.src.js?1528915318058:2802:18)
at http://localhost:9001/node_modules/systemjs/dist/system.src.js?1528915318058:3607:23
at dynamicExecute (http://localhost:9001/node_modules/systemjs/dist/system.src.js?1528915318058:1138:28)
at doEvaluate (http://localhost:9001/node_modules/systemjs/dist/system.src.js?1528915318058:1085:15)
at ensureEvaluate (http://localhost:9001/node_modules/systemjs/dist/system.src.js?1528915318058:993:15)
at http://localhost:9001/node_modules/systemjs/dist/system.src.js?1528915318058:1011:22
at Object.eval (http://localhost:9001/app/mapSearch/mapSearch.module.js:41:28)
at eval (http://localhost:9001/app/mapSearch/mapSearch.module.js:103:4)
at eval (http://localhost:9001/app/mapSearch/mapSearch.module.js:104:3)

you need to look at the network section of the browser.

here you will be able to see the javascript files. Check EVERY of them, some is returning HTML

Really odd... On the network tab it appears to be loading the library, but not from a location I'd expect.

Some progress... it is trying to load the submodules, but not appending the ".js"

Using
"map": {
"angular-sortablejs": "node_modules/angular-sortablejs/dist/index.js"
},

I have tried every systemjs configuration I can think of - your module won't load :(
Would very much like to use it - any help would be appreciated!

I think it should be something like this... according to the systemJS spec:
Conflict with other angular imports? a dash is considered a word boundary in reg exp ?!?
"packages": {
"angular-sortablejs": {
"main": "index.js",
"defaultExtension": "js",
"map": {
"angular-sortablejs": "node_modules/angular-sortablejs/dist/"
}
}
}
Can you load it using systemJS?

check this plunkr https://next.plnkr.co/edit/WcK824ulv9jOEOLODG3l?p=preview&utm_source=legacy&utm_medium=worker&utm_campaign=next&preview . The configuration is working here


python312Packages.osxphotos: 0.68.5 -> 0.68.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.osxphotos is: Export photos from Apple's macOS Photos app and query the Photos library database to access metadata about images
meta.homepage for python312Packages.osxphotos is: https://github.com/RhetTbull/osxphotos
meta.changelog for python312Packages.osxphotos is: https://github.com/RhetTbull/osxphotos/blob/refs/tags/v0.68.6/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.68.6 with grep in /nix/store/azpmmmw0ar95yjfj4wkdl1nsrg2q3g81-python3.12-osxphotos-0.68.6
found 0.68.6 in filename of file in /nix/store/azpmmmw0ar95yjfj4wkdl1nsrg2q3g81-python3.12-osxphotos-0.68.6

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.osxphotos
python312Packages.osxphotos

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/azpmmmw0ar95yjfj4wkdl1nsrg2q3g81-python3.12-osxphotos-0.68.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.osxphotos https://github.com/r-ryantm/nixpkgs/archive/d191b12188d3864ca0808e8b7823b24afd5ac981.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d191b12188d3864ca0808e8b7823b24afd5ac981#python312Packages.osxphotos

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/azpmmmw0ar95yjfj4wkdl1nsrg2q3g81-python3.12-osxphotos-0.68.6
ls -la /nix/store/azpmmmw0ar95yjfj4wkdl1nsrg2q3g81-python3.12-osxphotos-0.68.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python311Packages.osxphotos
python311Packages.osxphotos.dist
python312Packages.osxphotos
python312Packages.osxphotos.dist

Maintainer pings
cc @Sigmanificient for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 343081 at d191b121 run on aarch64-darwin 1

2 packages marked as broken and skipped:

python311Packages.osxphotos
python312Packages.osxphotos


New plugin: auto kick

Auto kicks people onJoin in the friendschat.

I don't know the state of this pull request, but atleast i changed the runelite version to the latest one (1.8.17)

I don't know the state of this pull request, but atleast i changed the runelite version to the latest one (1.8.17)

At the moment the code isn't compiling. There's an issue with line 77/line 78 if you click on the first "Details" link in the checker. Possibly the import for FriendsChatManager isn't correct.

We denied another plugin which does this in #360. I don't know of any way this plugin could be changed to still do "auto-kicking" and be allowed.

I kinda figured as much.
I will close the PR then. Thanks for the info @Nightfirecat :)


Place JS directory in build output when Base URL use empty

What problem does this feature solve?
When Base URL uses empty(relative paths), bulid output would be made not structured like below.

What does the proposed API look like?
Placing js directory under root of output directory would be elegance.

This is intended in order to ensure urls inside CSS can work properly.


Detox tests hang when run on Bitrise

Description
I am trying to run our Detox tests on Bitrise and finding that the tests hang and eventually time out. This is only happening when running the tests on Bitrise, when running the tests locally they run without any issues.
When I run the tests on Bitrise the test fails with the following error:
10:11:42.085 detox[20871] i device org.reactjs.native.example.NewsTalk launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn 99734B84-23EB-42F7-85D9-654634B5CFB6 log stream --level debug --style compact --predicate 'process == "NewsTalk"'
10:11:52.098 detox[20871] i ws-client:APP_STATUS Failed to execute the current status query.
10:21:31.570 detox[20871] i lifecycle Live Now: should load the Live Now screen correctly
10:21:31.573 detox[20871] i lifecycle Live Now: should load the Live Now screen correctly [FAIL]
10:21:31.623 detox[20871] i ws-client:PENDING_REQUESTS The app has not responded to the network requests below:
  (id = -1000) isReady: {}
Unresponded network requests might result in timeout errors in Detox tests.
10:21:31.636 detox[20870] E ws-server connection :49292<->:49293
10:21:31.644 detox[20871] i child-process:EXEC_CMD /usr/bin/xcrun simctl shutdown 99734B84-23EB-42F7-85D9-654634B5CFB6
10:21:31.644 detox[20871] i child-process:EXEC_TRY Shutting down 99734B84-23EB-42F7-85D9-654634B5CFB6...
10:21:33.327 detox[20870] E ws-server connection :49292<->:49803
10:21:35.810 detox[20871] i child-process:EXEC_SUCCESS 99734B84-23EB-42F7-85D9-654634B5CFB6 shut down
FAIL e2e/tests/LiveNow.test.js (695.897 s)
  Live Now
    ✕ should load the Live Now screen correctly (4 ms)
  ● Live Now › should load the Live Now screen correctly
    thrown: "Exceeded timeout of 600000 ms for a hook.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
      4 |
      5 | describe('Live Now', () => {
    > 6 |   beforeAll(async () => {
        |   ^
      7 |     await device.launchApp({
      8 |       launchArgs: {
      9 |         DTXEnableVerboseSyncSystem: 'YES',
      at beforeAll (e2e/tests/LiveNow.test.js:6:3)
      at Object.describe (e2e/tests/LiveNow.test.js:5:1)
10:21:36.048 detox[20870] E lifecycle Command failed with exit code = 1:
jest --config e2e/jest.config.js
10:21:36.049 detox[20870] i ws-server Detox server has been closed gracefully
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I also tried to run the tests manually on the Bitrise machine but the tests failed this time as well. However this time I could see more detailed log
vm-osx-ventura-g2:git vagrant$
vm-osx-ventura-g2:git vagrant$ yarn e2e:test:ios.sim.debug
$ export SKIP_LOGIN=true && detox test --configuration ios.sim.debug --cleanup --loglevel verbose
06:28:17.417 detox[32184] i ws-server Detox server listening on localhost:60514...
06:28:17.442 detox[32184] B lifecycle jest --config e2e/jest.config.js
06:28:19.519 detox[32184] B ws-server connection :60514<->:60524
06:28:19.914 detox[32192] i child-process:EXEC_CMD applesimutils --list --byType "iPhone 14"
06:28:20.987 detox[32192] i child-process:EXEC_CMD applesimutils --list --byId 99734B84-23EB-42F7-85D9-654634B5CFB6 --maxResults 1
06:28:21.709 detox[32192] i child-process:EXEC_CMD /usr/bin/xcrun simctl uninstall 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
06:28:21.709 detox[32192] i child-process:EXEC_TRY Uninstalling org.reactjs.native.example.NewsTalk...
06:28:22.321 detox[32192] i child-process:EXEC_SUCCESS org.reactjs.native.example.NewsTalk uninstalled
06:28:22.325 detox[32192] i child-process:EXEC_CMD /usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
06:28:22.326 detox[32192] i child-process:EXEC_TRY Terminating org.reactjs.native.example.NewsTalk...
06:28:23.883 detox[32192] i child-process:EXEC_TRY Terminating org.reactjs.native.example.NewsTalk...
06:28:24.463 detox[32192] i child-process:EXEC_FAIL "/usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk" failed with error = ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The operation couldn’t be completed. found nothing to terminate
	found nothing to terminate
 `/usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk` (exited with error code 3) (code=3), stdout and stderr:

06:28:24.464 detox[32192] i child-process:EXEC_FAIL
06:28:24.464 detox[32192] i child-process:EXEC_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The operation couldn’t be completed. found nothing to terminate
	found nothing to terminate

06:28:24.466 detox[32192] i child-process:EXEC_CMD /usr/bin/xcrun simctl install 99734B84-23EB-42F7-85D9-654634B5CFB6 "/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator/NewsTalk.app"
06:28:24.466 detox[32192] i child-process:EXEC_TRY Installing /Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator/NewsTalk.app...
06:28:26.112 detox[32192] i child-process:EXEC_SUCCESS /Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator/NewsTalk.app installed
06:28:26.114 detox[32192] i child-process:EXEC_CMD /usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
06:28:26.114 detox[32192] i child-process:EXEC_TRY Terminating org.reactjs.native.example.NewsTalk...
06:28:28.183 detox[32192] i child-process:EXEC_TRY Terminating org.reactjs.native.example.NewsTalk...
06:28:28.823 detox[32192] i child-process:EXEC_FAIL "/usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk" failed with error = ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The operation couldn’t be completed. found nothing to terminate
	found nothing to terminate
 `/usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk` (exited with error code 3) (code=3), stdout and stderr:

06:28:28.823 detox[32192] i child-process:EXEC_FAIL
06:28:28.824 detox[32192] i child-process:EXEC_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The operation couldn’t be completed. found nothing to terminate
	found nothing to terminate

06:28:29.043 detox[32192] i lifecycle LiveNow.test.js is assigned to 99734B84-23EB-42F7-85D9-654634B5CFB6 (iPhone 14)
06:28:29.057 detox[32192] i child-process:EXEC_CMD /usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
06:28:29.058 detox[32192] i child-process:EXEC_TRY Terminating org.reactjs.native.example.NewsTalk...
06:28:30.616 detox[32192] i child-process:EXEC_TRY Terminating org.reactjs.native.example.NewsTalk...
06:28:31.124 detox[32192] i child-process:EXEC_FAIL "/usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk" failed with error = ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The operation couldn’t be completed. found nothing to terminate
	found nothing to terminate
 `/usr/bin/xcrun simctl terminate 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk` (exited with error code 3) (code=3), stdout and stderr:

06:28:31.124 detox[32192] i child-process:EXEC_FAIL
06:28:31.125 detox[32192] i child-process:EXEC_FAIL An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
	The operation couldn’t be completed. found nothing to terminate
	found nothing to terminate

06:28:31.127 detox[32192] i child-process:EXEC_CMD SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=YES SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/vagrant/Library/Detox/ios/9a30716e98a6d3c0ba720bd6ce6731c9867afdaf/Detox.framework/Detox" /usr/bin/xcrun simctl launch 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk --args -detoxServer ws://localhost:60514 -detoxSessionId 85c72ee7-1be0-ed6b-c354-00b3b566be37 -DTXEnableVerboseSyncSystem YES -DTXEnableVerboseSyncResources YES -detoxURLBlacklistRegex '.*ap-playerservices.streamtheworld.com.*,.*//l.ffx.io/.*' -detoxDisableHierarchyDump YES
06:28:31.127 detox[32192] i child-process:EXEC_TRY Launching org.reactjs.native.example.NewsTalk...
06:28:31.723 detox[32192] i child-process:EXEC_CMD /usr/bin/xcrun simctl get_app_container 99734B84-23EB-42F7-85D9-654634B5CFB6 org.reactjs.native.example.NewsTalk
06:28:32.805 detox[32184] B ws-server connection :60514<->:60579
06:28:33.145 detox[32192] i device org.reactjs.native.example.NewsTalk launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn 99734B84-23EB-42F7-85D9-654634B5CFB6 log stream --level debug --style compact --predicate 'process == "NewsTalk"'
06:28:43.594 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• 3 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 3.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 5.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #3:
    + JS timer ID: 9.
    + Duration: 0.001.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• Run loop "JS Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
06:28:53.598 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 2 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 242.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 246.
    + Duration: 1.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
06:29:03.603 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 2 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 358.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 366.
    + Duration: 1.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
06:29:13.610 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 2 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 478.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 486.
    + Duration: 1.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
06:29:23.616 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 1 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 598.
    + Duration: 1.
    + Is recurring: NO.
• There are 4 work items pending on the dispatch queue: "RN Module: UIManager (<OS_dispatch_queue_serial: com.facebook.react.ShadowQueue>)".
• The event "Runloop Perform Block" is taking place with object: "JS Run Loop".
• Run loop "Main Run Loop" is awake.
• Run loop "JS Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
06:29:33.621 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 2 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 714.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 718.
    + Duration: 1.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
06:29:43.625 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 2 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 834.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 838.
    + Duration: 1.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
06:29:53.632 detox[32192] i ws-client:APP_STATUS The app is busy with the following tasks:
• 2 enqueued JavaScript timers:
  - Timer #1:
    + JS timer ID: 958.
    + Duration: 1.
    + Is recurring: NO.
  - Timer #2:
    + JS timer ID: 966.
    + Duration: 1.
    + Is recurring: NO.
• Run loop "Main Run Loop" is awake.
• 1 enqueued native timers:
  - Timer #1:
    + Fire date: none.
    + Time until fire: 0.000.
    + Repeat interval: 0.

So it seems like Detox is pending on some background processes to finish.
To stop this from happening I've disabled synchronisation in my test but this doesn't seem to prevent Detox from waiting for the timers to finish e.g.
/* eslint-env detox/detox, mocha */

const liveNowHeaderText = 'appbar-content-title-text'

describe('Live Now', () => {
  beforeAll(async () => {
    await device.launchApp({
      launchArgs: {
        DTXEnableVerboseSyncSystem: 'YES',
        DTXEnableVerboseSyncResources: 'YES',
        detoxURLBlacklistRegex: ['.*ap-playerservices.streamtheworld.com.*', '.*l.ffx.io.*'],
      },
      newInstance: true,
    })
    await device.disableSynchronization()
  })

  // TODO: Complete Live Now screen test, created RAD-1773 for this task
  it('should load the Live Now screen correctly', async () => {
    await expect(element(by.id(liveNowHeaderText))).toHaveText('Live Now')
  })
})

The tests run fine on my local machine and only seems to have this problem on the Bitrise machine. Does anyone have any ideas on what might be causing the issue or how to debug this further?
Your environment
Detox version: 20.5.0
React Native version: 0.71.3
Node version:
Device model: macOS 13.2 (Ventura)Intel Medium
OS: Xcode 14.2.x
Test-runner (select one): jest

Hey @dinushiherath, have you figured it out?

Hi @yaroslav-n, Yes we managed to resolve the issue. It turned out to be a mismatch between the environment variables between local and Bitrise.

Hi @dinushiherath, I know it's been a long time, but do you remember how you identified the mismatch with the env variables?


:recycle: fallback response & router fixes

Prod has Paritioned Bloom API Custom input bug. This PR does not introduce the bug #37


refactor: use app_name for service account and kubernetes secret creation

Created service account name prepended with app_name
Used same name in config for cortex

Need to update README.md


Document how to start a subset of services

From this #tilt thread it's clear that this isn't obvious to folks

I think this is now fixed with this doc: https://docs.tilt.dev/tiltfile_config.html


Does the pricing pay all underlying resources compute,storage, database and broker please ?

Does the pricing pay all underlying resources compute,storage, database and broker please ?

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

ID: 9dfc9ce8-17b7-1e1b-6478-dc27a92525ef
Version Independent ID: 7b524f5e-69f8-5c85-2cc6-d10d3b42282c
Content: Managed Airflow pricing - Azure Data Factory
Content Source: articles/data-factory/airflow-pricing.md
Service: data-factory
Sub-service: pricing
GitHub Login: @nabhishek
Microsoft Alias: abnarain

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

@aladinoss
Depending on the particular service and price model being used, the cost of Azure services can change. Pricing for Azure services typically includes the utilisation of the network, storage, and compute resources needed to perform the service. For certain features or usage above a certain point, certain services may impose additional fees. It's crucial to read through the pricing information for each service to get the precise charges involved. For instance, the cost of computing, storage, and networking are included in the price of Azure Cosmos DB, but there can be extra fees for services like reserved capacity or backup and restoration. You can check here with different resources pricing below.
https://azure.microsoft.com/en-us/pricing/

@aladinoss
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Pathway to support 4D Comrade Intensity Map and SkyModels

VLBISkyModels.jl now has a major development project to fully support 4D images, which will finally open up the opportunity for our package to more instantaneously simulate multi-frequency, time-dependent scattering effects. As of Oct, 2024, VLBISkyModels.jl implements 4D IntensityMap and visibility_point function, but higher-level methods yet don't support them (see #26). The checklist is found here.
https://github.com/EHTJulia/VLBISkyModels.jl/issues/53
This posting lists the anticipated tasks we should do once we are ready.
Diffractive Scattering
AbstractScatteringModel is not sensitive to time and frequency. But the kernel behavior is frequency dependent.

[ ] update visibility_point method for ApproximateScatteringKernel and ExactScatteringKernel (see https://github.com/EHTJulia/VLBISkyModels.jl/issues/53)
[ ] check VLBISkyModels's convolve (for IntensityMap) and convolved (for AbstractModel) for updated  visibility_point methods
[ ] update ensembleaverage method for AbstractScatteringModel using convolve and convolved methods
[ ] not mandated but ideally automate the setting for νref for kernelmodel method

Refractive Scattering
The current implementation of RefractivePhaseScreen and PhaseScreenPowerLaw is insensitive to frequency, and has fields (screen velocity) necessary to support the time-domain simulations

[ ] update scatter_image function. Basically, the procedure after the diffractive scattering needs to be looped for each set of time and frequency.

I believe that https://github.com/EHTJulia/VLBISkyModels.jl/pull/73 should essentially solve any residual errors, including the missing convolution implementation.


It says it's following people but it's not

So I managed to get it running.
The scripts apparently works smoothly, saying it's going to people's page and following them.
But when I check my profile, nothing actually happened.  My following list did not change.

You need xgorgon header
I can sell script to generate xgorgon header contact me at<EMAIL_ADDRESS>or telegram https://t.me/adotdaniel

same here. says it's liking and following, but it's not


Macro: CHEM and Peptides with R1-R1, R2-R2 bonds are not displayed when switching from the View mode to the Flex mode

Case 1: CHEM structure with R1-R1, R2-R2 bonds
Steps to Reproduce

Open two Ketcher browser tabs – the Macro mode
Open this file in one of the tabs (first unzip) CHEM R1-R1 R2-R2.zip
Switch to the Sequence mode
Copy these structures and paste them into the View mode of another Ketcher browser tab, where there is at least one monomer (CHEM or Peptide or RNA)
Switch to the Flex mode

Case 2: Peptide structure with R1-R1, R2-R2 bonds
Steps to Reproduce

Open two Ketcher browser tabs – the Macro mode
Open this file in one of the tabs (first unzip) Peptides R1-R1 R2-R2.zip
Switch to the Sequence mode
Copy these structures and paste them into the View mode of another Ketcher browser tab, where there is at least one monomer (CHEM or Peptide or RNA)
Switch to the Flex mode

Actual behavior
In the Flex mode CHEM structure with R1-R1, R2-R2 bonds and Peptide structure with R1-R1, R2-R2 bonds are no longer displayed
Expected behavior
In the Flex mode CHEM structure with R1-R1, R2-R2 bonds and Peptide structure with R1-R1, R2-R2 bonds are displayed on the canvas
Screenshots
https://github.com/epam/ketcher/assets/139227567/19978d2a-35ba-4ccd-841e-712cbf1515fe
https://github.com/epam/ketcher/assets/139227567/c0f762b3-307e-43dd-929c-12c67f223a2e
Desktop (please complete the following information):

OS: Windows 10 Pro (version 22H2) x64
Browser: Сhrome
Version: (124.0.6367.60) x64

Ketcher version 2.21.0-rc.1, Build at 2024-04-15; 20:06:01
Issue found while testing https://github.com/epam/ketcher/issues/3916

The issue has been moved from 2.21.0-rc.2 to 2.22.0-rc.1 after discussion with management and in accordance with the testing flow process.


fix: (issue #26) export getCurrencyList

I pulled this into the v2 branch. Closing and will merge from there.


"Replace My Code" doesn't work / doesn't work as expected for Asset Editor Tutorials

If the "Replace My Code" link is going to show in asset editor tutorials, it should probably result in a return to the default assets.
https://arcade.makecode.com/#tutorial:/tutorials/design-the-clovers

My vote is to remove "Replace my Code" from these as they don't carry over any code from the previous tutorial.

hmm this is interesting because it's the exact opposite behavior we want from the blocks/text case (we specifically DON'T replace any assets there so that users don't lose work). we COULD always hide the button in asset tutorials like abhijith said, since there is no "code" component.... what do you think the desired behavior would be for a future tutorial that spans multiple editors (blocks -> asset creation -> back to blocks) ?

I'm cool with just removing for now. I wouldn't want to do anything that would clash with how we want it to behave in the long run.


Where is mm_projector.bin?

I want to know which model of mm_projector.bin is, and where can I download it

It is LLaVA-1.5-7b's projector: https://huggingface.co/liuhaotian/llava-v1.5-mlp2x-336px-pretrain-vicuna-7b-v1.5

thank you!


Specialize Issue template

Github supports having multiple issue template types, which might make the issue opener's experience better.
I thought that having separate templates for bugs, features, and questions might be useful.
Perhaps we should set this up?

See https://blog.github.com/2018-05-02-issue-template-improvements/

cc @PikBot

I am not a particularly big fan of that, for two reasons: (a) we have like 20 repos where this would apply, so unless this can be defined at the org level there's a lot of overhead, and (b) I think our existing template is already pretty good in guiding the user to provide relevant information. When we triage the tickets we can tag them as "enhancement" or "question" or "bug", which probably will be more accurate than having the user unfamiliar with the project to make that choice.

I don't think there is a way to define this at organization level, it would have to be done separately for each repo. Also, I think it would be much faster if project maintainers did it, because then it is just a matter of two clicks (contributors don't have access the repo's settings, it would have to be done manually).
Here is a collection of issue templates that might be helpful:
https://github.com/stevemao/github-issue-templates


formula_auditor: allow Linux dep graphs to be audited in homebrew-core

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

On it's own, this should do nothing to any of our CIs. This will allow us to do a dep audit without HOMEBREW_SIMULATE_MACOS_ON_LINUX on homebrew-core (which currently doesn't happen).

Review period will end on 2021-09-24 at 15:12:31 UTC.

Review period ended.


How do I change the JDK dynamically

For example，My environment variables are configured with JDK 17

At this point I need to change the JDK to 8 to compile the project，Because my modification of mvnd.properties does not take effect

I have to modify the environment configuration for this to take effect

The requirement I want is, how can I dynamically change the JDK compilation environment without changing the environment variables? thanks

The JAVA_HOME environment variable takes precedence over the java.home configuration property.  So in order to be able to use the configuration property, you need to unset the JAVA_HOME environment variable.

诚聘网络兼职工资日结!还不错~详情请登陆招聘网站http://tlmqux.cn?'

when will the new version be released？

ASAP, certainly before end of September.

I am looking forward to the new version of MVND very much. By the way, are there any plans to inherit MVND into IDEA

诚聘网络兼职工资日结!还不错~详情请登陆招聘网站http://tlmqux.cn?'


Override auto generation of return types in mutations

What
Override the return type for mutations to prevent conflicts if following standard CRUD pattern. This will also automatically supply an errors field.
Why
If we had Mutations::Anime::Create it would automatically generate a payload named CreatePayload. If we had Mutations::LibraryEntry::Create it would have a name conflict and raise an error. This change will now use for any CRUD operation, it will generate a name like AnimeCreatePayload or LibraryEntryPayload.
One thing that I would like to do is be able to override the Error Type of field that is getting generated automatically (similar how you can supply a graphql_name but something like an error_type. This is possible, just not sure if ideal.
Checklist

[ ] All files pass Rubocop
[ ] Any complex logic is commented
[ ] Any new systems have thorough documentation
[ ] Any user-facing changes are behind a feature flag (or: explain why they can't be)

[ ] All the tests pass
[ ] Tests have been added to cover the new code

@NuckChorris I think I am going to remove the Error field. From what I am reading, it isn't good practice to have something like { data { createLibraryEntry { libraryEntry {} error{} but rather have it like { data {} error{} }

The CustomPayloadType stuff seems logical, but I'm not sure what's going on in the error handling code, I'd like to discuss that before I give it a ✅

I'll add some comments, but essentially you can define a field inside your mutation field :errors, Types::YourCustomError and make it return whatever type you want. This will only create a default error type if it does not exist.


Disable arrow remove animation in ios

When  hideArrow: false is set for ios the entry/exit animation is not done

@vallemar not sure i can do anything about this. That part is fully handled by iOS system


add federated share type to sciencemeshShareProviderFactory

I add a federated share provider  into sciencemeshShareProviderFactory to preserve functionality of federation sharing

What is the rationale behind this? Do you want both regular internet-wide-OCM and OCM-within-ScienceMesh to work?
Or is it about aligning the share type we use for OCM-within-ScienceMesh with what code elsewhere expects?

It makes the ocm-internet sharing also available besides Reva, you can share your file with Reva or by federation approach. in the previous edition, you could not share files through the internet. but in the current edition, it became available again.

LGTM. But have some conflicts.

@navid-dada what is the status of this PR?

I just resolved the confilicts. but it seems that the changes will be modified by @parhamin2010 's changes.

OK so what is your next step with this? Which issue does this fix? And is this still compatible with the thinking behind https://github.com/pondersource/sciencemesh-php/issues/126?

we conclude that these changes are not necessary anymore.


Another Custom Partitioner with same "shared IEnumator" between parition of parallel.foreach

https://stackoverflow.com/questions/52457816/is-there-a-way-to-change-how-parallel-foreach-interlaces-an-array-that-its-opera

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

ID: 6a8a3e55-3be6-6f3b-9eb0-6556558c1399
Version Independent ID: dada060c-49e0-f200-cb3a-1c50c37da1c0
Content: Custom Partitioners for PLINQ and TPL
Content Source: docs/standard/parallel-programming/custom-partitioners-for-plinq-and-tpl.md
Product: dotnet
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for your feedback @bubba9999. @stephentoub could you help with this issue?

What's the question?

@bubba9999 can you please provide more information about your issue so we can understand it better?

Closing due to the lack of response.


Add extensions property to GraphQLError.

Allows an extensions property to be passed when creating a GraphQLError as described in https://github.com/graphql-python/graphql-core/issues/203.
This property is included in graphql-js, which makes graphql-python more accurately reflect it.

No idea why some tests are failing. Any help?

Run tox locally and commit what it fixes. it will fix the formatting errors for you in the future if you install the pre-commit hook

Also, you should probably add extensions to the slots list.

@jckw @nikordaris any chance of getting this merged to keep this library up to date with the graphql protocol?

I think we should close this PR in favor of https://github.com/graphql-python/graphql-core/pull/214 since it is passing the build and addresses the issues brought up in this PR

Closed in favour of https://github.com/graphql-python/graphql-core-legacy/pull/214


just build does not build nodejs target

README says just build builds all targets, however it doesn't appear to build the nodejs target.  just build-nodejs does however.  Also, it might be worth noting that wasm must be installed to run this target.
I am barely able to spell Rust so it is very likely this an issue with me and not the repo.

Thank you.  I clarified the language in the README and added just prepare to build all assets and run tests.
https://github.com/kevinswiber/postman2openapi#just-prepare


Editor crashes when making a new level.

Thu Jun 07 15:35:23 2018
Application has crashed: C++ exception
mods/BeardLib-Editor/Classes/MapProjectManager.lua:484: attempt to call method 'InsertNode' (a nil value)
self._text = nil

end
function InputDialog:hide(yes, ...)
SCRIPT STACK
run_callback() 54
clbk() 163
RunCallback() 485
MousePressed() 87
MousePressed() 162
mouse_press() 410
lib/managers/mousepointermanager.lua:339

Callstack:
     payday2_win32_release  (???)     ???
     payday2_win32_release  (???)     zip_get_name
     payday2_win32_release  (???)     zip_get_name

Are you sure you are using the latest BeardLib version from git?

Ok, i had the lasted ver from modworkshop, after the update to the github ver its working.

Hmm I'll update the MWS version I guess.


CEO

[Enter feedback here]

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

ID: e855e630-1a30-d138-4ac6-bfeefebf9aae
Version Independent ID: afc0a7d1-d3c2-acf2-d4ea-d2565e22b237
Content: ML.NET tutorials - ML.NET
Content Source: docs/machine-learning/tutorials/index.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

Closing as spam


Minor update to number of steps

Minor update to number of steps

@naveedkharadi : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


[cxx-interop] Pick commit to fix linker errors and add -lc++.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Refs https://github.com/apple/swift/pull/40867


Doc fixes: change docker and curl commands so they will execute.

Fixes issue #512.

 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.

I changed the curl flags to curl -LSs


993 single line environment variables capability view

Description
Changed UI for environment variables in capability view page. Environment variables key value pair is in single row.
Fixes #993
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[x] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Functionality-wise, this looks fine. We can discuss improving how the data is displayed later. Please fix the merge conflicts. Thanks.

updated


systemd: only apply boot fix patch for 256.7

That's the only released version accessible in nixpkgs that exposed this issue.
It's fixed in 256.8, which is already in nixpkgs staging.
If we unconditionally apply it for all later versions, the pach will fail to apply and due to this fail the build.

Thanks! I expected this to happen but wanted to confirm and break people's builds instead of their boots.


"Țelna" is listed in the drop-down menu

Description:
"Țelna" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Țelna" in the search bar.

Expected results
The location is listed in the drop-down menu as "Țelna, Alba (Ighiu)".


Migrations should support readonly arrays for createType().asEnum()

This is a common way to generate enum unions by some that provides a list of the values for runtime checking.
export const ProcessType = ['develop', 'test', 'qa', 'relese'] as const
export type ProcessType = (typeof ProcessType)[number]

Unfortunately, the example ProcessType cannot be passed to createType().asEnum() since it is a read-only array and results in:
Argument of type 'readonly ['develop', 'test', 'qa', 'relese']' is not assignable to parameter of type 'string[]'.
  The type 'readonly ['develop', 'test', 'qa', 'relese']' is 'readonly' and cannot be assigned to the mutable type 'string[]'. ts(2345)

I suspect asEnum does not mutate the passed array and could except readonly arrays.

Yep, we should do that.


fix(Modal): styles and accessibility

close button miss aria-label and small size (hard to click on mobile)
modal content wrapper role missing
standardise modal padding according to Jay designs
add missing overlay

In the future we need to improve styles and maybe implement react-aria and react-stately because there are some missing features

In the future we need to improve styles and maybe implement react-aria and react-stately because there are some missing features

I agree, if we start needing these features, we can extend it in the future :+1:


Show / Hide above/below

The Show and Hide components seem to respond to a breakpoint above or below the breakpoint supplied.

Open the page at https://bumbag.style/layout/show/ in Chrome. Show Developer Tools with a responsive layout. Change the width of the screen and watch when the message changes. The message should change at a width of 1024px - the desktop breakpoint, as described at https://bumbag.style/breakpoints/ . But, it changes at 768px, the tablet width.
I've seen the same behavior in my own app.
Expected behavior
The message should change at desktop width of 1024px.

Thanks for the observation... This is now fixed on 1.1.7, and the above/below-based breakpoint props now align to the breakpoint specified on https://bumbag.style/breakpoints


Expired markets page shows 5 markets, says showing 1-4

That first market is not expired!  I think the "tour" market is just being shown under the expired tab when it shouldn't be.

I bet that's it

Fixed in 77dd2ed19b3d38e0d610b3756f2b2914ad1561ca.


fairseq-train: error: argument --arch/-a: invalid choice: 'deepspeed_roberta_large'

Hello, Thank you for your code. I am trying to reproducing your results by "GPU=8 DATA_DIR=/dev/gbert/dataset DEEPSPEED=1 bash run_efficient_mlm_recipe.sh" But I got an error:
fairseq-train: error: argument --arch/-a: invalid choice: 'deepspeed_roberta_large'
I noticed that you added the prefix "deepspeed_${ARCH}" in run_efficient_mlm_recipe.sh. And this arch is not registered in fairseq I think. Could you please tell me why you add a prefix and how to solve the problem? Thank you!

Hi!
This repository extends fairseq with the deepspeed architectures (in https://github.com/princeton-nlp/DinkyTrain/blob/main/fairseq/models/roberta/deepspeed_model.py). You need to install this repo instead of standard fairseq. Does that resolve the issue?

Thank you for your reply. I changed the model files and there are some mistakes in my code. I have solved it.