Can't craft a leadstone thruster

I've been trying to craft a leadstone thruster for Simply Jetpacks, but it never works.  The recipe is completely different than what I've seen online, but I have the required items.  When I try to craft the thruster, it appears but cannot be added to my inventory.  I've created a short clip to show you what I mean.  I'm using SimplyJetpacks-MC1.7.10-1.5.1.jar.  Could this be mod related or something misconfigured in my configs?
The clip: http://quick.as/9GRGfP76y

What other mods do you have? Is this on a server (perhaps one with forge-essentials permissions enabled?)

I'm pretty sure it was a misconfigured mod.  I cleared all my mods and started again, and now it's working without issue.  Thanks for following up.


Require PHP 5.6 and ran composer update

Note this PR goes to stepup-locale-cookie because the stepup-bundle now requires locale_cookie settings with that PR already has.

@rjkip :shipit: ?

:ship: :ship: :ship:


generic extend

This allows extending not only with a Chain but also with other collections such as Vec<Residue>
This method is more reminiscent of std's extend than join, so I renamed it to extend.

I like this idea, but I to think about the IntoIterator part for now, see #12.

I like this idea, but I to think about the IntoIterator part for now, see #12.

This is introduced in v0.4.1 thanks for the idea!


CPU Monitor

Suggested new feature or improvement
CPU Monitor should sort the tasks by their CPU usage (my CPU usage is 40% but all tasks that display is just 0%).
Scenario
It just a little improvement and doesn't need any.
Additional details
No response

@cocleu This sounds like a bug -- the widget should be showing the top three tasks by CPU usage. Can you share your logs so we can try to see what's going on?
/logs
/needinfo


Add Support for Sign In With Apple

Feature request
I would like to support native Sign In With Apple (specifically in the context of a Unity project).
Is your feature request related to a problem? Please describe.
Sign In With Apple support has recently been added to Supabase.
Per the announcement, "With supabase-flutter, this is as easy as:
final AuthResponse response = await supabase.auth.signInWithApple();

A clear and concise description of what you want and what your use case is.
Describe the solution you'd like
I'd like to have the csharp library have a nice simple signInWithApple() function as well.
The flutter version calls winds up calling into the GoTrue API with this function:
https://github.com/supabase/gotrue-dart/blob/4909d8725540a5b4b0a8d87a72ed69a374dd470c/lib/src/gotrue_client.dart#L226
Provider is just a string.
The remaining details come from a native sign in solution. For Unity, for example, I have been successful bringing up the Sign in with Apple dialog and completing the flow with the Sign in with Apple Unity Plugin. Other popular packages that offer C# integration (e.g. Godot, MonoGame) would likely use other options to support bringing up the Sign In With Apple dialog.
I think that adding in the API request, combined with instructions on how to get the data from the native API would be a great option.
Describe alternatives you've considered
I have been able to get gotrue-csharp working with Unity, including email/password accounts. Apple has been increasingly aggressive about requiring developers to support Sign in with Apple, and the flow for Sign in with Apple is more seamless for many users.
Possible solution
Based on the dart code, I built out a quick and dirty version of what I think this would look like in the csharp version. I can submit a PR, but I'm not very familiar with the code base and I think it's just the one method. If someone wants to create a branch I can test it, or a PR, or...?
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Supabase.Gotrue;
using UnityEngine;
using static Supabase.Gotrue.Helpers;

public class SupabaseSignInWithAppleGoogle {
    /// Allows signing in with an ID token issued by certain supported providers.
    /// The [idToken] is verified for validity and a new session is established.
    /// This method of signing in only supports [Provider.google] or [Provider.apple].
    public void RemoveSession() { }

    public void SaveSession(Session session) { }

    public class SignInInfo {
        public readonly string Provider;
        public readonly string IDToken;

        public readonly string Nonce;
        // public string captchaToken

        public SignInInfo(string idToken, string provider, string nonce) {
            IDToken = idToken;
            Provider = provider;
            Nonce = nonce;
        }
    }

    public async Task<Session> SignInWithIdToken(Client supabase, SignInInfo info) {
        const string ProviderGoogle = "google";
        const string ProviderApple = "apple";

        RemoveSession();

        if (info.Provider != ProviderGoogle && info.Provider != ProviderApple) {
            throw new ArgumentException($"Provider must either be ${ProviderGoogle} or ${ProviderApple}.");
        }

        Dictionary<string, object> body = new Dictionary<string, object>();
        body["provider"] = info.Provider;
        body["id_token"] = info.IDToken;
        if (info.Nonce != null) body["nonce"] = info.Nonce;
        //        body["gotrue_meta_security"] = $"{'captcha_token': } "

        Task<Session> request = MakeRequest<Session>(HttpMethod.Post, $"{SupabaseStuff.SUPABASE_URL}/token?grant_type=id_token", body);

        await request;

        if (!request.IsCompletedSuccessfully)
            if (request.Exception != null)
                throw request.Exception;
            else
                throw new ArgumentException($"Request failed  {request.Status}");

        SaveSession(request.Result);
        NotifyAllSubscribers("signedIn");

        return request.Result;
    }

    private void NotifyAllSubscribers(string signedIn) {
        Debug.Log("Signed In");
    }
}

Thanks for your work exploring this! I’ll get to work on implementing it

Thanks! LMK if/when you have a cut and I can test it out. I will write up the instructions on how to get it working in Unity w/all the back and forth with Apple Dev.  :)

@wiverson alrighty! There you are #48. Would love some feedback when you can.

The body dictionary is created but not passed to the MakeRequest parameter in the new SignInWithIdToken.
I think it's better to add the nonce and the captchaToken to the dictionary only if the values are present. Otherwise it's sending null values which is probably not good.
Debugging this stuff is awful. :P I was able to verify that my Apple <-> Supabase config was right via a SvelteKit web app but yeesh - a single extra return character in the Supabase/Apple JWT config after running the Ruby script is just one of countless easy-to-break things.
I keep getting errors that look like they are coming from a 401 on the Supabase side. When I try using an raw http client I'm getting a 404 to hit my project URL. Possible something is broken on the Supabase side. I'm going to bang on it a bit more and see what I can sort out and I might send a ticket in to Supabase, as well as look at the dart implementation a bit more to see if there is something else I'm missing.

Oh, and thank you very much! :)

🤦 - yep. That's bad. lol. All fixed.
Got it!
Agreed. Especially since you have to those live systems!
Maybe the wrong url? It should use the format: https://PROJECT_ID.supabase.io/auth/v1

