🐛 [Cloud_Firestore] Multiple crashes on 3.1.7: Fatal Exception: java.lang.RuntimeException Internal error in Cloud Firestore (24.0.1).

Bug report
Describe the bug
Since firebase 3.1.7 app crashes in production a lot. I can't replicate this on my side, but I got multiple reports and stability % is falling like a knife. Reports from crashlytics are not pointing in anything specific in my code, hence I'm not sure what to sample.
Sample report:
DelayedClientCall.java line 447
io.grpc.internal.DelayedClientCall$DelayedListener.onMessage
Fatal Exception: java.lang.RuntimeException
Internal error in Cloud Firestore (24.0.1).

com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java:539)
com.google.firebase.firestore.util.-$$Lambda$AsyncQueue$jx84dqgUsF4ojecSMurRqFLFD1Y.run (Unknown Source:2)
android.os.Handler.handleCallback (Handler.java:938)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:233)
android.app.ActivityThread.main (ActivityThread.java:8030)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:631)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:978)

Caused by java.lang.NullPointerException
Attempt to invoke virtual method 'com.google.firebase.firestore.model.DocumentKey com.google.firebase.firestore.model.MutableDocument.getKey()' on a null object reference

com.google.firebase.firestore.model.mutation.MutationBatch.applyToLocalView (MutationBatch.java:125)
com.google.firebase.firestore.local.LocalDocumentsView.recalculateAndSaveOverlays (LocalDocumentsView.java:164)
com.google.firebase.firestore.local.LocalDocumentsView.recalculateAndSaveOverlays (LocalDocumentsView.java:195)
com.google.firebase.firestore.local.LocalStore.lambda$acknowledgeBatch$3$LocalStore (LocalStore.java:310)
com.google.firebase.firestore.local.-$$Lambda$LocalStore$lVdtE1Q-smZ5G8FkMVocZAwo0B4.get (Unknown Source:4)
com.google.firebase.firestore.local.SQLitePersistence.runTransaction (SQLitePersistence.java:228)
com.google.firebase.firestore.local.LocalStore.acknowledgeBatch (LocalStore.java:301)
com.google.firebase.firestore.core.SyncEngine.handleSuccessfulWrite (SyncEngine.java:440)
com.google.firebase.firestore.core.MemoryComponentProvider$RemoteStoreCallback.handleSuccessfulWrite (MemoryComponentProvider.java:109)
com.google.firebase.firestore.remote.RemoteStore.handleWriteStreamMutationResults (RemoteStore.java:666)
com.google.firebase.firestore.remote.RemoteStore.access$500 (RemoteStore.java:53)
com.google.firebase.firestore.remote.RemoteStore$2.onWriteResponse (RemoteStore.java:201)
com.google.firebase.firestore.remote.WriteStream.onNext (WriteStream.java:185)
com.google.firebase.firestore.remote.WriteStream.onNext (WriteStream.java:49)
com.google.firebase.firestore.remote.AbstractStream$StreamObserver.lambda$onNext$1$AbstractStream$StreamObserver (AbstractStream.java:119)
com.google.firebase.firestore.remote.-$$Lambda$AbstractStream$StreamObserver$IZBnAkL3D_hQ5ofbDpSmX2lhuPo.run (Unknown Source:4)
com.google.firebase.firestore.remote.AbstractStream$CloseGuardedRunner.run (AbstractStream.java:67)
com.google.firebase.firestore.remote.AbstractStream$StreamObserver.onNext (AbstractStream.java:110)
com.google.firebase.firestore.remote.FirestoreChannel$1.onMessage (FirestoreChannel.java:131)
io.grpc.internal.DelayedClientCall$DelayedListener.onMessage (DelayedClientCall.java:447)
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal (ClientCallImpl.java:656)
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext (ClientCallImpl.java:641)
io.grpc.internal.ContextRunnable.run (ContextRunnable.java:37)
io.grpc.internal.SerializingExecutor.run (SerializingExecutor.java:133)
java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462)
java.util.concurrent.FutureTask.run (FutureTask.java:266)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run (AsyncQueue.java:234)
java.lang.Thread.run (Thread.java:923)

Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
/Users/kuba/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 2.8.1, on macOS 11.5.2 20G95 darwin-x64, locale en-GB)
• Flutter version 2.8.1 at /Users/kuba/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (7 weeks ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/kuba/Library/Android/sdk
• Platform android-31, build-tools 29.0.3
• ANDROID_HOME = /Users/kuba/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
  firebase_core: ^1.12.0   firebase_auth: ^3.3.6   firebase_analytics: ^9.1.0   firebase_dynamic_links: ^4.0.5   cloud_firestore: ^3.1.7   firebase_database: ^9.0.6   firebase_storage: ^10.2.6   firebase_messaging: ^11.2.6   firebase_crashlytics: ^2.5.0   firebase_app_check: ^0.0.6+5   firebase_remote_config: ^2.0.0
Click To Expand
PASTE OUTPUT INSIDE HERE

@KubaStachecki
Can you try below and see if it helps ?
buildTypes {
       release {
           minifyEnabled false
           shrinkResources false

Similar / related: https://github.com/FirebaseExtended/flutterfire/issues/7985

Hi! Yes, both settings are already in the code:
    buildTypes {         release {             signingConfig signingConfigs.release             shrinkResources false             minifyEnabled false             ndk {                 debugSymbolLevel 'SYMBOL_TABLE'             }         }         debug {             signingConfig signingConfigs.release             shrinkResources false             minifyEnabled false         }     }

We also witnessed extreme crash repetition, frequency and growth with cloud_firestore release 3.1.7. We immediately rolled back to cloud_firestore 3.1.6 and firebase_core 1.11.0. We witnessed 6 new crash types (including the one mentioned above by @KubaStachecki). We can provide trace stacks of these, if desired. We could not produce these errors in debug / during manual QA prior to production roll-out (Unfortunately we aren't using Firebase Test Labs at this time), and as a result, discovered these crashes when customers starting calling, and alarms ringing. Reverting to prior release of firestore and firebase_core removed all 6 crash types from our crashalytics, and we have been running crash free (Aside from the TransactionStreamHandler crash fixed in firestore 3.1.7) for 3 days now on the reverted release. The only thing changed between the trouble crash production release and the reverted release were library increments on cloud_firestore and firebase_core. Every one of the new 6 crashes have to do with a blame frame matching "io.grpc.internal.***". We witnessed these crashes in production primarily on Android 11 and the Motorola G Fast, though other phones experienced the crashes as well. We can provide additional details if desired.

Looking at the crash log, it seems to be related to native Android sdk. See below issues from that repo for your reference:
https://github.com/firebase/firebase-android-sdk/issues/382
https://github.com/firebase/firebase-android-sdk/issues/875
But I'll keep it open for further insights from the team.
/cc @Salakar @russellwheatley

Similar crash report from cloud_firestore 3.1.7: https://github.com/FirebaseExtended/flutterfire/issues/7985

Hey @KubaStachecki, the cloud_firestore 3.1.7 version upgrades the Firebase BOM to 29.0.4 which  also updates the Firestore package from 24.0.0 to 24.0.1.
The other change made in cloud_firestore plugin was to the Transaction handler which involved using the Looper class (see diff).
The stack trace leads me to believe the firebase android sdk might have a bug. Not sure if you're able to override the Firebase BOM  to 29.0.4 in a non-prod environment whilst using cloud_firestore version 3.1.6 and recreate the bug?

Hmmm, actually, I do see the Firestore transaction handler invoked in this line:
com.google.firebase.firestore.local.SQLitePersistence.runTransaction (SQLitePersistence.java:228)

So it probably is the change to the transaction handler 🤔.

Unfortunately I can't reproduce this crash locally so far, so I can't test this 29.0.4 - 3.1.6 scenario, but I can confirm that crashes disappeared after returning dependencies to firebase_core: 1.11.0 and cloud_firestore: 3.1.6 - thank you @bswhite1 !

i am facing the same issue in release mode. I know we can resolve this problem by  'shrinkResources false  minifyEnabled false'
but I want to minify my app. how can I resolve this issue?

I got the same problem in development environment using cloud_firestore 3.1.7 and firebase_core 1.12.0, it causes my app crash every time I open it.
Workaround:
Rollback to cloud_firestore 3.1.6 and firebase_core 1.11.0
Hope it will be fixed soon.

I got the same problem in development environment using cloud_firestore 3.1.7 and firebase_core 1.12.0, it causes my app crash every time I open it.
Workaround: Rollback to cloud_firestore 3.1.6 and firebase_core 1.11.0
Hope it will be fixed soon.

In my case it is not working  even with  same version of cloud_firestore 3.1.6 and firebase_core 1.11.0 with minifyEnable true ...hope it will fix soon ..minifyEnable false is not even proper solution

Same issue on production. Cannot reproduce locally.

Was this addressed in v 3.1.8?

Was this addressed in v 3.1.8?

I just tested the app with v 3.1.8 and it still crashes. The problem still exists. Hope they fixed it soon...

I got the same problem in development environment using cloud_firestore 3.1.7 and firebase_core 1.12.0, it causes my app crash every time I open it.
Workaround: Rollback to cloud_firestore 3.1.6 and firebase_core 1.11.0
Hope it will be fixed soon.

In my case it is not working even with same version of cloud_firestore 3.1.6 and firebase_core 1.11.0 with minifyEnable true ...hope it will fix soon ..minifyEnable false is not even proper solution

Same here. I tried various things:

Clearing pub cache
Downgrading flutter to previous version
Downgrading to older plugin versions
Downgrading gradle version
Downgrading target sdk version

I did those things because that were the latest changes on the app I am currently working on, but nothing seemed to help. At that point I pulled out some other apps and created release build - all of them are crashing on release now....

I got the same problem in development environment using cloud_firestore 3.1.7 and firebase_core 1.12.0, it causes my app crash every time I open it.
Workaround: Rollback to cloud_firestore 3.1.6 and firebase_core 1.11.0
Hope it will be fixed soon.

In my case it is not working even with same version of cloud_firestore 3.1.6 and firebase_core 1.11.0 with minifyEnable true ...hope it will fix soon ..minifyEnable false is not even proper solution

@pranavo72bex Do you have a reproducible code snippet that I can use to debug, please? (or anyone for that matter).

Could you rollback the TransactionStreamHandler fix from 3.1.7 until this is resolved? That way we can get the other updates available.

After internal conversations and reviewing the stack trace, we're not convinced this problem originates from FlutterFire. @mk-dev-1 & @pranavo72bex have confirmed the rollback did not make a difference for them. We also note that the stack trace is made almost entirely from the native android SDK and its dependencies. The current implementation also solves a previous transaction bug.
for these reasons, we're holding back on any implementation reversal. If someone could provide a reproducible sample, I'd be very grateful. That way we'd be able to diagnose the problem and get it solved.

After internal conversations and reviewing the stack trace, we're not convinced this problem originates from FlutterFire. @mk-dev-1 & @pranavo72bex have confirmed the rollback did not make a difference for them. We also note that the stack trace is made almost entirely from the native android SDK and its dependencies. The current implementation also solves a previous transaction bug.
for these reasons, we're holding back on any implementation reversal. If someone could provide a reproducible sample, I'd be very grateful. That way we'd be able to diagnose the problem and get it solved.

DID you try to test the firebase package with ProguardEnable true??
buildTypes {         release {             signingConfig signingConfigs.release             **shrinkResources true             minifyEnabled true**         }         debug {             signingConfig signingConfigs.release             **shrinkResources true**             **minifyEnabled true**         }     }

After internal conversations and reviewing the stack trace, we're not convinced this problem originates from FlutterFire. @mk-dev-1 & @pranavo72bex have confirmed the rollback did not make a difference for them. We also note that the stack trace is made almost entirely from the native android SDK and its dependencies. The current implementation also solves a previous transaction bug.
for these reasons, we're holding back on any implementation reversal. If someone could provide a reproducible sample, I'd be very grateful. That way we'd be able to diagnose the problem and get it solved.

DID you try to test the firebase package with minifyEnabled true??
`buildTypes {
        release {
            signingConfig signingConfigs.release
            **shrinkResources true
            minifyEnabled true**
        }
        debug {
            signingConfig signingConfigs.release
            **shrinkResources true**
            **minifyEnabled true**
        }
    }`

Yes, tried both: shrinkResources & minifyEnabled on and off. It if is off, everything's working perfectly and it is a proposed solution for this error in other threads. However, I would not consider this a real solution....

Great work @mk-dev-1, so it appears this is a bug at the level of the firebase-android-sdk and it has been resolved with this merge: https://github.com/firebase/firebase-android-sdk/pull/3495.
I'll update this channel once this has been released on the android sdk and subsequently on FlutterFire.

Not sure. Last firebase android update was Feb 20th. So it is due a release soon. Then FlutterFire needs to be released with firebase android sdk bump.

Version 24.0.2 was released a few hours ago - I have overwritten the depencency like this
    implementation 'com.google.firebase:firebase-firestore:24.0.2'

in my app level build.gradle.
It is showing in the dependency tree like this:
|    |    |    +--- com.google.firebase:firebase-firestore:24.0.1 -> 24.0.2 (c)
[...]
|    +--- com.google.firebase:firebase-firestore -> 24.0.2
[...]
+--- com.google.firebase:firebase-firestore:24.0.2 (*)

Unfortunately, the crash remains:
E/AndroidRuntime(25933): FATAL EXCEPTION: main
E/AndroidRuntime(25933): java.lang.RuntimeException: Internal error in Cloud Firestore (24.0.2).
E/AndroidRuntime(25933):        at com.google.firebase.firestore.e0.h.run(:1)
E/AndroidRuntime(25933):        at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(25933):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(25933):        at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(25933):        at android.os.Looper.loop(Looper.java:313)
E/AndroidRuntime(25933):        at android.app.ActivityThread.main(ActivityThread.java:8633)
E/AndroidRuntime(25933):        at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(25933):        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
E/AndroidRuntime(25933):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)
E/AndroidRuntime(25933): Caused by: e.e.b.c.i.j: java.lang.RuntimeException: java.lang.ExceptionInInitializerError
E/AndroidRuntime(25933):        at e.e.b.c.i.O.n(:3)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.d0.K.c(:1)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.d0.n.a(Unknown Source:6)
E/AndroidRuntime(25933):        at e.e.b.c.i.B.run(Unknown Source:21)
E/AndroidRuntime(25933):        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/AndroidRuntime(25933):        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/AndroidRuntime(25933):        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
E/AndroidRuntime(25933):        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(25933):        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.e0.s$c$b.run(Unknown Source:15)
E/AndroidRuntime(25933):        at java.lang.Thread.run(Thread.java:920)
E/AndroidRuntime(25933): Caused by: java.lang.RuntimeException: java.lang.ExceptionInInitializerError
E/AndroidRuntime(25933):        at e.e.b.c.i.P.run(Unknown Source:17)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.e0.C.a(:1)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.e0.m.run(Unknown Source:4)
E/AndroidRuntime(25933):        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(25933):        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(25933):        ... 1 more
E/AndroidRuntime(25933): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime(25933):        at h.b.n0.d.forTarget(Unknown Source:0)
E/AndroidRuntime(25933):        at h.b.n0.e.a(:1)
E/AndroidRuntime(25933):        at h.b.N.b(:2)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.d0.N.e(:2)
E/AndroidRuntime(25933):        at com.google.firebase.firestore.d0.r.call(Unknown Source:2)
E/AndroidRuntime(25933):        at e.e.b.c.i.P.run(Unknown Source:4)
E/AndroidRuntime(25933):        ... 5 more
E/AndroidRuntime(25933): Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: h.b.k0.values []
E/AndroidRuntime(25933):        at java.lang.Enum.enumValues(Enum.java:270)
E/AndroidRuntime(25933):        at java.lang.Enum.access$000(Enum.java:61)
E/AndroidRuntime(25933):        at java.lang.Enum$1.create(Enum.java:277)
E/AndroidRuntime(25933):        at java.lang.Enum$1.create(Enum.java:275)
E/AndroidRuntime(25933):        at libcore.util.BasicLruCache.get(BasicLruCache.java:63)
E/AndroidRuntime(25933):        at java.lang.Enum.getSharedConstants(Enum.java:289)
E/AndroidRuntime(25933):        at java.lang.Class.getEnumConstantsShared(Class.java:2459)
E/AndroidRuntime(25933):        at java.util.EnumSet.getUniverse(EnumSet.java:407)
E/AndroidRuntime(25933):        at java.util.EnumSet.noneOf(EnumSet.java:109)
E/AndroidRuntime(25933):        at java.util.EnumSet.of(EnumSet.java:235)
E/AndroidRuntime(25933):        at h.b.n0.d.<clinit>(Unknown Source:89)
E/AndroidRuntime(25933):        ... 11 more
E/AndroidRuntime(25933): Caused by: java.lang.NoSuchMethodException: h.b.k0.values []
E/AndroidRuntime(25933):        at java.lang.Class.getMethod(Class.java:2103)
E/AndroidRuntime(25933):        at java.lang.Class.getDeclaredMethod(Class.java:2081)
E/AndroidRuntime(25933):        at java.lang.Enum.enumValues(Enum.java:267)
E/AndroidRuntime(25933):        ... 21 more

@mk-dev-1, it appears you need to create a separate issue. This issue, as defined in first post is to fix: "Attempt to invoke virtual method 'com.google.firebase.firestore.model.DocumentKey com.google.firebase.firestore.model.MutableDocument.getKey()' on a null object reference
"
That is what was suppose to be fixed in 24.0.2
Your issue appears to be around initialization. Also sounds like you have a locally reproducible example?

@bswhite1 Based on your feedback I have added a separate issue for this. Unfortunately, I yet have to find a way to reproduce the issue. Setting up a blank project with just firestore, a stream listener and release configuration does not crash the app. Let's continue this in the new issue then....

Did you enable minify in your blank project?

Overriding the dependencies in my android's build.gradle solves the issue.
implementation 'com.google.firebase:firebase-firestore:24.0.2'
@mk-dev-1

@pranavo72bex Yes, I did ;-)
@luckyhandler: Does it fix the original issue raised by KubaStachecki, or does it fix the issue I raised a couple of posts earlier or the one in https://github.com/FirebaseExtended/flutterfire/issues/8265?

It fixes the original issue by @KubaStachecki with the
Attempt to invoke virtual method 'com.google.firebase.firestore.model.DocumentKey com.google.firebase.firestore.model.MutableDocument.getKey()' on a null object reference

stacktrace

@

Overriding the dependencies in my android's build.gradle solves the issue. So it's a native Android issue. implementation 'com.google.firebase:firebase-firestore:24.0.2' @mk-dev-1
Is there a new FLutterFire version in the pipeline for this fix?

This solve the issues in my case ..thanks man you are life saver 🤗

As for the issue I raised a couple of posts earlier - after finally identifying a working commit in my app's repository history, I was able to identify and resolve that issue, too. Replacing classpath 'com.android.tools.build:gradle:4.2.2' with classpath 'com.android.tools.build:gradle:4.1.0' seems to have done the trick....
Happy to close this issue & Thanks for everyone's support


firebase_database - web : onChildAdded.listen only working in debug mode

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Core, Database
Which platforms are affected?
 Can you please a complete example where the issues is apparent?

Hello @TarekkMA ,
thank you for the support and help.
I was creating an example app to post here, when I figure out the problem, that really happened only in production and was not a firebase problem...
Thank you for the quick response! :)


fix(2918898444): Too many zeros shows for WBTC

Description of the Changes
Used the unit map of web3 to do the conversions.
The problem is that in this map the jumps are in 3 decimals, I.e. 3,6,9,12,18...
So if we have a token with 8 decimals, for example, we didn't convert him correctly.
Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix colors of currencies.

Make them same color with price, amount and total.

@pkucherenk0 could you guide me on how to link this with peatio if i deployed via a container. The trade screen does not open for me when I click on the trade section

Fixed in #56.


Change UIKit import to Foundation

Foundation is inherited by UIKit and Coca frameworks
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/ObjC_classic/index.html
It did break the test

Thanks! I agree that SWXMLHash should definitely be using Foundation instead of UIKit. I'm trying to determine why the test is failing - it appears as though the order of child elements has changed, which seems odd, though. I'd like to figure that out before I merge this in (whether that means tweaking the existing code to handle the variation I'm not sure yet).

I was able to repro the order failure in the tests so I opted to just merge this. I'll get the tests passing again soon. Thanks again for the contribution!

And I just figured out what was wrong - Dictionaries by default don't imply any order. I'll fix up my children implementation to handle element order. Completely unrelated to this!

This is now merged and fixed. I just pushed podspec 0.6.2 to with these changes.


Make chain follower more resilient to unexpected failures

Issue Number

#711
Overview

[x] I have removed some duplication and reviewed naming in the chain follower code
[x] I changed the severity level of "expected" errors to warning
[x] I have prevented the chain follower from crashing and have it retrying using an exponential backoff, logging errors with each retry.

Comments

It might happen that we get some unexpected 500 errors from the node, or that the network is busy for a bit. We could do something more fine-grained however in the networking layer and make sure we still crash for a certain type of errors.

bors try

bors r+

bors r-

bors r+


Add ref

closes issue #1790. adds the function add_eeg_reference to reference module. This can be useful for re-referencing.

@wmvanvliet can you have a look?

sorry, i will break my habit of wanting to breaking backwards compatibility :)

Placed my comments inline. Besides those, LGTM.

That it for me then.

just noticed that there wasn't a test for the evoked. please wait for the build to finish

updated

I am happy if @wmvanvliet is happy

go ahead and merge then! Thanks!


Determine how we should handle email sending

Any thoughts on a service we can use here? I've had success with Sendgrid and Mailgun, the latter of which is free under 10K emails (which we'd likely be under).
Any issues proceeding with Mailgun or is there a better solution?

