trying to follow user-no result

when i am trying to follow someone,api return me status_code:1 but api i have zero followings
what am i doing wrong?

you do not pass the test

can you explain more?

can someone help me with this anti-spam params?

I'm also facing the same issue.
Also noticed that, one request parameter is responsible for this.
Request Parameter :
"X-Gorgon= 0330c1cb4400c707a9da28709e3f2e4b612def70a198e31a90e6"
It is of 52 characters length and changing with every request. I can't able to predict how its forming.
Some other X-Gorgon values...
03b5c660440026e33c7545d9a2769d135910a714028da82a2b26
030000004400d2b6356b112ee14277c15c38ff686c15a6b707c1
Can anyone help here please?

Hi, I also face this issue i get the success message but user not followed any body have a solution

What's your contact info? Let's work together

Has anyone figured out X-Gorgon? On my side, I saw the input is a 20 bytes long data and output is 26 bytes long. Why you see it's 52 is because it split every char. e.g. 0x12 is '12', so 26 * 2 is the size.
It's some sort of encoding, not like hash and encryption.

Has anyone figured out X-Gorgon? On my side, I saw the input is a 20 bytes long data and output is 26 bytes long. Why you see it's 52 is because it splits every char, e.g. 0x12 is '12', so 26 * 2 is the size.
It's some sort of encoding, not like hash and encryption, and it's related to the URL params, and time stamp (maybe others). Meaning, if URL param is not changed, the first N bytes of encoded string will not change.

You find the any solution ??

if i try to like then it show the TRUE response but does't like the videos

No I don't. X-Gorgon is kind of new, and heavily protected from RE. Need some experts on this. AFAIK, there is a random number joined, the output for every app launch is different for the same input.

Its can be md5(time())?

The 2 params passed to the native function 'levaiathan' (which computes x-gorgon) is currentTimeMillis / 1000 and all the request parameters as a string.  I will be reversing this properly in the native layer when I'm back from holiday.

Can u please explain With this a example or its working or not to solve the sending follow issue

@charlieAndroidDev x-gorgon is not that simple. It's obfuscated on iOS at least. I'm not sure if it's easier on android. But for iOS, the input contains timestamp and first 4 bytes of md5 of some fields, such as the parameters and cookies, if exists.

@liuxuan30 yes absolutely.  It's heavily protected from RE.  I am making progress with it but it is slow.  I've hooked the native JNI function with Frida but there are some issues when trying to look at the jint and jbyteArray arguments.
The native 'leviathan' function calls the Java method 'njss' multiple times and I believe the result of each call is used but I'm not sure how yet.  I'm not going to stop!

@charlieAndroidDev sure and also for everyone, I'm on iOS side RE, so I think x-gorgon is a shared mechanism, should be same. So far I have progress like what I said above

the input contains timestamp and first 4 bytes of md5 of some fields, such as the parameters or cookies, if exists

@liuxuan30 ok cool man.  I will update with anything major that I find.  I have found out that I think they are using anti-debugging techniques like looking at /proc/self/cmdline and I cannot make my own version of leviathan work correctly, it always returns null.
I will try and patch these mechanisms and report back!

Hi same problem face by sending likes can anyone find the solution