Ok, I made a bunch of progress.
For the moment, the nonce stuff is complicating things. I got it working without nonce for now, I think getting the other parts working without nonce is tricky enough for the moment. It looks like there is some choreography where if you pass in a nonce hash, the identifier key that comes back from Apple includes that nonce hash back again which can then flow back to Supabase to validate it. Unfortunately nothing about the nonce is really documented other than in code (e.g. the dart code). That said, if you omit the nonce from the request Apple omits it and the flow is easier. For the record, I'm not saying not to implement the nonce portion, just that it seems to be something that can be revisited after getting the rest fo the flow working.
I was able to get the REST API to work with the following request/body via the Rider HTTP client:
POST https://fvkoppwyozwgkiowmcrg.supabase.co/auth/v1/token?grant_type=id_token
Accept: application/json
apiKey: <my public Supabase key>
Authorization: Bearer <my public Supabase key>

{
  "provider": "apple",
  "id_token": "<id token that comes back from Apple native sign in>"
}

Note that I'm not passing a nonce in to Apple native sign in, so the id token doesn't include it, and Supabase seems to be fine with that.
I was able to get the method to hit the Supabase API by add in the following headers manually:
            Dictionary<string, string> h = new Dictionary<string, string>();

            string SUPABASE_PUBLIC_KEY =
                "<my project public Supabase key>";

            h.Add("apikey", SUPABASE_PUBLIC_KEY);
            h.Add("Authorization", $"Bearer {SUPABASE_PUBLIC_KEY}");

            return Helpers.MakeRequest<Session>(HttpMethod.Post, $"{Url}/token?grant_type=id_token", body, h);

Which doesn't make a ton of sense - I would have thought that the auth lib would add in those headers automatically when I init the client (that seems to work for RPC calls).
But at least the API was able to fetch the JSON back from Supabase with the user!
The JSON that comes back however is breaking the JSON deserialization, with the error: Exception Unable to find a constructor to use for type Supabase.Gotrue.User. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'user.id', line 1, position 1025.
It looks like User has a default constructor, so I'm not really following what it's complaining about. Perhaps this JSON can help? I could take a stab at writing a test case that just makes sure it can parse/handle this JSON, or if you want to try...?
{
  "access_token": "<long string with the token>",
  "token_type": "bearer",
  "expires_in": 3600,
  "refresh_token": "oQ3uzBCfkSWQQJGQV8b-qg",
  "user": {
    "id": "794b6a65-4adf-4bda-b82f-1dfbdc374e98",
    "aud": "authenticated",
    "role": "authenticated",
    "email": "<email address>",
    "email_confirmed_at": "2023-04-25T06:31:59.43156Z",
    "phone": "",
    "confirmed_at": "2023-04-25T06:31:59.43156Z",
    "last_sign_in_at": "2023-04-25T07:39:22.105617638Z",
    "app_metadata": {
      "provider": "apple",
      "providers": [
        "apple"
      ]
    },
    "user_metadata": {
      "aud": "io.dayboard.UnityTest",
      "auth_time":<PHONE_NUMBER>,
      "c_hash": "faDOUyCCRl_4pwwS7swXOQ",
      "email": "<my email>",
      "email_verified": "true",
      "exp":<PHONE_NUMBER>,
      "iat":<PHONE_NUMBER>,
      "iss": "https://appleid.apple.com",
      "nonce_supported": true,
      "sub": "000538.4e496882c5d24936a71d30c3b22465f3.2149"
    },
    "identities": [
      {
        "id": "<string with my id>",
        "user_id": "<another string with a different id",
        "identity_data": {
          "aud": "io.dayboard.UnityTest",
          "auth_time":<PHONE_NUMBER>,
          "c_hash": "faDOUyCCRl_4pwwS7swXOQ",
          "email": "<my email>",
          "email_verified": "true",
          "exp":<PHONE_NUMBER>,
          "iat":<PHONE_NUMBER>,
          "iss": "https://appleid.apple.com",
          "nonce_supported": true,
          "sub": "<some string>"
        },
        "provider": "apple",
        "last_sign_in_at": "2023-04-25T06:31:59.429778Z",
        "created_at": "2023-04-25T06:31:59.429817Z",
        "updated_at": "2023-04-25T07:33:45.061502Z"
      }
    ],
    "created_at": "2023-04-25T06:31:59.421953Z",
    "updated_at": "2023-04-25T07:39:22.10715Z"
  }
}

Looks like the constructor failing is due to overly aggressive Unity code stripping. Working on a fix now.

Success! Changing the stripping level from "low" to "minimal" in the Unity build settings fixed it.
I can now log in via Unity's Sign in with Apple and then use that to log in to Supabase. I yelled a bit when it worked and startled my wife. :)
I think the only open Q in my book is why the method is failing unless I add the API key to the headers. Any guesses? Should the API key be an argument to the method and just set the headers, or is there something about the headers for this method that's failing, or...?

Here is a link to a description of how to integrate a Sign in with Apple nonce with a backend service. In theory this should also work with Supabase, but it does need to be tested. A tweaked version of this would be a nice utility to throw into gotrue-csharp - no need for every developer to reimplement this from scratch every time.

Another post clarifying the nonce flow for reference.

Thank you so much @wiverson for your work on this! Reading through these made me smile haha.

Yes - you have to manually specify the header api key, this is handled automatically in the supabase-csharp repo, but not here. It was left out here because I wanted to keep the library decoupled from the hosted supabase instances. But, maybe adding in the api key should be part of the default functionality... I could be persuaded!
Thank goodness you found the Unity Code stripping issue, I was totally at a loss!
Okay. The PKCE flow needed a nonce setup too. I suppose this can be generalized to for this method too!: https://github.com/supabase-community/gotrue-csharp/blob/0ab16d427e2e9f88da71c8f6d6f6e2136b14bae5/Gotrue/Helpers.cs#L44-L72

If you can make those two methods public, perhaps as just GenerateNonce() and GenerateNonceSHA256() or similar I think that would do the trick.
Would you like to update the PR branch and then I'll try it out again wiping out my now hacked up version? ;)

Looking over the hacks/tweaks I made, it looks like the one thing that I'm not sure on is the proper way to ensure that the apikey header[s] are injected. I don't have any strong thoughts on how to do this WRT the supabase core vs gotrue-csharp, I just know that hacking up SignInWithIdToken to slam in my hard-coded headers is not the way to do it lol.