What do we need to send emails for?

Error emails generally, but this could extend to contact form/signup notifications or anything involving user engagement.

Let's use Mailgun for now. Closing...


Enable get_all_appointments on teos_cli

teos_cli has no command to interact with the get_all_appointments endpoint.

I'll take a stab at this.

Awesome! We're happy to have you back 🎉


Quick question

Hello Ralf Becher,
now im writing you again.
How is it possible to show more than date (from, to). I have many different project with many different timelines per project. i can display the different porject but not more than one timelinee per project.
I hope you can help me. Thank You.
Marcel

i posted a screenshot of my problem. My goal is the box i drawed. so that there are more dates (from, to) possible for one group.


Sound too low

Sound is coming only from top speaker not from bottom.

Hey, did the “speaker” button changed the audio source?

I turned on the speaker and sound only came from top speaker and sound is low..

Hello, have you found solution?


delay

warn - The class delay-[8s] is ambiguous and matches multiple utilities.
warn - If this is content and not a class, replace it with delay-[8s] to silence this warning.
I cannot set (animation) delay on the fly because there is another tailwind class called delay for transitions
https://tailwindcss.com/docs/transition-delay
Need to be renamed

Same goes for duration ...

Is this project still maintained? I rather use plain CSS for the animation.

I am having same issue too. :(
this is due to same name being used for multiple utility.
i just saw that the developer is aware about the possibility of friction, for using the same names.

Note: This is reusing the same classes as transition-duration, this may change in the future if it turns out to cause friction.

from here -> https://github.com/jamiebuilds/tailwindcss-animate/blob/main/docs/animation-duration.md#animation-duration
Now, it is causing friction and it should be renamed i think.
something like:
"anim-duration-{value}" or "animate-duration-{value}" can be useful.
please rename this 🙏

Hey @jamiebuilds.
I have forked this repo and made some commits to fix this exact issue, mainly just prefixing all the overlapping classes with anim. If you would like, I can raise a PR.


Crash on startup.

I have no Idea what is is or why it happens, but here it is.
Crash Log

Unable to reproduce this issue, but I can still fix it. For now, try deleting the wynnforge.dat file in your minecraft folder.


Convert "New Paste" Navigation Bar Item to Button

In previous versions of TorPaste (pre commit 7f96030b0ed33f76b29adde75b6751c7ec1b76be) the Navigation Bar button [+] New Paste was an actual button (btn btn-primary). After the mobile enhancements introduced in the commit above, that is no longer the case.
This decision was not taken lightly: the button simply did not look good no matter what. Since making TorPaste a mobile-friendly web app was of higher priority, the button has been downgraded to a simple tab / link / ...
Of course, we want the button back in to the project. Let's find a way to make the button usable without any hacks (margin-top: -10px) and have it look good in both Desktop and Mobile.

@DaKnOb I would like to work on this issue. Can you please assign it to me?

@vijeth-aradhya Of course! Good to know you're willing to help! I couldn't easily fix this myself, so I could need some help.. :-)


