SQLiteException: no such collation sequence: JSON on Barnes & Noble NOOK HD/HD+

Observed this one through (a lot of) crash reports, seems to target only these devices by producer "BN LLC" (Barnes & Noble):

BNTV400 (NOOK HD) on 4.0.4
BNTV600 (NOOK HD+) on 4.0.4

Stacktrace:
android.database.sqlite.SQLiteException: no such collation sequence: JSON: , while compiling: SELECT key, value, docid, revs.sequence, revid, json FROM maps, revs, docs WHERE maps.view_id=? AND key in (?) AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key LIMIT ? OFFSET ?
	at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
	at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
	at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
	at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:127)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:94)
	at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:53)
	at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
	at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1564)
	at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1538)
	at com.couchbase.lite.android.AndroidSQLiteStorageEngine.rawQuery(SourceFile:111)
	at com.couchbase.lite.View.resultSetWithOptions(SourceFile:685)
	at com.couchbase.lite.View.queryWithOptions(SourceFile:852)
	at com.couchbase.lite.Database.queryViewNamed(SourceFile:2062)
	at com.couchbase.lite.Query$1.run(SourceFile:403)
    ...

Hi @Takhion
From stack-trace, it seems that the native library that CBL provides is not available for BNTVxxx. CBL Android/Java provides two collators for REVID and JSON columns as native library.
android.database.sqlite.SQLiteException: no such collation sequence: JSON

CBL Android v<IP_ADDRESS> or earlier supports four architectures, armeabi-v7a, armeabi, mips and x86. I assume BNTVxxx uses other architecture that CBL v<IP_ADDRESS> or earlier does not supports.
From v1.0.4, CBL supports seven architectures, arm64-v8a, armeabi-v7a, armeabi, mips, mips64, x86 and x86_64.
If you are currently using v<IP_ADDRESS> or earlier, could you please try to use 1.0.4 or master branch?
1.0.4 is available on maven repository if you are using Android Studio. If you are using Eclipse, please compile from master or 1.0.4 branch?
Thanks,

@andreibaranouski If possible, could you please run the test with BNTV400 or BNTV600 on AppThwack?

Hi @hideki, I'll check if the issue is still present with 1.0.4 as soon as I'm in the office, in the meantime I wanted to share the fact that both BNTV400 and BNTV600 are ARMv7 with Android version 4.0.4, which means they can't be 64 bits!

So I checked and the version we currently have in production (where we are seeing the crashes) is 0.0.0-26. I think that the AppThwack test will tell you more!

@Takhion Just I'd like to make sure. Does 1.0.4 not solve the issue?

I don't remember if version 0.0.0-26 already contains the extra native collators, but in any case I don't think that that's the problem. I won't be able to test 1.0.4 in production for some weeks, so I believe your best bet is to try with AppThwack or find someone with those devices.

v0.0.0-26 was built Oct 21, 2014. I believe it was before native library fix.

We run our unit test with release/1.0.4 using BN Nook on appthwack.
Device: Barnes & Noble NOOK HD OS: 4.0.4 CPU ARMv7
CBL version: release/1.0.4
We don't observe the android.database.sqlite.SQLiteException, which is custom collator issue with native library.
Followings are not related with this ticket:
Actually two test cases failed with NOOK HD (Fail: 2 out of 292 tests failed)

ManagerTest.testReplaceDatabaseNamedNoAttachments
ManagerTest.testReplaceDatabaseNamedWithAttachments

Note: I will close this ticket. If you would encountered this issue with upgrading to v1.0.4, please reopen the ticket.

Hi @hideki, unfortunately with 1.1.0-17 (taken from your maven repo, built with Gradle) the issue is still present!
android.database.sqlite.SQLiteException: no such collation sequence: REVID: , while compiling: SELECT revid, deleted, sequence, no_attachments, json FROM revs, docs WHERE docs.docid=? AND revs.doc_id=docs.doc_id and current=1 and deleted=0 ORDER BY revid DESC LIMIT 1
	at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
	at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
	at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
	at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:127)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:94)
	at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:53)
	at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
	at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1564)
	at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1538)
	at com.couchbase.lite.android.AndroidSQLiteStorageEngine.rawQuery(SourceFile:128)
	at com.couchbase.lite.Database.getDocumentWithIDAndRev(SourceFile:1894)
	at com.couchbase.lite.Database.getExistingDocument(SourceFile:456)
	...

Hi @Takhion,
On Appthwack, BNTV400 or BNTV600 is not available with Android 4.x. Available OS is 2.0.4 that Couchbase Lite Android does not support. https://appthwack.com/devicelab  This issue is not possible to reproduce by ourself now.
I believe this error comes from https://github.com/couchbase/couchbase-lite-android/blob/master/jniLibs/armeabi-v7a/libcom_couchbase_touchdb_RevCollator.so
Before the SQLiteException, can you see any other error messages?
Thanks!

Hi @hideki,
No, everything that comes from before SQLiteException has nothing to do with SQL or CBL... I think the only way is to get a physical device and test it there, it's crashing like 100% of the time.