Alright! You should have access to Supabase.Gotrue.Helpers.GenerateNonce() and Supabase.Gotrue.Helpers.GenerateNonceVerifier().
Try making setting your headers like this:
var auth = new Supabase.Gotrue.Client(new ClientOptions<Session>
{
    Url = "https://PROJECT_ID.supabase.co/auth/v1",
    Headers = new System.Collections.Generic.Dictionary<string, string>
    {
        { "apikey", SUPABASE_PUBLIC_KEY }
    }
})

So, for whatever reason the nonce hash function in GenerateNonceVerifier() isn't working. Here is an alternative implementation I built based on the dart version:
using System.Security.Cryptography;
using System.Text;

namespace App {
    public static class NonceGenerator {
        public static string GenerateSHA256NonceFromRawNonce(string rawNonce) {
            SHA256Managed sha = new SHA256Managed();
            byte[] utf8RawNonce = Encoding.UTF8.GetBytes(rawNonce);
            byte[] hash = sha.ComputeHash(utf8RawNonce);

            string result = string.Empty;
            foreach (byte t in hash) {
                result += t.ToString("x2");
            }

            return result;
        }
    }
}

The rest of it seems to be working great.
With Nonce:

Generate a nonce with the Supabase.Gotrue.Helpers.GenerateNonce();
Hash that nonce with the function above and pass it to the native Sign in with Apple function
Call Auth.SignInWithIdToken(Constants.Provider.Apple, identityToken, nonce); with the original nonce

Without Nonce:

Call the Sign in with Apple function
Call Auth.SignInWithIdToken(Constants.Provider.Apple, identityToken);

Both of these scenarios are now working, which is most excellent.
I'm not sure what the best strategy is for the helper functions, as it might be the PKCE verify and the Apple verify are just simply two different hash strategies? Perhaps leave the original function as PKCE verify and use the above as AppleVerify?
Anyways, let me know what you decide and LMK and I'll test it.

So, I think if you can add the Apple compatible version of the nonce hash I think you could release a build that has everything needed & working. LMK if/when and I can finish writing up and maybe make a YouTube video or something to help explain how it all works. :)

@wiverson alrighty - available in 3.1.1! Let me know if you make a tutorial/write-up and I'll gladly include it on the README!

I wound up making a video instead of trying to write it up.
https://youtu.be/S0hTwtsUWcM
Between the video and the links in the description I think it's everything someone who is experienced with Unity would need to get started. I think it would clock in at tens of thousands of words to cover everything from scratch. ¯_(ツ)_/¯
I'm working on building a Unity test/sample package that includes all of the error handling and a nice out-of-the-box UI that someone could drop into their project. If/when I wind up publishing that I'll be sure to let you know.
I think this means you can close the ticket as a pretty huge new feature added! I'm doing this for Unity but I don't see any reason this wouldn't work with Godot C# or MonoGame.  :)
Let me know if you need anything else. Thank you so much for your help!

Nice! Solid video. Definitely a lot of moving parts there! I've included it on the readme here:
https://github.com/supabase-community/supabase-csharp/blob/35a8931739b918c26fe9263bd077d881d5c83393/README.md?plain=1#L24
Available in the latest release for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Appreciate you and your help on this!


Unfollow Users who aren't following you.

General Question
Form
Put an [x] if you meet the condition, else leave [ ].

[X] I've searched the Issues
[X] I've read the basic concepts
[X] I'm using the latest version

Question
Hello, i have wrote a little code to unfollow users who aren't following you. Can you please take a look at it, and maybe add it as a template or you can critique and improve it.
Code
A meaningful section of your code (else delete this). If you are using TypeScript replace js with typescript.
const { IgApiClient } = require('instagram-private-api');

const ig = new IgApiClient();

ig.state.generateDevice(process.env.USERNAME);

(async () => {
    await ig.simulate.preLoginFlow();
    /*
     Logging in to account
     */
    const auth = await ig.account.login(process.env.USERNAME, process.env.PASSWORD);
    const followersFeed = ig.feed.accountFollowers(auth.pk);
    const followingFeed = ig.feed.accountFollowing(auth.pk);
    const followers = [
        ...await followersFeed.items(),
        ...await followersFeed.items(),
    ]
    const following = [
        ...await followingFeed.items(),
        ...await followingFeed.items(),
    ]
   /*
     Making a new set of all user usernames
     */
    const users = new Set(followers.map(({ username }) => username));
    /*
     Filtering the ones who aren't following you back
     */
    const notFollowingYou = following.filter(({ username }) => !users.has(username));
    /*
     Loop through eash and unfollowing them.
     (suggested change by nerix)
     */
    for (const user of notFollowingYou) {
        await ig.friendship.destroy(user.pk);
        console.log(`unfollowed ${user.username}`)
    }
})();

Can you please take a look at it, and maybe add it as a template or you can critique and improve it.

This really depends on the account you're doing this with.
Just to note: In the inapp followers-page, you can select accounts you don't follow back, however it's not supported in this library.
const followers = [
    ...await followersFeed.items(),
    ...await followersFeed.items(),
]
const following = [
    ...await followingFeed.items(),
    ...await followingFeed.items(),
]

Don't do this. This is only possible if you know how many followers the account has.
You should use a function. It can be generic over the item of a feed. Here is an example (Comment).
notFollowingYou.forEach((user) => {
    ig.friendship.destroy(user.pk);
    console.log(`unfollowed ${user.username}`)
});

This code works but it will probably break if there are too many users,

Use a for-each loop and await

for (const user of notFollowingYou) {
    await ig.friendship.destroy(user.pk);
    console.log(`unfollowed ${user.username}`)
}

Optionally add a try-catch to handle errors
Optionally add a delay between too many requests

Thanks for the feedback, so in my original one I had a random delay between 3 and 10 seconds. I should of used a for-each loop, don't know why I didn't use it here, maybe because I was rushing.
Also, you're right should of used a try/catch as I am dealing with await here.
Thanks for the response and actually taking your time to write all of this, will make the neccesary changes. I assume, I don't need to update the code as others can just see your comment and make the changes themselves.

@Nerixyz, made necessary changes. Here is a gist:
https://gist.github.com/sell/be175dcd85954f41af94858ca231a3b4
Let me know, if this is much better.