@charlieAndroidDev
how far are you with this?
by saying it returns 0, it seems like you got the code, but some safety Check is not working? I might have a hint on this. (I'm not too good at all this, but it might be worth it).
any way I can hit you up?

@DanielAscher Yeah I've actually found that it does return the correct value from the function in the java layer but in the native layer my Frida logic for printing the return value must be flawed, so it's no issue.
But what is an issue is that I have found the debug symbol for function leviathan which is 0x60d24 in the latest x64 library.  When I look at this function in Ghidra it is so messed up that I cannot make sense of it at all really and in IDA it isn't even recognised as a function.  There are some interesting things in the assembly though so I am still working on it.
Here it is:
void FUN_00160d24(void)

{
  longlong lVar1;
  int iVar2;

  iVar2 = -0xfdd9a1f;
  while( true ) {
    if (iVar2 == -0x4a60e8ce) {
      lVar1 = FUN_00160eac();
                    /* WARNING: Could not recover jumptable at 0x00160ea8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)(lVar1 + 0x34))();
      return;
    }
    if (iVar2 == 0x7c8eb903) break;
    if (iVar2 == -0xfdd9a1f) {
      iVar2 = -0x4a60e8ce;
    }
  }
                    /* WARNING: Bad instruction - Truncating control flow here */
  halt_baddata();
}

@charlieAndroidDev
that will probably surpass all of my understanding as I'm not really good at this at all.
so you are stuck replicating the native function at the moment?

@DanielAscher that's fine!
Yeah I'm stuck trying to figure out what the native function does.

@charlieAndroidDev
I guess, just as you said, this part is made REALLY hard now. as i read that from different sources. (mostly, from the sister app douyin (china) which doesn't do the exact same as the tiktok app, but mostly the same (for whatever reason, i honestly dont know)).
Do you even think this is reversable, or do/can we go a different route in generating this value, like running a android app that feeds that native function data, and it spits out the return value and grab that (in an emulator)
did you reverse the other stuff like as, cp, mas?
or, a huge point, the native functions to register new devices?

Should get you guys a private channel for this. tiktok must be watching this thread lol

Am very new to Andriod de-compilation, but found a pattern in the "X-Gorgon" generated keys.
Let's say if the header is "0300000000007e2d25e04f6107e23d1bcca6c36eade7bbe30b8b" then to my understanding it is combination of two strings. First part is a unique identifier of a session and other one is a SHA1 hashed string.
Ex :<PHONE_NUMBER>007e2d25e04f6107e23d1bcca6c36eade7bbe30b8b is the header if you split into two strings like below
1st Part -<PHONE_NUMBER>00 ( i.e it's first 12 characters)
2nd Part - 7e2d25e04f6107e23d1bcca6c36eade7bbe30b8b (SHA 1 Hash) which is of 40 character long.
I am still trying to find a better way to get this done. Hope this helps.
PS : As SHA1 is one way encryption, this could be SHA1( Milli seconds)  ?  Just to identify each unique sessions ?

Yeah add me on discord: khamul#3764

@charlieAndroidDev I sent you a friend requ on discord username gatr...

Have you made any progress?

here's a few sample
X-Gorgon: 0361eee04001003ae64f827b89a7ad8e0d52d5d25531b87c0871
X-Khronos:<PHONE_NUMBER>
X-Gorgon:<PHONE_NUMBER>01c2f6419db68de04092e0811af701e76f94a94e34
X-Khronos:<PHONE_NUMBER>
X-Gorgon: 036a13eb40018f003b820ea7f94a759eac59541f638c800becbd
X-Khronos:<PHONE_NUMBER>

@ericsia do you have the method to register new devices?

why register new device? that's like a spam... while, the gorgon not even fully ported yet..

@ericsia x-gorgon isn't really important yet, as you can just use an older tiktok version which didnt have x-gorgon and everything still works fine. meanwhile blocks of deviceid and installid can only be get by by registering a new device.
so the first thing to have should be the method to register new devices (or better said, encode the body of that method), then the other stuff

you see the problem is old api is unreliable.
when I tried the old api, like in 10times I use to call the video, maybe 2-3 times it don't return anything.
Plus who knows when tiktok block the old api completely it just a matter of time. That's why we actively working to get x-gorgon, now need to port java's [public static native byte[] leviathan] to c++ or python

@ericsia the old api isn't unreliable at all for me. i can do pretty much everything with it. What tiktok absolutely loves to do is action block device and install ids, meaning a call to the api would return no response (but a status code of 200). the new tiktok version still use the same api endpoints as the old ones, and return the exact same data.
the far better action right now is to get new device registration working.

we are moving at different direction. I am interested in getting the no watermark video. It's pointless to argue here, I already tested smtime it won't return even on first request. I suggest u start a new thread on your registration concern

@ericsia the original post here has exactly that problem i am outlining here. The OP doesnt have a problem of missin x-gorgon, but a problem with device and iid.
If you used an old iid or deviceid (or even a new iid with an device id already used sometimes), then tiktok does that. thats their way of rate limiting. ive done extensive tests so i know how and when tiktok limits and returns nothing.
Of course, go ahead and crack x-gorgon, but you will still have the same problem

apparently, that register device is cracked:
https://github.com/xsuspectx/tiktok-register-device-crypto/blob/master/README.md

@liuxuan30 and other reverse engineering who like to crack it. register a wechat account I add you inside the group. Search my wechat id: mrericsia
I will post all my findings everytime a new person enter the group. If you are interested in the unpacked.so trying your luck you may join too

You guys should join a private RE discord group.

can i join it?

Hi for everyone!
I want to join your discord too
Morlok#9335

any updates on this issue of generating X-Gorgon?

@Lekinio  u can login success ?  as I haven't implement the anti-spam signing functions yet ?

@stevensebaweg any updates on this issue of generating X-Gorgon?

Hi for everyone!
welcome to join the qq group<PHONE_NUMBER>

https://discord.gg/4fcw8U
On Tue, Dec 3, 2019 at 10:06 AM junges521<EMAIL_ADDRESS>wrote:

Hi for everyone!
welcome to join the qq group<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/szdc/tiktok-api/issues/102?email_source=notifications&email_token=AA2BB3HEN67RWQRWGXU3QOLQWYOS7A5CNFSM4HK3K74KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFYT3TA#issuecomment-561069516,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2BB3FDNEQ67GVSBQMU2ILQWYOS7ANCNFSM4HK3K74A
.

You guys should join a private RE discord group.

can i join it?

Yes you can join the entry group. Then we pick some to move to the main group.

Hi for everyone!
I want to join your discord too
Morlok#9335

LInk above

Hi for everyone!
I want to join your discord too
Morlok#9335

LInk above

Link not working

https://discord.gg/SGFvXN

any news about x-gorgon?

Does anyone know what parameters are passed to the method leviathan method is in?
Parameters are String str and Map<String, List<String>> map.
I managed to properly call leviathan but I dont know exactly what are the above params.
#   s : String, m : Map<String, List<String>>, s : Int, leviathan : (I[B)[B
def mo24495a(s, m, sec, leviathan):
    f54574a = "0123456789abcdef"

    def m64165a(bArr, i, i2):
        if (i2 <= len(bArr)):
            i3 = i2 * 2
            cArr = ["\00"] * i3
            i4 = 0
            for i5 in range(0, i2):
                b = bArr[i5] & 255
                i6 = i4 + 1
                cArr[i4] = f54574a[b >> 4]
                i4 = i6 + 1
                cArr[i6] = f54574a[b & 15]
            return "".join(cArr)

    def m64164a(b):
        return m64165a(b, 0, len(b))

    def m64163a(s):
        md5 = hashlib.md5()
        md5.update(s.encode("utf-8"))
        return m64164a(md5.hexdigest().encode("utf-8"))

    def m135437e(s):
        for str2 in s.replace(" ", "").split(","):
            indexOf = str2.find("sessionid=")
            if indexOf != -1:
                return str2[indexOf + 10:]
        return None

    def m135436d(s):
        indexOf  = s.find("?")
        indexOf2 = s.find("#")
        if indexOf == -1: return None
        if indexOf2 == -1: return s[indexOf+1:]
        if indexOf2 < indexOf: return None
        return s[indexOf+1:indexOf2]

    def m64150a(bArr):
        n = len(bArr)
        cArr = ["\00"] * (n * 2)
        for i in range(n):
            b = bArr[i] & 255
            i2 = i * 2
            cArr[i2] = f54574a[b >> 4]
            cArr[i2 + 1] = f54574a[b & 15]
        return "".join(cArr)

    def m64151a(s):
        n = len(s)
        bArr = [0] * (n//2)
        for i in range(0,n,2):
            bArr[i//2] = (int(s[i], 16) << 4) + int(s[i+1], 16)
        return bArr

    b = m135436d(s)
    str3 = None
    a = None if b is None or len(b) == 0 else m64163a(b)
    str4 = None
    str5 = None
    for k,v in m.items():
        if k.upper() == "X-SS-STUB":
            str3 = v
        if k.upper() == "COOKIE":
            str6 = v
            if str6 is not None:
                str4 = m64163a(str6)
                c = m135437e(str6)
                if c != None and len(c) > 0:
                    str5 = m64163a(c)
    if a is None or len(a) == 0: a = "00000000000000000000000000000000"
    if str3 is None or len(str3) == 0: str3 = "00000000000000000000000000000000"
    if str4 is None or len(str4) == 0: str4 = "00000000000000000000000000000000"
    if str5 is None or len(str5) == 0: str5 = "00000000000000000000000000000000"
    sb = a + str3 + str4 + str5
    a2 = m64150a(leviathan(sec, bytearray(m64151a(sb))))
    return {"X-Khronos" : str(sec), "X-Gorgon" : a2}

Does anyone know what parameters are passed to the method leviathan method is in?
Parameters are String str and Map<String, List<String>> map.
I managed to properly call leviathan but I dont know exactly what are the above params.
#   s : String, m : Map<String, List<String>>, sec : Int, leviathan : (I[B)[B
def mo24495a(s, m, sec, leviathan):
    f54574a = "0123456789abcdef"

    def m64165a(bArr, i, i2):
        if (i2 <= len(bArr)):
            i3 = i2 * 2
            cArr = ["\00"] * i3
            i4 = 0
            for i5 in range(0, i2):
                b = bArr[i5] & 255
                i6 = i4 + 1
                cArr[i4] = f54574a[b >> 4]
                i4 = i6 + 1
                cArr[i6] = f54574a[b & 15]
            return "".join(cArr)

    def m64164a(b):
        return m64165a(b, 0, len(b))

    def m64163a(s):
        md5 = hashlib.md5()
        md5.update(s.encode("utf-8"))
        return m64164a(md5.hexdigest().encode("utf-8"))

    def m135437e(s):
        for str2 in s.replace(" ", "").split(","):
            indexOf = str2.find("sessionid=")
            if indexOf != -1:
                return str2[indexOf + 10:]
        return None

    def m135436d(s):
        indexOf  = s.find("?")
        indexOf2 = s.find("#")
        if indexOf == -1: return None
        if indexOf2 == -1: return s[indexOf+1:]
        if indexOf2 < indexOf: return None
        return s[indexOf+1:indexOf2]

    def m64150a(bArr):
        n = len(bArr)
        cArr = ["\00"] * (n * 2)
        for i in range(n):
            b = bArr[i] & 255
            i2 = i * 2
            cArr[i2] = f54574a[b >> 4]
            cArr[i2 + 1] = f54574a[b & 15]
        return "".join(cArr)

    def m64151a(s):
        n = len(s)
        bArr = [0] * (n//2)
        for i in range(0,n,2):
            bArr[i//2] = (int(s[i], 16) << 4) + int(s[i+1], 16)
        return bArr

    b = m135436d(s)
    str3 = None
    a = None if b is None or len(b) == 0 else m64163a(b)
    str4 = None
    str5 = None
    for k,v in m.items():
        if k.upper() == "X-SS-STUB":
            str3 = v
        if k.upper() == "COOKIE":
            str6 = v
            if str6 is not None:
                str4 = m64163a(str6)
                c = m135437e(str6)
                if c != None and len(c) > 0:
                    str5 = m64163a(c)
    if a is None or len(a) == 0: a = "00000000000000000000000000000000"
    if str3 is None or len(str3) == 0: str3 = "00000000000000000000000000000000"
    if str4 is None or len(str4) == 0: str4 = "00000000000000000000000000000000"
    if str5 is None or len(str5) == 0: str5 = "00000000000000000000000000000000"
    sb = a + str3 + str4 + str5
    a2 = m64150a(leviathan(sec, bytearray(m64151a(sb))))
    return {"X-Khronos" : str(sec), "X-Gorgon" : a2}

I doubt you can call it. it's just hash string pass through it. if you managed pass it leviathan would have return you value already. Mind to explain what your "properly call" actually mean?

@ericsia I have leviathan function I just dont know what parameters are.
result = mo24495a(URL, {"COOKIE":COOKIE},<PHONE_NUMBER>, lambda s, d: x.leviathan(emulator, s, d))

@scicyb without function itself we can't tell you which parameters are you have to pass.

@disco-mayhem I don't have the source of the function Im calling it directly from libcms.so using Unicorn.

Forget about unicorn, the latest douyin libcms.so require certain authentication before the leviathan would return a value. What authentication? It is in njss, what in njss? I'm not sure

@ericsia Yes, its a shared lib too.

Any progress of that?

Hello. If there is a closed group to solve the problem with x-gorgon, I would like to join. Thanks.

Let me in to the group as well.
Interested to purchase x-gorgon generation code.

we got the code, but it's better leave it as private. The native was obfuscated so heavily, it's extremely hard to  analyse or should I say crack it. For the sake of longevity it's better to remain private, keep in mind tiktok can change the source code anytime soon once they realised smone compromised their app. This thread should be closed

we got the code, but it's better leave it as private. The native was obfuscated so heavily, it's extremely hard to analyse or should I say crack it. For the sake of longevity it's better to remain private, keep in mind tiktok can change the source code anytime soon once they realised smone compromised their app. This thread should be closed

can I ask a couple of questions in PM? if yes, write to me in the mail, thanks.

https://discord.gg/AxXD749
On Fri, Feb 21, 2020, 00:41 Kindles7<EMAIL_ADDRESS>wrote:

we got the code, but it's better leave it as private. The native was
obfuscated so heavily, it's extremely hard to analyse or should I say crack
it. For the sake of longevity it's better to remain private, keep in mind
tiktok can change the source code anytime soon once they realised smone
compromised their app. This thread should be closed
can I ask a couple of questions in PM? if yes, write to me in the mail,
thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/szdc/tiktok-api/issues/102?email_source=notifications&email_token=AA2BB3EICKJXIGJXV5GQ4ETRD6HTHA5CNFSM4HK3K74KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMR6NXI#issuecomment-589555421,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2BB3DBTOJNLBEXESL7DYTRD6HTHANCNFSM4HK3K74A
.

Let me in to the group as well.
Interested to purchase x-gorgon generation code.

Hey, i want to join to his request,
I'm willing to help if needed or to pay if someone has done it already

Let me in to the group as well.
Interested to purchase x-gorgon generation code.

Let me in to the group as well.
Interested to purchase x-gorgon generation code.

Hey, i want to join to his request,
I'm willing to help if needed or to pay if someone has done it already

I have the code. And tested working, I'm ok in selling it.  I'm at Discord, my id is @ericsia#9182
or u can reach my wechat id: mrericsia

I have working code.
video

https://youtu.be/8bmrvwNeLbg

here is the testing site: http://ericsia.tk/weixinshimrericsia

@ericsia Can you share the code, please? On my email<EMAIL_ADDRESS>or telegram: hustlettie

i am renting out the api (both register device encryption and x-gorgon) for a long time already with satisfied customers, so proven to work. see my github repo or reach out at<EMAIL_ADDRESS>

Hey, still on this problem ?
I want to start a group for a open source tiktok-secure-mechanism libary in java.
Anybody interested ?
Best regards
Joost

we got the code, but it's better leave it as private. The native was obfuscated so heavily, it's extremely hard to analyse or should I say crack it. For the sake of longevity it's better to remain private, keep in mind tiktok can change the source code anytime soon once they realised smone compromised their app. This thread should be closed

Can I have your email address please ?

we got the code, but it's better leave it as private. The native was obfuscated so heavily, it's extremely hard to analyse or should I say crack it. For the sake of longevity it's better to remain private, keep in mind tiktok can change the source code anytime soon once they realised smone compromised their app. This thread should be closed

Can I have your email address please ?

<EMAIL_ADDRESS>

Any updates about this?
I'm Interested to help this project or just to purchase x-gorgon/x-khronos generation code..
Is there any group related to solving the problem with x-gorgon/x-khronos ?

Got a solution for it help me with decice registration and we are fine :)

Any updates about this?
I'm Interested to help this project or just to purchase x-gorgon/x-khronos generation code..
Is there any group related to solving the problem with x-gorgon/x-khronos ?

=>

Got a solution for it help me with decice registration and we are fine :)

How can I contact you? Do you have telegram, email, discord or any other kind of communication?

Got a solution for it help me with decice registration and we are fine :)

How can I contact you? Do you have telegram, email, discord or any other kind of communication?

Hey, can i join you ? I'm working on it now.

Got a solution for it help me with decice registration and we are fine :)

How can I contact you? Do you have telegram, email, discord or any other kind of communication?

You can contact me via Discord or Email :
Discord ; JoostCore#9355
E-Mail<EMAIL_ADDRESS>

Got a solution for it help me with decice registration and we are fine :)

How can I contact you? Do you have telegram, email, discord or any other kind of communication?

Hey, can i join you ? I'm working on it now.

Hey! I'm working on it right now too!
Please, text me using my discord..
Discord: fex0r#7089

JoostCore#9355

I sent to you a friend request
Discord: fex0r#7089

Got a solution for it help me with decice registration and we are fine :)

How can I contact you? Do you have telegram, email, discord or any other kind of communication?

Hey, can i join you ? I'm working on it now.

Hey! I'm working on it right now too!
Please, text me using my discord..
Discord: fex0r#7089

I sent to you a friend request.

I have the solution but this is not a good idea to share/sell it - it will just go to hell as it happened with Instagram and we don't want that.
The fewer people have an actual source code, the better.
Don't you think TT staff don't pay attention to these online discussions?

I have the solution but this is not a good idea to share it - it will just go to hell as it happened with Instagram and we don't want that.
The fewer people have an actual source code, the better.
Don't you think TT staff don't pay attention to these online discussions?

I have the solution but this is not a good idea to share it - it will just go to hell as it happened with Instagram and we don't want that.
The fewer people have an actual source code, the better.
Don't you think TT staff don't pay attention to these online discussions? Don't be silly guys.

@shipsource I am trying to learn Reverse engineering. Can you maybe share some of the code with me? I'm completely stuck

I found a way to generate X-Gorgon and X-Khronos.
In com.zhiliaoapp.musically (15-4-3) you have com.bytedance.frameworks.baselib.network.http.e and the function public static Map a(String paramString, Map<String, List> paramMap).
Wich return Xorgon & Khronos with url, and cookies.
Java.use("com.bytedance.frameworks.baselib.network.http.e")["a"](url, headersMap)
Good Luck!

@TheDoka very bad idea. The moment you start hitting it, TikTok will figure out and shut this down. I would suggest you to remove this comment so other people don't exploit it.

hi iam new at this stuff can anyone explain to me what is x gorgon and x khronos why tiktok use this

I have api for newest x-gorgon for rent. Email me at<EMAIL_ADDRESS>

@TheDoka Ive been generating this way over a year now.
here`s the code
        source = "".join((
            "rpc.exports = {",
                "sign : function(x, y){",
                    "var result;",
                    "Java.perform(function(){",
                        "const f = Java.use('com.bytedance.frameworks.baselib.network.http.e');",
                        "const HashMap = Java.use('java.util.HashMap');",
                        "const Map = Java.use('java.util.Map');",
                        "const MapEntry = Java.use('java.util.Map$Entry');",
                        "const ArrayList = Java.use('java.util.ArrayList');",
                        "const hashmap = HashMap.$new();",
                        "const map = Java.cast(hashmap, Map);",
                        "y.forEach(function(item){",
                            "const list = item[1];",
                            "const arr_list = ArrayList.$new();",
                            "for (var j = 0; j < list.length; j++){",
                                "arr_list.add(list[j]);",
                            "}",
                            "map.put(list[0], arr_list);",
                        "});"
                        "const ret = new Object();",
                        "const ret_map = f.a(x, map);",
                        "const ret_iter = ret_map.entrySet().iterator();",
                        "while(ret_iter.hasNext()){",
                            "const entry = Java.cast(ret_iter.next(), MapEntry);",
                            "ret[entry.getKey()] = String(entry.getValue());",
                        "}",
                        "result = JSON.stringify(ret);"
                    "});",
                    "return result;",
                "}",
            "}"

i have x-gorgon generation script in python. generates x-gorgon starting with 030xxxxxx
price $500
contact<EMAIL_ADDRESS>

i need proof
On Tue, Aug 18, 2020 at 5:58 PM xgorgon<EMAIL_ADDRESS>wrote:

i have x-gorgon generation script in python. generates x-gorgon starting
with 030xxxxxx
price $500
contact<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/szdc/tiktok-api/issues/102#issuecomment-675530447,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOEJVG7P2O6AT2EH2EKZALSBKJJDANCNFSM4HK3K74A
.

i need proof
…
On Tue, Aug 18, 2020 at 5:58 PM xgorgon @.> wrote: i have x-gorgon generation script in python. generates x-gorgon starting with 030xxxxxx price $500 contact: @. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#102 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOEJVG7P2O6AT2EH2EKZALSBKJJDANCNFSM4HK3K74A .

sure, contact me on my email

If you are looking for the full TikTok API for the newest app version,  with all the security features (x-gorgon, x-ss-stud, x-khronos, applog, xlog, device register, account register), contact me<EMAIL_ADDRESS>

Please don't advertise your closed source offerings for sale in an open source project.


[No ticket] Make seedrandom available to all

Purpose
Let you use Mirage in local development, not just in tests.
Summary of Changes
Modify the ember-cli-build file to add seedrandom everywhere if mirage is enabled
QA Notes
No QA
Ticket
No ticket
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1938

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 68.935%

Totals

Change from base Build 1935:
0.0%

Covered Lines:
4572

Relevant Lines:
6083

💛  - Coveralls


Support nested objects in GraphQl

This PR adds support for nested resource attributes in GraphQl. This is a work in progress.
Should/could resolve #243 and #244, there's not enough detail on the issues to be confident, however I've got working test cases for nested types and it's all behaving as expected.

@shaunc @futurist could you give this branch a go with your nested attributes and see if things start behaving as you'd expect? If you're using the jsonapi-store-* handlers the new nested attributes won't play ball with the schema driven databases yet.

👍
columns: J.array().items(
J.object({
datapoint: J.string(),
header: J.string(),
width: J.number(),
units: J.string(),
format: J.string(),
categoricity: J.string(),
align: J.string(),
evergreen: J.boolean(),
}))
In resource works :). For the moment, I'm just mocking with memoryHandler, so didn't try to interact with store. In postgres I store these fields as jsonb, btw, which will do for a relational db that supports it. If not, perhaps roundtrip to string and back by default at least?

to support nested objects in objects I changed
type: joiConverter.simpleAttribute(${attribute}${attr}, attr.schema) to
type: joiConverter.simpleAttribute(${attribute}${attr.key}, attr.schema, write)
line 32

Is there any blocker here? It would be great if this can be merged as soon as possible - in the best case with the additions of @Michael-Janke. We need this for an important project.
Thanks in advance!

I haven't merged this branch yet as I'm been digging through some performance optimisations. I've pushed up my local branch and linked it to this PR. I'm missing test coverage (or testing in general) around relationships defined within nested resources.

Well I've been testing with just plain objects and so far so good. Don't think we actually have a need for relationships in complex objects at the moment, but I guess it does need to be in there in the future 👍

@theninj4 any updates on this? :)

Is this meant to support Joi.object().pattern(/.*/, Joi.string()) (and similar) or should I open a separate issue for that?

Again: @theninj4 any updates on this? ;-)


Fix bug stemming the word "ion"

When attempting to stem the word "ion," I got this panic:
thread 'main' panicked at 'attempt to subtract with overflow', /home/paul/.cargo/registry/src/github.com-1ecc6299db9ec823/natural-0.3.0/src/stem.rs:273:29

Sorry for the late reply. I'll be jumping on to help maintain. This stemmer seems to have a few edge cases like that of which you've pointed out, and perhaps in the future a consideration will be to support more stemmers, especially those like snowball which are flexible and programmable.


What's the Python version?

The python version should be higher than 3.7

The python version should be higher than 3.7


Can't withdraw to DAI

The withdraw method has no effect and has no effect.
Here the tx : https://etherscan.io/tx/0x410a0a0d68118d112df30d935ea330112886a515dc83aa715019691e62f0aeb0
(tried 3 times)

Note, withdraw are all marked as processing here : https://loopring.io/account/withdrawals

Update @dong77
Withdrawals are marked as succeeded and all is fine ;)
Simple UX issue


driver: ssp: update Intel SSP DAI driver to support dynamic SSP link management

This commit refactors the Intel SSP DAI driver to support dynamic management of SSP links. The changes include the introduction of a new structure intel_ssp_link to encapsulate SSP link-specific data.
Key changes:

Add new static functions to manage SSP link power.
Update the DAI SSP configuration functions to use the new link management approach.
Update device tree bindings and instances to reflect the new SSP link management mechanism.

The new approach allows for more flexible and maintainable management of SSP links.
Related, necessary changes:

[ ] https://github.com/thesofproject/sof/pull/8980

@dnikodem @kv2019i all LNL tests look good :)

@nashif This would be ready to go.


Add integration test for OpenIDConnect

Contributes to #3199
This test ensures that the server redirects an unauthenticated user to the OpenID authority correctly.
Thanks to @halter73 for pointing towards a technique for mocking an OpenID authority for testing purposes.
Microsoft Reviewers: Open in CodeFlow

The test is failing on Linux:

IDX20803: Unable to obtain configuration from: 'https://localhost:38813/.well-known/openid-configuration'.

This doesn't happen locally. Pushing a change to capture more information in logs.

This isn't trying to do oidc on linux with https right?

As with other tests, nice to have in release branch


I can't enter my password

I can't enter my password, I follow this guide
Download KindleEar and uncompress it (Change the name of folder to 'KindleEar').
Download KindleEar-Uploader and unzip it.
Put KindleEar folder into Uploader directory, double-click uploader.bat to start process of deployment.

gae no longer supports uploader, please refer to readme to use gcloud command line

I can't create an app, can anyone give me an account or an app link? thank you very much

I updated the readme and FAQ, you can deploy it step by step.

I found a post in a Chinese site.
https://bookfere.com/post/19.html#ke_2_1
It's in Chinese, but you can translate by Google Translation.
This procedure don't need install GAE SDK and python, operate only in cloud env.

thankyou very much

I want to share many account, can you help me ?

Some pages I can't get news even though I have the rss link of that page. For example, the page https://cafebiz.vn/trang-chu.rss reports about nonews

many sites block ip from gae nowadays.

Can you help me edit Expiration in change info account ?

thankyou very much !

Is it really necessary?
Generally, after setting it up correctly, you rarely need to log in.
Or you can use google or lastpass to remember the password.
I only log in once a few months.


Adding language switch on main menu

Can you please add language setting on main menu so users can choose their preferred language?
Currently, user can only change language only after they logged in which will block some foreigners to use NEOLine in the first place.

Starting from version 0.10.0, when user first installed NEOLine, it will detect user browser language and change to proper language automatically. Default language is English.


Speed-up built times with this simple trick

Lastly, I got a surprisingly huge compile time speed up with one minor change: instead of mixin(item.replace(...)), I did static immutable x = item.replace(...); followed by mixin(x). This way the compiler wouldn't rerun the CTFE string replace every time, and instead cached it.

http://dpldocs.info/this-week-in-d/Blog.Posted_2020_01_06.html

Best of 4 unittest builds with DMD + x86 + --force
With the mixin "optimization"
=> min     0m4.110s
=> mean    0m4.390s
Without the mixin "optimization"
=> min     0m4.104s
=> mean    0m4.562s
Well this is below the measurement noise and doesn't seem to make any difference.


Properly parse a line to find a comment

Fixes #102.
Parse each line from beginning to end until you find the first valid comment character that:

is not within a quote (eg. "this is # not a comment"), and
is not escaped (eg. this is \# not a comment either).

A quote has two quotation marks, neither of which is escaped.
For example: "this is a quote \" with an escaped quotation mark inside of it"
Remove IsInQuoteMarks (yay!)

The issue was cleanly fixed and documented. Every change is transparent.


Compile with wasm-pack failed

I‘ve already install nightly toolchain, just like :
Default host: x86_64-apple-darwin
rustup home:  /Users/limodou/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin
beta-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)
1.56.0-x86_64-apple-darwin

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

nightly-x86_64-apple-darwin (default)
rustc 1.60.0-nightly (8cdb3cd94 2022-01-25)

So how to fixed the error? Thanks.

It seems that wasm's pointer size is 32bits.


fix a bug of curl download

just add an option '-L' , so now it can correct download

Merged as patch.


Add "Example Deployments -> Terraform" section to docs

Docs page giving an overview of deploying with Terraform and linking to https://github.com/firezone/firezone/blob/main/terraform/examples

Closing as dupe of #2620


JWT Profile Grant: return id_token if openid scope is set

Although JWT Profile Authorization is an Oauth2-only extension (there is no mention in the OIDC standard) it would be useful if we return an ID Token is the requested scope is set to openid. This is to have a compatible result with the rest of the toolkit, regardless of the method of authentication flow that is chosen.
Acceptance criteria

[ ] When scope openid is set, an ID Token to be returned to the client on JWT Profile Grant.

Furthermore, it would be desirable to have a refresh_token returned as well if scope offline_access is given.
Reason: This would allow to use the same token refresh mechanism (as is used for "auth code" grant type) in a client application.

@akaegi we did discuss this. But as the JWT profile grant already works without user interaction, there is no real offline_access. The app might as well just send a freshly signed JWT, instead of needing a refresh token.

I understand your reasoning @muhlemmer. However it produces more code on client side because token renewal has to be implemented manually. Otherwise this can be handled by most libraries that automatically renew access tokens based based on the "refresh token grant".

I also understand your reasoning. However, we enforce the grant type on the token endpoint by OIDC client config. For refresh_token the OIDC config must contain that grant. In our current model, only OIDC apps have OIDC config. But JWT profile can be used by so much more, like APIs and service users. If those apps would start sending refresh tokens, they would simply get an error back that the grant is not allowed. So supporting refresh tokens here, is not as simple at the moment. This limitation is also present for other features and I'm currently rethinking the data model to unify the different App types we have, but I don't have anything formal yet.
Currently this issue discusses returning an ID token. We estimated this to be an easy fix that takes us less than a day, hence we categorized it as "Small issue". Adding refresh token functionality to this issue won't fit that definition anymore by the above reasoning. Hence, we will probably not do it now. I suggest you open a separate issue / feature request which can be estimated independently.

https://github.com/zitadel/zitadel/pull/7822 would fix this

It would fix it only for zitadel through the custom implementation of the ClientCredentials server method. Is that sufficient for the requested usecase?

Thank you @muhlemmer for implementing this extension 🙏
When trying to incorporate it into our mobile app I ran into the following issue: The returned id_token has its client_id claim set to to the user id of the asserted user as given by the assertion. However I'd like the client_id to be the mobile app's client_id (and have it in the aud claim as a consequence). Otherwise the id_token validation will fail on mobile app side.
Any idea on how I could either pass the client_id (currently ignored if passed to the token endpoint) or request it to be added to the aud claim?
@livio-a
Many thanks for your support,
Andreas

@akaegi with the urn:zitadel:iam:org:project:id:{projectid}:aud scope you can add the entire project of the client into the audience, making it valid for that app. Would that solve your issue?

Unfortunately no. I already added the project scope and have no problems with access_token validation on API/server side.
The problem is that the client-side OIDC library checks whether the configured client_id (of the mobile app) is part of the audience claim (this is according to OIDC specs)
Apparently, the client_id is currently somehow "fixed" to the service user id that is tied to the assertion of the jwt-bearer grant, see screenshot below (service user id ends with 0383)

@akaegi when mixing Oauth2 authentication methods with OIDC compliance, such collisions do occur. JWT Profile for client authentication is not part of the OpenID Connect specs.
RFC 7523, Section 3, item 2B specifies:

For client authentication, the subject MUST be the "client_id" of the OAuth client

I'm also surprised. Are you storing a private key in a mobile app, use it for end-user authentication and then pass the tokens to an OIDC library for verification? This doesn't sound like a good security practice, as malicious actors may try to obtain such private key using reverse engineering techniques.
Perhaps your use case confuses me. May I suggest a new discussion to be opened that describes the complete use case and explain how that use case can't be fulfilled using regular authentication flows? As I wasn't part of the talks that were held with @livio-a, I'm just guessing here.

Thank you @muhlemmer for your clarifications. If client_id must be the same as sub, then I should address it on client side I guess. I probably mixed the two auth flow use cases (normal users vs. anonymous users) in my mind.
Described case is for anonymous user API access and is as follows:

Mobile app obtains assertion from server
Mobile app uses jwt-bearer grant to obtain access_token for anonymous API access.

The id_token is rather a by-product not really used on app side for anonymous users but nevertheless checked by the used oidc library. Now thinking about it again, it probably makes sense to have client_id="anonymous user id" in this case. I'll tweak the library so that id_token verification can still succeed.
In any case, no "secrets" whatsoever are stored on mobile app side.
Long story short: No more actions required on your side, thank you :-)


chore: 🤖 export angular modules

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we've created for it: angular


Added exit_app to end tests

@yhql Fixed sdk_test_runner so that after the tests are done, the application will stop

Hi, exit_app is called at the end of the test main function here https://github.com/LedgerHQ/ledger-nanos-sdk/blob/master/src/lib.rs#L235
Did you try to use the test framework from an app perhaps?

@yhql Hi, yes, I implemented unit tests and ran them with the cargo test. Only adding exit_app(0) to sdk_test_runner helped

Hi, apologies for the delay!
I wanted to reproduce the problem first to see where it blocks, but I couldn't. I modified the rust-app locally with this kind of changes:
#![feature(custom_test_frameworks)]
#![reexport_test_harness_main = "test_main"]
#![cfg_attr(test, test_runner(nanos_sdk::sdk_test_runner))]

#[cfg(test)]
#[no_mangle]
fn sample_main() {
    test_main();
    nanos_sdk::exit_app(0);
}

without adding exit_app to the end of the test runner, and it runs tests succesfully.
Do you have a code sample you could provide that reproduces the problem?

@yhql Yes, it really works! Maybe I was using a rather old version of the library.
I think we can close PR

Ok thanks !

@yhql Hi, I was able to catch the error. Apparently I didn't explain it correctly, I use custom_test_frameworks implemented in ledger-nanos-sdk in my project. That's why stopping tests doesn't work for me.
It would be logical to put exit_app(0) in sdk_test_runner. I can create a new PR


[Bug] [PUT WHICH GAME HERE]:

Issue Summary:
I’m having a strange technical issue that I wonder if you could help me with?
On both MGS2 and 3, occasionally, when I load the game through the launcher it’ll pop up the game in a small window and my mouse cursor will be tied to the centre of the screen. I’ll need to ctrl alt delete task manager to kill the game (I’ll get an application crash error in event viewer).
I decided to disable the launcher and, while I don’t get the above issue, occasionally the game won’t load at all and will again show an application crash error in event viewer.
In all instances the game will run on the second attempt (after the crash) without issue.
Just wondering if you have any thoughts on this or if there’s anything I can try. Let me know if you need more info.
Cheers :)
MGSHDFix & Game Version Numbers:
Latest version of MGS2 and 3 Master Collection 2.0.1 + latest beta version of the HDfix
both MGS 2 and 3
Log Files:
MGSHDFix.log
MGSHDFix.log
Specs:
4090, 14700kf, z790 msi mag tomahawk wifi, 32 GB DDR5 ram

Just to add - I tried the DXVK fix (Use DXVK  and the game wouldn't load at all then.
My CPU doesn't have integrated graphics.


Components with dependencies contain duplicate styles

I'm using v.2.4.1 installed via Bower.
I noticed that dist/components/CommandBar/CommandBar.css includes the styles associated with ContextualMenu. Is that by design?
They seem to be the same styles as ContextualMenu component, so I assume this is not the intended behavior?.
/Paul.

As the CommandBar can contain a ContextualMenu, we've included the styles for both components in CommandBar.css to ensure that the dependency is met and everything works well. However, this simple method of handling dependencies is now deprecated in favor of custom bundling which results in much less duplicate code. We should remove these duplicate styles for dependencies and recommend bundling going forward.

Glad to hear that it should be corrected and thanks for the pointer to the custom builds. I'll certainly will looking into it.
Paul
-- sent from mobile

We discussed this today and agreed that it's not necessary to include the dependency CSS within each component's CSS. Instead, our documentation will make those dependencies clear and you'd just be expected to include all of the required CSS files.
This allows for a simple method to use a small subset of components (without duplicate styles) while custom bundling will remain the recommended method. We will do the same thing for components that require JavaScript.

That's excellent @mikewheaton. That will make it much easier to use only what we need in custom solution without having to clone the project and run a custom build.
(FYI: I was including Office UI Fabric components into an existing project using LESS, thus the built individual .css files are very helpful)

Fixed by PR #615. The component folders within dist no longer contain CSS files, only Sass, and those files don't have references to dependencies. This makes for smaller file sizes with no repeated styles.


Pattern validation is not working with @Pattern definition generated from the java project.

Here is a sample @Pattern definition:
{"flags":[],"regexp":"/((?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,100})/","message":"{javax.validation.constraints.Pattern.message}"}

We can see that the regex is being stored in "regexp" field, NOT in constraint.value as seen in valdr.js L427. (var pattern = asRegExp(constraint.value))
Don't know who should fix this, the integrating project that is generating the @Pattern annotation definition or valdr.js.

According to https://github.com/netceteragroup/valdr#pattern the field is called value and not regexp.
There was a related bug in valdr-bean-validation which was fixed with https://github.com/netceteragroup/valdr-bean-validation/pull/28. It'll be part of the upcoming release.

Fixed in valdr-bean-validation 1.1.2: https://github.com/netceteragroup/valdr-bean-validation/releases/tag/valdr-bean-validation-parent-1.1.2


static Model::formName()

I know it was asked about before but not sure if the previous reasons against still apply?
I don't think this is valid any more due to the way objects are initialised, https://github.com/yiisoft/yii2/issues/3362#issuecomment-42211279
formName could be changed to static and use get_called_class().
Any existing code should still work as php allows an instantiated class to call a static method.
e.g. $model->formName()

formName must be generated with scenario

what change do you propose and why do you think it is needed?

It would allow you to get the form name without needing to create an object.
Yii::$app->request->post((new Model)->formName())
Could be done as
Yii::$app->request->post(Model::formName())
Just feels a bit cleaner than creating/initialising a model object.

Where need get model data without create model instance?

The design of formName() is that the same model class can have different instances, each with a different form name (imagine you have two forms of the same model class on the same page).

Been a long day and I know it'll be obvious when I see it but how can separate instances of the same model return different values in formName

@Alex-Code for example a User model can have a signup form and a login form handled by the same class with different validators.


adding details and diagrams for external PRA/contributor access to EES

Added more detailed info/diagrams to show process of adding external users for both PRA and contributor access on EES

I believe in other embedded stuff we remove the frame thing before embedding it (i.e. the hex diagram) - it's a setting in the site before you get the embed code :)

I believe in other embedded stuff we remove the frame thing before embedding it (i.e. the hex diagram) - it's a setting in the site before you get the embed code :)

Think I've fixed this now 😄

I believe in other embedded stuff we remove the frame thing before embedding it (i.e. the hex diagram) - it's a setting in the site before you get the embed code :)

Think I've fixed this now 😄

The bar around the top still appears on hover, is that intentional?


Initialize tenancy outside tenant routes

Hi there,
I was hoping someone can help me out with the following.
I'm using tenancy in combination with Nova to manage multiple customers. All those customers have their own database with only 1 table in it. In nova I made a resource to manage this data, but when loading this resource it is only displaying the data from the default database.
Is it possible to initialize a tenant database based on for example some prameter data from the visited url. Or to choose from a dropdown select which contains all of the tenant options available.
I hope my question makes sense.
Thanks

Hi,
Maybe this can help? https://tenancy.samuelstancl.me/docs/v2/tenancy-initialization/#tenancy-initialization
And if you want to initialize tenancy just for a few commands, you can use $tenant->run(): https://tenancy.samuelstancl.me/docs/v2/tenants/#run


Feat: Get all merged prs of a user

Describe the feature
I would like to contribute to the user class in github, where there will be a function that will return total number of merged pull requests that user has made.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC 23 contributor
[X] I want to work on this issue

@nikhil25803 please assign me this issue

@nikhil25803 please assign me this issue

Sounds good @ritik48 |


fix: actually set parallel to true by default

Resolves #32

Seems like there are some tests that fail I'm assuming because they actually don't work in parallel mode (haven't had a chance to check in detail yet). So we need to explicitly disable parallel in those tests.
I wonder if for tagging this release it's okay to just do a minor or patch version bump with a warning that upgrading may break some tests that depended on this bug.

I'll leave that up to you.
In case you aren't aware, the test suite also trips the race detector in several places.

In case you aren't aware, the test suite also trips the race detector in several places.

Okay, thanks for letting me know! I'll create a separate issue for that. I think let's merge this now, but I want to fix those issues before tagging a new release. It looks like some of these issues could be problematic in parallel execution.


[website]Add new files on tutorials and community part

Description
According to issue (#1081), the main structure of the website examples part needs to be refactored. Currently this pull request deals with tutorials and community part of this issue. This pull request deals with almost all the remaining work that needs to do in the tutorials and community part except major enhancements. All existing structure of the examples part of the website are modified accordingly. For major enhancements, like the gallery, will be added later.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

cc @dmlc/gluon-nlp-team

Job PR-1162/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1162/2/index.html

Job PR-1162/4 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1162/4/index.html

Job PR-1162/7 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1162/7/index.html

Job PR-1162/8 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1162/8/index.html

Job PR-1162/10 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1162/10/index.html


chore: Add Ruby 3.0 to CI

Closes #533
Caveats:

Currently, the Ruby 3.0 test omits the otlp exporter, because google-protobuf is not yet compatible with Ruby 3.
The Ruby 3.0 test also omits versions of ruby-kafka older than 1.3 because of an unexplained test failure. It's possible the libraries are incompatible with Ruby 3, but I'd like to get a separate opinion on that since I'm not familiar with ruby-kafka.

Notes:

Updated Appraisals of excon, faraday, and graphql instrumentation to omit versions that run afoul of what appears to be a Ruby 3 regression (https://bugs.ruby-lang.org/issues/10499)
Updated the Appraisal for instrumentation-rails to omit Rails 5.2 under Ruby 3 because of keyword argument compatibility.
Updated the Appraisal of sinatra to use 2.1 instead of 2.0.7 because of Ruby 3 keyword argument compatibility.
Fixed test cases in common and instrumentation-redis that ran afoul of Ruby 3's keyword argument change.

@robertlaurin The ruby-kafka test "Producer tracing traces async produce calls" is timing out on Ruby 3 and I don't understand why. (I tried increasing the timeout 10x and it's still failing.) Can you take a look at it?

@robertlaurin The ruby-kafka test "Producer tracing traces async produce calls" is timing out on Ruby 3 and I don't understand why. (I tried increasing the timeout 10x and it's still failing.) Can you take a look at it?

Tests are now passing. However, see the caveats, in particular the ruby-kafka issue noted above.

Tests are now passing. However, see the caveats, in particular the ruby-kafka issue noted above.


How to use format

How to use formatting for Vue files?
I have enabled the settings in my configuration file, but the formatting is invalid

nothing changed!

Same issue here. Setting Vue-Official as the formatter does not work.

For anyone who is seeing this issue, here's the solution for me.

In a vue file, click the Vue button in the bottom right corner of VSCode, and select "Configure 'vue' languange based settings..." from the pop-up window. [^1]
Add "editor.defaultFormatter": "Vue.volar" in [vue].

{
    // add formatter setting for vue files
    "[vue]": {
        "editor.defaultFormatter": "Vue.volar"
    }
}

[^1]: Or directly open your settings.json somewhere to add the setting.


feat: new solutions upgrade

Description

Downgrade terraform ibm provider version to 1.49.0 to make it compatible with secure landing zone vpc module.
Reorganized the example folder structure
Upgraded the examples to have a full stack solution (secure landing zone vpc plus Powervs infra deployed in one go).
Renamed the flavour for IBM catalog

Types of changes in this PR
No release required

[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other changes that don't affect Terraform code

Release required

[ ] Bug fix (patch release (x.x.X): Change that fixes an issue and is compatible with earlier versions)
[ ] New feature (minor release (x.X.x): Change that adds functionality and is compatible with earlier versions)
[x] Breaking change (major release (X.x.x): Change that is likely incompatible with previous versions)

Release notes content

Downgrade terraform ibm provider version to 1.49.0 to make it compatible with secure landing zone vpc module.
Reorganized the example folder structure
Upgraded the examples to have a full stack solution (secure landing zone vpc plus Powervs infra deployed in one go).
Renamed the flavour for IBM catalog
Added json validation for powervs extension flavour

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Merge by using "Squash and merge".

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author.
The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).

@kbiegert updated the ibm catalog json file.
@Beilmann : need your help for the description (under image in ibm_ctalog.json) and in the readmes.
@SirSpidey need your help for review.

@surajsbharadwaj Please confirm this is going to be a minor version release and has no breaking changes. For the release notes, I think we just need this: feat: added support for more PowerVS zones: wdc04, us-east, us-south, dal12, dal13, tor01, tok04, osa21, sao01, mon01 (required IBM provider also updated to >=1.49.0)

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

GitHub release
v6.1.0

Your semantic-release bot :package::rocket:


Remove Chrome 85 references

Chrome 85 has been stable for almost a month now, so it is probably not worth mentioning any more (except maybe for ChromeOS).

Fixed by https://github.com/pybricks/pybricks-api/commit/7b23db5abd6adffaa897cfbee44d15745742421a


There's a banner that looks like a regular paragraph—style it

As per #1835, we seem to have a class banner-native-code-required used to alert people to the possible need to eject their Expo projects scatter throughout the site—but the warnings blend in (a little awkwardly) with the surrounding text. These should be made to stand out. Here are all the pages using it: https://github.com/facebook/react-native-website/search?q=banner-native-code-required&unscoped_q=banner-native-code-required
Heads up to @brentvatne

Can we just replace those blocks with markdown quote block like on the Linking page?
If they should be styled differently than note/quote blocks (ex. based on red colors not yellows) please specify the preferred styling.

We could, but I think we overuse that yellow box: is it a note, a warning, an aside? Would be nice if we could do something a little more designerly and specific for this case... kinda like the call out at the top of the new getting-started


Sorry for English! Are builds working for macOS?

I'm running an M1 Mac, but I can't get any of the downloads from the download server to run on my machine. Also all of the build artifacts have expired on github.
I will set up to build myself, I just wanted to try it out first

M1 Mac is running macOS(kernel called darwin), not linux, and current master branch is an old version, which only supports the compilation of binaries for Linux environments.
I'm rebuilding this project. The new version will support statically compiled binaries of macOS and Windows. But it is a big project, I need to debug every library needed for compilation. In a word, the new version has not been released yet. See discussion #29 .
But if you are interested in this project, I can compile a macOS static binary using my MacBook. Please provide the extensions you need to use.

Thanks for replying in English 🙏
I'm very interested in the project and happy to support your efforts to bring about this new version. Are you accepting sponsorship anywhere?
I'd love for there to be a set of portable and reliable PHP executables!
Extensions I'm using:

curl
redis
mbstring
openssl
ftp (--enable-ftp)
gd
pcntl (--enable-pcntl)
pdo with sqlite (I think this is enabled by default)

Thanks. I have tried these extensions on mac, and some extensions are not implemented, such as sqlite (required by pdo_sqlite), ftp, mbstring.
And I compiled a binary with curl,redis,openssl,gd,pcntl. By the way, openssl may not work well, because the binary does not contain any ssl certificates.
Because the API of the macOS system is always changing, and Mach-O binary cannot be compiled into a pure static file, the binary I compiled may not work on your mac. Your test will help me a lot.
php.zip

Thank you for supporting this project, but I currently have no account to receive international sponsorship. Maybe I will create one in the future. I would be more happy if someone could provide optimization for this project.

It works! This is brilliant.
I think it's quite critical to have access to SSL certificates as curl is kind of useless without that. What would it take to do that?
And for my needs, SQLite would be the most important thing after that.
With those things in place, I think we'd have a pretty functional distributable PHP binary.
If there's anything I can do to help you, please let me know.

不就说curl 没有配置证书嘛,那就配置一下，运行时配置就可以了
example :
mkdir -p /tmp/ssl/

wget https://curl.se/ca/cacert.pem  -O /tmp/ssl//cacert.pem

php  -d "curl.cainfo= "/home/jingjingxyk/ssl/cacert.pem"   your_application.php

# or
echo '"curl.cainfo="/home/jingjingxyk/ssl/cacert.pem"' > /tmp/my_custom.ini

php -c  /tmp/my_custom.ini  your_application.php

$ca=" /tmp/ssl//cacert.pem";
ini_set('curl.cainfo', $real_path);
ini_set('openssl.cafile', $real_path);

more :  https://www.php.net/manual/en/curl.configuration.php#ini.curl.cainfo

Ok, so I'm getting Error:Protocol "https" not supported or disabled in libcurl and when I check out php -i for this binary, I see the following for curl, where SSL and Multi SSL are disabled:

So I don't think it's necessarily a lack of certificates that's preventing it connecting - at least that doesn't appear to be the immediate issue (maybe it will be a problem after this is resolved?).

Oh, I found a bug. It just a compile order problem. I need to compile openssl at first in order to enable ssl in curl extension.
php.zip

@crazywhalecc  可参考这里哈，最近几天刚完成的
https://github.com/swoole/swoole-cli/blob/main/conf.d/curl.php
brotli : https://github.com/swoole/swoole-cli/pull/71/files

@crazywhalecc 可参考这里哈，最近几天刚完成的
https://github.com/swoole/swoole-cli/blob/main/conf.d/curl.php
brotli : https://github.com/swoole/swoole-cli/pull/71/files

感谢，不过我目前还在调试一些别的东西，最近工作也比较忙，这些问题后续有时间再处理。这个项目如果你有意愿参与的话，我可以在完成框架后邀请你加入本项目，后续可以采用 PR 互审方式更新。

@crazywhalecc that latest build works fine with SSL on my M1 (my test was basic curl https://example.com)
So for me, it would just be the PDO + SQLite that's needed now. Please let me know if there's anything I can do to help

Now I have built a binary with sqlite3 extension, but pdo_sqlite extension has a linking issue. This is a strange problem, and I haven't found a solution yet.

@simonhamp Solved. Now with pdo_sqlite.
php.zip

Now refactor branch has supprted sqlite3 and pdo_sqlite.

Thanks for this, I hope to try it this week.
I'd love to know more about how you set this up so I can run these builds myself

Thanks for this, I hope to try it this week.
I'd love to know more about how you set this up so I can run these builds myself

For mac, just use homebrew install this package first: ['make', 'bison', 'flex', 'pkg-config', 'git', 'autoconf', 'automake', 'tar', 'unzip', 'xz', 'gzip', 'bzip2', 'cmake']. And don't forget install php.
To setup static-php-cli, git clone https://github.com/crazywhalecc/static-php-cli.git --branch=refactor, composer update.

Fetch resources: bin/spc fetch --all
Build static php binary with extensions: bin/spc build sqlite3,ftp,curl,openssl,tokenizer,bcmath
Build phpmicro binary with extensions, just add --build-micro or --build-all option.
If anything goes wrong, add --debug option or send me feedback here.
Source archive or git repo will be downloaded at downloads/, lib source will be extracted at source/, required libraries will be compiled to buildroot/, and final php binary path will tell you in terminal.

@crazywhalecc just want to say how awesome this is. I've managed to get builds running on my Mac with no trouble!
I'm still trying to get the right extensions installed, but this is a huge leap. Thank you 🙏


Add some sort of cloud syncing to the cover letter view

We need to have data stored in iCloud so we can demonstrate pausing this and resume this around an active Writing Tools session so Writing Tools does not mess up the stored text.
Pasting in from discussion with @drmarkpowell:

Store each cover letter and the skills in SwiftData
Make some SwiftData classes and start saving them
Make sure we can use a binding to connect up one of the letter text String parameters (Letter.body?)  to the UIKit-hosted text view and edit it successfully

Add models for

address block
salutation
closing
letter

Adding further thoughts from @drmarkpowell as we discuss an easy yet meaningful way to demonstrate the tools pause and resume:
Maybe we can just write changes to a file in documents, or UserDefaults?
That’s all Josh did for App Intents…put all his “database” into a local data file
Maybe we could have a simple “file backup” handler that version controls your edits as you write, and just disable/enable that.
Then it’s completely under your control
You can just define a struct that’s Codable and read/write it at the proper time whenever you see fit, and “pause” it for Writing Tools changes
Link to Josh's repo to see what we can glean: https://github.com/kodecocodes/m3-sai-materials


observed error at  BENCHMARKS = _LoadBenchmarks() in linux_benchmarks/init.py

Executed below pkb command and observed error.
command - /pkb.py --cloud=Azure --machine_type=Standard_DC8s_V3 --benchmarks=coremark
Error - BENCHMARKS = _LoadBenchmarks()
return list(import_util.LoadModulesForPath(path, name)) in _LoadBenchmarks
observed above error at  linux_benchmarks/init.py file

Hi, could you please share the entire pkb log.
In the command, machine type should be Standard_DC8s_v3 (lowercase v). This might not be cause the of the error.

Please reopen if this is still happening and share more details.


Update office-365-ip-web-service for issues #321 and #377

This PR solved the issues #321 and #377

@mypil  and @nenonix as you requested only one PR to solve the issues #321 and #377 the other conflicting PRs was closed already !

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@ojrb - we need your kind assistance to merge the new commit for the copy/edit review made by JohanFreelancer9 or make the necessary changes on the PR following the suggestions he made. Also, kindly check on what may have caused the branch conflict. Thank you.

@kelleyvice-msft - This is the new PR created to address issue #321 and #377. There is a branch conflict but can you please assist to check, approve and merge the content of this PR? Or advise if there's something that needs to be changed so we can have @ojrb make the necessary changes if required.
Thank you.

Please provide a PR without conflicts, and I will merge it.

@ojrb - you may have to close this PR again and create a new PR which would have no conflicting files.

@ojrb - you can now close this PR. Thank you.


fix(yazi): update exec to run under help

exec is not used in version 0.3.1

Summary by Sourcery
Fix the theme configuration by updating the key 'exec' to 'run' in the help section to reflect the correct usage in version 0.3.1.
Bug Fixes:

Correct the key from 'exec' to 'run' in the help section of the theme configuration.

thanks!


imported data can not called in the editor,but can be called in the interpreter

Description
What steps will reproduce the problem?

imported data can not be called in the editor, but can be called in the interpreter.
To run the program edited in the editor, shortcut 'f5' response a name not defined error.
Copy the file to the interpreter work.
 Running a script using runfile seems to run it in a sperate console without any variables present that were defined before.
This only happened to me today after updating my Linux machine to Sypder 4.0 (via Anaconda) though, yesterday on a different Windows computer I had no issues with this.

@areur3ady, @daharn, sorry for the confusion but the previous behavior led to a lot of headaches for newbies, so teachers requested us this feature.
Besides, it incorrectly made your code to depend on the current state of your namespace, which also generated big issues with reproducibility.
Therefore, we don't plan to go back to the previous default, sorry.

Thank you for the clarification. Of course, that decision is yours to make.
Funny, it probably really depends on your coding background which behavior occurs more "natural" to you. As someone coming from matlab (as supposedly many who use spyder), I always considered scripts and console to share the same workspace. Otherwise, what is the point in having both opened alongside?
But I also understand that from a more traditional programming view, it makes sense to run each script in a "fresh" environment.


how to compile a libCommon.a that can be used on Android Platform?

I compiled it with NDK  toolchains on Ubuntu ,  errors happened like X11/Xlib.h' file not found? Anyone knows how to solve it?

It sounds like it's building the Linux/X11 version instead of the Android version.  It should be using this: https://github.com/danginsburg/opengles3-book/blob/master/Common/Source/Android/esUtil_Android.c
@javedrabbani can you advise?

@perfectworld0415 Can you please share how you are building on Ubuntu? I mean please share how you are invoking CMake to build for android?

@perfectworld0415 Can you please share how you are building on Ubuntu? I mean please share how you are invoking CMake to build for android?

@perfectworld0415 Can you please share how you are building on Ubuntu? I mean please share how you are invoking CMake to build for android?

Cmakelist.txt:
set ( common_src Source/esShader.c
Source/esShapes.c
Source/esTransform.c
Source/esUtil.c )
Win32 Platform files
if(WIN32)
set( common_platform_src Source/Win32/esUtil_win32.c )
add_library( Common STATIC ${common_src} ${common_platform_src} )
target_link_libraries( Common ${OPENGLES3_LIBRARY} ${EGL_LIBRARY} )
else()
find_package(X11)
find_library(M_LIB m)
find_package(Threads)
find_library(android-lib android)
find_library(log-lib log )
# set( common_platform_src Source/LinuxX11/esUtil_X11.c )
set( common_platform_src Source/Android/esUtil_Android.c )
# add_library( Common STATIC ${common_src} ${common_platform_src} )
add_library( Common SHARED ${common_src} ${common_platform_src} )
target_link_libraries( Common ${OPENGLES3_LIBRARY} ${EGL_LIBRARY} ${X11_LIBRARIES} ${M_LIB} ${CMAKE_THREAD_LIBS_INIT} ${android-lib} ${log-lib})
endif()
Cmake : cmake -DCMAKE_TOOLCHAIN_FILE=/home/codingbo/Liuqc/android-ndk-r20/build/cmake/android.toolchain.cmake
-DANDROID_ABI="arm64-v8a"
-DANDROID_ARM_NEON=ON
-DANDROID_STL=c++_static
-DANDROID_PLATFORM=android-24
..
error : CMakeFiles/Common.dir/Source/Android/esUtil_Android.c.o: In function android_main': /home/codingbo/Liuqc/WorkSpace/opengles3-book-master/Common/Source/Android/esUtil_Android.c:142: undefined reference to app_dummy'
CMakeFiles/Common.dir/Source/Android/esUtil_Android.c.o: In function HandleCommand': /home/codingbo/Liuqc/WorkSpace/opengles3-book-master/Common/Source/Android/esUtil_Android.c:86: undefined reference to esMain'
/home/codingbo/Liuqc/WorkSpace/opengles3-book-master/Common/Source/Android/esUtil_Android.c:86: undefined reference to `esMain'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Common/CMakeFiles/Common.dir/build.make:148: recipe for target 'Common/libCommon.so' failed


Implement shipping command

This will output both avatars with a heart in between as well as their ship name, using JIMP

https://github.com/Favna/Ribbon/blob/e6ff427afb45a5199225ee56a5d0080e68823b5f/src/commands/games/ship.js#L43-L72

This issue was created based on a @todo comment in e6ff427afb45a5199225ee56a5d0080e68823b5f. It's been assigned to @Favna because they committed the code.

Added in e18c6779cc6a804bb0afaaf633723e479d403643


Bug report. I think we need MSELoss.

Please do no remove mse_loss.py. I noticed that the file "mse_loss.py" has been removed, specifically the MSELoss module. However, this removal has caused some unexpected errors in the current version.

The new version has support for using torch's native torch.nn.MSELoss directly, and the redundant custom MSELoss is removed. All similar Losses can be used directly without the need for additional packaging.


Documentation needs updated

This article states that "Power BI is a free service for users in your organization to connect to, analyze, and securely share data with others. "  This is not quite correct.  You cannot share content without a Pro license.

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

ID: f27380ae-e2d6-7d32-b573-5c9a08592164
Version Independent ID: b17e2ed4-9b79-0fd3-efa9-e62f73dc5cb4
Content: Using self-service sign up in your organization
Content Source: Office365-Admin/misc/self-service-sign-up.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@RustyNailz77 Thank you for pointing this out
I will get this update information over to the o365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.


Add api-version to allowed query params for Key Vault

Fixes #7860

Don't you want to enable more headers? Keyvault server sends a bunch:
        "Cache-Control": "no-cache",
        "Content-Length": "101",
        "Content-Type": "application/json; charset=utf-8",
        "Date": "Wed, 18 Sep 2019 23:16:52 GMT",
        "Expires": "-1",
        "Pragma": "no-cache",
        "Server": "Microsoft-IIS/10.0",
        "Strict-Transport-Security": "max-age=31536000;includeSubDomains",
        "X-AspNet-Version": "4.0.30319",
        "X-Content-Type-Options": "nosniff",
        "x-ms-keyvault-network-info": "addr=<IP_ADDRESS>;act_addr_fam=InterNetwork;",
        "x-ms-keyvault-region": "westus",
        "x-ms-keyvault-service-version": "<IP_ADDRESS>8",
        "x-ms-request-id": "0553a186-831f-49e9-9530-da5da8823c1b",
        "X-Powered-By": "ASP.NET"


Crash due to Access Violation

I've got an Access Violation today after this mod has been updated. The crash occurs when the game finishes loading. Mod version is 0.6.7 beta. The game can't be played at all. Crash directory: 2022-01-07_100006.zip

Your game crashed from the beginning starting from Loading Screen Mod, Lots of assets failing to load with Direct3D11 failures. In the end, Prop Anarchy was trying to load an icon image, and failed.
My advice to you is to first start a new map and see if it runs. If it doesn't, then remove all mods, with --noworkshop and try starting a new game. If that fails too, then remove all assets and try starting a new game. If that fails, then you will need to re-install the game.

When creating a new save, the game does not crash, but creates a new crash directory
Log: output_log.txt
New crash directory: 2022-01-07_111720.zip
LSM report for existing save: NewSave - Assets Report-2022-01-07_10-02-23.zip
Existing save file, in which game crashed:  NewSave.zip
Compatibility Report: CompatibilityReport.txt
Mods and assets: https://steamcommunity.com/sharedfiles/filedetails/?id=2710961780 and https://steamcommunity.com/sharedfiles/filedetails?id=2104775567


Add new metadata source based on steamdb.info

Describe the solution you'd like
It would be great to have steamdb.info as another metadata source, especially because they have a customized score for most of the games based on Steam reviews, the number of positive and negative reviews, and even the current number of players that are playing.
Screenshots

Steam library plugin and Universal Steam metadata plugins already use their custom algorithm to calculate score.
It's not possible to show number of reviews because Playnite doesn't support that info as a game field.


Confusing documentation in the hit dice section of Roll Formulas article

@attributes.hd.largest - The denomination of the actor's largest hit die (e.g. "d8").
@attributes.hd.smallest - The denomination of the actor's smallest hit die (e.g. "d8").

These two lines from
https://github.com/foundryvtt/dnd5e/wiki/Roll-Formulas#hit-dice doesn't seem to actually "convert" into that format, whenever I try to use these, it converts to "1d8". Since the validation errors can be a little esoteric, I think the documentation could be improved.

That seems odd, cus this is the getter:
  /**
   * The largest denomination.
   * @type {string}
   */
  get largest() {
    return `d${this.largestFace}`;
  }

That seems odd, cus this is the getter:
  /**
   * The largest denomination.
   * @type {string}
   */
  get largest() {
    return `d${this.largestFace}`;
  }

Thanks for checking, it's apparently a feature of damage/healing formula, I've corrected the ticket

Thanks for checking, it's apparently a feature of damage/healing formula, I've corrected the ticket

It might be this, then: https://github.com/foundryvtt/dnd5e/issues/4889

The error suggests it's slightly different. The dev gang might actually have seen that ticket's issue and add in the safeguard causing this ticket, since it seems to evaluate "loose" dice like d8, d10 etc. to 1d8 and that's causing the validation error, since it's not actually "loose" dice, but part of a larger operation.

Temporary workaround: (ceil<EMAIL_ADDRESS>The issue is that @attributes.hd.largest is being treated as 1 for validation purposes, so it ends up looking at (ceil(1/2))1 which it considers invalid. So throw in the d manually and in validation it'll look at (ceil(1/2))d1 and go "yep that's valid."


non-ASCII symbols in login/password

I'm trying to connect to the remote desktop that has non-ascii symbols(cyrillic) in it's login. And debug console says that there is an error: ERRCONNECT_CONNECT_TRANSPORT_FAILED.
mstsc.exe works perfectly with this remote desktop.
I'm using windows 7 and the latest version of FreeRDP.

@melanholy how do you supply the username/password?

wfreerdp.exe /v:<IP_ADDRESS>:3390 /u:Менеджеры /p:123

can you try with
wfreerdp.exe /v:<IP_ADDRESS>:3390 /u:"Менеджеры" /p:123
or
wfreerdp.exe /v:<IP_ADDRESS>:3390 /u:'Менеджеры' /p:123

both don't work.

i am unsure for windows, but for passwords with similar issues on linux, make it prompt instead. so /p:  (not sure about the ":") should make it prompt. Or maybe try without /u: /p: etc.
wfreerdp.exe /v:<IP_ADDRESS>:3390 /u: /p:
wfreerdp.exe /v:<IP_ADDRESS>:3390 /u /p
wfreerdp.exe /v:<IP_ADDRESS>:3390
etc, whatever makes this version of the client prompt for username and password instead.

@melanholy The windows client command line unicode support is non existent. Would need some patching to read in the unicode arguments and convert them to utf-8 for internal use.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683156(v=vs.85).aspx and https://msdn.microsoft.com/en-us/library/bb776391(VS.85).aspx

@melanholy Try #3116, that should fix it.

it works, thank you! now waiting for merge


Move CachePadded to separate sub-crate?

I have been using https://github.com/smol-rs/cache-padded/ as a dependency until it has been deprecated (https://github.com/smol-rs/cache-padded/pull/11) and then, as suggested, I switched to crossbeam_utils::CachePadded.
I didn't really like that this forced an unneeded dependency (cfg-if, mentioned at https://github.com/smol-rs/cache-padded/issues/10#issuecomment-1237286495) onto my crate.
I kinda accepted this, but recently, I found another inconvenience: it also forces me to bump the MSRV of my crate due to #1037, which is AFAICT unrelated to CachePadded.
Would it be possible to move CachePadded to a separate sub-crate to avoid those problems?
Alternatively, both problems might be avoidable by moving parts of crossbeam_utils to separate "features" (which I could deactivate for my crate), but I don't know if that's feasible?

I didn't really like that this forced an unneeded dependency (cfg-if, mentioned at smol-rs/cache-padded#10 (comment)) onto my crate.

Well, as for cfg-if I don't really like it and will eventually remove it. Work on revisiting dependencies is in progress, and a few dependencies were recently removed from some sub-crates (https://github.com/crossbeam-rs/crossbeam/pull/1058, https://github.com/crossbeam-rs/crossbeam/pull/1045).

I kinda accepted this, but recently, I found another inconvenience: it also forces me to bump the MSRV of my crate due to #1037, which is AFAICT unrelated to CachePadded.

Do you have any concrete requirements? I think we can relax MSRV if it is really needed. For example, https://github.com/crossbeam-rs/crossbeam/pull/1056 has relaxed the MSRV a bit that https://github.com/crossbeam-rs/crossbeam/pull/1037 bumped.

Would it be possible to move CachePadded to a separate sub-crate to avoid those problems?
Alternatively, both problems might be avoidable by moving parts of crossbeam_utils to separate "features" (which I could deactivate for my crate), but I don't know if that's feasible?

One of the reasons cache-padded was deprecated was the maintenance burden, such as reflecting updates in crossbeam-utils. If we move the cache-padded to crossbeam repo and making the implementation a symbolic link to the crossbeam-utils code, it would be possible to reduce the maintenance burden. That said, I'm not sure it is worth having a separate crate for it, as said in https://github.com/smol-rs/cache-padded/issues/10#issuecomment-1237286495. (I'm not interested in adding new dependencies to crossbeam-utils.)

Well, as for cfg-if I don't really like it and will eventually remove it.

That's great news!

Do you have any concrete requirements?

No. I just dislike bumping the MSRV of my crate without any real reason. Every bump is a potential obstacle for users of my crate and of dependent crates.
And even if the current MSRV is not a problem, there might be future bumps in crossbeam-utils that would not be necessary for CachePadded.
I'm not against bumping the MSRV in general, I just would like to avoid doing it gratuitously.

If we move the cache-padded to crossbeam repo and making the implementation a symbolic link to the crossbeam-utils code, it would be possible to reduce the maintenance burden.

With an additional sub-crate there would of course be an added maintenance cost when updating crate versions, but I would hope that it is small enough to still be feasible.

I'm not interested in adding new dependencies to crossbeam-utils.

Yeah, I understand, but this would only be an "internal" dependency to a sub-crate.
To make my suggestion a bit more concrete, I've crated a draft PR: #1069.
There are a few details which would have to be ironed out, but it can hopefully serve as a basis for discussion.
What do you think about it?

Well, as for cfg-if I don't really like it and will eventually remove it.

That's great news!

Filed https://github.com/crossbeam-rs/crossbeam/pull/1072 for this.

Do you have any concrete requirements?

No. I just dislike bumping the MSRV of my crate without any real reason. Every bump is a potential obstacle for users of my crate and of dependent crates.

The MSRV was not bumped for no reason. It was just bumped for APIs you are not using (https://github.com/crossbeam-rs/crossbeam/issues/1033).

I'm not interested in adding new dependencies to crossbeam-utils.

Yeah, I understand, but this would only be an "internal" dependency to a sub-crate.
To make my suggestion a bit more concrete, I've crated a draft PR: #1069.

I said "new dependencies", not "new public dependencies". "new 'internal' dependency" is also a "new dependency". Your PR seems to be doing exactly what I thought I didn't want to do when I wrote that comment.
(Also, your comments make me feel that you are saying, "I don't like the fact that my crate's dependency has a dependency, but I would like you to add a dependency to your crate".)

Well, as for cfg-if I don't really like it and will eventually remove it.

That's great news!

Filed #1072 for this.

This has been released in crossbeam-utils v0.8.19.

Thanks for removing cfg-if, that's great!

The MSRV was not bumped for no reason. It was just bumped for APIs you are not using (#1033).

Sure, you didn't just bump it for the fun of it. But when I bump the MSRV of my crate, there will be no real reason.

I said "new dependencies", not "new public dependencies" or "new external dependencies". "new 'internal' dependency" is also a "new dependency". Your PR seems to be doing exactly what I thought I didn't want to do when I wrote that comment.

Yeah, I assumed that "internal" dependencies are fine, but I guess they also cause some overhead when downloading crates.
I have created an alternative approach (based on your comment about symbolic links above): #1075.
Would that be more reasonable?

(Also, your comments make me feel that you are saying, "I don't like the fact that my crate's dependency has a dependency, but I would like you to add a dependency to your crate".)

Yeah, I didn't intend it to sound like this. I assumed (wrongly) that "internal" dependencies don't count.

Closing per https://github.com/crossbeam-rs/crossbeam/pull/1075#issuecomment-2526187077.


Data slicing optimization for PyVistaXarraySource

This PR adds functionality to PyVistaXarraySource, adding more specific slicing to its API and optimizing load times for remote datasets.

resolution is now optional. slicing may be specified instead, which should be a dictionary mapping coordinate names to arrays. Each array should be structured as [start, stop, step].
The class now stores _sliced_data_array, which should only be computed once each time the inputs are modified.
The class now stores _persisted_data, which should only be computed once each time _sliced_data_array is changed.
The class now stores _mesh, which also should only be computed once each time _persisted_data is changed.
The RequestData method no longer needs to compute the mesh every time if they are already stored, which greatly decreases total load time.

See https://github.com/Kitware/pan3d/pull/34 for application of these changes and load time testing.

Codecov Report

Merging #58 (e25e281) into main (f915a79) will increase coverage by 0.58%.
Report is 2 commits behind head on main.
The diff coverage is 48.52%.

:exclamation: Current head e25e281 differs from pull request most recent head 2f0420a. Consider uploading reports for the commit 2f0420a to get more accurate results

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
+ Coverage   39.53%   40.12%   +0.58%
==========================================
  Files          11       11
  Lines         430      481      +51
==========================================
+ Hits          170      193      +23
- Misses        260      288      +28

Files
Coverage Δ

pvxarray/vtk_source.py
32.82% <48.52%> (+4.25%)
:arrow_up:


create portfolio using html,css & javacript

Rules:-
1)Follow me and add star in this repository
2)No c++/c file will be accepted
3)Comment for assign this task to you
Follow all rules you will get hacktoberfest-accepted tag

I want to work on this task,please assign it to me @shubham7668

done

@sachin2709

For whom I need to  make portfolio sir @shubham7668  ??

You can make for yourself ☺
Add those files and snapshots
I will merge if it will following all rules

Hey, can i work for this issue?

can I work on this ? @shubham7668
thank you

Can I get assigned for this?

Hey @shubham7668 can i work on this issue ?

Done @ShivanshDengla @Ishika-jain @heisdinesh @dheerajgajula02
Lets contribute
Make sure to follow all rules for hacktoberfest-accepted tag
Do add snapshots of working portfolio

@shubham7668 can I refactor and structure the repository to create a separate space for Web Dev projects

I want to work on this task,please assign it to me @shubham7668

Done @dhairyaostwal @lognoroy
Make sure to follow rules

Hey @shubham7668 can I work on this task??
Can you assign me this

Lets go @vishalpatil20

Closing this issue now
Requirement fullfiled

Closing issue @shubham7668
Enough assignees


Integrate Glitch with Getting Started Content

@potch is taking this one – will let him flesh out the ticket.

The big question here is whether how best and where to code the glitch project embeds. The options that present themselves in order of increasing complexity are:

Into the docs themselves, just replacing code blocks with the embed
Into a fork/branch of the docs used specifically for this project- preserves existing data
Insert glitch references into the docs, turning them into embeds at build time (not sure exactly how this would work, maybe just a sentinel  comment or something?) Does gatsby allow for embed markup?
generated dynamically from marked code samples (there's no way this will be doable by deadline, but I want to call it out because we're pursuing it on the glitch as a future feature)

I'll likely start by forking the docs repo and doing inline, just to act as a source of truth, but am very open to adapting if others have ideas.

The big question here is whether how best and where to code the glitch project embeds. The options that present themselves in order of increasing complexity are:
* Into the docs themselves, just replacing code blocks with the embed <iframe>

I don’t know if we really want to replace code blocks with naked iframes. That would cost a lot of requests especially if they are not loading on demand. Not the best for UX.

* Into a fork/branch of the docs used specifically for this project- preserves existing data

If I understand you correctly that means we need to split the docs? I think splitting docs from code is generally not a good choice. Since you need to make changes at two different places maintenance gets more complicated. BTW if i remember correctly we wanna pull docs from node Repo. Please correct me if I'm wrong.

* Insert glitch references into the docs, turning them into embeds at build time (not sure exactly how this would work, maybe just a sentinel  comment or something?) Does gatsby allow for embed markup?

* generated dynamically from marked code samples (there's no way this will be doable by deadline, but I want to call it out because we're pursuing it on the glitch as a future feature)

IMO the combination of last two suggestions is best way to do it. Gatsby allows embed markups though i couldn't find a plugin for Glitch embeds but I consent to help with that.
Biggest advantage about dynamically generated sample codes at glitch side would be, it will be easier to maintain. We don't need to update nothing extra than samples in our docs. I think we can easily solve the problem about request overhead with a embed plugin for Gatsby as well. While loading iframes on demand.

I'll likely start by forking the docs repo and doing inline, just to act as a source of truth, but am very open to adapting if others have ideas.

@amiller-gh @MylesBorins @argyleink  are you okay with iframes in the short term? I know they're not ideal, but I'm sensitive to our fast-approaching deadline.

I'm personally fine with iframes in the short term to hit the deadline, but let's sync again on the long-term solution and track against it over the next month or so!
Let's use this issue to track short-term integration. Want to open up a new issue to hash out the long term implementation, RFC style?

@amiller-gh that's a good idea, will open a long-term integration issue.

Here's a screenshot of an embed in action:

Thanks for the work on this potch