Here is the bleeding edge Mac OSX version

mschack.zip

Please see the issue "Graphics Problems" for changes that need to be made in mscHack_Controls.hpp

resource loading has been fixed in latest


Explicitly convert streampos to streamoff

Explicitly convert streampos to streamoff.
Print '\n' instead of endl.

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


Question: Search Plugin

Does this package support the search plugin?
If so does it follow the same logic of, $('#jstree').jstree('search', searchString);

So I see search is supported but is it possible to have the search parameter 'show_only_matches' be a reactive variable?


Improve performance of the nc_reclaim_data and nc_copy_data functions.

re: Issue https://github.com/Unidata/netcdf-c/issues/2685
re: PR https://github.com/Unidata/netcdf-c/pull/2179
As noted in PR https://github.com/Unidata/netcdf-c/pull/2179, the old code did not allow for reclaiming instances of types, nor for properly copying them. That PR provided new functions capable of reclaiming/copying instances of arbitrary types.
However, as noted by Issue https://github.com/Unidata/netcdf-c/issues/2685, using these most general functions resulted in a significant performance degradation, even for common cases.
This PR attempts to mitigate the cost of using the general reclaim/copy functions in two ways.
First, the previous functions operating at the top level by using ncid and typeid arguments. These functions were augmented with equivalent versions that used the netcdf-c library internal data structures to allow direct access to needed information. These new functions are used internally to the library.
The second mitigation involves optimizing the internal functions by providing early tests for common cases. This avoids unnecessary recursive function calls.
The overall result is a significant improvement in speed by a factor of roughly twenty -- your mileage may vary. These optimized functions are still not as fast as the original (more limited) functions, but they are getting close. Additional optimizations are possible. But the cost is a significant "uglification" of the code that I deemed a step too far, at least for now.
Misc. Changes

Added a test case to check the proper reclamation/copy of complex types.
Found and fixed some places where nc_reclaim/copy should have been used.
Replaced, in the netcdf-c library, (almost all) occurrences of nc_reclaim_copy with calls to NC_reclaim/copy. This plus the optimizations is the primary speed-up mechanism.
In DAP4, the metadata is held in a substrate in-memory file; this required some changes so that the reclaim/copy code accessed that substrate dispatcher rather than the DAP4 dispatcher.
Re-factored and isolated the code that computes if a type is (transitively) variable-sized or not.
Clean up the reclamation code in ncgen; adding the use of nc_reclaim exposed some memory problems.

Fixed a small conflict, will merge as soon as the tests run.  Might be a few, GitHub actions are currently running for another PR as well. Trying to get all caught up.


Updated dependencies

This updates the dependencies:

DialogHost.Avalonia: 0.7.5 -> 0.7.6 (includes important bug fix https://github.com/AvaloniaUtils/DialogHost.Avalonia/issues/35)
Markdown.Avalonia.Tight: 11.0.0-d1 -> 11.0.1 (update to latest stable version; 11.0.1 still target Avalonia 11.0.0)
Avalonia.Diagnostics: 11.0.0-rc2.2 -> 11.0.0

Please fix conflicts

@CreateLab
Please fix conflicts

done

@CreateLab since it may helps: The dependency updates are also included in #152


SX-Aurora TSUBASA Vector Engine

See its homepage and LLVM support is upstream. The architecture documentation is at https://sxauroratsubasa.sakura.ne.jp/Documentation. Predefined macros are defined in "C/C++ Compiler User's Guide" section 9.2.4 "Predefined Macro". The architecture is identified by __ve__.

Closed by https://github.com/cpredef/predef/commit/d48b93cd5c92ef64dc098a7cf9ba3f3adf3ad870


Config docker-compose.standalone to run 1000 real clients as mocked users

Prerequisites: https://github.com/turms-im/turms/issues/750


Added a missing word

The word "that" was missing from the first sentence.

This change is

Thanks!
/lgtm
/approve


Bump API spec: 23 Nov 2023

Changes
Bump the API spec to the same version as in https://github.com/databricks/databricks-sdk-go/pull/706.
Tests

I did, and they passed.


Add documentation for key decorators in compiler and rest libs

This change fixes #1419 by adding documentation for a few key decorators in the @cadl-lang/compiler and @cadl-lang/rest libraries.  It also adds some explanation of how @autoRoute generates routes from operation parameter metadata.

Thanks!


Support changing parameters based on slope

Would this include adjusting the rotation to make the model snap to the ground in these situations?

No. This seems more like a job for the desired_up I've suggested in my comment to #40.


Improve the encoding fall back mechanism for Parquet 2.0

https://github.com/apache/incubator-parquet-mr/pull/74
-> moved to https://github.com/apache/parquet-mr/pull/74
Reporter: Julien Le Dem / @julienledem
Assignee: Julien Le Dem / @julienledem
Note: This issue was originally created as PARQUET-52. Please see the migration documentation for further details.

Julien Le Dem / @julienledem:
Issue resolved by pull request 74
https://github.com/apache/incubator-parquet-mr/pull/74


MuSig: Add Minimal Compatibility with BIP32 Tweaking

In short, musig_pubkey_tweak_add now allows for xonly and "ordinary" tweaking. Also, in order to allow using ec_pubkey_tweak_add on the non-xonly aggregate public key, there's a new function musig_pubkey_get that allows obtaining it from the keyagg_cache.
One alternative would be that instead of adding musig_pubkey_get, we could change pubkey_agg to output an ordinary (non-xonly) pubkey. Then users of the API who do not need ordinary (BIP32) tweaking would be forced to call xonly_pubkey_from_pubkey. And we'd probably want to change the spec. And it would be a bit weird to output a pubkey that can't be directly schnorrsig_verify'd.
Based on #131

As @real-or-random remarked, instead of an xonly argument it's probably better to have two functions, ec_tweak and xonly_tweak, because they'd correspond to the existing tweaking functions.

rebased

@robot-dreams Your understanding appears to match mine. As an aside, hardened derivation is not impossible.

Thanks @robot-dreams ! I added your commit.

ACK 560aa3d3a98081963d3c5d276773d20e07a3932d

Squashed fixups.

We're also making progress towards a better understanding of when to use which tweaks, and then how to deal with them during signing. I think we should write that up somewhere.

Hm, not sure what you mean. The straight forward answer is x-only tweaks for taproot, ordinary tweaks for everything else (including BIP32).

I may have meant "when to use x-only keys in protocols". But I'm not sure to be honest, ignore this part of my comment.

Thx for the review @real-or-random. Squashed fixups.

ACK 8088eddc534cbbb89dd5f892828c4013416c4f2b based on https://github.com/ElementsProject/secp256k1-zkp/pull/151#issuecomment-1005198409 and the following range-diff:
git range-diff \
	a5b5909e8d56eb3c23aeb6eb4cdca0a621a0930b \
	560aa3d3a98081963d3c5d276773d20e07a3932d \
	8088eddc534cbbb89dd5f892828c4013416c4f2b


CodeQL fails for Swift scanning

We`re workin on  CodeQL Static Application Security Testing (SAST) implementation for a Swift language using GitHub Actions. During this process, I encountered an issue with the CodeQL initialization step when integrating with a Fastlane-based build process.
When including the CodeQL initialization step (github/codeql-action/init@v2) in the GitHub Actions workflow before Fastlane-based build commands, the build job fails with a CodeSign error. The specific error message indicates that the CodeSign command has failed.
Interesting Behavior: if I remove the CodeQL initialization step from the GitHub Actions workflow, the build application process works perfectly without any issues - application builds well.

Can you save and share a full log from the build that produced this error?

It would be useful to re-run in debug mode and share the logs from that run.

Closing an issue as Debug logs can`t be provided for external resources.


[BUG] No maps are loaded, when mod is inactive MSFS breaks connection to Bing maps frequently

Hi,
when I try to use the version msfs2020-google-map-2021-11-14.zip with my
bought DVD-version FS 2020 (Ver. <IP_ADDRESS>) no GoogleMaps are load and the
FS hangs. The rolling cache is set to OFF.
When I have stopped your mod and try to start the FS with the original
Bing-maps again, I get online connection breaks frequently. I never had
this problem before. It seems that your mod has changed something in the
flightsimulator configuration.
How can I solve this problem? I never had connection breaks before I
tried to install your mod. Please assist me...
Thanks in advance
Andreas from Germany

Please checkout: https://github.com/derekhe/msfs2020-google-map/wiki/Welcome

Hello,
I found the solution to get everything up and running (with and without the mod). Thanks to derekhe !!
Here is what to be done
My configuration:
Windows 10 Pro Vers. 21H1
MSFS 2020  Vers. <IP_ADDRESS>
Mod Vers.  msfs2020-google-map-2021-11-16.zip
FIRST run the MSFS 2020
When its loaded, right click on run.bat of the mod and run it as administrator.
In the now opened mod-window click RUN.
Enjoy the game with Google maps....
BEFORE close the mod-window click STOP to reset the hosts
If you want to use the MSFS 2020 with the original Bing maps, simply run the MSFS
without starting the mod. This only works if you have STOPed the mod before,
otherwise no maps can be loaded.
The mod will change your hosts file (C:\windows\system32\drivers\etc\hosts) to place these entries inside:
<IP_ADDRESS> kh.ssl.ak.tiles.virtualearth.net
<IP_ADDRESS> khstorelive.azureedge.net
So that the traffic to these servers will redirect to the mod to give you google map. If you have trouble after exit the mod (don't forget to use the STOP button), please check this file and delete these two lines (You need full file access to be able to do that).
See also the website:
https://github.com/derekhe/msfs2020-google-map/wiki/Welcome

Yes, please read the docs first


Local development: app does not start

@yorek thanks for an awesome talk and really helpful code & scripts. Unfortunately, I wasn't able to get this app running on local dev. My swa start command just never prints the Azure Static Web Apps emulator started at http://localhost:4280. Press CTRL+C to exit. line:
% swa start ./client --api-location ./api

Welcome to Azure Static Web Apps CLI (1.0.2)

***********************************************************************
* WARNING: This emulator may not match the cloud environment exactly. *
* Always deploy and test your app in Azure.                           *
***********************************************************************

[api] Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
[api] Copyright (C) Microsoft Corporation. All rights reserved.
[api]
[api]   Determining projects to restore...
[api]   All projects are up-to-date for restore.
[api]   api -> /Users/sid/code/azure-sql-db-fullstack-serverless-kickstart/api/bin/output/api.dll
[api]
[api] Build succeeded.
[api]     0 Warning(s)
[api]     0 Error(s)
[api]
[api] Time Elapsed 00:00:02.29
[api]
[api]
[api]
[api] Azure Functions Core Tools
[api] Core Tools Version:       4.0.4670 Commit hash: N/A  (64-bit)
[api] Function Runtime Version: <IP_ADDRESS>26
[api]
[api] [2022-08-05T11:34:09.454Z] Found /Users/sid/code/azure-sql-db-fullstack-serverless-kickstart/api/api.csproj. Using for user secrets file configuration.
[api]
[api] Functions:
[api]
[api] 	Delete: [DELETE] http://localhost:7071/api/todo/{id}
[api]
[api] 	Get: [GET] http://localhost:7071/api/todo/{id:int?}
[api]
[api] 	Patch: [PATCH] http://localhost:7071/api/todo/{id}
[api]
[api] 	Post: [POST] http://localhost:7071/api/todo
[api]
[api] For detailed output, run func with --verbose flag.
[api] [2022-08-05T11:34:18.619Z] Host lock lease acquired by instance ID '00000000000000000000000045DDF8BE'.

I have followed all the instructions above, installed dependencies, created a SQL server, deployed the databases, and am running Azurite via the VS Code extention (why is this needed btw?). I also tried the 1.0 tag, which has the same issue. If I run swa start ./client (without the --api-location flag), it serves the app, but of course it cannot connect to the backend. Any idea what I'm missing?
My setup:
OS: macOS 12.5
Node version: 16.16.0
npm list -g:
/usr/local/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

Hi. I've been trying to replicate the issue on my WSL environment but with no luck. Can you just try to see if the SWA cli work as expected by following this sample procedure:

create an empty folder, for example test-app
in the test-app folder create two folders: client and api
move into the api folder and run func init --worker-runtime dotnet to initialize the azure function environment
always from the api folder run  func new --language c# --template HttpTrigger --name DemoFunction to create a sample function with an HttpTrigger
go back to test-app folder and run swa start ./client --api-location ./api

You should see something simlar to:

Welcome to Azure Static Web Apps CLI (1.0.2)

***********************************************************************
* WARNING: This emulator may not match the cloud environment exactly. *
* Always deploy and test your app in Azure.                           *
***********************************************************************

[swa] - Waiting for http://localhost:7071 to be ready
[api] Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
[api] Copyright (C) Microsoft Corporation. All rights reserved.
[api]
[api]   Determining projects to restore...
[api]   Restored /home/damauri/sandbox/test-app/api/api.csproj (in 689 ms).
[api]   api -> /home/damauri/sandbox/test-app/api/bin/output/api.dll
[api]
[api] Build succeeded.
[api]     0 Warning(s)
[api]     0 Error(s)
[api]
[api] Time Elapsed 00:00:03.02
[api]
[api]
[api]
[api] Azure Functions Core Tools
[api] Core Tools Version:       4.0.4544 Commit hash: N/A  (64-bit)
[api] Function Runtime Version: <IP_ADDRESS>86
[api]
[api] [2022-08-05T18:34:26.679Z] Found /home/damauri/sandbox/test-app/api/api.csproj. Using for user secrets file configuration.
[api]
[api] Functions:
[api]
[api]   DemoFunction: [GET,POST] http://localhost:7071/api/DemoFunction
[api]
[api] For detailed output, run func with --verbose flag.
[swa] ✔ Connected to http://localhost:7071 successfully
[swa]
[swa] Serving static content:
[swa]   /home/damauri/sandbox/test-app/client
[swa]
[swa] Serving API:
[swa]   /home/damauri/sandbox/test-app/api
[swa]
[swa] Azure Static Web Apps emulator started at http://localhost:4280. Press CTRL+C to exit.
[swa]
[swa]

The important part is the Connected to http://localhost:7071 successfully
If you cannot see this (as it happens in the log you have pasted before` there must be something wrong with SWA and Azure Function integration. I'll try on my Mac later too.

Thank you for the quick response! I figured out the issue, apologies for any inconvenience: I had another VS Code window open in the background that had https://github.com/Azure/azure-functions-sql-extension/tree/main/samples/samples-python open in a dev container which was automatically forwarding port 7071. So I guess func was unable to attach to that port (strange that it didn't complain about this, perhaps it was spinning waiting for the port to be ready?).
Once I removed that port forward, I was able to see the missing lines:
[swa] - Waiting for http://localhost:7071 to be ready
Connected to http://localhost:7071 successfully and
[swa] Azure Static Web Apps emulator started at http://localhost:4280. Press CTRL+C to exit.
Thanks! Why do we need Azurite btw? The Az Fn is fetching and storing data from the remote SQL server even in local dev. So I don't think we need any local storage?

Great. AFAIK Azure Functions needs to store metadata into an Azure Storage account, that's why the need for Azurite...It might well be that the last version of SWA are also taking care of that part too, so maybe Azurite it not needed anymore. I'll check as soon as I'll push some updates to the repo (in the next weeks)


Google Analytics Updates Tags Not Compatible with Google Analytics Block in Sharepoint

The block of content in the SharePoint editor for Google Analytics only displays site with the old Google Analytics tags. It omits sites that have the newest version of the tag.
And, this was the only place I could find to provide this feedback. There isn't a feedback link on the SharePoint page anywhere, and the SharePoint troubleshooting resource feedback is broken.

Hi @cshenry13, I'm not sure what the SharePoint editor for Google Analytics is, so we would need to have more context on here. What exactly is being used and how? What's the current outcome and what's the expectation?

I'll try to describe it better:
On the Sharepoint site, you can edit the layout and include other blocks. One of the block you can include was for Google Analytics. When we tried to include this Google Analytics block on the Sharepoint screen, it listed all of the Google Analytics properties that are still using the old Google Property Tag, but it didn't list any of the properties with the new universal GA tag.

It looks like this is using the connecter webparts (controls that ship with SharePoint).  Unfortunately, that is outside the scope of this issues list.  You will need to open a ticket with support.


Separate knox's default authentication for login from the DRF's one

To use knox's TokenAuthentication for DRF's default authentication, we need to separate knox's default authentication from the DRF's one.

Merged into develop branch


[Feature Request] Introduction to Strings

🚀 Feature Request
Is your feature request related to a problem? Please describe.
intro to string
Describe the solution you'd like
i will add overview of string methods to manipulate string in python and c++ ,
Additional context

Would you like to work on this feature?

[x] Yes
[ ] No

@ajay-dhangar please assign me this issue


chore: add test for multiindex

discovered through #96

Codecov Report

Merging #155 (71f2dbd) into main (879f375) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
+ Coverage   99.53%   99.54%   +0.01%
==========================================
  Files           9        9
  Lines         645      660      +15
==========================================
+ Hits          642      657      +15
  Misses          3        3

Impacted Files
Coverage Δ

datapact/datapact_test.py
100.00% <100.00%> (ø)

datapact/fixture_test.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 879f375...71f2dbd. Read the comment docs.


Trivial: fixed typo in README file.

Fixed a small typo; changed “[…] was build to” to “[…] was built to”
Signed-off-by: Ernst de Haan<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:znerd/docker-bench-security.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Thanks @znerd


[doc] Texinput documentation improvement

To my mind this feature should be documented as here lots of issues can happen potentially.

Hey @aybb, this looks useful. Thanks for adding the new documentation.
@facebook-github-bot shipit


typescript-graphql-request & near-operation-file important improvement.

First of all thank you for these great tools! They are awesome and I use it for all my graphql projects!
So lets dive in to my issue/feature request
Is your feature request related to a problem? Please describe.

I have this config ---
schema:
  - http://localhost:8080/v1/graphql
documents:
  - ./src/**/*.graphql
generates:
  ./src/__generated__/introspection-result.ts:
    plugins:
      - fragment-matcher
  ./src/__generated__/schema.graphql:
    plugins:
      - schema-ast
  ./src/__generated__/types.ts:
    plugins:
      - typescript
      # - typescript-graphql-request
    config:
      useIndexSignature: true
      scalars: ## TODO - add more scalars
        float8: number
  ./src/:
    preset: near-operation-file
    presetConfig:
      baseTypesPath: ./__generated__/types.generated
      extension: .generated.ts
    plugins:
      - typescript-operations
      - typescript-graphql-request

Using the typescript-graphql-requestplugin with the near-operation-file preset generates for each .graphql file a .ts file correctly with it's own SDK like so
File Struct:
// File Struct

src
-feature
--feature.graphql

# feature/feature.graphql

query MyQuery {
  Ingredients {
    id
    isNeedExpirationDate
  }
}

query AnotherQuery {
  Ingredients {
    id
    isNeedExpirationDate
    currentStock
  }
}

I will have this output File Struct:
// Output File Struct

src
-feature
--feature.graphql
--feature.generated.ts

and a generated file that will contain this:
//feature.generated.ts

export type SdkFunctionWrapper = <T>(action: () => Promise<T>) => Promise<T>;

const defaultWrapper: SdkFunctionWrapper = sdkFunction => sdkFunction();
export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {
  return {
    MyQuery(variables?: MyQueryQueryVariables, requestHeaders?: HeadersInit): Promise<MyQueryQuery> {
      return withWrapper(() => client.request<MyQueryQuery>(print(MyQueryDocument), variables, requestHeaders));
    },
    AnotherQuery(variables?: AnotherQueryQueryVariables, requestHeaders?: HeadersInit): Promise<AnotherQueryQuery> {
      return withWrapper(() => client.request<AnotherQueryQuery>(print(AnotherQueryDocument), variables, requestHeaders));
    }
  };
}
export type Sdk = ReturnType<typeof getSdk>;

now to use it, I would do something like this:
// File that would use the feature sdk

import {getSdk: getFeatureSdk} from './feature.generated.ts';

The thing is, its frustrating  having so many getSdk's when looking up an sdk to use, I mean when I would type,
const x = getSdk, the autocomplete will suggest me with many getSdk's from many generated files.
Describe the solution you'd like
I think it will be great to have the option to rename the getSdk(and the Sdk, SdkFunctionWrapper types) to getFeatureSdk, FeatureSdk, FeatureSdkFunctionWrapper
when using near-file-operation preset.
A config option for typescript-graphql-request  that will add the operation name as a prefix.
Waiting for you response
Thanks,

This totally makes sense. And I would love to see better integration of this plugin and preset. @omerman PRs are welcome ;)

This would be a very nice improvement 🤞🏼


Bump Microsoft.Data.SqlClient and Azure.Identity to latest

Dependabot PR : https://github.com/Azure/azure-functions-sql-extension/pull/1065
Doing this results in a major version update of the Microsoft.Identity.Client.Extensions.Msal package (2.31.0 -> 4.56.0) so we need to verify that such an update is safe and won't conflict with the host before taking this in.

@dependabot ignore Microsoft.Data.SqlClient minor version


release: Release-3.0.0.beta.1

Handle KILL and TERM signals in create state
Shortlog:
94610f3 proxy: Handle KILL and TERM signals when process not running
Fixes #101
Signed-off-by: Archana Shinde<EMAIL_ADDRESS>

Coverage increased (+0.3%) to 74.587% when pulling c85a30b7ce4282eb6658bc4f85d5dcceb8c3321d on amshinde:release-3.0.0.beta.1 into 75a826c0a03393eb5e90e5301f89559a5808197c on clearcontainers:master.

lgtm


BasicMovements

Basic movements without defining classes and objects.

This code is poorly formatted and doesn't match with the style of any of the other code in these tutorials.


JsonLayout - Added JsonAttribute property EscapeUnicode

Fix for #2062. Allow one to specify on each JsonAttribute, whether it should escape unicode-characters (non ascii).

Codecov Report

Merging #2063 into master will increase coverage by <1%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #2063    +/-   ##
=======================================
+ Coverage      81%     81%   +<1%
=======================================
  Files         289     289
  Lines       19902   19908     +6
  Branches     2352    2353     +1
=======================================
+ Hits        16177   16197    +20
+ Misses       3126    3113    -13
+ Partials      599     598     -1

added to docs https://github.com/NLog/NLog/wiki/JsonLayout


Invitation List Page infinitely loading in android

Please fill in the following details.
Device Hardware / Emulator and OS
Please complete the following information for each phone and/or emulator you're experiencing this bug on:

Hardware: Samsung Galaxy A54 5G
OS: Android 14
SDK: [e.g. Android API level 31]
App version: 1.5.0
App deployment mode: dev

Describe the bug
After a successful log in, the invitations list page stays loading forever, and a circle keeps spinning.
To Reproduce
Log in.
Expected behavior
Have a list of invitations shown.
Stack trace and debug console
Include stack traces and debug print-outs below:

Debug Output
  I/SurfaceView@1023e8d(31765): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ........ 0,0-1080,2205} of ViewRootImpl@ecce2ec[MainActivity]
I/SurfaceView@1023e8d(31765): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ........ 0,0-1080,2205}
I/SurfaceView@1023e8d(31765): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ........ 0,0-1080,2205} of ViewRootImpl@ecce2ec[MainActivity]
I/SurfaceView@1023e8d(31765): onWindowVisibilityChanged(0) false io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ......ID 0,0-1080,2205} of ViewRootImpl@ecce2ec[MainActivity]
I/SurfaceView@1023e8d(31765): windowStopped(false) true io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ......ID 0,0-1080,2205} of ViewRootImpl@ecce2ec[MainActivity]
I/SurfaceView@1023e8d(31765): surfaceCreated 1 #1 io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ......ID 0,0-1080,2205}
I/SurfaceView@1023e8d(31765): surfaceChanged (1080,2205) 1 #1 io.flutter.embedding.android.FlutterSurfaceView{1023e8d V.E...... ......ID 0,0-1080,2205}
[log] [CAMS INFO] Getting language locale from cache : /data/user/0/com.cachet.carp_studies_app/app_flutter/carp/localizations/en.json
[log] [CAMS WARNING] Failed to read localization from cache of type 'en' - PathNotFoundException: Cannot open file, path = '/data/user/0/com.cachet.carp_studies_app/app_flutter/carp/localizations/en.json' (OS Error: No such file or directory, errno = 2)
[log] [CAMS WARNING] Failed to read cache of type 'RPOrderedTask' - PathNotFoundException: Cannot open file, path = '/data/user/0/com.cachet.carp_studies_app/app_flutter/carp/resources/informed_consent.json' (OS Error: No such file or directory, errno = 2)

Resolved by reinstalling the app


[19.09] nixos/networkmanager: fix merging options

Backports: #72916
Incorrect merging of modules resulted in dhcpcd being enabled causing flaky network connection.
https://github.com/NixOS/nixpkgs/pull/64364
Fixing it uncovered an infinite recursion from the same commit, previously masked by the incorrect merge.
While this is not a problem in 19.09, we can still drop the mkDefault for networking.wireless.enable as it is already false by default.


Handle undocumented values in StatInfoText veneer.

https://github.com/Ladder99/fanuc-driver/blob/abe26bc4625d75b36e55751875173c92c13e2915/fanuc/veneers/StatInfoText.cs#L102-L117
So basically StatInfoText just takes the integer value from Focas call and gets the string representation based on index.  In this case automatic:5 would have become automatic:TeachIN.  The original exception points to an index in one of the arrays that does not exist.  We just don't know which one or what the value was.

2021/07/27 12:21:59.191|ERROR|[m9_doosan_puma] Collector sweep failed at segment PATH. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at l99.driver.fanuc.veneers.StatInfoText.AnyAsync(Object input, Object[] additionalInputs) in /home/ts/git/c10n/fanuc-driver/fanuc/veneers/StatInfoText.cs:line 102

Change it back to await Apply(typeof(fanuc.veneers.StatInfoText), "stat_info");,
turn up the logging in nlog.config <logger name="*" minlevel="Trace" writeTo="fileTarget,consoleTarget" />,
and post driver.log after the exception.

This will give us the info needed to troubleshoot, because we'll get the raw output from Focas before it hits the StatInfoText veneer.
https://github.com/Ladder99/fanuc-driver/blob/abe26bc4625d75b36e55751875173c92c13e2915/fanuc/platform/StatInfo.cs#L33

Look at documented differences in cnc_statinfo2 and cnc_statinfo.


Move Muticluster/VM cert setup tool to install/ dir.

Move the cert management tool to install/tools/certs since it's the tool (not samples) for users to set up their clusters.

@myidpt: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
979f4de537a5879d4142fba2f5e19609bcfb1799
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Please address linter errors.

@myidpt: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
0a12f6dbfb613919ebbe1470f783970d0680050f
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myidpt: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
0a12f6dbfb613919ebbe1470f783970d0680050f
link
/test lint_istio

gencheck_istio
0a12f6dbfb613919ebbe1470f783970d0680050f
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myidpt: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
0a12f6dbfb613919ebbe1470f783970d0680050f
link
/test lint_istio

gencheck_istio
0a12f6dbfb613919ebbe1470f783970d0680050f
link
/test gencheck_istio

release-test_istio
0a12f6dbfb613919ebbe1470f783970d0680050f
link
/test release-test_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test lint_istio
/test gencheck_istio
/test release-test_istio

In response to a cherrypick label: new pull request created: #23897

One has to appreciate the irony of this PR being open for 1 hour and merged.
Gotta love open source!

@myidpt Please change release-builder accordingly. By making this change, this code will be excluded from the release tarball.
Cheers
-steve


LEE ULTIMATE HACKER HELPED ME RECOVERY MY STOLEN BITCOIN LOST TO FAKE INVESTMENT

I was Once a victim of a vile Bitcoin scam, I found myself ensnared in a web of deceit, robbed of a staggering $637,000 by cunning fraudsters masquerading as legitimate investment platforms. The magnitude of my loss plunged me into a dark abyss, where thoughts of despair and even self-harm lurked ominously on the periphery of my consciousness.But in the midst of my darkest hour, a glimmer of hope emerged—a lifeline extended by a trusted friend who introduced me to a formidable force in the realm of cybercrime investigation: Lee Ultimate Hacker. With nothing to lose and everything to gain, I cast my fate into their capable hands, desperate for a chance to reclaim what was rightfully mine.From the outset, Lee Ultimate Hacker exuded an aura of authority and unwavering determination. They wasted no time in deploying their arsenal of cutting-edge technology and forensic expertise to pursue justice on my behalf. Despite the daunting magnitude of my loss, they approached the challenge with a steely resolve that left no room for doubt or hesitation.In a stunning display of prowess and efficiency, Lee Ultimate Hacker swiftly traced the elusive digital footprints left by the perpetrators of the heinous scam. Within a mere matter of days, they orchestrated a masterful recovery operation that culminated in the restoration of every last cent of my stolen Bitcoin. The sheer magnitude of their achievement left me speechless, overwhelmed with gratitude and awe.What sets Lee Ultimate Hacker apart from their peers is not merely their unparalleled success rate, but also their unwavering commitment to ethical principles and client welfare. Unlike the vultures that prey upon the vulnerable, Lee Ultimate Hacker operates with integrity and transparency, charging a modest fee of 10% of the recovered funds—a small price to pay for the invaluable service they provide.To those who have fallen victim to the treacherous machinations of fraudulent investment schemes, I offer a beacon of hope: do not despair. Reach out to Lee Ultimate Hacker .AT
LEEULTIMATEHACKER@ AOL. COM
Support @ leeultimatehacker . com.
telegram:LEEULTIMATE
wh@tsapp +1  (715) 314  -  9248
https://leeultimatehacker.com
and let them unleash their formidable arsenal of skills and expertise on your behalf. Their dedication, professionalism, and unyielding commitment to justice make them a force to be reckoned with in the fight against cybercrime.In conclusion, I stand as a living testament to the transformative power of resilience and the unwavering tenacity of the human spirit. Thank you, Lee Ultimate Hacker, for restoring my faith and empowering me to reclaim what was rightfully mine. With you by my side, I stand ready to face the future with renewed vigor and unwavering resolve.

I dropped out of college four years ago to fully concentrate on day trading. I saw Bitcoin as a gold mine after my close friend, who was successful in the field, mentored me for over a year. I started off with a $15,000 investment just to test the waters. To my delight, I made over $60,000 in a span of six months. Encouraged by this success, I invested an even more substantial amount—up to $390,000.For the first two years, things went well. I decided to switch brokers due to constant changes in rates. The new broker’s rates were attractive to any trader, and I thought it would be a good move.  The new broker turned out to be a scam. When I tried to withdraw my profits, I was met with delays and poor communication. My emails were ignored, and my calls went unanswered. Panic set in as I realized that my substantial investment was at risk. The trading site eventually went offline, and I was left in the dark. Feeling desperate, I shared my experience with a fellow trader who had faced a similar situation. He recommended Daniel Meuli Web Recovery, a team that had helped him recover his account. I reached out to them, hoping for a miracle. Daniel Meuli Web Recovery proved to be a beacon of hope. Their team was relentless in tracking down the scammers and recovering my account. They provided me with the support and guidance I desperately needed during this crisis. Without their help, I might have never recovered my losses. Switching brokers turned out to be the worst decision I ever made, but reaching out to Daniel Meuli Web Recovery was the best. They acted quickly and professionally, helping me through a very dark time. My experience is a cautionary tale. Be vigilant and skeptical with online investments. Trust must be earned, and it’s crucial to safeguard your financial well-being. If you ever find yourself in a similar situation, remember that there are experts like Daniel Meuli Web Recovery who can help you find a way out.   Email         hireus (@) danielmeulirecoverywizard (.) online    Telegram    (@) Danielmeuli

Their unyielding commitment to my cause instilled within me a profound sense of trust and confidence in their efficacy. Ultimately, thanks to the tireless efforts of Fayed Hacker, the lion's share of my lost funds was successfully reclaimed. What once appeared an insurmountable obstacle had been vanquished through perseverance, determination, and the invaluable aid of a team unwaveringly dedicated to the pursuit of justice. I remain forever indebted to Fayed Hacker for restoring faith and dignity in the face of adversity, and I fervently endorse their services to any in dire need of fund recovery assistance. Contact Details as follow,
WHATSAPP:  + 1 (707) (727) (3490)
EMAIL: writeus (@) fayedhacker (.) tech  OR  fayedexperthack (@) solution4u (.) com
WEBSITE: https://fayedhacker.tech

After graduating from college, I found myself with a substantial sum that was initially earmarked for my bachelor's degree fees. With a total of $200,000 at my disposal, I decided to venture into the world of Bitcoin investment. As a newcomer to the cryptocurrency scene, I knew I had to be cautious. I spent considerable time researching and understanding the market before making any decisions.During my research, I came across an online broker who seemed reputable and professional. Their website was polished, their testimonials glowing, and their communication clear and prompt. I conducted thorough due diligence on their operations, verifying their credentials and ensuring they were legitimate. Satisfied with my findings, I decided to invest my $200,000 with them.Unfortunately, my foray into cryptocurrency wasn’t without its challenges. One fateful day, I received an email that appeared to be from a legitimate source. The email was crafted to look professional, and I trusted its appearance. Upon opening it, I unknowingly triggered a malicious attack designed to hack into my accounts. This resulted in a significant financial loss, and I quickly realized the importance of cybersecurity in the digital age. The incident was a harsh lesson in the necessity of being vigilant and cautious in the online world.Feeling devastated by the loss, I was desperate for a solution. One day, while scrolling through Twitter, I stumbled upon an ad for LEE ULTIMATE HACKER. The ad promised that they had the skill set necessary to help recover stolen cryptocurrency. Intrigued and hopeful, I decided to contact them. Their team was professional and reassuring, explaining the process they would undertake to recover my funds. After providing them with the necessary details, they swiftly got to work.To my immense relief, LEE ULTIMATE HACKER managed to trace and recover a significant portion of my lost investment. This experience not only reinforced the importance of cybersecurity but also highlighted the value of expert assistance in times of crisis. Despite the initial setback, I emerged from the ordeal with a renewed sense of caution and a deeper understanding of the cryptocurrency landscape.
LEEULTIMATEHACKER@ AOL. COM
Support @ leeultimatehacker . com.
telegram:LEEULTIMATE
wh@tsapp +1  (715) 314  -  9248
https://leeultimatehacker.com

Words cannot express the depth of my gratitude towards Hackathon Tech Solution for their invaluable assistance in reclaiming what was rightfully mine. After months of anguish and despair following my devastating losses to investment scams, Hackathon Tech Solution emerged as a beacon of hope, guiding me towards redemption and financial freedom.It was a chance encounter with an old friend at McDonald's that led me to Hackathon Tech Solution. Desperate for solace and support, I confided in her about my harrowing ordeal, recounting how I had fallen victim to the deceitful clutches of profitblock, losing my entire pension in the process. Little did I know, her recommendation would prove to be the turning point in my journey towards recovery.From the moment I reached out to Hackathon Tech Solution, I was met with compassion, professionalism, and unwavering dedication. Their team wasted no time in springing into action, requesting proof of my transactions and diving deep into the intricate web of deceit spun by the scammers. Through a series of briefings and consultations, they meticulously mapped out a strategy for reclaiming what was rightfully mine.What followed was nothing short of miraculous. In under 13 hours, Hackathon Tech Solution succeeded in recovering everything I had lost to the clutches of profitblock. The sense of relief and elation that washed over me was indescribable, as I watched in awe as my hard-earned funds were restored to me. Within another 2 hours, the recovered funds were safely deposited into my personal wallet, marking the triumphant conclusion of a journey fraught with uncertainty.But Hackathon Tech Solution impact extends far beyond mere financial restitution. They provided me with more than just a means to reclaim my lost assets; they offered me a lifeline, a chance to rebuild and reclaim my financial future. Their professionalism, expertise, and unwavering support were a constant source of reassurance and guidance throughout the recovery process.To anyone who finds themselves ensnared in the treacherous web of investment scams, I wholeheartedly recommend Hackathon Tech Solution. Their proven track record, combined with their compassionate approach and unwavering dedication, make them the ideal partner in the fight against financial fraud. Trust in their abilities, for they are true wizards in the realm of recovery, capable of turning despair into triumph and restoring hope to those in need.Consult HACKATHON TECH SOLUTION via below contact details.
Their website is https://hackathontechsolutions.com
Email them<EMAIL_ADDRESS>Whatsapp:+31 6 47999256
Telegram:@hackathontechsolution

WWW.danielmeulirecoverywizard.online represents a significant advancement in cryptocurrency recovery, offering a beacon of possibility for those trapped by fraudulent schemes. In a landscape where technology evolves incessantly, their innovative methods for tracing Bitcoin addresses and identifying associated platforms or exchanges stand out as a beacon of progress. Having personally suffered losses exceeding $50,000 due to Binary Options Trading, I turned to Daniel Meuli Web Recovery for assistance, and their professional and ethical approach yielded remarkable results. Their ability to navigate the complexities of blockchain technology and uncover crucial information regarding illicit transactions speaks volumes about their expertise and proficiency. What distinguishes Daniel Meuli Web Recovery is not just their technical prowess, but also their unwavering commitment to professionalism and ethical conduct. Amidst a sea of dubious actors, their dedication to integrity and transparency instills confidence in their services. Daniel Meuli Web Recovery's emphasis on delivering "professional and ethical service" underscores their commitment to conducting business with integrity. Trust is paramount in matters of financial recovery, and their adherence to ethical standards reinforces their reputation as a reliable ally in the fight against financial exploitation. the successful retrieval of funds from a scam binary options company underscores the efficacy of their efforts. Their ability to recover what was thought to be lost forever demonstrates their effectiveness in combating fraudulent activities. This outcome solidifies their standing as a trusted partner in the pursuit of justice for victims of financial exploitation. The invitation to seek assistance from Daniel Meuli Web Recovery further highlights their dedication to helping those in need. By extending a helping hand to individuals who have been defrauded, they demonstrate a sense of responsibility and empathy that is often lacking in the digital realm..my experience with Daniel Meuli Web Recovery exemplifies their pivotal role in aiding individuals grappling with the aftermath of financial exploitation. Their innovative approach, coupled with a steadfast commitment to professionalism and ethics, positions them as a leading authority in the field of financial recovery. Daniel Meuli Web Recovery offers a reliable solution for anyone navigating the complexities of cryptocurrency fraud, promising to restore what was unjustly taken.
CONTACT.
WHATSAPP    +393512013528     OR TELEGRAM  (AT) DANIELMEULI


Add introduction to COBOL Challenges section

Signed-off-by: Zeibura Kathau<EMAIL_ADDRESS>I've added an introduction to the COBOL Challenges section to the second part of the guide.
This is a rough draft. Please comment if more needs to be added.

closing, premature


DASH Widevine: read pssh from the manifest before license request

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.2.1
Please ask your question
In our current implementation we are making a request (outside of shaka) to the MPD and reading the response body to grab the pssh key:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
(...)
<AdaptationSet (...)>
    <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" />
    <ContentProtection schemeIdUri="urn:uuid:(...)" value="Widevine">
        <cenc:pssh>(...)</cenc:pssh>
    </ContentProtection>
(...)

We need to do this because we need to do some extra steps to transform the pssh and add a KID query parameter to the license server URI and make a request to get an authorization token to use on the license request.
For this part, I already read the documentation for Asynchronous Credentials and have no questions on how to implement it.
So, how should I go to get the manifest pssh using, maybe, player.getNetworkingEngine().registerRequestFilter((type, request) => { (...) }.
Thanks in advance for you help!

One approach I figured out:
player.getNetworkingEngine().registerResponseFilter((type, response) => {
  if (type != shaka.net.NetworkingEngine.RequestType.MANIFEST) return
  const manifest = shaka.util.StringUtils.fromBytesAutoDetect(response.data)
})

This way, I can read the Manifest loaded by Shaka Player. However, my question lies if there is a way to do this better?

Think I found out how to retrieve it, can you please validate?
player.getNetworkingEngine().registerRequestFilter((type, request) => {
  if (type != shaka.net.NetworkingEngine.RequestType.LICENSE) return

  const psshKey = shaka.util.Uint8ArrayUtils.toBase64(request.initData)
}

You can also use shaka.net.NetworkingEngine.registerScheme('drm', ...
That allows you to implement your own license handling.
Couldn't find much good documentation in a quick search just now.
On Wed, Oct 19, 2022 at 10:26 AM Ricardo Alves @.***>
wrote:

Think I found out how to retrieve it, can you please validate?
player.getNetworkingEngine().registerRequestFilter((type, request) => {
if (type != shaka.net.NetworkingEngine.RequestType.LICENSE) return
const psshKey = shaka.util.Uint8ArrayUtils.toBase64(request.initData)}
—
Reply to this email directly, view it on GitHub
https://github.com/shaka-project/shaka-player/issues/4600#issuecomment-1284345318,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2HIRXU2ESZEIMQTGHHVSTWEAVMNANCNFSM6AAAAAARJJCDIY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your help, gonna look into it!

Think I found out how to retrieve it, can you please validate?
player.getNetworkingEngine().registerRequestFilter((type, request) => {
  if (type != shaka.net.NetworkingEngine.RequestType.LICENSE) return

  const psshKey = shaka.util.Uint8ArrayUtils.toBase64(request.initData)
}

Ended up going this route.


net/http, security: http.FileServer may inadvertently expose sensitive directories

The default http.FileServer(http.Dir(".")) implementation exposes all files and folders in the working directory. This includes directories like .git or .svn, which an attacker can use to recover the source code comprising the server, if for example people deploy by running a "git clone" and a "go install." This is how Heroku handles Go deployments and I am sure others do as well; it's common if you run Macs locally but deploy on Linux.
This is not a hypothetical attack, one estimate found 9700 of the Alexa top 1 million sites expose the .git directory: https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/
I am wondering whether the Go standard library should do anything to help prevent these inadvertent directory exposures. Our hands are slightly tied by the current API, which exposes everything and can't change.
Some options:

Do nothing

Document the potential vulnerability and leave it at that.

Add http.SafeDir or similar, that 404's on any file beginning with a .. This should cover most private files, including .htpasswd.

Add SafeDir to httputil.

Modify http.Dir to exclude files that begin with a .. This would break backwards compatibility, and seems like a bad idea.

Documenting seems fine.

Turns out Heroku deletes that dir but you can see a few others on this sample app https://go-simple-http-server.herokuapp.com/

I recently wrote a blog post on how to create a file server that both hides and denies access to dot files (post).
I am willing to write this documentation (and an example_test.go for the net/http package). Can someone point me in the right direction as to where the documentation for this issue should be written? Also, I would like to know how the example_test.go files work and if there are any standards when writing one.
Any help would be gladly appreciated! Thanks!

@bradfitz Thanks!

Hey @crazcalm, we met at the NYC meetup. Good to see you again.
Was there something specific you wanted to add to the documentation? The comment on Dir seems pretty clear to me.
I've never written an example, but the final code snippet in the blog post looks like a pretty good start to me. It might be nice if it included some sample output, but that would require a fair bit of setup. Feel free to send me the CL to me for a first review if you'd like.

@heschik @bradfitz The above pull request is the example of creating a custom FileSystem to hide dot files. There are no output strings and I have set the example method name so that it shows "Example (CustomFileSystem)"
Let me know what changes need to be made.
Thanks for all the help!


Output is not minified

The plugin does what it says it does (thank you for that). The issue is that it does not minify the CSS placed in the HTML. I placed the plugin after and before the call on HtmlWebpackPlugin and the minification still doesn't work.
My configuration is:
var path = require('path')
var utils = require('./utils')
var webpack = require('webpack')
var config = require('../config')
var merge = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf')
var HtmlWebpackPlugin = require('html-webpack-plugin')
var ExtractTextPlugin = require('extract-text-webpack-plugin')
var StyleExtHtmlWebpackPlugin = require('style-ext-html-webpack-plugin')
var env = process.env.NODE_ENV === 'testing'
  ? require('../config/test.env')
  : config.build.env

var webpackConfig = merge(baseWebpackConfig, {
  module: {
    rules: utils.styleLoaders({
      sourceMap: config.build.productionSourceMap,
      extract: true
    })
  },
  devtool: config.build.productionSourceMap ? '#source-map' : false,
  output: {
    path: config.build.assetsRoot,
    filename: utils.assetsPath('js/[name].[chunkhash].js'),
    chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
  },
  plugins: [
    // http://vuejs.github.io/vue-loader/en/workflow/production.html
    new webpack.DefinePlugin({
      'process.env': env
    }),
    new webpack.optimize.UglifyJsPlugin({
      compress: {
        warnings: false
      },
      sourceMap: true
    }),
    new webpack.optimize.OccurrenceOrderPlugin(),
    // extract css into its own file
    new ExtractTextPlugin({
      filename: utils.assetsPath('css/[name].[contenthash].css')
    }),
    // generate dist index.html with correct asset hash for caching.
    // you can customize output by editing /index.html
    // see https://github.com/ampedandwired/html-webpack-plugin
    new HtmlWebpackPlugin({
      filename: process.env.NODE_ENV === 'testing'
        ? 'index.html'
        : config.build.index,
      template: 'index.html',
      inject: true,
      minify: {
        removeComments: true,
        collapseWhitespace: true,
        removeAttributeQuotes: true
        // more options:
        // https://github.com/kangax/html-minifier#options-quick-reference
      },
      // necessary to consistently work with multiple chunks via CommonsChunkPlugin
      chunksSortMode: 'dependency'
    }),
    // place CSS into HTML.
    new StyleExtHtmlWebpackPlugin({
      position: 'head-bottom',
    }),
    // split vendor js into its own file
    new webpack.optimize.CommonsChunkPlugin({
      name: 'vendor',
      minChunks: function (module, count) {
        // any required modules inside node_modules are extracted to vendor
        return (
          module.resource &&
          /\.js$/.test(module.resource) &&
          module.resource.indexOf(
            path.join(__dirname, '../node_modules')
          ) === 0
        )
      }
    }),
    // new webpack.optimize.AggressiveSplittingPlugin({
    //     minSize: 10000,
    //     maxSize: 50000
    // }),
    // extract webpack runtime and module manifest to its own file in order to
    // prevent vendor hash from being updated whenever app bundle is updated
    new webpack.optimize.CommonsChunkPlugin({
      name: 'manifest',
      chunks: ['vendor']
    })
  ]
})

if (config.build.productionGzip) {
  var CompressionWebpackPlugin = require('compression-webpack-plugin')

  webpackConfig.plugins.push(
    new CompressionWebpackPlugin({
      asset: '[path].gz[query]',
      algorithm: 'gzip',
      test: new RegExp(
        '\\.(' +
        config.build.productionGzipExtensions.join('|') +
        ')$'
      ),
      threshold: 10240,
      minRatio: 0.8
    })
  )
}

if (config.build.bundleAnalyzerReport) {
  var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
  webpackConfig.plugins.push(new BundleAnalyzerPlugin())
}

module.exports = webpackConfig

and the style-ext-html-webpack-plugin version is 3.2.0

Two points:

always put this plugin after html-webpack-plugin - see README
a minifying option seems like a rather good idea: I'll get it added but give me a week or so - busy, busy, busy (unless of course you fancy producing a PR...)

Actually, change of plan: this seemed a sweet, little enhancement I could rattle out in a night.
So I did - v3.3.0 has minification options - let me know if this fits your use case.

Woooow!!! That's amazing @numical !!! :D
Thank you very very much! I'll use it right now.


Unable to deploy ARM Template for Zero Trust Workbook

Describe the bug
Unable to deploy the ARM template provided at:
https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/ZeroTrust(TIC3.0)/Package/mainTemplate.json
To Reproduce
Steps to reproduce the behavior:
az deployment group create \
--name $deploymentName \
--resource-group $resourceGroupName \
 --template-uri https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/ZeroTrust\(TIC3.0\)/Package/main
Template.json

This will fail to deploy with the following output:
{'code': 'InvalidTemplate', 'message': "Deployment template validation failed: 'The template resource '/Microsoft.SecurityInsights/e9610775-45d1-46d0-a945-8a4d653b5e7e' for type 'Microsoft.OperationalInsights/workspaces/providers/alertRules' at line '224' and column '77' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details.'.", 'additionalInfo': [{'type': 'TemplateViolation', 'info': {'lineNumber': 224, 'linePosition': 77, 'path': 'resources[1].type'}}]}

Expected behavior
I expect it to deploy as expected.
Desktop (please complete the following information):

OS: [e.g. iOS] N/A Azure CLI
Browser [e.g. chrome, safari] N/A
Version [e.g. 22] 2.32.0

Additional context
Add any other context about the problem here.

We updated latest package can you please go through that. Please provide more details if the issue still persist. thanks!!!

@lisamurphy-msft We updated latest package can you please go through that. Please provide more details if the issue still persist. thanks!!!

@lisamurphy-msft We updated latest package can you please go through that. Please provide more details if the issue still persist. thanks!!!

@vmanojreddy Thank you for responding; this can be resolved; the issue was missing a required parameter in the CLI interface.
Adding --parameters workspace=<workspace_name> fixed this for me.

@lisamurphy-msft Thank you for update and sorry for late reply. We check the main template and deploy the solution at time deploying we got error property is missing so we have update package and published the package.
We are closing this issue it be resolved. thanks!!!


Tests for CreateForm

User Story

As a developer
I want to write tests for my CreateForm component
so that i can see if the input fields and submit in the form behave correctly

AC

text input test
radio button test

Tasks

[ ] create new branch
[ ] create test file for CreateForm component
[ ] write test for checking if text input has correct value when typing something
[ ] write test for checking if radio button is checked when clicked and if other buttons are not checked
[ ] run tests to see if they pass

Complexity
high
Linked to issue
#4

Hey Laura, your Story looks good to me. Maybe you could slice it a bit smaller. Maybe test the inputs and radio buttons in separate stories. Helps maybe for small success

Hey Philipp, thanks for your review and suggestion! I already have the input test almost complete, so it will only be the radio button test that I have to put time into. But for future testing stories I will keep this in mind. :)


⚠ Processors has degraded performance

In e321351, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: Processors performance has improved in 838282b.


remove postgres-specific reference to pg_views.relkind='m'

Description

resolves: #173
Motivation and Context

Testing

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Checklist

[ ] Local run of ./build.sh succeeds
[ ] Code changes have been run against the repository's pre-commit hooks
[ ] Commit messages follow Conventional Commit Specification
[ ] I have read the README document
[ ] I have added tests to cover my changes
[ ] I have run all unit tests using pytest test/unit and they are passing.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @dataders , thank you for raising this PR. The redshift-connector team has plans to address this PR internally.


remove deprecated description tag from swagger docs

JIRA link (if applicable)
None
Change description
I removed the Swagger docs description tags from the controllers.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

closed because duplicate


[API Server] Static User Configuration

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #447
This PR is built on the top of #460
Special notes for your reviewer:
Documentation:

Does this PR introduce a user-facing change?:

NONE

/hold

/retest

/unhold


TTGO ESP LoRa32 with Lopy receiver

Hi,
I am trying to use the 'sender' example on my TTGO ESP LoRa32 (V 1) board with a LoPy as a receiver (actually running as a nanogateway from the examples)
I am not getting any packets through - nothing. I am running Micropython 1.14 on the TTGO, with uPyLoRaWAN.
When booting the TTGO, I see the following:
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5008
ho 0 tail 12 room 4
load:0x40078000,len:10600
ho 0 tail 12 room 4
load:0x40080400,len:5684
entry 0x400806bc
Warning: SPI(-1, ...) is deprecated, use SoftSPI(...) instead
SX version: 18
example = sender
LoRa Sender
Warning: I2C(-1, ...) is deprecated, use SoftI2C(...) instead
Are thee warnings meaningful? If not, are there any ideas how to further trouble-shoot?
Sincerely,
Duane Kaufman
TTGO_sender.zip
LoPy_Receiver.zip

You can replace the lines:
from machine import Pin, SPI
device_spi = SPI(baudrate = 10000000,  [...]

with
from machine import Pin, SoftSPI
device_spi = SoftSPI(baudrate = 10000000,  [...]

To solve the warnings. Same with the I2C. I'll be upgrading the repository soon.


sourcemaps, Chrome not loading it

Running npm run watchDev in one tab and npm run dev (actually using gulp which reloads server on changes).
app.js.map is being built. However, even though Chrome is configured to handle source maps, I'm not seeing in Chrome Developer Tools. Any other hoops I have to jump through? :)

@LarryEitel Thanks for raising this as an issue. I haven't looked into this yet, but will do next week.
:) Not sure if there are any more hoops to jump through :)
I just pushed a new commit to fix sessions running locally. So package.json has changed slightly. You might want to have a look if that affects your workflow.

@LarryEitel it looks like webpack's issue. Link


xteve over-writing duplicating stream links when assigning channel numbers

Ok, let's see if I can describe my problem : When I do a fresh install of xteve, my provider's m3u file downloads correctly and my playlist channel numbers commences @ 1000 as it should. The xteve.m3u file contains the correct stream links as was sent by my provider. The moment I change channel numbers according to my preferences or add a dummy epg  for certain VOD links, for some reason xteve will cause one m3u link to duplicate over and over again

I've tried everything to resolve this --- I've tried having my provider include dummy epg links instead of using xteve's, I've tried just using any old epg link for a different channel..... nothing seems to work.
Anybody got any ideas ?

I know xteve is getting the correct m3u playlist from my provider because I can see the correct stream links in the temporary m3u file MAPC42GNX48942BKUZJX.m3u :

I HAVE been able to work around the problem by creating a new set of groups with my provider, and then putting those channels into each group --- one to each group ---- and then using xteve to 'filter' each group and assign them channel numbers and dummy epgs   ---- however, while that works for 5 or 6 VOD channels, it's not feasible solution when I have need to add 30 or 40 sports games to my playlist, which might change on a daily basis.

Upon further investigation, I was able to confirm that all but the final channel of the channels listed above appear in xteve's urls.json file, albeit with both the correct provider stream link AND the correct urlID that is used to generate the internal stream link for xteve ---- channel 42 cannot be found in this file.
"  "0b3c6e857900197d86429450b4263049": {
"channelNumber": "35",
"name": "THE OFFICE (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://***********************************/iwBWfLtNf9/142331",
"urlID": "0b3c6e857900197d86429450b4263049"
"520f72843b43b2109e013ca0d22fd47d": {
"channelNumber": "36",
"name": "SHAMELESS (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://************************************/iwBWfLtNf9/142622",
"urlID": "520f72843b43b2109e013ca0d22fd47d"
"5ddaaf1882064a181bee93a11557e56b": {
"channelNumber": "37",
"name": "DEADWOOD (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://*************************************/iwBWfLtNf9/142295",
"urlID": "5ddaaf1882064a181bee93a11557e56b"
"f1453eca0afa3d8ef6c3fa3f7a953b04": {
"channelNumber": "38",
"name": "CURB YOUR ENTHUSIASM (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://**************************************/iwBWfLtNf9/142285",
"urlID": "f1453eca0afa3d8ef6c3fa3f7a953b04"
"0169487c5ea648d642b3bc7718ce2acf": {
"channelNumber": "39",
"name": "FRASIER (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://***************************************/iwBWfLtNf9/142345",
"urlID": "0169487c5ea648d642b3bc7718ce2acf"
"da77afa494b78989603ac4f53ea73c55": {
"channelNumber": "40",
"name": "THE SOPRANOS (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://*****************************************/iwBWfLtNf9/142766",
"urlID": "da77afa494b78989603ac4f53ea73c55"
"15c1b3b705e174351b412c21a96d9376": {
"channelNumber": "41",
"name": "SOUTH PARK (24/7)",
"playlistID": "M6NZP9VTWJ0C43007IQ4",
"url": "http://******************************************/iwBWfLtNf9/142637",
"urlID": "15c1b3b705e174351b412c21a96d9376"

I am having the same issue. After mapping all my channels I noticed that a bunch of them all play the same stream. I checked the XTEVE M3U and all of them share the same XTEVE proxy link despite having distinct links in their original M3U files.

I am having the same issue too.


Adding minutes in markdown

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2364

Relevant Lines:
4041

💛  - Coveralls


#0 Create AI_face_landmark Demo

Create AI_face_landmark Demo
Includes:
Code example for face recognition
Tool package version and installation
Test data and verification results

Create AI_face_landmark Demo Includes:
Code example for face recognition
Tool package version and installation
Test data and verification results

#186


"ERROR Server claimed not to have this user in its tree (we had v=5)" when I try to login

I tried to login using a (probably) older version of the keybase mac client.  I got the error above.  I then installed the latest version of keybase and got this:

There was an error provisioning

Unknown error: Server claimed not to have this user in its tree (we had v=5)

my log id: 4a472e8c64be32148ab5a01c

Try a keybase db nuke?

That worked, thanks!


Wrong initial scroll position when toolbar has dynamic height

My toolbar is built with ConstraintLayout and it depends on WindowInsets so I can calculate statusBarHeight like this:
toolbar = {
    val paddingValues = WindowInsets.systemBars.asPaddingValues()

    Box(
        modifier = Modifier
            .padding(top = paddingValues.calculateTopPadding())
            .fillMaxWidth()
            .height(300.dp),
        contentAlignment = Alignment.BottomCenter
    ) {
        Text("Hello")
    }
}

When my toolbar container has dynamic height, the initial scrolling position is wrong because it doesn't care about dynamic statusBarHeight. You can reproduce the issue by placing those components into toolbar scope.
I am using scrollStrategy = ScrollStrategy.ExitUntilCollapsed,
You can see the actual problem in the video: https://streamable.com/i4gwqm

Looks like PR #101 fixes this issue

```@Composable
fun rememberStatusBarHeightDp(): Dp {
    val view = LocalView.current
    val density = LocalDensity.current

    val statusBarHeightPx = remember {
        ViewCompat.getRootWindowInsets(view)
            ?.getInsets(WindowInsetsCompat.Type.statusBars())
            ?.top ?: 0
    }

    return with(density) { statusBarHeightPx.toDp() }
}```

Use this code for top padding

`    @Composable
fun rememberStatusBarHeightDp(): Dp {
val view = LocalView.current
val density = LocalDensity.current
    val statusBarHeightPx = remember {
        ViewCompat.getRootWindowInsets(view)
            ?.getInsets(WindowInsetsCompat.Type.statusBars())
            ?.top ?: 0
    }

    return with(density) { statusBarHeightPx.toDp() }
}`

Use this code for top padding