Some comments are a bit too undescriptive or the code is self-documenting. For example const followers = await getAllItemsFromFeed(followersFeed) is pretty obvious on what it does. It gets all items from the followers-feed. And as the variable-name suggests, the items are followers - no comment needed.
You shouldn't get the user-id from the login-response (didn't notice it above). Although you can, you should use the client-state (the cookies).
You should use a sleep function. This makes it descriptive (and self-documenting).
I don't know why you made getAllItemsFromFeed and arrow-function. It should stay as a regular function thus it will always be accessible (as it's hoisted).
Finally: If you intend to add this as an example, the code should be in TypeScript. So you should use import and annotate the getAllItemsFromFeed function with generics. (I didn't so that in my thing)

 This is my attempt
const { IgApiClient } = require('instagram-private-api');
const { promisify } = require('util');
const sleep = promisify(setTimeout);

const ig = new IgApiClient();

ig.state.generateDevice(process.env.USERNAME);

(async () => {
    await ig.account.login(process.env.USERNAME, process.env.PASSWORD);

    const followersFeed = ig.feed.accountFollowers(ig.state.cookieUserId);
    const followingFeed = ig.feed.accountFollowing(ig.state.cookieUserId);

    const followers = await getAllItemsFromFeed(followersFeed);
    const following = await getAllItemsFromFeed(followingFeed);

    // Add all usernames to a set. This way, checking wether a user is a follower or not.
    const followerNames = new Set(followers.map(({ username }) => username));
    // Get all the users that aren't in the followers-set and thus aren't following.
    const notFollowingYou = following.filter(({ username }) => !followerNames.has(username))

    // Unfollow all users
    for (const user of notFollowingYou) {
        await ig.friendship.destroy(user.pk);
        console.log(`unfollowed ${user.username}`);

        // You can't unfollow all users immediately and you have to add some delay to the actions.
        // Keep in mind, this is just an example.
        const sleepTime = Math.round(Math.random() * (6000)) + 1000;
        await sleep(sleepTime);
    }
})();

/**
 * Source: https://github.com/dilame/instagram-private-api/issues/969#issuecomment-551436680
 * @param feed {} Any feed
 * @returns The items of the feed
 */
async function getAllItemsFromFeed(feed) {
    let items = [];
    do {
        items = items.concat(await feed.items());

        // If there are too many items, you can also call `sleep` here.
    } while(feed.isMoreAvailable());
    return items;
}

Maybe instead of importing util, maybe we can just do this?
const time = Math.round(Math.random() * (6000)) + 1000;
await new Promise((resolve) => setTimeout(resolve, time));

Just saves a few lines of code. Thanks for critiquing again, shall I make it into ts or will you do so?

Feel free to open a PR.

PR Submitted


Firebase testlab inconclusive runs should be retried

See e.g. https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8850031948242240368/+/steps/test_execution/0/steps/gcloud_firebase__2_/0/stdout
Inconclusive indicates an infra failure on firebase's end. This run should have retried rather than getting marked as a failure.
/cc @godofredoc @keyonghan

I believe this is already done, am I right @dnfield?

Yes! I was looking for this bug but couldn't find it.


[libsndfile] Build failure

Host Environment

OS: Windows 7
CMake 3.20.1
Compiler:Visual Studio Enterprise 2017

Failure logs
Computing installation plan...
The following packages will be built and installed:
  * coin[core,simage,zlib]:x64-windows -> 4.0.0#5
  * curl[core,non-http,schannel,ssl,sspi]:x64-windows -> 7.81.0
  * draco[core]:x64-windows -> 1.4.3
  * expat[core]:x64-windows -> 2.4.1
  * freeglut[core]:x64-windows -> 3.2.1#7
  * freetype[brotli,bzip2,core,png,zlib]:x64-windows -> 2.11.1
  * gdal[core,hdf5,netcdf,postgresql,supported-default-features]:x64-windows ->
3.4.1#1
  * geos[core]:x64-windows -> 3.10.0
  * giflib[core]:x64-windows -> 5.2.1#1
  * glew[core]:x64-windows -> 2.2.0
  * hdf5[core,szip,zlib]:x64-windows -> 1.12.1#4
  * ilmbase[core]:x64-windows -> 2.3.0#1
  * jasper[core,opengl]:x64-windows -> 2.0.33#3
  * libgeotiff[core]:x64-windows -> 1.7.0
  * libgta[core]:x64-windows -> 1.0.8#3
  * libiconv[core]:x64-windows -> 1.16#11
  * libjpeg-turbo[core]:x64-windows -> 2.1.2
  * liblas[core]:x64-windows -> 1.8.1#9
  * libpng[core]:x64-windows -> 1.6.37#16
  * libpq[core,openssl,zlib]:x64-windows -> 12.9#1
  * libsndfile[core,external-libs]:x64-windows -> 1.0.31
  * libsquish[core]:x64-windows -> 1.15#9
  * libwebp[core,nearlossless,simd,unicode]:x64-windows -> 1.2.1
  * libxml2[core]:x64-windows -> 2.9.12#4
  * libzip[bzip2,core,default-aes,wincrypto]:x64-windows -> 1.8.0
  * netcdf-c[core,dap,hdf5,nczarr,netcdf-4,platform-default-features]:x64-window
s -> 4.8.1#2
  * nlohmann-json[core]:x64-windows -> 3.10.5
  * nvtt[core]:x64-windows -> 2.1.2#3
  * openexr[core]:x64-windows -> 2.5.0#3
  * opengl[core]:x64-windows -> 0.0#9
  * openjpeg[core]:x64-windows -> 2.4.0
  * openssl[core]:x64-windows -> 1.1.1m#2
  * osg[core,plugins]:x64-windows -> 3.6.5#11
    osgearth[core,tools]:x64-windows -> 3.2#3
  * pkgconf[core]:x64-windows -> 1.8.0#1
  * proj4[core,net,tiff]:x64-windows -> 8.2.1#1
  * protobuf[core]:x64-windows -> 3.18.0#1
  * pthreads[core]:x64-windows -> 3.0.0#10
  * sdl1[core]:x64-windows -> 1.2.15#15
  * simage[all,avienc,core,gdiplus,oggvorbis,sndfile]:x64-windows -> 1.8.1#4
  * sqlite3[core,tool]:x64-windows -> 3.37.1
  * szip[core]:x64-windows -> 2.1.1#7
  * tiff[core,jpeg,lzma,zip]:x64-windows -> 4.3.0#5
  * tinyxml[core]:x64-windows -> 2.6.2#8
  * vcpkg-pkgconfig-get-modules[core]:x64-windows -> 2022-01-10
  * vcpkg-tool-meson[core]:x64-windows -> 0.60.2#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\wutao.wu\AppData\Local\vcpkg\archives in 2.515
 ms. Use --debug to see more details.
Starting package 1/46: libsndfile:x64-windows
Building package libsndfile[core,external-libs]:x64-windows...
-- Using cached libsndfile-libsndfile-1.0.31.tar.gz.
-- Cleaning sources at E:/dev/vcpkg/buildtrees/libsndfile/src/1.0.31-f71190aa0d.
clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/dev/vcpkg/downloads/libsndfile-libsndfile-1.0.31.tar.gz
-- Using source at E:/dev/vcpkg/buildtrees/libsndfile/src/1.0.31-f71190aa0d.clea
n
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
    Command failed: E:/dev/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21
.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j
9
    Working Directory: E:/dev/vcpkg/buildtrees/libsndfile/x64-windows-dbg
    See logs for more information:
      E:\dev\vcpkg\buildtrees\libsndfile\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:106 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:44 (vcpkg_build_cmake)
  ports/libsndfile/portfile.cmake:31 (vcpkg_install_cmake)
  scripts/ports.cmake:145 (include)

Error: Building package libsndfile:x64-windows failed with: BUILD_FAILED

install-x64-windows-dbg-out.log
[0/1] E:\dev\vcpkg\downloads\tools\cmake-3.21.1-windows\cmake-3.21.1-windows-i386\bin\cmake.exe --regenerate-during-build -SE:\dev\vcpkg\buildtrees\libsndfile\src\1.0.31-f71190aa0d.clean -BE:\dev\vcpkg\buildtrees\libsndfile\x64-windows-dbg
-- Could NOT find Speex (missing: SPEEX_LIBRARY SPEEX_INCLUDE_DIR)
-- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY)
-- The following features have been enabled:

 * BUILD_SHARED_LIBS, build shared libraries
 * ENABLE_EXTERNAL_LIBS, enable FLAC, Vorbis, and Opus codecs
 * ENABLE_CPACK, enable CPack support
 * ENABLE_PACKAGE_CONFIG, generate and install package config file
 * INSTALL_PKGCONFIG_MODULE, generate and install pkg-config module