Hi @Takhion,
We are considering this issue could be same issue which is described following links. Some specific devices load armeabi library instead of armeabi-v7a.
https://groups.google.com/forum/#!msg/android-ndk/N8FLjvM81pg/2rYeClQZcckJ
https://code.google.com/p/android/issues/detail?id=25321
Could you please test Counchbase Lite on Nook with removing armeabi/*.so files?
Have a nice weekends!

Note to Self:
Workaround: https://moodstocks.com/blog/article/ice-cream-sandwich-why-native-code-support-sucks/

@hideki unfortunately I don't personally have access to any of those devices, we just receive a lot of crash reports from users!

Hi @hideki,
We have been seeing a related issue to this. I'm getting the following crash:
Fatal Exception: java.lang.UnsatisfiedLinkError
Couldn't load com_couchbase_touchdb_TDCollateJSON from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.app-1.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null

This is happening on a user's Acer A500.
I've seen similar issues previously with the old Dropbox library where they had the armeabi and armeabi-v7afolders and assumed that all devices would fall back when they didn't find anarmeabi-v7` folder.
Unfortunately one of two things can stop this:
The device might not fall back correctly
If an application has an armeabi-v7 folder declared for something else then it will assume all libraries are in that folder and look there to load them.
We are in the latter camp.
Sidebar: The Moodstocks link you put in is a pretty good solution to this problem in my opinion. We used to do this with Dropbox and had great results. Saw all our native library linking issues disappear.

Hi @drspaceboo Thank you for sharing information.

Hi @hideki,
Can we please get an update on when this issue will be resolved? It is now the most reported crash we have from our application.

Hi @drspaceboo,
We don't have BN Nook device.  Unfortunately, no update for this issue.

Hi @hideki,
We aren't seeing the issue on a BN Nook, that was the original reporter. We have users on the following devices seeing this crash:

Samsung I9300 Galaxy S III
[Samsung Galaxy Tab Active (LTE) SM-T365] (http://www.samsung.com/ae/consumer/mobile-devices/tablets/others/SM-T365NNGAXSG)
Samsung Galaxy Tab 3 SM-T315T
Samsung Galaxy Note (8.0) GT-N5110
ASUS MeMO Pad HD 7 (ME173X)
Acer Iconia Tab A500
Fujitsu Stylistic M532

Hi @hideki,
If you're willing to build the latest stable Couchbase Lite version with
the workaround you mentioned applied to it, I'd be happy to try it with a
subset of our users to see if it solves the problem! The only thing I ask
is that you put it in your Maven repository as we're using Gradle for our
build.
On Thu, Aug 6, 2015, 09:40 Josh Wilson<EMAIL_ADDRESS>wrote:

Hi @hideki https://github.com/hideki,
We aren't seeing the issue on a BN Nook, that was the original reporter.
We have users on the following devices seeing this crash:

Samsung I9300 Galaxy S III
http://www.gsmarena.com/samsung_i9300_galaxy_s_iii-4238.php
Samsung Galaxy Tab Active (LTE) SM-T365
http://www.samsung.com/ae/consumer/mobile-devices/tablets/others/SM-T365NNGAXSG
Samsung Galaxy Tab 3 SM-T315T
http://pdadb.net/index.php?m=specs&id=5687&c=samsung_sm-t315t_galaxy_tab_3_8.0_lte_16gb
Samsung Galaxy Note (8.0) GT-N5110
http://www.samsung.com/au/consumer/mobile-phone/tablet/tablet/GT-N5110ZWAXSA
ASUS MeMO Pad HD 7 (ME173X)
https://www.asus.com/au/Tablets/ASUS_MeMO_Pad_HD_7_ME173X/
Acer Iconia Tab A500
http://www.gsmarena.com/acer_iconia_tab_a500-3907.php
Fujitsu Stylistic M532
http://www.pcmag.com/article2/0,2817,2410164,00.asp

—
Reply to this email directly or view it on GitHub
https://github.com/couchbase/couchbase-lite-android/issues/434#issuecomment-128279204
.

Hi @drspaceboo,
We have Samsung S3 which OS version is Android 4.1.2.
I run the simple test with S3. However I could not reproduce the issue.
Can you check Android OS versions that causes this issue?
Thanks!

Hi @Takhion,
Thank you for your kind offer. Preparation could take a time. Could you give me 1 or 2 weeks.
Thanks!

Hi @hideki,
The user S3 was running 4.1.2. I'll PM you a link to the crashes hopefully that might help.

Hi @hideki,
Sure, I'll wait for it, thanks!

Hi @drspaceboo,
If you can build from source code, Please try to use the following branch which includes the fix. https://github.com/couchbase/couchbase-lite-android/tree/feature/issue_434_jni_lib_load_failure
Add Couchbase Lite to your project as a submodule:
https://github.com/couchbase/couchbase-lite-android/wiki/Add-Couchbase-Lite-to-your-project-as-a-submodule
NOTE: I needs few days to post the jar files on maven.
Thanks.

Hey Hideki,
We try not to change our dependancies for a build that goes out to all our users, and unfortunately those affected users haven't made themselves known via our support team yet. So at the moment we will need to wait for the Gradle dependancies to go up on Maven before I can let you know if it resolved the issue.
I have high hopes from the change logs though.
Let us know here when it goes up on Maven for Gradle and we can get it in our next release to test against our user base.

Note to self:
Following is test result with applying ARM v7a detection. The solution does not work with Motorola Xoom. Needs to investigate.
Real device

Device
Android Version
CPU Family
Result

Nexus 6
5.1.1
ARM
OK

Samsung SIII
4.1.2
ARM
OK

Motorola Xoom
4.1.2
ARM
NG

Emulator

API
Android Version
CPU Family
Result

API 10
2.3.3
ARM
OK

API 14
4.0
ARM
OK

API 15
4.0.3
ARM
OK

API 15
4.0.3
x86
OK

API 16
4.1.2
ARM
OK

API 16
4.2.2
x86
OK

API 16
4.2.2
Mips
OK

API 18
4.3.1
x86
OK

API 21
5.0.1
ARM
OK

API 21
5.0.1
x86
OK

API 22
5.1.1
x86_64
OK

Note to Self:
it seems loading CPU family detection native library failed.
08-11 15:14:02.020  24621-24621/? D/dalvikvm﹕ No JNI_OnLoad found in /data/data/self.hideki.issueandroid434/lib/libcom_couchbase_touchdb_TDCollateJSON_util.so 0x41b60648, skipping init

Log:
08-11 15:14:02.020  24621-24621/? D/dalvikvm﹕ Trying to load lib /data/data/self.hideki.issueandroid434/lib/libcom_couchbase_touchdb_TDCollateJSON_util.so 0x41b60648
08-11 15:14:02.020  24621-24621/? D/dalvikvm﹕ Added shared lib /data/data/self.hideki.issueandroid434/lib/libcom_couchbase_touchdb_TDCollateJSON_util.so 0x41b60648
08-11 15:14:02.020  24621-24621/? D/dalvikvm﹕ No JNI_OnLoad found in /data/data/self.hideki.issueandroid434/lib/libcom_couchbase_touchdb_TDCollateJSON_util.so 0x41b60648, skipping init
08-11 15:14:02.020  24621-24621/? W/dalvikvm﹕ Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/couchbase/touchdb/TDCollateJSON;
08-11 15:14:02.020  24621-24621/? D/AndroidRuntime﹕ Shutting down VM
08-11 15:14:02.020  24621-24621/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41581300)
08-11 15:14:02.020  24621-24621/? I/Process﹕ Sending signal. PID: 24621 SIG: 9
08-11 15:14:02.020  24621-24621/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
    java.lang.ExceptionInInitializerError
            at com.couchbase.lite.android.AndroidSQLiteStorageEngine.open(AndroidSQLiteStorageEngine.java:57)
            at com.couchbase.lite.Database.open(Database.java:977)
            at com.couchbase.lite.Manager.getDatabase(Manager.java:243)
            at self.hideki.issueandroid434.MainActivity.helloCBL(MainActivity.java:65)
            at self.hideki.issueandroid434.MainActivity.onCreate(MainActivity.java:34)
            at android.app.Activity.performCreate(Activity.java:5008)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
            at android.app.ActivityThread.access$600(ActivityThread.java:130)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:4745)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
     Caused by: java.lang.UnsatisfiedLinkError: Couldn't load com_couchbase_touchdb_TDCollateJSON: findLibrary returned null
            at java.lang.Runtime.loadLibrary(Runtime.java:365)
            at java.lang.System.loadLibrary(System.java:535)
            at com.couchbase.touchdb.TDCollateJSON.<clinit>(TDCollateJSON.java:43)
            at com.couchbase.lite.android.AndroidSQLiteStorageEngine.open(AndroidSQLiteStorageEngine.java:57)
            at com.couchbase.lite.Database.open(Database.java:977)
            at com.couchbase.lite.Manager.getDatabase(Manager.java:243)
            at self.hideki.issueandroid434.MainActivity.helloCBL(MainActivity.java:65)
            at self.hideki.issueandroid434.MainActivity.onCreate(MainActivity.java:34)
            at android.app.Activity.performCreate(Activity.java:5008)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
            at android.app.ActivityThread.access$600(ActivityThread.java:130)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:4745)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
08-11 15:14:02.020      270-604/? W/ActivityManager﹕ Force finishing activity self.hideki.issueandroid434/.MainActivity
08-11 15:14:02.030     270-4986/? I/ActivityManager﹕ Process self.hideki.issueandroid434 (pid 24621) has died.

https://developer.android.com/ndk/guides/abis.html
https://developer.android.com/ndk/guides/cpu-features.html

Note to Self:
android_getCpuFeatures() method returns 0x1B (0001 1011) on Motorola XOOM.
AND operation with ANDROID_CPU_ARM_FEATURE_NEON 0x04 (0000 0100)  => 0x00. Need to remove ANDROID_CPU_ARM_FEATURE_NEON check from original code.
in cpu-features.h
enum {
    ANDROID_CPU_ARM_FEATURE_ARMv7       = (1 << 0),
    ANDROID_CPU_ARM_FEATURE_VFPv3       = (1 << 1),
    ANDROID_CPU_ARM_FEATURE_NEON        = (1 << 2),
    ANDROID_CPU_ARM_FEATURE_LDREX_STREX = (1 << 3),
    ANDROID_CPU_ARM_FEATURE_VFPv2       = (1 << 4),
    ANDROID_CPU_ARM_FEATURE_VFP_D32     = (1 << 5),
    ANDROID_CPU_ARM_FEATURE_VFP_FP16    = (1 << 6),
    ANDROID_CPU_ARM_FEATURE_VFP_FMA     = (1 << 7),
    ANDROID_CPU_ARM_FEATURE_NEON_FMA    = (1 << 8),
    ANDROID_CPU_ARM_FEATURE_IDIV_ARM    = (1 << 9),
    ANDROID_CPU_ARM_FEATURE_IDIV_THUMB2 = (1 << 10),
    ANDROID_CPU_ARM_FEATURE_iWMMXt      = (1 << 11),
    ANDROID_CPU_ARM_FEATURE_AES         = (1 << 12),
    ANDROID_CPU_ARM_FEATURE_PMULL       = (1 << 13),
    ANDROID_CPU_ARM_FEATURE_SHA1        = (1 << 14),
    ANDROID_CPU_ARM_FEATURE_SHA2        = (1 << 15),
    ANDROID_CPU_ARM_FEATURE_CRC32       = (1 << 16),
};

https://developer.android.com/ndk/guides/abis.html
https://developer.android.com/ndk/guides/cpu-features.html

Hi @Takhion and @drspaceboo,
I just posted 1.1.0-536 which includes the fix of this issue on couchbase maven repository.
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/1.1.0-536/
To download from couchbase maven repository, please add following line in root level build.gradel.
maven { url 'http://files.couchbase.com/maven2/' }

Please be aware this is experimental build, not official release.
1.1.0-516 is built from branch: https://github.com/couchbase/couchbase-lite-android/tree/feature/issue_434_jni_lib_load_failure. Except fix for this issue, all other codes are same with 1.1.0.
Hope this will fix native library loading issue.
Thanks,
Hideki

Hi @hideki,
I saw #649, do you have news about this?
We're releasing it today to production on a subset of users to see what happens, I'll keep you updated.

Hi @Takhion,

I saw #649, do you have news about this?

We did not merge the fix into the master yet. After we could verify if this fix can solve the problem, we will merge it. Actually we are waiting test results from you.

We're releasing it today to production on a subset of users to see what happens, I'll keep you updated.

Thank you for all your helps.
Hideki

Hi @Takhion and @drspaceboo,
Did you have a chance to check if the solution solve the problem?
Have a nice weekend!

Hi @hideki,
I wanted to wait a week to be sure that the issue was fixed, and I was just about to tell you that everything was perfect, until this weekend when we received a new flood of errors like this:
android.database.sqlite.SQLiteException: no such collation sequence: REVID: , while compiling: SELECT revid, deleted, sequence, no_attachments, json FROM revs, docs WHERE docs.docid=? AND revs.doc_id=docs.doc_id and current=1 and deleted=0 ORDER BY revid DESC LIMIT 1
	at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
	at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
	at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
	at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:127)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:94)
	at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:53)
	at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
	at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1564)
	at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1538)
	at com.couchbase.lite.android.AndroidSQLiteStorageEngine.rawQuery(SourceFile:128)
	at com.couchbase.lite.Database.getDocumentWithIDAndRev(SourceFile:1894)
	at com.couchbase.lite.Database.getExistingDocument(SourceFile:456)

:(

Hi @Takhion,
Thank you for your report.
RevCollator is one of two native libraries. I applied same logic (rule) that is applied to JSONCollator to this library. I will review code again.
Question: Do you still observe following error message?
android.database.sqlite.SQLiteException: no such collation sequence: JSON: , while compiling: SELECT key, value, docid, revs.sequence, revid, json FROM maps, revs, docs WHERE maps.view_id=? AND key in (?) AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key LIMIT ? OFFSET ?
    at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
    at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)

Thanks!
Hideki

Hi @hideki,
So far no, we have no crash report for the JSON collation, I'm not sure exactly what that means.

@Takhion are you still seeing reports of either JSON or REVID based exceptions after distributing the fix? If not, we'll close in 1 week.

@zgramana we're definitely still seeing reports for the REVID collation like in this comment.

We have no plan to support Nook with Android 4.0.x. Sorry.


Move IrcClient to its own module and add tests for it

r? @nick29581
(rust_highfive has picked a reviewer for you, use r? to override)


DefaultHeader can't be changed once APIClient is created

We have a use case where we would like to set x-user-id in the DefaultHeader for every call we make based on a user identifier. However, we're setting up the APIClient when the app starts up so we're not able to set the header at that time, since we want to track every user who makes these API calls. We would also like to avoid setting up a new client every time we want to issue an API call. Would it be possible to have a method attached to APIClient that adds key/value pairs to the DefaultHeader after the client has been created? Something similar to this: https://github.com/moov-io/fed/blob/master/client/client.go#L163. This functionality is also needed in the other APIs as well, ie. paygate, ofac, etc.

@kalamity-linden Thanks for the idea! I created https://github.com/moov-io/fed/pull/70 to allow the optional x-user-id. I'll add it to the other apps (I think paygate is the only where it's required).

I haven't make releases (or release candidates) of these yet, but the apps should accept an x-user-id header (or ignore it in the case of imagecashletter, wire, ACH) for logging and in the generated clients.
Let me know how this works for you. :)


Segmentation fault (core dumped) under Msys2

Exact same problem as #321, except this time sys.platform == "msys".
What do you think ? I create a similar PR ?

What do you think ? I create a similar PR ?

Yes please! Since it's another variant of cygwin we should handle it similarly.

Can we get a core dump please as well to make sure we know where in Windows this crashes? It could be tblib or python fork or something else, but we should gather data regardless.
Thanks.

Ok, I'll send you a core dump next time I'll be under Windows.
I send you the PR for the fix

Thanks!

Stackdump for Cygwin :
Exception: STATUS_ACCESS_VIOLATION at rip=001801787AD
rax=0000000000000000 rbx=FFFFFFFFFFFFFFFF rcx=0000000000000000
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000237750
r8 =FFFFFFFFFFFFFFFF r9 =FFFFFFFFFFFFFFFF r10=0000000000000000
r11=FFFFFFFFFFFFFFFF r12=0000000000237750 r13=00000005BA0A2486
r14=0000000000237730 r15=0000000000237848
rbp=FFFFFFFFFFFFFFFF rsp=0000000000237658
program=G:\devhome\tools\cygwin\home\lucas_cimon\.local\share\virtualenvs\offerscatalog\bin\python3.4, pid 5696, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B

I couldn't reproduce the error for Msys2.
For Cygwin it crashes after the following log lines:
[INFO]  Running unit tests
Segmentation fault (core dumped)
```

For Msys2 I get:
```
[INFO]  Running unit tests
[INFO]  Executing unit tests from Python modules in /g/devhome/snapshots/nf-offerscatalog/nf-catalogBuilder/src/unittest/python
[WARN]  No unit tests executed.
[INFO]  All unit tests passed.
------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------
Build finished at 2016-02-18 11:11:48
Build took 2 seconds (2549 ms)
```


how to get next page ?

ex : https://api.jikan.moe/v4/seasons/now
returns
"pagination": {
"last_visible_page": 2,
"has_next_page": true
},
......
https://api.jikan.moe/v4/seasons/now/2  or returns HttpException

https://api.jikan.moe/v4/seasons/now?page=2
Join our discord server for any support/usage queries


Invalid HTML parsing with Example URL

When calling Jsoup.parse(html) I'm getting odd tag balancing results on this url:
http://www.cnbc.com/id/44614459
If you look at the first paragraph of the artcle, you can see it's wrapped in a  tag, however after the Jsoup.parse that closing paratag is closed too soon.
Here is the RAW HTML sample of the page
https://gist.github.com/1239766
After Parsing it looks like this (Notice now that the first line the paragraph tag is closed before it wraps up table element inside it:
https://gist.github.com/1239768

Looks OK currently in try.jsoup.


Jamf Protect protocol check always returns error when using WSS/MQTT plan

Please forgive me if I'm being rude as I'm new to Github.
When I apply a Jamf Protect plan that uses the wss/mqtt protocol, JamfCheck always shows an error, even though the Mac can communicate with Jamf Protect Cloud via wss/mqtt without any problems.
Please see the attached files which contain
1, output of "protectctl info -v" which shows that the Mac can connect to the Protect Cloud via wss/mqtt.
2, JamfCheck log which says "Jamf Protect configuration does not have a valid communication protocol".
I would be grateful if you could respond to this report.
jamfchecklog.txt
protectctl.txt

Hi @kiyo9999 - thanks for reporting this in, you are right, i missed this return value.
Will be resolved in next release.

Hi !
Thank you for your prompt investigation. Looking forward to the next release!

Resolved in v2.1.1


GSplats stereoscopic rendering (viewport size issues)

Currently GSplats has to use viewport dimensions which affects the way they are rotated and scaled. Aspect ratio of this viewport is the main driving element. In WebXR stereoscopic scenario, viewport is split into two so the the renderer of the splats look wrong.
The quick workaround I've made is to detect if there are multiple XR views, and split viewport width in two:
const viewport = [0, 0];

pc.GSplatInstance.prototype.updateViewport = function () {
    const device = this.splat.device;

    viewport[0] = device.width;
    viewport[1] = device.height;

    if (app.xr.active && app.xr.views.list.length === 2)
        viewport[0] /= 2;

    this.material.setParameter('viewport', viewport);
};

But it needs a slightly better solution, for getting an actual viewport of a view.

another mention: https://forum.playcanvas.com/t/apple-vision-pro-examples/36024/12


random pato stuff stored in NIF-GrossAnatomy-Inferred.owl

eg:

<owl:Class rdf:about="&PATO;PATO_0002238">
    <rdfs:subClassOf rdf:resource="&PATO;PATO_0000406"/>
</owl:Class>

Why is this stuff lurking in here and how did it get there in the first place? Most of these things are in PATO.owl already!

I would recommend not using the bridge file, or NIF-GrossAnatomy
As far as I am aware, NIFGA has not been significantly updated for a number of years. A while ago we agreed to retire NIFGA and replace it with the neuro subset of Uberon (neurolex would be independently coordinated with Uberon). Everything that is in NIFGA is now in Uberon, so there should be no problem with you swapping in uberon (in fact I believe you already have it imported?).
Happy to help in any way
You may also find the neuro label tag on the uberon tracker handy. This section of the ontology is actively used and continually improved.


[BUG] Collections by type do not account for interface inheritance

Version
.net core 3.1 / LiteDb 5.08
Describe the bug
When creating a collection for type "ISomeSpecificType" that inherits from "IEntity" the properties of IEntity are not considered for ID auto increment.
Code to Reproduce
public interface IEntity<T> : IAmUnique<T>
 public interface IAmUnique<T>
  {
    T Id { get; set; }
  }
public interface IRollVariable : IEntity<int>
  {
    public string VariableName { get; set; }
    public string UserId { get; set; }
    public string GuildId { get; set; }
    public string VariableValue { get; set; }
  }
 public LiteDbProxy(LiteDatabase db)
 {
   _collection = db.GetCollection<TEntity>(BsonAutoId.Int64);
 }

TEntity here is IRollVariable
public void Insert(params TEntity[] entities)
{
   foreach (var entity in entities)
   {
     entity.Id = _collection.Insert(entity);
    }
}

Auto increment with the insert is not working. It is however working if I define the Id Property in IRollVariable
Expected behavior
Inherited type properties should be considered as well
The mapper has the same problem by the way. If I want to define a mapping for IRollVariable and try to map id to x.id the mapper crashes because he can't find the property ID, but it compiles without problems because IRollVariable has an inherited property Id.

Ah never mind, I read up about interface inheritance and your behavior is correct. If I want the expected behavior I have to use the implementation and cannot use the interface.


Use the new build-tools keychain management

There current approach to adding a new keychain in build.sh is unpredictable and has--on a number of occasions--caused me to loose my main login keychain. There's a more robust alternative in https://github.com/jbmorley/build-tools which is already in use by Bookmarks (see https://github.com/jbmorley/bookmarks/blob/13e40ca/scripts/build.sh#L117). We should use this instead.

Done in #158.


how to make textarea didn't change line ...

https://jsfiddle.net/wangmin/rdjjpc7a/1628/
in this demo，when i click enter
i used       e.stopPropagation() and e.preventDefault()
but it not work
it will change a new line
i do not want that
how to avoid ...
thank u

There are several things wrong with your example:
Instead of @keyup.onEnter="update", you have to call @keyup.enter="onEnter", because the name of your method is onEnter, not update, and the name of the modifier is enter, not onEnter.
Second: The newline is put into the textarea on keydown, not on keyup, so the complete code should be:
<div id="editor">
  <textarea :value="input" @keydown.enter="onEnter"></textarea>
</div>

Here is an updated fiddle: https://jsfiddle.net/tedt89kv/

Also, keep in mind that your users may Copy and Paste text with newlines into your document. Maybe a Watcher would be more what you want. In the watcher, you could remove all newlines on every change of the textarea's value.

Also, from the issue template that you removed to post your question:

The issue list of this repo is exclusively for bug reports and feature requests. For simple questions, please use the following resources:

Read the docs: https://vuejs.org/guide/
Watch video tutorials: https://laracasts.com/series/learning-vue-step-by-step
Ask in the Gitter chat room: https://gitter.im/vuejs/vue
Ask on the forums: http://forum.vuejs.org/
Look for/ask questions on stack overflow: https://stackoverflow.com/questions/ask?tags=vue.js

thank u ... i will think more next time


docs: fix @feud.rename docs example typo

Fix @feud.rename docs example typo
Using wrong variable name.
Checklist

[x] I have added new tests (if necessary).
[x] I have ensured that tests and coverage are passing on CI.
[x] I have updated any relevant documentation (if necessary).
[x] I have used a descriptive pull request title.

Pull Request Test Coverage Report for Build cf64d5c1-4cb2-4ce0-b31c-05ec5307e379
Details

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 91.439%

Totals

Change from base Build 94804e30-de56-4b65-afc4-ae98022193d0:
0.0%

Covered Lines:
1036

Relevant Lines:
1133

💛  - Coveralls


🐛 Fix config.

Fixed config because you forgot to delete , after moving region variable higher, and now it will not create config nor read it because JSON parser will throw errors.

whoops i forgot to push my commits from github desktop


No network if %temp% moved

Windows build number: 10.0.20150.1000
Your Distribution version: Ubuntu 18.04
Linux version 4.19.121-microsoft-WSL2-standard
Steps to reproduce
New-Item -Path $env:SystemDrive\Temp -ItemType Directory -Force
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "User")
New-ItemProperty -Path HKCU:\Environment -Name TMP -PropertyType ExpandString -Value %SystemDrive%\Temp -Force
[Environment]::SetEnvironmentVariable("TEMP", "$env:SystemDrive\Temp", "User")
New-ItemProperty -Path HKCU:\Environment -Name TEMP -PropertyType ExpandString -Value %SystemDrive%\Temp -Force
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Machine")
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TMP -PropertyType ExpandString -Value %SystemDrive%\Temp -Force
[Environment]::SetEnvironmentVariable("TEMP", "$env:SystemDrive\Temp", "Machine")
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -PropertyType ExpandString -Value %SystemDrive%\Temp -Force
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Process")
[Environment]::SetEnvironmentVariable("TEMP", "$env:SystemDrive\Temp", "Process")
reboot-computer
Expected behavior
ip address show eth0
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:cf:68:53 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fecf:6853/64 scope link
valid_lft forever preferred_lft forever
Actual behavior
ip address show eth0
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:15:5d:cf:62:05 brd ff:ff:ff:ff:ff:ff

Ref #4731 and #4731. Related confirmed repro from #5286:
C:\> wsl.exe --shutdown
C:\> compact /u %temp% /i /Q
C:\> wsl.exe
$ ip address show eth0

Thanks for reporting, looks like if there are issues creating the swap file we skip network initialization too.  I've submited a fix to resolve this issue.  In the meantime you can work around this by disabling swap file via .wslconfig.

I've created a symlink to a new temp location. That solved the problem.

Symlink to a new user temp location does the trick too.

@gtumanyan
Can you be more precise for your trick: What original temp location do you replace by a symlink ?
thanks

I'd suggest disabling swap in the meantime:
%userprofile%.wslconfig
[wsl2]
swap=0

I've disabled the swap, and the problem has gone

Disabling the swap is indeed a workaround (same problem in https://github.com/microsoft/WSL/issues/5286). Nice.
@gtumanyan could you give details on symlinking to a new location? This workaround sounds much better than just disabling swap.

@gtumanyan could you give details on symlinking to a new location? This workaround sounds much better than just disabling swap.

cd $env:USERPROFILE\AppData\Local
New-Item -ItemType SymbolicLink -Path $env:USERPROFILE\AppData\Local\Temp -Value "YourCurrentTempFolder" -Force

@gtumanyan could you give details on symlinking to a new location? This workaround sounds much better than just disabling swap.

cd $env:USERPROFILE\AppData\Local
New-Item -ItemType SymbolicLink -Path $env:USERPROFILE\AppData\Local\Temp -Value "YourCurrentTempFolder" -Force

After searching for like 16 hours, this worked for me. I changed my Temporary Directory 2 days ago to a external faster drive.
Thanks for this!

It's pity that microsoft still cannot resolve such a trivial but yet critical issue.

/fixed 20185  [might have been '175 or '180 given fixinbound date]

I'd suggest disabling swap in the meantime:
%userprofile%.wslconfig
[wsl2]
swap=0

Thank you very much! it work for me

This fix seems to fix it for me too, but there is another problem.
I am on a company PC and I dont have admin rights to do anything.
I tried putting swap=0 in the .wslconfig this morning and everything seemed to work again.
Using %temp% on the Explorer would take me to "C:\Temp\1". Now I tried again and WSL2 had again connectivity problems.
Using %temp% on the explorer would take me to "C:\Temp\2"... Seems that swap=0 is not working for me.
After some reboots I was getting "C:\Temp\1" again and my WSL2 had connectivity again.
Is there a way to put wich temp folder I want to use every single time?

I had the same issue and was scratching my head for a while on this.
Turns out that I have compression turned on for my whole drive, so I set %temp% and its children to not be compressed, rebooted, and the problem went away.
I presume faster disk access for WSL entailed not going through the Windows file access stack, which might explain this issue, since Linux accessing compressed windows files at a lower level might not know wtf to do with them? Anyway.

I'd suggest disabling swap in the meantime:
%userprofile%.wslconfig
[wsl2]
swap=0

@benhillis could you please spell these commands out more? I'm not very familiar with OS build stuff, so I don't understand where to run them and what exactly to run. Is %userprofile% meant to be a stand-in for C:\Users\username\ ? There isn't a .wslconfig file there to execute. Or is this meant to be a file called .wslconfig where the file contents are the two lines of [wsl2] and swap=0? I know these are rudimentary questions so thanks for your patience.

could you please spell these commands out more?

Documentation here. You need to create  C:\Users\username\.wslconfig. A wsl.exe --shutdown (or reboot) is required for changes to take.

Disable compression on your temp folder and subfolders

Hello all, I come to the same conclusion as @Brandon168. The underlying issue is that the WSL2 distro files are compressed. Disabling compression on the swap file (default: %USERPROFILE%\AppData\Local\Temp\swap.vhdx) seems to solve the issue.
My whole image what totally nuked because of that too (vhdx was also compressed).

Was dealing with the same stuff, and even though i thought i had disabled all file compression a long while ago ( it's really .. really evil for several reasons, if you do any development at all ) through several methods ( group policy, regedit and whatnot ) i still had to run uncompress on the whole drive just to get rid of remaining stuff. From admin cmd shell: cd \ and compact /u /s /i  and then let it boil for a couple hours.

I'd suggest disabling swap in the meantime:
%userprofile%.wslconfig
[wsl2]
swap=0

This worked for me finally after spending god knows how long trying to fix it. Thank you so much !

I am a Windows noob. I do not understand where %userprofile%.wslconfig is to be found? Is that an actual file name? Or does % indicate some expansion I should now about?

I started to experience the same issue. I'm surprised to see that this thread was started more than a year ago and I never had the issue before until very recently.
Is this still some sort of defect in WSL2?
The solution is still valid. After disabling the swap, the issue was resolved for me. So thanks for that.

WSL2 has network, startup and installation issues - solution:
Disable encryption and file compression:
for %TEMP% - the swap file there by default location
Or specify where to save in  %USERPROFILE%\.wslconfig  and disable there:
[wsl2]
...
swapFile = E:\\Temp\\swap.vhdx
...

Disable encryption and compression on directories with distributions:
%appdatalocal%\Packages\CanonicalGroupLimited.Ubuntu*
%appdatalocal%\Packages\TheDebianProject.DebianGNULinux*

Ref #4731 and #5336. Related confirmed repro from #5286:
C:\> wsl.exe --shutdown
C:\> compact /C %temp% /i /Q
C:\> wsl.exe
$ ip address show eth0

Before I do this I was able to ping but not update, NOW I cannot even ping, has this been resolved yet?

for the record, the .wslconfig didn't even exist on my machine, but I've created it and it has worked as stated here.

Hello all, I come to the same conclusion as @Brandon168. The underlying issue is that the WSL2 distro files are compressed. Disabling compression on the swap file (default: %USERPROFILE%\AppData\Local\Temp\swap.vhdx) seems to solve the issue. My whole image was also totally nuked because of that (vhdx was also compressed for no reason...)

Oh wow.  This was totally my issue.  The problem is, my %temp% location is on a small SSD and every blasted program in the world wants to dump files in there (most forget even to remove them) so I use the compressed flag because otherwise it's too easy to run out of space.  Disabling compression for %temp% universally is a no-go for me because it will create even more problems.  It also shouldn't be necessary.
If it requires the swap.vhdx file it creates to have specific file attributes, it needs to just simply set (or unset in this case) the file flags itself when creating the file as is proper practice instead of just simply breaking in unexpected ways and leaving the user completely confused as to what is going on and having to google around for hours due to misleading results before finally finding a way to manually fix it.

On my colleague's PC the issue is still present, despite of the swap file disabling.


ERROR: Could not find a version that satisfies the requirement pygpu (from versions: none)

I followed the instruction ton install cell2location but at the pip install git+https://github.com/BayraktarLab/cell2location.git step I got this error :
Collecting git+https://github.com/BayraktarLab/cell2location.git
  Cloning https://github.com/BayraktarLab/cell2location.git to /tmp/pip-req-build-_9qxj1su
Collecting pymc3
  Using cached pymc3-3.11.2-py3-none-any.whl (869 kB)
Collecting torch
  Using cached torch-1.9.0-cp37-cp37m-manylinux1_x86_64.whl (831.4 MB)
Processing /home/nicolas/.cache/pip/wheels/26/68/6f/745330367ce7822fe0cd863712858151f5723a0a5e322cc144/Theano-1.0.5-py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement pygpu (from cell2location==0.5) (from versions: none)
ERROR: No matching distribution found for pygpu (from cell2location==0.5)

I'm using python 3.7.3 through anaconda.
Looking in the cellpymv environment, pygpu is well installed though...
Any idea how to solve this ?
Thanks

Hi @nrosewick
Did you activate conda environment before running pip install git+https://github.com/BayraktarLab/cell2location.git?
There might also be an issue with pip using the correct environment to install/load. I had a similar issue which was resolved by telling pip to never use user site:
export PYTHONNOUSERSITE="randomletters"

Hi @vitkl ,
Thanks for the prompt reply. It was indeed an issue with pip. After executing export command, everything worked fine.
Thanks


Don't change style of tablenotetext mark

Solves issue https://github.com/AASJournals/AASTeX60/issues/81
tablenotetext will keep the same style as tablenotemark

Instead of removing the $$ around the mark in tablenotetext at
https://github.com/AASJournals/AASTeX60/blame/master/cls/aastex63.cls#L5272
italics were added to tablenotemark in
https://github.com/AASJournals/AASTeX60/blame/master/cls/aastex63.cls#L1896
to make the marks look the same.


Validate actions instead of plan

Signed-off-by: Andre Passos<EMAIL_ADDRESS>@shykes I still need to write tests for this change. However a first feedback would be appreciated since I am moving the validation from the all plan to the action being executed.

One concern I have with only validating the single Action is that we won't do validation of any of the potential inputs to the Action, like client.filesystem, client.env, etc.

One concern I have with only validating the single Action is that we won't do validation of any of the potential inputs to the Action, like client.filesystem, client.env, etc.

Yes. In addition to that, and the reason it's not trivial to do: an action might depend on other actions. For instance, actions.test might depend on actions.build which which itself depends on client.env, etc.
Additionally, those dependencies are "cascading": it's not enough to check cue flow dependencies as that only tells us about core actions, not the higher level actions. This is exactly the same reason why we don't have a clean way to support "explicit task dependencies" today.
Example: dagger do test
actions: build: {
  required: string
  _run: yarn.#Run & {
    script: required
  }
  output: _run.output
}

actions: test: {
  input: build.output
}

Currently the validator correctly informs us that actions.build.required is not set. There is no direct relationship between actions.test and actions.build.required


Unable to convert collection using postman2robotframework

Hi,
I am trying to use given library to convert a postman collection to robotframework but unable to do so because of below error:
C:\Users\aryalakr\Documents\postman\postman_js>postman2robot --ifile Web_CGI_Automation.postman_collection.json  --ofile putput
####################################
#                                  #
#     POSTMAN TO ROBOTFRAMEWOK     #
#                                  #
####################################

←[47m←[30m INFO ←[0m  Use ←[32m postman2robot -h ←[0m to learn how to use the command line
←[47m←[30m INFO ←[0m  You can use a ←[32m.postman2robotrc file ←[0m to avoide typing options everytime
Traceback (most recent call last):
File "C:\Python3\lib\site-packages\jinja2\loaders.py", line 357, in get_source
source = self._loader.get_data(p)  # type: ignore
OSError: [Errno 0] Error: 'src\assets\library_template.py'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Python3\Scripts\postman2robot-script.py", line 11, in
load_entry_point('postman2robot==0.0.1', 'console_scripts', 'postman2robot')()
File "C:\Python3\lib\site-packages\postman2robot-0.0.1-py3.7.egg\cli\postman2robot.py", line 58, in main
File "C:\Python3\lib\site-packages\postman2robot-0.0.1-py3.7.egg\cli\postman2robot.py", line 78, in run
File "C:\Python3\lib\site-packages\jinja2\environment.py", line 1010, in get_template
return self._load_template(name, globals)
File "C:\Python3\lib\site-packages\jinja2\environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "C:\Python3\lib\site-packages\jinja2\loaders.py", line 125, in load
source, filename, uptodate = self.get_source(environment, name)
File "C:\Python3\lib\site-packages\jinja2\loaders.py", line 359, in get_source
raise TemplateNotFound(template) from e
jinja2.exceptions.TemplateNotFound: library_template.py
C:\Users\aryalakr\Documents\postman\postman_js>
Library version:
postman2robot==0.0.1
Python: 3.7.5
Can you please help me to overcome this issue?
Thanks,
Aryalakshmi R

The CLI uses Jinja templates and requires one template to be available in the expected path.
OSError: [Errno 0] Error: 'src\assets\library_template.py'

You can copy over the default template in this folder src\assets\library_template.py.
I have to admit this is not ideal. The default template in this repo should be used if no template does not exist. If you find this cli useful and want to contribute, please submit a PR 😄 .

Hi,
Since i am new to jinja can you please provide any link to download this kind of template. I tried once basic template which was put in src/assets and renamed as library_template.py but couldnt fix the issue.

Hey there! I've got the same problem as you. I've followed @xNok comment above and it worked!
What you should do is follow the same structure that is present in the repo. This way, you need to add a file named library_template.py, which can be found here, into this a path scheme that follows:
|- src
  |- asserts
     |- library_template.py

The src path can be found in your own error message, which might be C:\Python3\lib\site-packages\postman2robot-0.0.1-py3.7.egg\src. In my case, I needed to create the asserts directory by my own (watch out for typos haha).
After that, you just need to run as indicated in the documentation. I hope it work for you!!


Recurred React Invalid Hook Call

Summary
Recently after esm.sh has deprecated the previous bundle mode import xxx from https://esm.sh/[react,react-dom,...]/react, I've tried to adjust my Deno projects' deps import/export codes accordingly.
It worked for a while, but then I got previously-encountered React Invalid Hook Call error.
Error message
After running yarn build successfully and then yarn start, I get this:
Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (client.bundle.js:1101)
    at Object.useState2 [as useState] (client.bundle.js:1124)
    at App (client.bundle.js:30151)
    at renderWithHooks (client.bundle.js:15312)
    at mountIndeterminateComponent (client.bundle.js:17493)
    at beginWork (client.bundle.js:18292)
    at HTMLUnknownElement.callCallback2 (client.bundle.js:7577)
    at Object.invokeGuardedCallbackDev (client.bundle.js:7602)
    at invokeGuardedCallback (client.bundle.js:7636)
    at beginWork$1 (client.bundle.js:21478)

Example repository:
https://github.com/quaos/q-portfolio
Example code:
// src/deps/react.ts
export { default as React } from "https://esm.sh/react@17.0.2?dev&no-check";

// src/deps/react-dom.ts
export { default as ReactDOM } from "https://esm.sh/react-dom<EMAIL_ADDRESS>
// src/deps/react-router.ts
export {
  BrowserRouter as Router,
  Link,
  Route,
  Switch,
  useHistory,
  useLocation,
  useParams,
  useRouteMatch,
} from "https://esm.sh/react-router-dom<EMAIL_ADDRESS>

Additional info

esm.sh version: v50
Deno version: 1.13.2 (release, x86_64-apple-darwin) (not working on Ubuntu 20.04 server neither)
v8 version: 9.3.345.11
typescript version: 4.3.5

can you please try to clean the cache of deno? i have a plan to remove the traffic feature for china that may case this issues!

can you please try to clean the cache of deno? i have a plan to remove the traffic feature for china that may case this issues!

Thanks! I've cleaned the cache:
rm -fR  $HOME/Library/Caches/deno/*
Then run yarn build and yarn start again. The app now loaded normally.
I suppose you can close the issue.


Template message slack

I try to add templating message alert in graylog, not showing alert, Could you share your template graylog slack alert

it does not support templating. It will work by just adding Webhook URL
If you want to format the alert, there are several options such as Backlog Fields, Short Mode, Color, Footer Text, Footer Icon, Use pre-formatted text, etc.

Thanks much your information.
I already setup graylog alert slack plugin, I found that error is double same backlog send to slack. Why?

I have problem that sending same backlog sending to slack, could you help me sir?

Since you are open a new #4 i will close this one


[imgui] Build error

Host Environment

OS: Windows 11 64bit 21H2
Compiler: Visual Studio 2022 64bit Version 17.1.6 (Visual Studio 2022 v143)

To Reproduce

Launch Visual Studio 2022
Create new empty C++ project
Create vcpkg.json
Edit vcpkg.json

{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
  "name": "my-project",
  "version": "1.0.0",
  "dependencies": [
    {
      "name": "imgui",
      "features": [ "win32-binding" ]
    }
  ]
}

Run build
Error

Failure logs

build-log.txt
error-logs-x64-windows.txt

Additional context

Thanks for posting this issue. Could you also please provide the error log: D:\ALL\vcpkg\buildtrees\imgui\install-x64-windows-dbg-out.log?

install-x64-windows-dbg-out.log

This issues is my fault.
I'm install Windows 11 on VMWare.
Diff files.
I found libloaderapi.h is changed by me.
(I don't know why changed)
WINAPI
- LoadLibraryA(
+ LoadLibrary(
    _In_ LPCSTR lpLibFileName
    );

So, i undo it, this issues is solved.
```diff
WINAPI
- LoadLibrary(
+ LoadLibraryA(
    _In_ LPCSTR lpLibFileName
    );


Quick question

Hello !
Do you know if your home bridge plugin would work with a Yeedi Vac 2 pro ? It seems EcoVacs Deebot / Yeedi are from the same company.
Thanks !
Antoine

@suivezlemir
I'm not sure if anyone has already confirmed it, but the yeedi Vac 2 pro should work.
Please give us feedback when you have it in use.

Great ! Thank you for the quick answer, I'll confirm as soon as I can.

@suivezlemir
You have to enable "Use Yeedi Login" in the settings.

Yep just done it now while setting the plugin up :) Thanks for the follow up !

@mrbungle64 thanks for helping here (as always!)
yes please let us know if the device works correctly!

Hello !
I'm getting this error when I try to activate the robot through HomeKit
[Yeedi] sent error [DNS lookup failed: getaddrinfo ENOTFOUND portal-eu.ecouser.net].
All the setup when swimmingly though, robot is recognised, homebridge gets the battery % accurately etc.
I set up predefined areas also, following the instructions. If that changes anything.

@suivezlemir

I'm getting this error when I try to activate the robot through HomeKit
[Yeedi] sent error [DNS lookup failed: getaddrinfo ENOTFOUND portal-eu.ecouser.net].

Does the error still persist?
Is your network and internet connection working properly?

It does persist, but come up only once per homebridge restart (on Raspberry Pi). E.g. homebridge restarts, I switch "clean" in homekit, I get the error again.
And yes my internet connection is 100% stable.
Weird thing is:

When I use the yeedi app (launch robot, change settings) I can see the info is received by homebridge / the plugin, and updates homekit in real time (both the clean / go charge switches).
When I use homekit (or eve) I can see commands in the homebridge log but nothing happens.

Thanks for the support btw, but if its too much of a pain, no worries I'll use the app instead.

@suivezlemir
What do you mean with "too much of a pain"?

When I use homekit (or eve) I can see commands in the homebridge log but nothing happens.

I think I know what maybe cause this problem, but I'm not sure if you still want to continue ...

oh I'm all in to continue haha, I was just saying if it is too time consuming to help me I'd understand if you want to stop (I don't want to waste your free time !)

oh I'm all in to continue haha, I was just saying if it is too time consuming to help me I'd understand if you want to stop (I don't want to waste your free time !)

ok, do you know where the homebridge directory is located?
You can open the file models.js in the directory [homebridge directory]/node-modules/ecovacs-deebot.js/library and change the value 950type_V2 for "yeedi vac 2 pro" from false to true (should be currently line 573).
After that it should work (maybe a restart of homebridge is needed).

I tried both values at false, and again both at true but unfortunately it didn't work either.

I tried both values at false, and again both at true but unfortunately it didn't work either.

Have you restarted Homebridge after making the changes?

yes each time to be sure

@suivezlemir
Does sending the device back to the charging station work via HomeKit?

@mrbungle64
Unfortunately not, nor switching the "clean" mode on. Nor the homekit / eve scenes to clean predefined areas.

@suivezlemir
Can you please post the log output?

@suivezlemir
Which version of the plugin do you have installed?
Maybe you have to use the beta version:
https://github.com/bwp91/homebridge-deebot/wiki/Beta-Version

@suivezlemir
Is it working now or did you lose interest?

@mrbungle64
Apologies I missed your previous message. No still not working. I install the plugin directly from Homebridge, so unlikely it's the beta version. I uninstalled / reinstalled (using the instructions and the "disable plugin" option), and still nothing. I might need to do a full homebridge reinstall.

I uninstalled / reinstalled (using the instructions and the "disable plugin" option), and still nothing. I might need to do a full homebridge reinstall.

@bwp91, any suggestions that might help?

@suivezlemir
Any news on this?


Validate results for Discovery of small molecules modulating the p38ɑ (MAPK14) pathway

Here's the updated figure

I redid the analysis from the raw single cell data here.
The main difference is that I combine 2 replicates of a compound that are in the same column when performing tests and computing statistics.

@AnneCarpenter more next week

Hm although if we consider the shift of mean as a whole (which is indeed what makes sense IIUC), it does support the argument

is_cp_negative_control
is_significant_t_test_01
n

FALSE
FALSE
8

FALSE
TRUE
12

TRUE
FALSE
13

TRUE
TRUE
1

Looking good but we should still inspect per compound distributions here to make sure this makes sense.

In closing, I note that we do in fact get the same result if we looked at the KS test (see notebook), but distributional differences don't seem to make a lot of sense here (I think), so I'd favor looking at the shift of the means. That said, the effect size is super tiny (see distribution plots) so we should highlight that in the paper (this aligns with what Ceryl said about the assay not being terribly sensitive).
All set here @AnneCarpenter

Assuming we go with t-test, here's what we have

Here are the 3 so-called inhibitors (i.e. blue curve should be shifted to the left i.e. negative t-stats). To me, only the first one seems to be having any effect of note.

Here are the comparisons of the cell counts and adjusted KS-test p-values across the two doses

We finalized the figures here
https://github.com/carpenterlab/2021_Rohban_submitted/pull/10
We will show t-test

And have KS-test in suppl

We will also show distributions for each predicted inhibitor, at both doses


Plans to implement notify_project_usage

The reference implementation for the old AMIE (tarball version) includes, arguably the most common packet in AMIE, notify_project_usage(). This client does not appear to implement that packet. Is that intentional? Are there plans to implement the rest of the packets defined in the AMIE docs? Are missing packets there in the API but simply not implemented in this client? Without NPU (an possibly/likely others) are we are forced to use and maintain two transfer mechanisms for ful AMIE support?

Email stack hid prior response related to endpoint support for POST of /usage. Questions above regarding provision of a reference implementation via the amieclient remain valid.

Hi @tcooper, thanks for taking a look.
Usage is handled by a separate REST API altogether. I've pushed a client and documentation for the Usage API in the add_usage branch. It'll get merged into master as soon as I've gotten a chance to test it a bit more.

Going to close this issue, feel free to open a new one if you have any questions


[RKE1] Can not set DeleteEmptyDirData to true, even with delete_local_data: true in node_drain_input

rancher/rancher tracking issue for https://github.com/rancher/rke/issues/3412

Closing this issue as it does not affect Rancher.
Because Rancher UI and the Terraform-proviver-rancher2 will always set the default values to the fields, the bug can be triggerred in Rancher.


Incorporate running --check into running --start

Fixes #348. When running start, first perform a full check for blockers, display them all to the user,
and do not start the migration if any are found.
By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf

@timmullin - Can you add a changelog entry for this please?
I am going to go ahead and mark this approved pending the changelog entry.

oof missed the comment. Merged earlier :(

It was good to go.  The changelog was in place before the merge


ONEM-20501 Add IBrowserSecurity interface (#85)

This change adds the IBrowserSecurity interface, which allows
to control the security settings for secured connections and
policy for handling mixed content.

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/ThunderInterfaces/86/rdkcentral/ThunderInterfaces

Commit: 9a138eea69321c66b927933f41560d9941764072

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Incorrect header (RDK) but can't be changed in R2 - approving

Commit: 9a138eea69321c66b927933f41560d9941764072


Force to provide a context when limiting features

The limitFeature function is helpful to block features on user accounts, but we then struggle to investigate what triggered the block. We should store some logs for that.

Resolved by https://github.com/opencollective/opencollective-api/pull/8901


[SPARK-23747][Structured Streaming] Add EpochCoordinator unit tests

What changes were proposed in this pull request?
Unit tests for EpochCoordinator that test correct sequencing of committed epochs. Several tests are ignored since they test functionality implemented in SPARK-23503 which is not yet merged, otherwise they fail.

@jose-torres

jenkins ok to test

jenkins test this please

Test build #89297 has started for PR 20983 at commit 89a1e11.

Test build #89297 has finished for PR 20983 at commit 89a1e11.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89297/
Test FAILed.

Test build #89324 has started for PR 20983 at commit 8fa609c.

Test build #89324 has finished for PR 20983 at commit 8fa609c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89324/
Test PASSed.

@tdas @jose-torres should we merge this now that it passes tests and test SPARK-23503 changes?

Yeah. Merging this to master.

@jose-torres Should I cherry-pick it to 2.3 as well??


Example Pull Request using 3051

Example only.  To demonstrate how Testspace handles forked Pull Requests.
Using https://github.com/scrapy/scrapy/pull/3051 - have test failures.

Mistake in example :-1:


Deprecation / consolidation with next-sitemap

Hello!
I see you mentioned you're looking for maintainers since you no longer have time to work on this. I totally understand 😄
Would you consider deprecating/archiving this package in favor of https://github.com/iamvishnusankar/next-sitemap? I believe this would help the community consolidate efforts on a single package for sitemaps 🙏 If you don't want to, totally understand.
Thank you so much!

Ey, of course, today or tomorrow I'm going to edit the readme and show it clearly, I will redirect all developers to that package. 👍

Apprecaite it! Thank you.


Add name validation for metrics

resolves #5456
Description
Adds name validation rules:

Metric name characters must be alphanumeric or underscore
Metric name must begin with an letter (this allows us to get around the BQ naming prefixes which all begin with _ )
Metric names must be 126 characters or less (Redshift constraint. BQ and Snowflake are longer)

Adding exposure name validation in #5844
Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[ ] I have run changie new to create a changelog entry

Sounds reasonable to me @callum-mcdata.  That's a simple change.  I'll defer to @jtcohen6 for the final decision on length.

Fine by me! 250 chars feels like plenty. If you can tweet it, you can (probably) make it into a metric

@jtcohen6 huh. Well .... I hadn't thought about that. Is it a fair answer to punt on that and say we'll solve that problem when we get to it? 😅  to me figuring out the pattern to account for that feels like we're optimizing for an edge case.
If that problem did arise then I think your idea around fixing it in the package makes sense - it's a usage pattern more than it is a definition pattern so allowing that kind of naming convention should be supported in core.


Sort by TVL & 24h Change does not work

[ ] Sort by TVL
[ ] Sort by 24h Change
[ ] Sort by Rewards
[ ] Sort by Protocol name

Can initially do sorting by page loaded content (no need for custom backend query)

Implemented


Setting multiple background colors for bands on Y-axis

I want my Line chart to look something like this:

Is this Feature/Plugin available or is it yet to be worked on?

@dreamrulez07 you might be able to use chartjs-plugin-annotation to achieve this

@etimberg Tried using it, it just annotates the line, but can't create different bands on the y-axis and provide them a background colour.

@dreamrulez07 it should be possible to add "box" annotations that show up as rectangles

Closing per my answer above


Description of vmm/src/lib.rs (VMM Struct and Implementation)

https://github.com/codenet/understanding-rust-vmm/pull/24


XMLSchema.validate() only works with lxml - TypeError otherwise

With the current xmlschema-1.0.3 I ran into this issue (while trying out some of the API that is described in the documentation: https://xmlschema.readthedocs.io/en/latest/usage.htm):
Validating an invalid XML file works as expected:
In [1]: import xmlschema
In [2]: xmlschema.validate('mini-invalid.xml', 'mini.xsd')
XMLSchemaValidationError: failed validating '1.23' with XsdPatternsFacet(['[0-9]+']):

But doing the same for an ElmentTree tree fails:
In [3]: import xml.etree.ElementTree as ET
In [4]: t = ET.parse('mini-invalid.xml')
In [5]: xmlschema.validate(t, 'mini.xsd')
<class 'str'>: (<class 'TypeError'>, TypeError("Type 'Element' cannot be serialized.",))

It does work as expected when using LXML, though:
In [6]: import lxml
In [7]: u = lxml.etree.parse('mini-invalid.xml')
In [8]: xmlschema.validate(u, 'mini.xsd')
XMLSchemaValidationError: failed validating '1.23' with XsdPatternsFacet(['[0-9]+']):

In the ET case, the information seems to be all there - it just fails during  generating the string:
In [18]: xsd = xmlschema.XMLSchema('mini.xsd')
In [19]: list(xsd.iter_errors(t))
Out[19]:
[xmlschema.validators.exceptions.XMLSchemaValidationError(XsdPatternsFacet(['[0-9]+']),
                                                      '1.23')]

I can provide you the mini.xsd and min-invalid.xml files (they are small) but I think that you can easily reproduce this issue with any XSD in combination with some non-validating XML file.

It seems a problem with ElementTree importing that doesn't import the accelerated C API at the end when you perform import xml.etree.ElementTree after import xmlschema. So the library founds a different Element class and raises an error when try to convert the error to string.
This reproduces your test:
>>> import xmlschema
>>> import xml.etree.ElementTree as ET
>>> t = ET.parse('vehicles-2_errors.xml')
>>> xmlschema.validate(t, 'vehicles.xsd')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/brunato/Development/projects/xmlschema/xmlschema/documents.py", line 44, in validate
    schema.validate(xml_document, use_defaults, namespaces)
  File "/home/brunato/Development/projects/xmlschema/xmlschema/validators/xsdbase.py", line 497, in validate
    raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: <exception str() failed>

but if I change the import order the result is correct:
>>> import xml.etree.ElementTree as ET
>>> import xmlschema
>>> t = ET.parse('vehicles-2_errors.xml')
>>> xmlschema.validate(t, 'vehicles.xsd')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/brunato/Development/projects/xmlschema/xmlschema/documents.py", line 44, in validate
    schema.validate(xml_document, use_defaults, namespaces)
  File "/home/brunato/Development/projects/xmlschema/xmlschema/validators/xsdbase.py", line 497, in validate
    raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed validating <Element '{http://example.com/vehicles}cars' at 0x7f63e6a8fae8> with XsdGroup(model='sequence', occurs=[1, 1]):

Reason: character data between child elements not allowed!

Schema:

  <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="car" type="vh:vehicleType" />
    </xs:sequence>
  </xs:complexType>

Instance:

  <cars xmlns="http://example.com/vehicles">
    CHARACTER DATA
    <car make="Porsche" model="911" />
    <car make="Porsche" model="911" />
  </cars>

Path: /{http://example.com/vehicles}vehicles/{http://example.com/vehicles}cars

>>>

You can reproduce this also checking the ET.Element class vs ET._Element_Py (the real Python Element class in Python 3).
If the import of ElementTree is after xmlschema the accelerated Element is not imported:
>>> import xmlschema
>>> import xml.etree.ElementTree as ET
>>> ET.Element is ET._Element_Py
True

otherwise the C accelerated Element is imported:
>>> import xml.etree.ElementTree as ET
>>> import xmlschema
>>> ET.Element is ET._Element_Py
False

I'm trying to understand if there is a workaround for this.
Thanks,
Davide

Should related to the import of the defusedxml.ElementTree library performed by the etree.py module.
Infact if the defusedxml.ElementTree library is imported before xml.etree.ElementTree the C optimized version is not loaded:
>>> import defusedxml.ElementTree
>>> import xml.etree.ElementTree as ET
>>> ET.Element is ET._Element_Py
True

Viceversa works normally:
>>> import xml.etree.ElementTree as ET
>>> import defusedxml.ElementTree
>>> ET.Element is ET._Element_Py
False

I've opened an issue for this.
Best,
Davide

As responded by the author of defusedxml, the impact of this problem cannot be avoided, because the pure Python ElementTree is needed by this library. Also, as the author wrote, the project is pretty much abandoned because the functionalities will be included in the next versions of Python 2.7, 3.6 and 3.7.
For xmlschema I've decided to mitigate the impact of this using a lazy import of defusedxml.ElementTree, wrapping the library in a class that take care of this.

The problem should be mitigated with a lazy import defusedxml (class LazyDefusedElementTree in module etree.py). Also the pure python ElementTree module is loaded after defusedxml in order to use it for cases like this for etree elements string serialization.
Thanks


writing text to YUV

Just wanted to confirm there are no plans to add text functions in the making? I realise this may fall outside the purpose of this library. Not a big problem if there are no plans, I'll just write text to RGB using Windows functions, convert that to YUV and then alpha blend it over the YUV image..
Thanks.

See file SimdFont.hpp

Drawing lines and rectangles indeed is also what I need to do, as well as text (but I need to be able to pick my own font). So I will use the RGB route for this then. Thanks!

P.S. I tried to draw text and other primitives (lines, rectangles, ellipses) direct to YUV. It works for YUV444P, but for YUV420P the result is not good mainly due to different resolution of Y, U and V planes.

Thinking of this some more: drawing text to YUV444P and then convert this to the YUV420P target would, I assume, still be a lot faster then drawing text to an RGB bitmap, convert that to YUV420P and then copy it to the YUV420P target?

I think that YUV444P to UV420P conversion is very fast (SimdReduceGray2x2 function), so first method is preferable.

I think that YUV444P to UV420P conversion is very fast (SimdReduceGray2x2 function), so first method is preferable.

So does that mean you are thinking about adding (optimised) text support after all?

No. I think that current solution (Simd::Font) is enough for debug purposes. The developing of full-fledged text renderer lies outside the sphere of my interests.

The RGB route is taking up too much bandwidth, so I have been trying to test your font draw routine, even though I know it is not optimal. However I cannot seem to figure out how to convert my YUV420 buffer into a View which the font functions require.  I found this one (http://ermig1979.github.io/Simd/help/struct_simd_1_1_view.html#a76d9a5c242ae95700069ff85d83d068f) but there doesn't seem to be an YUV420 (or 444) format?


User Flows Are gone

There are about 5 different tasks which all require this. Here are a couple of examples. Really anything that documents how to use B2C with a .NET web app, Spa. Whether we are following the tutorials through GitHub or a tutorial directly on the MS learn site. I would guess this is about 6 different tutorials. The azure website doesn't have User flows at all anymore. You can imagine how frustrating this is. Here are a couple of samples:
0. https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-web-application?tabs=visual-studio
https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-web-app-with-api?tabs=visual-studio
https://learn.microsoft.com/en-us/azure/active-directory-
b2c/configure-authentication-sample-react-spa-app
https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-spa-app

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

ID: 4a52b0db-6d39-8f43-782a-b8907f06c3f7
Version Independent ID: 87150ad9-f410-7b33-920e-75fd98f030dc
Content: Enable authentication in a web app by using Azure Active Directory B2C building blocks
Content Source: articles/active-directory-b2c/enable-authentication-web-application.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@LeeRuns
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

There are about 5 different tasks which all require this. Here are a couple of examples.  Really anything that documents how to use B2C with a .NET web app, Spa. Whether we are following the tutorials through GitHub or a tutorial directly on the MS learn site. I would guess this is about 6 different tutorials.  The azure website doesn't have  User flows at all anymore.  You can imagine how frustrating this is.  Here are a couple of samples:
0. https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-web-application?tabs=visual-studio

https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-web-app-with-api?tabs=visual-studio

https://learn.microsoft.com/en-us/azure/active-directory-
b2c/configure-authentication-sample-react-spa-app

https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-spa-app

@LeeRuns
Thanks for pointing this out. I have assigned to content author who will provide update accordingly.

@LeeRuns ,
Thank you for taking time give us feedback. I'm sorry I don't feel that I understand your question. Let me try to respond but I'll be glad if you give us more details or rephrase your question.
In our docs, we try as much as possible to avoid duplications, so we heavily use prerequisites. With regard to the docs you refer to, for each language or framework, we provide a set of 3 docs:

Kind of a quick start, where we give you a sample app, which you configure using your tenant's settings. Here, you register app (s) and create a user flow such as https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-web-app?tabs=visual-studio
In the second article, we show you how to build the sample app yourself, so the first article is a pre-requisite - we don't ask you to create user flow and register apps again, such as https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-web-application?tabs=visual-studio.
In the third article, we show you how to configure some options, such as custom domains and other options, such as https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-web-application-options

I hope this explanation helps.
Thanks.

Hi @LeeRuns, we're going to close this ticket now as we haven't heard back form you in a couple of weeks. If you need further assistance on this topic please feel free to reopen.
#please-close


Kitkat support

For the Samsung Galaxy S5?

Unlikely. I based this off of the fingerprint support in Marshmallow AOSP, so it's doubtful that this will work at all with Samsung's KitKat code (and I don't have a Samsung device to test against).
If your S5 ever gets a Marshmallow update and Samsung doesn't completely bastardize it (except, they will), then this may work.


Automate release process

Follow up to #310.
Purpose
The release process of Circuit UI is one of the main pain points identified in a developer survey. Thus, the goal is to automate as much of it as possible.
Approach & Changes
TL;DR: New commit prompt which enables automated changelog and publishing to npm. Also, Travis jobs now run faster.
Publishing
I've chosen semantic-release@16 to automate publishing the package. On Travis, semantic-release analyzes the commit history since the previous release to determine the version bump (patch, minor, major), then publishes a release to npm. The release is pushed to a release channel based on the current branch, e.g. on branch beta, the release is pushed to the beta channel on npm.
In practice, our flow could look like this: feature development happens in feature branches. Once its ready, the feature is ~squash~ merged into the next branch. semantic-release publishes a new version to the next release channel which can be installed with @sumup/circuit-ui@next.
Once it has been tested and verified, the next branch is merged into master and semantic-release publishes a new version, this time to the default latest channel.
Changelog
We already use GitHub releases as our changelog. In the future, these release notes will be autogenerated, tagged and published by semantic-release from the commit messages since the last release.

 This is where commitizen comes into play. It helps to write and enforce consistent commit messages using a neat, customizable prompt:

Bonus
All of these tools support .js config files, meaning we could integrate them into foundry 🎉
To Do

[ ] Document this flow in CONTRIBUTING.md
[ ] Reset the version number to allow semantic release to take over
[ ] Customize commitizen prompt properly
[ ] Figure out (squash) merge flow

I removed the reviewers, as this is still marked as in progress and we wanted to have some more discussion around the topic, right?

@felixjung Yes, thank you.
I'll try to get to it soon.


IBlockConverter story

Added IBlockConverter concept, use named adapters to convert deserialized value
of blocks, this enables an extensible mechanism to transform block values on
add/edit content operations.
Concept and HTML converter (ready to merge):
https://github.com/plone/plone.restapi/pull/915
@tiberiuichim I can't find the one that makes the resolveuid work with this. Didn't you create one? The one that should be merged with @cekk related PR too.
@tiberiuichim I can't also find the one with the deferred image creation! Can you provide the current state? Let's not forget this!
Apply same concept for indexers:
https://github.com/plone/plone.restapi/pull/917

@sneridagh i see that there is already a resolveuid converter/transformer.
My pr was about making the old serializer more generic and manage images and all blocks with url/href field too.
I don't remember what we decided about this feature: if it's ok to have a default converter like this, or not

Closing in favour of #2078


Cleanup dependencies and add check for that

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Weirdly osx-arm64 seems to link to less libraries than the rest of the architectures.

We're running into https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/433

🤕 glib now depends on gobject-introspection cc @pkgw

@xhochy Ugh, that's annoying. I see that you've started working on conda-forge/glib-feedstock#174 ... fingers crossed it's easy to get going!

Now running into https://github.com/conda-forge/conda-forge.github.io/issues/2102#issuecomment-2057686940

@xhochy It looks like most of these commits about Windows — do you know about the free official Windows VMs? They help me a lot with being able to figure out some of this stuff without needing to wait for the CI over and over again.

I know them, but I'm still a bit hesitant to use them. But I think, I have reached a point where I makes sense to use one of them. The actual error we are facing here is that it cannot load a specific DLL during introspection. Sadly, Windows doesn't list the name of the missing DLL.

@xhochy Argh, I hate it when that happens! It's a hassle to set up a fresh VM (install Miniforge, Git, VS Code, Visual Studio CLI tools...) and figure out the right incantations (you have to do the Visual Studio activation and stuff like conda build -m .ci_support/win_64_.yaml recipe, AFAICT) but it may well be worth it for diagnosing this kind of thing. I forget exactly how to debug the missing-DLL issue, but I think there's a way to get Windows to tell you what the specific problem actually is.

@conda-forge-admin please rerender

@pkgw Ready for review now 😅


[FLINK-7701][network] really fix watermark configuration order this time

What is the purpose of the change
Netty (in the version we use) only allows setting high and low watermarks after another but complains about invalid values and ignores them, e.g. if the new high watermark is less than the (old) low watermark. This makes it important to get the order of the configuration options right. #4391 fixed this for large memory segment sizes (where the low watermark would have been larger than the high watermark) but broke the of small segment sizes which lead to the scenario outlined above. This should fix both.
Brief change log

configure ServerBootstrap based on the current values vs. the defaults (those are unfortunately not exposed, so we need to inline the current one)
adapt NettyServerLowAndHighWatermarkTest to reflect both use cases (outlined above)

Verifying this change
This change added tests and can be verified as follows:

adapted NettyServerLowAndHighWatermarkTest to cover both high and low segment sizes
as before, no test for the KvStateServer since watermarks cannot be configured there (make sure it works the same way, though!)

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

yes, unfortunately this was for netty 4.1 only (it changed the API)...
I rebased the PR to fix the conflict (which I did not have during the rebase though...)