-- The following RECOMMENDED packages have been found:

 * Vorbis, open source lossy audio codec, <www.vorbis.com/>
   Enables Vorbis support
 * FLAC, Free Lossless Audio Codec Library, <www.xiph.org/flac/>
   Enables FLAC support
 * Opus, Standardized open source low-latency fullband codec, <www.opus-codec.org/>
   Enables experimental Opus support

-- The following REQUIRED packages have been found:

 * Ogg, library for manipulating ogg bitstreams, <www.xiph.org/ogg/>
   Required to enable Vorbis, Speex, and Opus support
 * PythonInterp, Python is a widely used high-level programming language., <www.python.org/>
   Required to build shared libraries

-- The following features have been disabled:

 * ENABLE_EXPERIMENTAL, enable experimental code
 * BUILD_TESTING, build tests
 * BUILD_REGTEST, build regtest
 * ENABLE_CPU_CLIP, Enable tricky cpu specific clipper
 * ENABLE_BOW_DOCS, enable black-on-white html docs
 * INSTALL_MANPAGES, install man pages for programs
 * ENABLE_COMPATIBLE_LIBSNDFILE_NAME, Set DLL name to libsndfile-1.dll (canonical name), sndfile.dll otherwise

-- The following OPTIONAL packages have not been found:

 * Speex, an audio codec tuned for speech, <www.speex.org/>
   Enables experemental Speex support
 * SQLite3, light weight SQL database engine., <www.sqlite.org/>
   Enables regtest

-- Configuring done
-- Generating done
-- Build files have been written to: E:/dev/vcpkg/buildtrees/libsndfile/x64-windows-dbg
[1/94] cmd.exe /C "cd /D E:\dev\vcpkg\buildtrees\libsndfile\x64-windows-dbg && E:\dev\vcpkg\downloads\tools\python\python-3.10.1-x64\python.exe E:/dev/vcpkg/buildtrees/libsndfile/src/1.0.31-f71190aa0d.clean/src/create_symbols_file.py win32 1.0.31 > E:/dev/vcpkg/buildtrees/libsndfile/x64-windows-dbg/src/sndfile.def"
FAILED: src/sndfile.def E:/dev/vcpkg/buildtrees/libsndfile/x64-windows-dbg/src/sndfile.def
cmd.exe /C "cd /D E:\dev\vcpkg\buildtrees\libsndfile\x64-windows-dbg && E:\dev\vcpkg\downloads\tools\python\python-3.10.1-x64\python.exe E:/dev/vcpkg/buildtrees/libsndfile/src/1.0.31-f71190aa0d.clean/src/create_symbols_file.py win32 1.0.31 > E:/dev/vcpkg/buildtrees/libsndfile/x64-windows-dbg/src/sndfile.def"
ninja: build stopped: subcommand failed.

E:\dev\vcpkg\downloads\tools\python\python-3.10.1-x64\python.exe ...

Since python 3.x doesn't support Windows 7, the only way to resolve this issue is add an feature deprecate-win7 to use python2 in the configure/build process.

@LilyWangLL
I'm sorry, I encountered the same problem later. Could you please tell me what file it was? I changed the corresponding path in E:\dev\vcpkg\scripts\cmake\vcpkg_configure_meson.cmake
file, and it didn't seem to work.
vcpkg_find_acquire_program(PYTHON3)
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
vcpkg_add_to_path("${PYTHON3_DIR}")
string(APPEND "${var_to_append}" "python = '${PYTHON3}'\n")

to
vcpkg_find_acquire_program(PYTHON2)
    get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
    vcpkg_add_to_path("${PYTHON2_DIR}")
    string(APPEND "${var_to_append}" "python = '${PYTHON2}'\n")

Error message
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\wutao.wu\AppData\Local\vcpkg\archives in 3.429
 ms. Use --debug to see more details.
Starting package 1/22: pkgconf:x64-windows
Building package pkgconf[core]:x64-windows...
-- Using cached pkgconf-pkgconf-cef30268e1a3f79efd607c26abcf556aa314c9c4.tar.gz.

-- Cleaning sources at E:/dev/vcpkg/buildtrees/pkgconf/src/6aa314c9c4-8bd74a463d
.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/dev/vcpkg/downloads/pkgconf-pkgconf-cef30268e1a3f79efd60
7c26abcf556aa314c9c4.tar.gz
-- Using source at E:/dev/vcpkg/buildtrees/pkgconf/src/6aa314c9c4-8bd74a463d.cle
an
-- Getting CMake variables for x64-windows
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):

    Command failed: E:/dev/vcpkg/downloads/tools/python/python-3.10.1-x64/python
.exe E:/dev/vcpkg/installed/x64-windows/tools/meson/meson.py -Dtests=false --bui
ldtype plain --backend ninja --wrap-mode nodownload --native E:/dev/vcpkg/buildt
rees/pkgconf/meson-native-x64-windows.log --default-library shared --libdir lib
--native E:/dev/vcpkg/buildtrees/pkgconf/meson-native-x64-windows-debug.log -Dde
bug=true --prefix E:/dev/vcpkg/packages/pkgconf_x64-windows/debug --includedir .
./include -Dcmake_prefix_path=['E:/dev/vcpkg/installed/x64-windows/debug','E:/de
v/vcpkg/installed/x64-windows','E:/dev/vcpkg/installed/x64-windows/share'] E:/de
v/vcpkg/buildtrees/pkgconf/src/6aa314c9c4-8bd74a463d.clean
    Working Directory: E:/dev/vcpkg/buildtrees/pkgconf/x64-windows-dbg
    Error code: Exit code 0xc0000135

    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:491 (vcpkg_execute_required_process)

  ports/pkgconf/portfile.cmake:9 (vcpkg_configure_meson)
  scripts/ports.cmake:145 (include)

@LilyWangLL I'm sorry, I encountered the same problem later. Could you please tell me what file it was? I changed the corresponding path in E:\dev\vcpkg\scripts\cmake\vcpkg_configure_meson.cmake file, and it didn't seem to work.
vcpkg_find_acquire_program(PYTHON3)
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
vcpkg_add_to_path("${PYTHON3_DIR}")
string(APPEND "${var_to_append}" "python = '${PYTHON3}'\n")

to
vcpkg_find_acquire_program(PYTHON2)
    get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
    vcpkg_add_to_path("${PYTHON2_DIR}")
    string(APPEND "${var_to_append}" "python = '${PYTHON2}'\n")

Error message
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\wutao.wu\AppData\Local\vcpkg\archives in 3.429
 ms. Use --debug to see more details.
Starting package 1/22: pkgconf:x64-windows
Building package pkgconf[core]:x64-windows...
-- Using cached pkgconf-pkgconf-cef30268e1a3f79efd607c26abcf556aa314c9c4.tar.gz.

-- Cleaning sources at E:/dev/vcpkg/buildtrees/pkgconf/src/6aa314c9c4-8bd74a463d
.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/dev/vcpkg/downloads/pkgconf-pkgconf-cef30268e1a3f79efd60
7c26abcf556aa314c9c4.tar.gz
-- Using source at E:/dev/vcpkg/buildtrees/pkgconf/src/6aa314c9c4-8bd74a463d.cle
an
-- Getting CMake variables for x64-windows
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):

    Command failed: E:/dev/vcpkg/downloads/tools/python/python-3.10.1-x64/python
.exe E:/dev/vcpkg/installed/x64-windows/tools/meson/meson.py -Dtests=false --bui
ldtype plain --backend ninja --wrap-mode nodownload --native E:/dev/vcpkg/buildt
rees/pkgconf/meson-native-x64-windows.log --default-library shared --libdir lib
--native E:/dev/vcpkg/buildtrees/pkgconf/meson-native-x64-windows-debug.log -Dde
bug=true --prefix E:/dev/vcpkg/packages/pkgconf_x64-windows/debug --includedir .
./include -Dcmake_prefix_path=['E:/dev/vcpkg/installed/x64-windows/debug','E:/de
v/vcpkg/installed/x64-windows','E:/dev/vcpkg/installed/x64-windows/share'] E:/de
v/vcpkg/buildtrees/pkgconf/src/6aa314c9c4-8bd74a463d.clean
    Working Directory: E:/dev/vcpkg/buildtrees/pkgconf/x64-windows-dbg
    Error code: Exit code 0xc0000135

    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:491 (vcpkg_execute_required_process)

  ports/pkgconf/portfile.cmake:9 (vcpkg_configure_meson)
  scripts/ports.cmake:145 (include)

Change this file: VCPKG_ROOT/ports/libsndfile/portfile.cmake

@LilyWangLL
I have modified as you said before,
the file path is：
E:\dev\vcpkg\ports\libsndfile\portfile.cmake
the current content is as follows:
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
    vcpkg_find_acquire_program(PYTHON2)
	get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
    FEATURES external-libs ENABLE_EXTERNAL_LIBS
)

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS
        -DBUILD_EXAMPLES=OFF
        -DBUILD_REGTEST=OFF
        -DBUILD_TESTING=OFF
        -DENABLE_BOW_DOCS=OFF
        -DBUILD_PROGRAMS=OFF
        -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
        -DPYTHON_EXECUTABLE=${PYTHON2}
        ${FEATURE_OPTIONS}
)

It solves the first problem, but the current problem arises later. I see that many portfiles have pyton3, do they all need to be changed to python2?

I have modified as you said before,
the file path is：
E:\dev\vcpkg\ports\libsndfile\portfile.cmake
the current content is as follows:
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
    vcpkg_find_acquire_program(PYTHON2)
	get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
    FEATURES external-libs ENABLE_EXTERNAL_LIBS
)

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS
        -DBUILD_EXAMPLES=OFF
        -DBUILD_REGTEST=OFF
        -DBUILD_TESTING=OFF
        -DENABLE_BOW_DOCS=OFF
        -DBUILD_PROGRAMS=OFF
        -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
        -DPYTHON_EXECUTABLE=${PYTHON2}
        ${FEATURE_OPTIONS}
)

It solves the first problem, but the current problem arises later. I see that many portfiles have pyton3, do they all need to be changed to python2?

@LilyWangLL
I have modified as you said before,
the file path is：
E:\dev\vcpkg\ports\libsndfile\portfile.cmake
the current content is as follows:
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
    vcpkg_find_acquire_program(PYTHON2)
	get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
    FEATURES external-libs ENABLE_EXTERNAL_LIBS
)

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS
        -DBUILD_EXAMPLES=OFF
        -DBUILD_REGTEST=OFF
        -DBUILD_TESTING=OFF
        -DENABLE_BOW_DOCS=OFF
        -DBUILD_PROGRAMS=OFF
        -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
        -DPYTHON_EXECUTABLE=${PYTHON2}
        ${FEATURE_OPTIONS}
)

It solves the first problem, but the current problem arises later. I see that many portfiles have pyton3, do they all need to be changed to python2?

If there are same error, you need change portfile.cmake as libsndfile. This reason is about the use of python3 on Windows7. It doesn't appear on Windows10.


MaterializedViewDefinition with partitioning and clustering

Hi guys,
is there a way to specify partitioning and clustering when creating a Materialized View? MaterializedViewDefinition doesn't seem to provide a way to do it.
Thanks,
Jessica

Hi, this feature is supported in v1.130.0. Please try it out and re-open the ticket/open a new ticket if there are other issues.

awesome, Thanks!


Improve initialization for extra arches

This PR is related to https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/16144, where we have to do some contortions to install extra arches when Spandrel is late-imported.
It

makes the ValueError for duplicate architectures a specific exception type, so it can be caught...
... by the new spandrel_extra_arches.install() convenience function, which will return False (and not raise) in case the main registry already has (any of) the arches it tries to wire up.

Throwing a DuplicateArchitectureError is a breaking change.

It's not, IMO, unless you're catching things in a particularly weird way (like, if type(exc) is ValueError weird). Unless I'm missing something?
We used to throw ValueError, now we throw DuplicateArchitectureError which derives from ValueError, so if you have a except ValueError, the new exception would still be caught too.

It's not [...]. We used to throw ValueError, now we throw DuplicateArchitectureError which derives from ValueError

You're absolutely correct. I overlooked that. Please ignore point 2.


Updates for angels components and angels petrochem icons

Inclusive of changes for angels components integration
Updates for icon reference issues.

also just noticed that the trigger in the
line 29 of DFF,
if settings.startup["angels-enable-components"] or settings.startup["angels-enable-tech"] then
should be :
if settings.startup["angels-enable-components"].value or settings.startup["angels-enable-tech"].value then
Easy to fix at least


Downloading speed is slow

For example,  I wait about 20 minutes for downing  jenkins's image.

Unfortunately an issue of CN networks


Issue calling MMAMS from the interface

Hi all,
I have been trying to use the AMUSE implementation of the merger code MMAMS (Gaburov 2008) in order to combine two stellar profiles which were evolved externally using MESA.
Due to difficulties installing all of AMUSE, I had installed amuse-framework together with amuse-mmams to use this package by itself. I created two particles and added the layers of both stars using the "add_shell" method, but I am getting the error below. I'm not sure whether this is an issue with the installation or with my input, but this occurs for a number of different inputs, and the issue is not the order in which I add the shells.
Thanks in advance.
---------------------------------------------------------------------------
CodeException                             Traceback (most recent call last)
/home/nrui/.local/lib/python3.6/site-packages/amuse/rfi/core.py in __call__(self, *arguments_list, **keyword_arguments)
    119
--> 120             dtype_to_result = self.interface.channel.recv_message(call_id, self.specification.id, handle_as_array)
    121         except Exception as ex:

/home/nrui/.local/lib/python3.6/site-packages/amuse/rfi/channel.py in recv_message(self, call_id, function_id, handle_as_array, has_units)
   1946
-> 1947         message.receive(self.socket)
   1948

/home/nrui/.local/lib/python3.6/site-packages/amuse/rfi/channel.py in receive(self, socket)
   1497
-> 1498         header_bytes = self._receive_all(44, socket)
   1499

/home/nrui/.local/lib/python3.6/site-packages/amuse/rfi/channel.py in _receive_all(self, nbytes, thesocket)
   1482             if len(data_bytes) == 0:
-> 1483                 raise exceptions.CodeException("lost connection to code")
   1484

CodeException: lost connection to code

During handling of the above exception, another exception occurred:

CodeException                             Traceback (most recent call last)
<ipython-input-2-36f82fcc752b> in <module>()
----> 1 make_mesa_dir_merger_from_mmams(1.5, 1.0, 'TAMSR125')

/home/nrui/merger_project/mergers.py in make_mesa_dir_merger_from_mmams(initial_mass, accretion_mass, accretion_loc, scale_loc)
   3601     pdb.set_trace()
   3602
-> 3603     interface.merge_two_stars(index_of_the_product=2, index_of_the_primary=0, index_of_the_secondary=1)
   3604     pdb.set_trace()
   3605

/home/nrui/.local/lib/python3.6/site-packages/amuse/rfi/core.py in __call__(self, *arguments_list, **keyword_arguments)
    121         except Exception as ex:
    122             CODE_LOG.info("Exception when calling function '{0}', of code '{1}', exception was '{2}'".format(self.specification.name, type(self.interface).__name__, ex))
--> 123             raise exceptions.CodeException("Exception when calling function '{0}', of code '{1}', exception was '{2}'".format(self.specification.name, type(self.interface).__name__, ex))
    124
    125         result = self.converted_results(dtype_to_result, handle_as_array)

CodeException: Exception when calling function 'merge_two_stars', of code 'MMAMSInterface', exception was 'lost connection to code'

Could you check in /opt/etc/macports/macports.conf if "universal_archs" is uncommented and set to "x86_64"?

Could you start the code with redirection="none" in addition to the other arguments? E.g.
code = MMAMS(..., redirection="none")

The exception above occurs when a code crashes, with redirection="none" it may be clearer what causes this to happen.

Thanks, I've done this. The code terminates almost immediately, and the output of the code is as follows:

where I have added stellar shells assuming quantities in cgs. If I instead input these quantities in solar units, the code runs indefinitely and prints the same line over and over with a single item iterated.

After assigning
    interface = mmams.MMAMSInterface(redirection='none')

    index_of_the_particle = [0, 1]
    profile_list = [profile1, profile2]
    star_mass = [initial_mass, accretion_mass]

    for ii in range(len(profile_list)):
        profile = profile_list[ii]

        interface.new_particle(mass=star_mass[ii])

        # Extract required quantities, arrange it into greatest r to least and then
        # add the shells in reverse order afterwards.
        radius = rsun * profile['radius']
        radius0 = np.append(radius, [0])
        density = 10 ** profile['logRho']
        volume_shell = (4 / 3) * np.pi * (radius0[:-1] ** 3 - radius0[1:] ** 3)
        d_mass = np.array(density * volume_shell)
        cumul_mass = np.flip(np.cumsum(np.flip(d_mass, axis=0)), axis=0)

        pressure = 10 ** profile['logP']
        temperature = 10 ** profile['logT']
        luminosity = lsun * profile['luminosity']
        molecular_weight = profile['mu']

        H1 = profile['h1']
        He4 = profile['he4']
        C12 = profile['c12']
        O16 = profile['o16']

        for jj in range(len(profile)):
            index = -jj-1
            interface.add_shell(index_of_the_particle = index_of_the_particle[ii],
                                d_mass = d_mass[index],
                                cumul_mass = cumul_mass[index],
                                radius = radius[index],
                                density = density[index],
                                pressure = pressure[index],
                                temperature = temperature[index],
                                luminosity = luminosity[index],
                                molecular_weight = molecular_weight[index],
                                H1 = H1[index],
                                He4 = He4[index],
                                C12 = C12[index],
                                N14 = 0,
                                O16 = O16[index],
                                Ne20 = 0,
                                Mg24 = 0,
                                Si28 = 0,
                                Fe56 = 0
                                )

    interface.merge_two_stars(index_of_the_product=2, index_of_the_primary=0, index_of_the_secondary=1)

Am I calling this function incorrectly? Alternatively, is there something wrong with my input (it's a fairly standard and non-pathological MESA run of not very massive stars)? Is there any documentation which describes how to correctly call this function without running MESA directly in AMUSE?

Upon closer examination, it looks like the pressure bracketing is failing because of the following lines in amuse/src/amuse/community/mmams/src/mmas2/src/mmas/merge_stars_gsl_adaptive.cpp:
if (params.negative_pressure == 1)  {
      pressure.push_back(-p_unit);
      return NEGATIVE_PRESSURE;
}

This flag always gets triggered and appends -p_unit = -GM^2/R^4 to the end of the pressure vector, preventing the pressure root bracketing. If I attempt to comment this part of the code out (so that this "ghost" pressure entry is not appended to the pressure vector), I get a separate issue where the central pressure attempts to converge to a very small value.
I'm not sure what the issue is. I have specified all my units in cgs; the NEGATIVE_PRESSURE flag being triggered appears to suggest something wrong with the input, but I'm not totally sure what it is, or what the NEGATIVE_PRESSURE flag is signifying.
Attached below are the two stellar profile files which are passed shell-by-shell into the MMAMS interface in AMUSE.
profile1.txt
profile2.txt
As an additional note, I have figured out that AMUSE uses the file "merge_stars_gsl_adaptive.cpp." However, it seems to contain some other scripts, "merge_stars.cpp," "merge_stars_gsl.cpp," "merge_stars_consistently.cpp," which are all different from each other. As far as I can tell, I think they're unused, so it may also be an idea to try to use these, but I'm not sure what the difference is, or why the default would not have been one of these others.


Payments - List of payments is blinking when navigate fro sign in to Payments

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Precondition: Log out from account

Launch the app
Log in with the same expensifail account
Go to Setting - Payments

Expected Result:
List of payments is not blinking when navigate fro sign in to Payments
Actual Result:
List of payments is blinking when navigate fro sign in to Payments
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/193169284-d6dbbf52-06fb-4015-85d5-4d46f035d446.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

cc @ctkochan22 should we show a loader while we're fetching?

Yes that sounds like a good idea

This was originally discussed to be this way I think. Under pattern none for offline behavior. So we should add a loader if we are online and fetching. And still do nothing otherwise

How does this look?

Merged main, needs a few changes

This issue has not been updated in over 15 days. @ctkochan22 eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

Woah wierd, fixed here: https://github.com/Expensify/App/pull/11592


Cannot insert explicit value for identity column in table when IDENTITY_INSERT is set to OFF

Describe what is not working as expected.
Retrieving an entity from database and, then trying to insert that entity into the database produces the error below.  This is something that always worked in previous EF versions, and I'm hoping there's a better way to do this automatically rather than cloning each entity manually.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message: Cannot insert explicit value for identity column in table when IDENTITY_INSERT is set to OFF
Stack trace:  {System.Data.SqlClient.SqlException: Cannot insert explicit value for identity column in table 'Website' when IDENTITY_INSERT is set to OFF.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, String executeMethod, IReadOnlyDictionary`2 parameterValues, Boolean closeConnection)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
ClientConnectionId:497356e6-8e51-406d-9127-f6b21d661d80
Error Number:544,State:1,Class:16}

Steps to reproduce
Include a complete code listing (or project/solution) that we can run to reproduce the issue.
Partial code listings, or multiple fragments of code, will slow down our response or cause us to push the issue back to you to provide code to repoduce the issue.
var item = UnitOfWork.Items.Find().FirstOrDefault(x => x.itemID== dto.itemID);

dbSet.Add(item);
context.SaveChanges();

Further technical details
EF Core version: 1.1
Database Provider: MSSQL Azure
Operating system: Windows 8.1
IDE: VS 2015, IIS Express

@mb2140 Is your expectation here that the entity will be inserted again and will get a new key value generated? If so, and assuming your Find() method is doing a no-tracking query, then the key value will need to be set to the CLR default (i.e. zero) before calling Add.


App that converts speech into clear, structured text

Hello!
My app is called Letterly. It makes a great structured text from any speech.
You can try it on TestFlight: https://testflight.apple.com/join/cXnx4zVm
You feedback would be really valuable!
And if you want to join the waitlist to get the app as it is released, pleaase leave email here: https://forms.gle/d2kCm8aHMuMRVXgx9
Thank you in advance guys!

done

wow, so fast, thank you :)


sst build: hangs when yarn 3 is used as packager

Reported by Carter Himmel:

i'm currently running into an issue with one of our builds failing. it installed our dependencies with yarn@3 correctly then just hangs for ~20 minutes and cancels. i'm looking at our logs and there's nothing here

Requests:

https://serverless-stack.slack.com/archives/C01JG3B20RY/p1634595709346000

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Add parsing tests

With the parser now done, need to add some tests.

As of d4f5268c85ae6f122b60ee81cbe894d5c4462eda, parsing tests are done on all of the servo WebIDL files. Only one of them fails because for some reason, an interface is named DOMException which I think should not be allowed? Either way, I have added an exception for it, so this can be closed.