Failed to load module descriptor class

There seems to be problem with the app or perhaps I am running it in the wrong way.  I am able to start the app. However, if I tap on "Sign in" the app does not respond, but the Android Monitor shows the following error:

06-07 02:18:39.017 6396-6396/com.google.firebase.quickstart.firebasestorage E/Storage#MainActivity: signInAnonymously:FAILURE
com.google.firebase.FirebaseException: An internal error has occured. [ OPERATION_NOT_ALLOWED ]
at com.google.android.gms.internal.zzacq.zzbN(Unknown Source)
at com.google.android.gms.internal.zzacn$zzg.zza(Unknown Source)
at com.google.android.gms.internal.zzacy.zzbO(Unknown Source)
at com.google.android.gms.internal.zzacy$zza.onFailure(Unknown Source)
at com.google.android.gms.internal.zzact$zza.onTransact(Unknown Source)
at android.os.Binder.execTransact(Binder.java:453)
06-07 02:18:47.052 6396-6426/com.google.firebase.quickstart.firebasestorage I/FA: Tag Manager is not found and thus will not be used
06-07 02:18:48.353 6396-6413/com.google.firebase.quickstart.firebasestorage E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.google.firebase.quickstart.firebasestorage-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.firebase.quickstart.firebasestorage-1/lib/arm, /vendor/lib, /system/lib]]
What could be missing?

@mdavila can you confirm a few things:

What kind of device/emulator are you running this on?  Does it have Google Play Services 9.0.80 or higher?
When did you clone the code for this sample?  Is it using the 9.0.2 SDKs?

Hi @samtstern I am using my mobile phone.  It is a Nexus 5 with Android Marshmallow 6.0.1.
The Android SDK manager app has Google Play Services 30:

I cloned the files on 27-may-2016. It seems that the cloned files are using the SDK version 9.0.0.  I am going to clone the files again.  It seems that there is a newer SDK.
Thanks,

@samtstern I just cloned the files and the dependencies show the new SDK version:
compile 'com.google.firebase:firebase-auth:9.0.2'
compile 'com.google.firebase:firebase-storage:9.0.2'
However, the same error is still showing and when I tap on "Sign in" the app doesn't do anything:
06-07 19:31:33.057 29354-29354/com.google.firebase.quickstart.firebasestorage E/Storage#MainActivity: signInAnonymously:FAILURE
com.google.firebase.FirebaseException: An internal error has occured. [ OPERATION_NOT_ALLOWED ]
at com.google.android.gms.internal.zzacq.zzbN(Unknown Source)
at com.google.android.gms.internal.zzacn$zzg.zza(Unknown Source)
at com.google.android.gms.internal.zzacy.zzbO(Unknown Source)
at com.google.android.gms.internal.zzacy$zza.onFailure(Unknown Source)
at com.google.android.gms.internal.zzact$zza.onTransact(Unknown Source)
at android.os.Binder.execTransact(Binder.java:453)
06-07 19:31:42.478 29354-29876/com.google.firebase.quickstart.firebasestorage E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.google.firebase.quickstart.firebasestorage-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.firebase.quickstart.firebasestorage-2/lib/arm, /vendor/lib, /system/lib]]
Did I miss anything? I am only importing the "storage" folder from this repository into into Android Studio 2.1.2.

@samtstern I have been able to solve the problem. I had to enable anonymous login from the Firebase console.

@mdavila glad you solved your error!
For future people who may find this issue, enabling anonymous auth in the Firebase console fixes the OPERATION_NOT_ALLOWED error.  The ModuleDescriptor error was likely transient and unrelated.

Here is the video and stack trace. After the Accounts on my phone are shown I choose one. But Then I just come back to the original Screen and no account added in the firebase console
link for video : https://drive.google.com/file/d/0B8tYKC1-UERHZlF2Q0dyRURaZEk/view?usp=sharing
Stack trace :
06-12 13:16:05.915 29115-29145/com.google.firebase.quickstart.auth E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.google.firebase.quickstart.auth-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
06-12 13:16:05.926 29115-29115/com.google.firebase.quickstart.auth D/FirebaseApp: Initialized class com.google.firebase.auth.FirebaseAuth.
06-12 13:16:05.938 29115-29145/com.google.firebase.quickstart.auth V/GoogleSignatureVerifier: com.google.android.gms signature not valid.  Found:
MIIEQzCCAyugAwIBAgIJAMLgh0ZkSjCNMA0GCSqGSIb3DQEBBAUAMHQxCzAJBgNVBAYTAlVTMRMw
EQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29n
bGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0wODA4MjEyMzEz
MzRaFw0zNjAxMDcyMzEzMzRaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw
FAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5k
cm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBAKtW
LgDYO6IIrgqWbxJOKdoR8qtW0I9Y4sypEwPpt1TTcvZApxsdyxMJZ2JORland2qSGT2y5b+3JKke
dxiLDmpHpDsz2WCbdxgxRczfey5YZnTJ4VZbH0xqWVW/8lGmPav5xVwnIiJS6HXk+BVKZF+JcWjA
sb/GEuq/eFdpuzSqeYTcfi6idkyugwfYwXFU1+5fZKUaRKYCwkkFQVfcAs1fXA5V+++FGfvjJ/Cx
URaSxaBvGdGDhfXE28LWuT9ozCl5xw4Yq5OGazvV24mZVSoOO0yZ31j7kYvtwYK6NeADwbSxDdJE
qO4k//0zOHKrUiGYXtqw/A0LFFtqoZKFjnkCAQOjgdkwgdYwHQYDVR0OBBYEFMd9jMIhF1Ylmn/T
gt9r45jk14alMIGmBgNVHSMEgZ4wgZuAFMd9jMIhF1Ylmn/Tgt9r45jk14aloXikdjB0MQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIG
A1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC
4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/y
zKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCE
yj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1S
KMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifK
Z0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3Wf
MBEmh/9iFBDAaTCK
06-12 13:16:05.953 29115-29115/com.google.firebase.quickstart.auth D/FirebaseApp: Initialized class com.google.firebase.iid.FirebaseInstanceId.
06-12 13:16:05.954 29115-29145/com.google.firebase.quickstart.auth E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.google.firebase.quickstart.auth-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
06-12 13:16:05.958 29115-29115/com.google.firebase.quickstart.auth D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
06-12 13:16:05.976 29115-29145/com.google.firebase.quickstart.auth W/ResourcesManager: Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
06-12 13:16:05.977 29115-29145/com.google.firebase.quickstart.auth W/ResourcesManager: Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
06-12 13:16:06.045 29115-29145/com.google.firebase.quickstart.auth D/ChimeraCfgMgr: Reading stored module config
06-12 13:16:06.066 29115-29123/com.google.firebase.quickstart.auth W/art: Suspending all threads took: 8.247ms
06-12 13:16:06.093 29115-29128/com.google.firebase.quickstart.auth I/art: Background sticky concurrent mark sweep GC freed 10543(1410KB) AllocSpace objects, 39(591KB) LOS objects, 9% free, 7MB/8MB, paused 9.110ms total 60.616ms
06-12 13:16:06.112 29115-29115/com.google.firebase.quickstart.auth I/FA: App measurement is starting up, version: 9080
06-12 13:16:06.112 29115-29115/com.google.firebase.quickstart.auth I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
06-12 13:16:06.236 29115-29115/com.google.firebase.quickstart.auth D/FirebaseApp: Initialized class com.google.android.gms.measurement.AppMeasurement.

I see the same error in logcat, but I don't even use Auth module of Firebase

I am facing the same issue, cant work it out.I am using marshmallow with play services verison 9.2. Can anybody help me out. I am getting this error.
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found

I am also facing the same issue since Migrated to the latest Firebase console.
Has anybody been able to solve this issue?
@HarshGrandeur @abredykhin  @mdavila  Have you been able to resolve this issue?

I'm using Firebase version 9.4.0 and I've Google Play Services version 9.4.52 on my emulator.
I'm facing the same issue when trying to login, I see these failures in logcat logs:
08-26 05:28:17.704 6020-6033/com.example.auth W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
I also enabled Firebase logging I see these WebSocket failures.
08-26 05:27:20.514 6020-6061/com.example.auth D/WebSocket: ws_0 - |IO Error|
08-26 05:27:20.535 6020-6061/com.example.auth D/WebSocket: ws_0 - closed
08-26 05:27:20.577 6020-6061/com.example.auth D/WebSocket: ws_0 - had an error
    byk: IO Exception
         byo.a(:com.google.android.gms.DynamiteModulesC:148)
         at byp.run(:com.google.android.gms.DynamiteModulesC:1022)
         at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.SocketException: Socket is closed
         at com.android.org.conscrypt.OpenSSLSocketImpl.checkOpen(OpenSSLSocketImpl.java:247)
         at com.android.org.conscrypt.OpenSSLSocketImpl.-wrap0(OpenSSLSocketImpl.java)
         at com.android.org.conscrypt.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:756)
         at java.nio.channels.Channels$OutputStreamChannel.write(Channels.java:348)
         at byo.b(:com.google.android.gms.DynamiteModulesC:127)
         at byo.a(:com.google.android.gms.DynamiteModulesC:145)
         at byp.run(:com.google.android.gms.DynamiteModulesC:1022)
         at java.lang.Thread.run(Thread.java:818)
08-26 05:27:20.580 6020-6061/com.example.auth D/WebSocket: ws_0 - |IO Exception|

I had similar problem. I fixed it by removing Google account from Android settings. So next when I tried to signin from the app, everything went fine...!


Feature request: classical registers

Intermediate representations like QASM have creg c0[1]; to initialize classical registers and measure q[0] -> c0[0]; for assigning measurement results to classical memory. Are there equivalent procedures in Cirq?

My understanding is that there was a conscious design decision to not support this because current hardware can't do intermediate measurements.

@bryano is correct. We don't know what the limitations of feedforward will actually be, so for now we've avoided codifying it. The closest thing we have to any kind of classical processing at the moment is the invert-result mask on measurement gates.

Reopening based on comments by @balopat.

Related #3231.

@vtomole I think all the work in classical controls means this can be closed.


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 11. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/microsoft-teams.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "laravel-notification-channels/microsoft-teams": "dev-l11-compatibility",
    }
}

Finally, run: composer update


Fix wrong market hours for Oanda DE30EUR CFD

Description

Currently on QuantConnect Platform, Oanda CFD DE30EUR, have trading hours Mon - Fri 08:00*-22:00, when it should be Mon - Fri 01:15*-22:00 according to Oanda Trading Times https://www.oanda.com/rw-en/trading/hours-of-operation/
Related Issue

https://github.com/QuantConnect/Lean/issues/5538
Motivation and Context

Currently it's not possible to backtest, and live trade on Oanda CFD DE30_EUR Instrument because of lack of coverage of whole market trading times
Requires Documentation Change

Changes in documentation not required
How Has This Been Tested?

Not tested
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.  (Not applicable, change only in json file)
[ ] All new and existing tests passed. (Not sure how to run tests locally, didn't find any informations about it in the repo)
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

4 tests Failed: 2x timeouts and 2x actually related to the change.
I think expected 14 should be changed to 21 here - from 1:15 to 22:00 there are only 21 full hours
https://github.com/QuantConnect/Lean/blob/fe2ac131af2d0614494e5c970a57d4b7c89d5f88/Tests/Engine/DataFeeds/LiveTradingDataFeedTests.cs#L1422
However I am not sure about second failed test, it seems that instead of expected 14 Ticks received 20 Ticks, but I don't understand why we should expect 14 Ticks during one day anyway. I can change it in code, but it would be better to understand this specific Tick test usecase
https://github.com/QuantConnect/Lean/blob/fe2ac131af2d0614494e5c970a57d4b7c89d5f88/Tests/Engine/DataFeeds/LiveTradingDataFeedTests.cs#L1424
Thanks for any hints!

@Martin-Molinero Thank you! How can I know when change was deployed to the production?

@Martin-Molinero Thank you! How can I know when change was deployed to the production?

Thank you! It's in production 👍 Lean v11672

@Martin-Molinero I'm afraid it's still not working as intended. Both during backtest and live trading market hours for Oanda DE30EUR are 8:00 - 22:00 instead 01:15 - 22:00 as mentioned here https://github.com/QuantConnect/Lean/issues/5538
Will check are there any other places that needs to be changed, but if you have any ideas what else is missing please let me know :)


Your requirements could not be resolved to an installable set of packages.

I tried to install your package but I got a message like that: (I'm using Laravel 4)
Problem 1
    - Installation request for fbf/laravel-youtube dev-master -> satisfiable by fbf/laravel-youtube[dev-master].
    - fbf/laravel-youtube dev-master requires google/apiclient dev-master -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Please help me, thank you very much!!!

I'm also getting the same

I'm also getting the same

same problem...


1.5.1 .deb package misses depencies

VSCode Version: 1.5.1
OS Version: Ubuntu GNU/Linux 16.04

Summary: VSCode package for Ubuntu 16.04 requires several i386 packages to be installed on the system, but does not specify them as a dependency. End result is code not running due to missing dependencies, even though the package installs without error.
Steps to Reproduce:

Install the .deb package
Open a terminal
Run code

Expected result: VSCode opens up
Actual result: Missing dependencies:
mverwijs@x230 ~> code
/usr/share/code/bin/../code: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

mverwijs@x230 ~> code
/usr/share/code/bin/../code: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory

mverwijs@x230 ~> code
/usr/share/code/bin/../code: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Workaround:
sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libgconf-2-4:i386

PEBKAC. Accidentally downloaded and installed the i386 version. Which exists.

I installed the 64bit version of vscode and still had this problem. I don't think that PEBKAC is true.


Make kubernetes scripts compatible with docker-compose (PoC) (Do not merge)

This PR is a proof of concept for how we could get docker-compose to talk with the kubernetes scripts. It was used to kick off some victim-predictor runs on GAN and PPO. This PR breaks the highest level kubernetes launch scripts.
Most of the logic is inside the kubernetes scripts, with the compose.yml file just specifying some high level directory mounts + device assignments. The kubernetes scripts were changed in how their working directories are specified. I thought this change was a simplification, but @norabelrose would appreciate a second opinion here.
Finally, there are also some small changes to the Dockerfiles themselves just to optimize dependency copying order (we want the most frequently changed things copied last so we can use the Docker cache whenever possible).

Closing due to us pretty much migrating exclusively to kubernetes now.


[Regression][SQLite] Insert + On Conflict Do Nothing = error

Description
In SeaORM prior 0.11, running the following query twice works fine:
INSERT INTO \"group_user_membership\" (\"user_id\", \"group_id\") VALUES ('01GVEMDSKK33QX8ET4601B4HG7', '00000000000000000000000000') ON CONFLICT (\"group_id\", \"user_id\") DO NOTHING"

Running it on 0.11.x results in DbErr::RecordNotInserted

Steps to Reproduce

Insert a record
Insert a conflicting record instructing to do nothing on conflict

Expected Behavior
No error, not records inserted.

Workarounds
Check for DbErr::RecordNotInserted prior bubbling error up the stack.

Reproducible Example
https://github.com/andoriyu/seaorm-issues/blob/main/src/lib.rs#L39-L53
Versions
0.11.0 and 0.11.1

Thanks for the question.
It was an intentionally introduced change. For now, you can match the result to distinguish different cases:
match result {
    Ok(r) => Ok(Some(r)),
    Err(DbErr::RecordNotInserted) => Ok(None),
    Err(e) => Err(e),
}

In the future we might add a convenience method for it.


[LLC] Generated Doc Comments become ambiguous in "grow up" cases.

From Krzysztof:

I am trying to move WebPubSub to LLC + extensions. I ran into an interesting issues. The generator generates CreateXxxRequest methods with doc comments. The doc comments refer to method that will be calling the create method, e.g.:
   /// <summary> Create Request for <see cref="SendToUser"/> and <see cref="SendToUserAsync"/> operations. </summary>
   /// <param name="userId"> The user Id. </param>
   /// <param name="contentType"> Upload file type. </param>
   /// <param name="requestBody"> The request body. </param>
   private Request CreateSendToUserRequest(string userId, string contentType, RequestContent requestBody)

When I manually add overloads to SendToUser, this doc comment does not compile anymore because of:
Severity Code Description Project File Line Suppression State
Error CS0419 Ambiguous reference in cref attribute: 'SendToUserAsync'. Assuming 'WebPubSubServiceClient.SendToUserAsync(string, string, RequestContent, CancellationToken)', but could have also matched other overloads including 'WebPubSubServiceClient.SendToUserAsync(string, string, CancellationToken)'. Azure.Messaging.WebPubSub (netstandard2.0) D:\git\azure-sdk-for-net\sdk\webpubsub\Azure.Messaging.WebPubSub\src\Generated\WebPubSubServiceClient.cs 461 Active

In this specific case, we could just remove the doc comments from the private members (we had them because these used to be public, but are no longer and we just never stopped generating the docs) but we should also do the work such that if we are going to generate crefs to members, we generate them with the method signature we expect to target for cases where new overloads are added later.

Might need to output cref syntax w\ parms?

Likely related to https://github.com/Azure/autorest.csharp/issues/1198


Dev/ep2019py37 unicode

Python3.x already has unicode strings and so there is no need to encode() them. Also given that encoding a str in Python3.x outputs a bytes instance, not another str like in Python 2.x
This pull request builds on top of pull request #760 (Python 3.7 support).

Closing in favour of https://github.com/EuroPython/epcon/pull/851, migrating the project to python 3.6


Dependency on typeahead.js

Any thoughts on trying to integrate https://github.com/corejavascript/typeahead.js/ instead of what looks like the no longer maintained version of it?

I agree with this, there are several issues with the no longer maintained version of Twitter's typeahead, including https://github.com/twitter/typeahead.js/issues/1232 which has several PR's that are still open including the issue itself.

Yep, can't see any issues with this. Will accept a pull request updating
the dependency assuming all tests pass.
On 5 Apr 2017 7:30 a.m., "Seyi Adebajo"<EMAIL_ADDRESS>wrote:

I agree with this, there are several issues with the no longer maintained
version of Twitter's typeahead, including twitter/typeahead.js#1232
https://github.com/twitter/typeahead.js/issues/1232 which has several
PR's that are still open including the issue itself.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aupac/ember-aupac-typeahead/issues/45#issuecomment-291637772,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGDdOHRN1CI-U7uujN3_KjaajGXbSOa2ks5rsrZ6gaJpZM4MyPf_
.

@jackmatt2 will do in a minute

Resolved via #46


Double restart?

Using fresh with a small Go server on OS X. Whenever I save a file, fresh recompiles and restarts the application twice. Is this common? How to troubleshoot this?
Other than this small issue, really enjoying the tool. Please keep it up!

@Mitranim it's not commond, but you can run it with the verbose option to see what's happening. is it possible that your editor saves twice and fresh compiles twice? you can try increasing the build_delay option

I'm sorry but I don't see a verbose option in the configuration. Anyway what I'm seeing in the terminal is that watcher sends the MODIFY|ATTRIB event (for the same file) twice. This happens even when using the touch utility to modify the file, so this doesn't appear to be editor related.

Some additional notes. The folder is in a git repo; it's not inside Dropbox or anything like that, and I don't believe I have any daemons watching this location; quitting the editor and restarting Finder has no effect. Would love to hear other troubleshooting suggestions. :)

I remember in the past it was an issue with fsnotify, that's why I introduced the delay option, to avoid this problem and just building once if I receive a second event just after the first one. it might be solved with go-fsnotify

Increasing the delay to 2000 does solve the issue, but that's a lot of waiting. I'm not entirely sure what you mean by solving this with go-fsnotify. Any clue please?

yes, 2000 is too much, when I had that problem my editor was saving twice, but the second event was something like 100 ms after the first one.
about fsnotify, I'm using github.com/howeyc/fsnotify to watch the fs, but I think https://github.com/go-fsnotify/fsnotify is more up to date, switching to that may solve the issue, I'm not sure.

Trying out your suggestion. Installed https://gopkg.in/fsnotify.v0 per the recommendation on https://github.com/go-fsnotify/fsnotify#api-stability, switched fresh to it, recompiled binary. No observable change so far. The watcher still fires two events per file modification. =( And the newer version of go-fsnotify has a different API. =/

@Mitranim is this still an issue?

@gmccue Haven't checked since last year, and I don't remember how it ended up, sorry.


⬆ Upgrade Airflow EKS Cluster (Production)

Part of the upgrades of sandpit, development and production.
User Story
As a platform engineer
I expect my clusters to be up to date
So that they don't whither and die, or end up on extended support because 💰
Useful Contacts
Gary, Jacob, Julia, Emma.
Proposal
Upgrade the Airflow cluster - airflow-production in analytical-platform-data-production
Additional Information
kubernetes-release-calendar
Definition of Done

[ ] Research the components that make up the cluster and understand if the impact/dependencies of upgrading.
[ ] Understand and document how to test the cluster functionality for when this is done in Production
[ ] Upgrade the cluster to 1.30
[ ] Document findings and present to the team

Documented the upgrade process taken in Development, applies to all environments.

Upgrade complete. Comms sent to users.


Check and warn the user if there are native deps installed in root folder

Closes #1171 .
Checks if there are any native dependencies not installed inside the app folder as they should be (https://github.com/chentsulin/electron-react-boilerplate/wiki/Module-Structure----Two-package.json-Structure) on postinstall. If there are, a warning is displayed mentioning the issue and a link to the before mentioned page.
By the way, looks like node-sass should also be installed inside of app by default since it's a native dep.

node-sass is a native dep but its used only in development. Doesn't make sense to package it in ./app


Generate MPH per count plots

Section 1: Design details
Relevant background
Addresses the first part of issue #38.
Current MPH plots produced have evenly spaced FOV numbers on the x-axis (shown below).

Instead, we want the x-axis to be a cumulative count of overall counts the detector has received, along with making the script watcher compatible.
Design overview
This enhancement will create a new jupyter notebook to run necessary checks and compute the new MPH plots.
The x-axis can be constructed by retrieving total_counts for each FOV with the get_total_counts() function from mibi-bin-tools.
To make this enhancement watcher compatible, we need to save a csv for each FOV containing the information we need, as well as a complete csv combining all of these values.
Design list/flowchart

Set up appropriate file paths for bin and json files with example data
Create data frame using get_total_counts and get_median_pulse_height from mibi-bin-tools
Save the name/number, total count, and median pulse height in a single csv for each FOV
Save complete set of values computed to an overall csv
Visualize MPH plots using matplotlib

Required inputs
We'll need the directory containing FOV bin files and json metadata files.
Output files
This notebook will output the desired MPH plots. There are a couple of different ways to visualize the new axis:
(a)  (b)
(c)
Minute differences I know, but I'm partial to (c). Please note any specific formatting details you'd like me to implement.
I can also add a second plot that adds the regression line.

Section 2: Implementation details
Once you have completed section 1, please tag the relevant parties and iterate on the initial design details until everyone is satisfied. Then, proceed to section 2
Control flow
Provide additional, more granular details (if necessary) about how the proposed coding logic will be put together
Milestones and timeline
List each of the major components of the project, and provide an estimated completion date for each one.

Looks good! Please go ahead and fill out the estimated timeline.
For the plotting axes, I don't think we need to label number of FOVs at all. Instead, it should show the cumulative counts at evenly spaced intervals. i.e. 5 million, 10 million, 15 million, 20 million, with the fovs plotted as dots wherever they happen to line up


Configurable cassandra LoadBalancingPolicy and NoHostAvailable retry …

…count.
New cassandra config parameters:
cassandra.load-policy.use-dc-aware
cassandra.load-policy.dc-aware.local-dc
cassandra.load-policy.dc-aware.used-hosts-per-remote-dc
cassandra.load-policy.dc-aware.allow-remote-dc-for-local-consistency-level
cassandra.load-policy.use-token-aware
cassandra.load-policy.token-aware.shuffle-replicas
cassandra.load-policy.use-white-list
cassandra.load-policy.white-list.addresses
cassandra.no-host-available-retry-count

Travis CI Error: The log length has exceeded the limit of 4 Megabytes (this usually means that test suite is raising the same exception over and over).
The build has been terminated.

Thanks! Can you add these new config properties to the Cassandra connector documentation?

@electrum, done.

I started working on this, but the boolean configs like use-dc-aware, use-token-aware, etc. are actually exclusive and should be an enum.

@electum, TokenAwarePolicy is not exclusive. It can include any other LoadBalancingPolicy (http://docs.datastax.com/en/drivers/java/3.0/com/datastax/driver/core/policies/TokenAwarePolicy.html) and DCAwareRoundRobinPolicy too.

HI how is the state of this pull request?  I am very interesting in having data center awareness upstream.

@toxeh You're right, I see now that it is building a chain of policies. I'll review this soon.

Merged, thanks!


Add link to record tiktok lives easily

I made this app called Rewatch LIVE that basically does what this repo does and saves the LIVEs to the cloud. That way non-technical people can use the app to record their tiktok lives. The link is https://rewatchlive.com, and maybe by chance you could put that on the README in case a lot of non technical people were wondering how to use this repo! Thanks!

The direct app store link is: https://apps.apple.com/us/app/rewatch-live-save-live-stream/id6475189565
The direct play store link is: https://play.google.com/store/apps/details?id=com.reactish.rewatchlive&hl=en&gl=US


Added a timeout option onMousLeave

Hi, thank you for this cool Tooltip component !
I'd like to add a feature where you can specify a timeout duration so then tooltip doesn't close instantly.
In my case the Tooltip contains some UI you can click on, without timeout it's really hard to actually get to click on the content, you have to move the mouse before the Tooltip get unmounted.
Let me know if there is anything wrong.
Cheers,
Adrien

Codecov Report

Merging #10 into master will decrease coverage by 1.29%.
The diff coverage is 80%.

@@           Coverage Diff            @@
##           master     #10     +/-   ##
========================================
- Coverage     100%   98.7%   -1.3%
========================================
  Files           5       5
  Lines          73      77      +4
  Branches       11      12      +1
========================================
+ Hits           73      76      +3
- Misses          0       1      +1

Impacted Files
Coverage Δ

src/index.js
95.45% <80%> (-4.55%)
:arrow_down:

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 ceb6d56...1d88480. Read the comment docs.

Actually it doesn't solve the issue. The Tooltip still disappear even if it's focused. The timeout should be cleared if the mouse is hovering it. Do you have an idea on how to achieve this ?

Hi @adrienpwd, sorry for the delay. Did you give up about your issue?

Hi. Yeah I found an alternative where I use the fixed prop instead. But I'm willing to make a new PR if you have a better idea on how to achieve that. By the way, I'm from Toulouse too :D

Oh nice to hear that you are from Toulouse :)
Could you share your alternative here? Maybe it could help someone.
Thank you very much

I don't have so much free available time for now but please let the issue open and I will take a look as soon as I can


Database shows stale display name even after it has been changed

Bug description

when you initially create a database connection, and and change the display name, it still shows the previous display name inside dataset view

How to reproduce the bug

connect your Postgres to superset
change the display name
go to hit the button + DataSet
in the drop down choose your database
you will see the dropdown label shows the stale display name

Screenshots/recordings

Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

please assign this issue to me and i will work on it, it is a minor bug though

@jzhao62 I assigned the issue for you. Please link this issue in the fix PR so that it automatically closes when the PR is merged.

Hi @jzhao62. I was not able to reproduce your issue on master following your test instructions. Is there any step missing?
https://github.com/apache/superset/assets/70410625/a88f220c-33e5-4351-b7bd-c17c51315b23

@michael-s-molina
yes, you have to create a new database connection and modify its name. ( I think the defaultDB name gets stored in localStrage and being used in other places, this problem might occur for other types of connection as well)

i have attached a video

Make sure you clear localStorage first
the bug can be seen after the 00:01:18 after the video
https://github.com/apache/superset/assets/25937657/32dc3a38-6d33-4daa-9809-d96342a6d5ba

Added a new reviewer to the PR. Hopefully we can get this one across the finish line. Thanks for your patience, and we appreciate the help!


Ft define team member scope #156577845

What does this PR do?
Enable user to define the scope of jobs another user has access to on sending the invite
Description of Task to be completed?
GIVEN that a user is inviting another user to have team access to their account
WHEN they are inviting the person via email
THEN they should be able to define the scope of the individual healthchecks jobs for which they have team access
How should this be manually tested?
1: Install the project and install the requirements.txt i a virtual environment
2: Set up email configurations from an email server, host, user, password, port
3: Change the email backend to support the smtp server you are going to use
4: Create a job/check
5: Invite another user and allow access to the job
6: Integrate the user's email to the job
7: Team user should now receive notifications for that job in case it goes up or down
What are the relevant pivotal tracker stories?
#156577845
Checklist: I completed these to help reviewers

[x] My IDE is configured to follow the PEP8 Conventions
No? Unsure? -> configure your IDE, format the code and add the changes with git add . && git commit --amend

[] I have added tests to cover my changes.
No? -> figure out why and add the fix to your commit. It is your responsibility to make sure your code works.

[x] My pull request is based on the latest changes of the develop branch.
No? Unsure? -> execute command git pull --rebase origin develop

Pull Request Test Coverage Report for Build 199

41 of 52 (78.85%)  changed or added relevant lines in 5 files are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.3%) to 77.92%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

hc/front/views.py
26
37
70.27%

Files with Coverage Reduction
New Missed Lines
%

hc/settings.py
2
96.77%

hc/api/management/commands/ensuretriggers.py
7
100.0%

Totals

Change from base Build 193:
-0.3%

Covered Lines:
1581

Relevant Lines:
2029

💛  - Coveralls


add a reference for the 7 seg display

to help answer the question - what is segment A?
on the back there is a nice table, I suggest adding a picture with each segment labelled.

Done, added this next to table

Tell me if it needs mods, but closing this.


first converted testcase

converting Toml files to elixir, working on 3D testcases

@Cczernik Thanks for starting to work on new elixirs! Please target https://github.com/trixi-framework/Trixi.jl/tree/msl/sync-taal-taam for new elixirs, to avoid doubling the work in verifying all results.

Can you please merge the current msl/sync-taal-taam to your branch? At the moment, there are conflicts (probably because we both merged from dev), thus if you need help, let me know.

outdated


Add ProductName and Version labels to KubeVirt objects

What this PR does / why we need it:
This PR sets the groundwork for applying commonly recognizes labels to all objects created within KubeVirt.
ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
Release note:
Resources created by KubeVirt are now labelled more clearly in terms of relationship and role.

/hold
This PR still needs functional tests, but I wanted to get the code committed for initial review.

/hold cancel

/retest

/retest

/retest

/test continuous-integration/travis-ci/pr

/retest

/approve
/lgtm

/retest

/retest

/retest


Improve download/install URLs

At the moment, the Perlang installation URL is https://perlang.org/download. While this works, one slightly ugly "gotcha" is that https://perlang.org/install is not the actual install page, but rather a redirect to the perlang-install script at https://raw.githubusercontent.com/perlang-org/perlang/master/scripts/perlang-install.
We should fix this so that:

[x] Both https://perlang.org/download and https://perlang.org/install (and potentially some other URL as well, like https://get.perlang.org or https://install.perlang.org) points to the download page. Fixed as of 2020-11-03.

[x] The perlang-install script is hosted at some other URL. The most efficient approach in terms of network latency would be to just let end-user curl-execute it right away from https://raw.githubusercontent.com/perlang-org/perlang/master/scripts/perlang-install (to avoid the redirect altogether). However, the current approach with https://perlang.org/install is pretty good since that URL is Fastly-enhanced and provides good, globally low latencies. Whatever approach we choose should try to remain faithful to this ideal. Fixed, changed to https://perlang.org/install.sh
The easiest way is to just set up some redirect like https://perlang.org/install.sh, https://perlang.org/install/script or whatever; the second-easiest way would be to create a new host name and host this on Fastly as well. (but I think we should avoid an explosion of Fastly host names since it can become a maintenance burden.)

Prior art

RVM is installed using \curl -sSL https://get.rvm.io | bash
NVM is insalled using curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
Homebrew is installed using  curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)

The perlang-install script is now moved to https://perlang.org/install.sh
A redirect has been set up from https://perlang.org/install to https://perlang.org/download

As of this, I think we can close this. :+1:


Describe format of DLC-transaction format LN-like

IMO transaction format to get valid signatures should be really a different spec than validation of protocol messages.
i.e

The sum of each Funding Inputs' value is at least that of its Total Collateral

Should be in protocol.md and a requirement on offer receiver to check than announced outpoint cover at least announced offer_collateral.
Also, I didn't write down the closing transaction because their input isn't specificed enough to know if they refer to to_local/to_remote output of CET/Mutual closing or Refund. I think it would be awesome if one of you write the onchain part a la BOLT5 where you describe on seeing a remote CET transaction what the party should do.
Overall, really excited by this :)

We now do LN-like things :)


Trigger - Event Data - Entity_id passed differently depending on caller

Home Assistant release with the issue:
0.103.6
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hassio on RPi 64bit
Integration:
https://www.home-assistant.io/integrations/scene/
Description of problem:
The formatting of the trigger event-data is different, when you turn on a scene through lovelace tap_action and calling the service "scene.turn_on" from an automation.
Case 1: Lovelace
<Event call_service[L]: domain=scene, service=turn_on, service_data=entity_id=scene.home>
Case 2: Automation-trigger
<Event call_service[L]: domain=scene, service=turn_on, service_data=entity_id=['scene.home']>
Notice the encasing of the entity_id
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Case 1: Lovelace
    tap_action:
      action: call-service
      service: scene.turn_on
      service_data:
        entity_id: scene.morning

Case 2: Automation-trigger:
  action:
  - service: scene.turn_on
    entity_id: scene.morning

Code using the eventdata:
- id: home_scene_change
  alias: home_scene_change
  trigger:
  - event_data:
      domain: scene
      service: turn_on
    event_type: call_service
    platform: event
  action:
  - service: script.notify_debug
    data_template:
      title: zwerg
      message: "{{ trigger.event }}"
  - service: input_text.set_value
    data_template:
      entity_id: input_text.home_state_scenes
      value: "{{trigger.event.as_dict()['data']['service_data']['entity_id']}}"
  - service: script.sys_writelog
    data_template:
      name: "{{trigger.event.as_dict()['data']['service_data']['entity_id']}}"

Traceback (if applicable):

Additional information:

This is very related to and possibly a duplicate of #28633.

This is not a bug. entity_id is allowed to be either a list of entitiy IDs or a single entity ID.


access tier validation when creating storage blob account

Fixes: https://github.com/Azure/azure-cli/issues/2785
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[y ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/4861
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.


Build Errors

Hello, I'm having trouble building this project. I have not altered the code in any way. I've only changed the build from an .sln to a CMakeLists.txt.

Ubuntu 22.04 LTS
Cuda version is 11.7
g++ version 11.2.0
CMake version 3.22.1

After creating the build files, and running make I get two errors:
/home/<USER>/stl-decomp/view-factor-cuda/src/vfcuda.cpp:122:105:   required from here
/usr/include/c++/11/bits/std_thread.h:130:72: error: static assertion failed: std::thread arguments must be invocable after conversion to rvalues

and
/usr/include/c++/11/bits/std_thread.h:252:11: error: no type named ‘type’ in ‘struct std::thread::_Invoker<std::tuple<void (*)(Geometry&, Geometry&, Geometry&, int, int, int, double*), Geometry, Geometry, Geometry, int, int, int, double*> >::__result<std::tuple<void (*)(Geometry&, Geometry&, Geometry&, int, int, int, double*), Geometry, Geometry, Geometry, int, int, int, double*> >’
  252 |           _M_invoke(_Index_tuple<_Ind...>)
      |           ^~~~~~~~~
/usr/include/c++/11/bits/std_thread.h:256:9: error: no type named ‘type’ in ‘struct std::thread::_Invoker<std::tuple<void (*)(Geometry&, Geometry&, Geometry&, int, int, int, double*), Geometry, Geometry, Geometry, int, int, int, double*> >::__result<std::tuple<void (*)(Geometry&, Geometry&, Geometry&, int, int, int, double*), Geometry, Geometry, Geometry, int, int, int, double*> >’
  256 |         operator()()

The line which causes both errors is: threads.push_back(thread(runMT, emitterGeometry, receiverGeometry, blockerGeometry, i, start, end, vfs)); in vfcuda.cpp Line 122 .
I'm not sure how to proceed from here.
Best wishes,
H

Morning!
I've been meaning to migrate this to CMake anyway to enable cross-platform compilation, so thank you for giving me a reason to do it. I will work on root-causing your issue this week.
Best,
Shane

Hi Shane,
Sounds good. Here's a copy of my CMakeLists.txt, in case it's helpful to you. I'm pretty new to CMake, C++, and CUDA, so it may have some superfluous lines. It's also just a quick-and-dirty top-level file.
Best Wishes,
H
cmake_minimum_required(VERSION 3.22)

project(STL-VF LANGUAGES CXX CUDA)

find_package(CUDAToolkit REQUIRED)

if (NOT DEFINED CUDAToolkit_VERSION)
    message(FATAL_ERROR "expected CUDAToolkit variable CUDAToolkit_VERSION not found")
endif()

if(NOT DEFINED CUDAToolkit_VERSION)
    message(FATAL_ERROR "expected CUDAToolkit variable CUDAToolkit_VERSION not found")
endif()

message(STATUS "CUDAToolkit_VERSION: ${CUDAToolkit_VERSION}")
message(STATUS "CUDAToolkit_VERSION_MAJOR: ${CUDAToolkit_VERSION_MAJOR}")
message(STATUS "CUDAToolkit_VERSION_MINOR: ${CUDAToolkit_VERSION_MINOR}")
message(STATUS "CUDAToolkit_VERSION_PATCH: ${CUDAToolkit_VERSION_PATCH}")
message(STATUS "CUDAToolkit_BIN_DIR: ${CUDAToolkit_BIN_DIR}")
message(STATUS "CUDAToolkit_INCLUDE_DIRS: ${CUDAToolkit_INCLUDE_DIRS}")
message(STATUS "CUDAToolkit_LIBRARY_DIR: ${CUDAToolkit_LIBRARY_DIR}")
message(STATUS "CUDAToolkit_NVCC_EXECUTABLE ${CUDAToolkit_NVCC_EXECUTABLE}")

find_library(CUDART_LIBRARY cudart ${CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES})

add_executable(
    binary_linking_to_cudart
    src/main.cpp
    src/vfcuda.cpp
    src/GPUGeometry.cpp
    src/Geometry.cpp
    src/kernels.cu
    src/MTCalculator.cu
)
target_include_directories(
    binary_linking_to_cudart
    PRIVATE
    ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES}
)
target_link_libraries(
    binary_linking_to_cudart
    ${CUDART_LIBRARY}
)

Is there any news here?

Hi here's a little update.
I am using C++ 17.
I got the code to compile, basically the problem was that you are using the copy constructor thread(MT, .... )1 in order to generate the threads, which is a deleted function.
When the thread is created and then added to the vector it requires use of std::move(t).
Though this should be correct it leads to problems with the unit tests-- the program runs non-deterministically and produces different results for the view factor when running multiple times.
Ex: when running the code for the ParallelPlates_CourseSmall test, the resulting view factor is only half of what it should be, e.g. VF: 0.0015810419634802121 instead of expectedVF = 0.003162057. But most of the time the VF returns 0 for the exact same case.
So I think the code itself is incorrect, though this is a separate issue.

Thank you for taking a look! And apologies for the late response--I've been held up with some school-related duties. After talking with my PI, I think we're looking to build a new version of the solver that uses CMake and allows for computation using either CUDA or OpenMP. We're looking to iron out some of these types of issues as we look forward to making a more final version, and to that end I thank you for your help!
As we look to build a more feature-rich version, I would love to hear more about why this solver is interesting to you. If you'd like to discuss it further, feel free to send me an email at<EMAIL_ADDRESS>A PR would be appreciated. I can take a stab at incorporating the unit tests.
Best,
Shane

I'm so sorry, I missed your response! I seem to have some notifications turned off/notifications seem not to be working. I also have a lot of obligations at the moment, but I will clean up my code and create a pull request as soon as I am able, this may take up to two weeks.
I was specifically using the solver for radiant heat transfer for additive manufacturing simulation.


Modified catalina-server.xml file is restored to default values after WSO2 APIM restart

I want to disable SSL communication between WSO2APIM and backend API server. To achieve this, I modified catalina-server.xml file to change SSLEnabled and secure parameters as "false". After changes when I started WSO2 APIM, this file got restored to default values. The same behavior was notices for changes in axis2.xml also.
WSO2 APIM 3.0.0
Linux Redhat, H2 DB, Tomcat webserver
Steps to reproduce:

Take a backup of catalina-server.xml and stop WSO2 APIM service
Make changes in catalina-server.xml by changing SSLEnabled="false" and secure="false". These parameters are true by default.
Restart WSO2 APIM service
Check catalina-server.xml - new catalina-server.xml file is created restoring SSLEnabled and secure parameters to "true".

@tharindu1st , can you please comment.

@parveen02 since this is not a doc issue, I'm moving this to the product repo.


Accessing quarto metadata programmatically via QuartoNotebookWorker

Now that we have the expand extension pipeline, I was thinking that downstream packages might want to expand differently depending on, for example, the output format that quarto renders to. I think that's different from the loading hooks we currently have. So I wonder how we could make the full quarto metadata accessible, like you can access it from knitr with knitr::pandoc_to(), as one example.

Stored in https://github.com/PumasAI/QuartoNotebookRunner.jl/blob/85f65102f63c2c4eac98c5cb51eed14fc2948535/src/QuartoNotebookWorker/src/NotebookState.jl#L8, so we can make an official API for that I guess.

Yes, although there's currently no open way to access anything QNW-related, is there? The extension methods hook in at package load time, you couldn't easily reach that from the notebook itself. And I think we were holding off on adding any API into the notebook workspace due to it not being available in a REPL.

you couldn't easily reach that from the notebook itself. And I think we were holding off on adding any API into the notebook workspace due to it not being available in a REPL.

Would only be accessed in 3rd-parth package extensions, not directly in a notebook, e.g.
module PackageNameQuartoNotebookWorkerExt

import PackageName
import QuartoNotebookWorker

function QuartoNotebookWorker.expand(::PackageName.Foo)
    opts = QuartoNotebookWorker.options() # hypothetical public API, used at runtime.
    # ...
end

end

Right, ok, so it should stay that way then. One could not develop such functionality in scripts is the only drawback I can see.

One could not develop such functionality directly within notebooks is the only drawback I can see.

Nope, you can't. Revise ideally should just work with this fine and functionality can just be developed directly in the extension file. If that doesn't work then we should make it work.

Yes for "serious" development that's true, it just adds overhead if you want to quickly try out things. I would have liked an "escape hatch" of some kind. Actually, maybe that's already possible by requiring the right UUID manually. Just thinking out loud here, I think the extension is in general the right place to do this kind of stuff.

Actually, maybe that's already possible by requiring the right UUID manually.

Given the way the LOAD_PATH is done you should just be able to always do using QuartoNotebookWorker in a cell as an escape hatch if needed. (Worked for me just now).


[WIP] Use new cluster module for Sierra

What is this PR trying to achieve?
Use the new cluster module to split the sierra adapter out.
Who is this change for?
💻
Have the following been considered/are they needed?

[ ] Deployed new versions

Resolves #1234.

It’s relying on at least one bugfix in the modules repo, so I’d like to get that reviewed + merged tomorrow. I’ll work on this first, and then we can get it closed off.


Create default configuration for Codecov

Disables all checks and commenting.

Codecov Report
Base: 93.33% // Head: 93.33% // No change to project coverage :thumbsup:

Coverage data is based on head (9fac7c7) compared to base (d69b0fa).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   93.33%   93.33%
=======================================
  Files           1        1
  Lines          15       15
=======================================
  Hits           14       14
  Misses          1        1

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Improving docs for VM creation

I just added back the .gitignore file that got lost in the folder migration

Sorry, my fault. Thanks!


Feature/multiple hierarchies

Issue: #2451
What I did
Extended the hierarchy functionality to enable multiple hierarchies next to the main (nameless hierarchy).
I added an extra rootSeparator (not sure about the name though):
setOptions({
  // ...
  hierarchySeparator: /\./,
  rootSeparator: /\|/, // default is false
});

UPDATED: rootSeparator is renamed to hierarchyRootSeparator with default value null
Extending the API as such:
storiesOf('Addons|Addon Info.React Docgen', module)
  .add(          ^
  ...

Works backwards compatible with or without setting the hierarchySeparator.
Documentation is updated in addons/options/README.md.
Allowing multiple hierarchies, see issue #2451 for screenshot.
How to test
I added the rootSeparator to the kitchen sink example and added the "|" separator to the addon stories.
See cra-kitchen-sink for an example.
The tests are fixed and extended. Though 1 test is failing, but that it is failing on master as well:
FAIL  examples/cra-kitchen-sink/src/storyshots.test.js
  ● Test suite failed to run

    TypeError: (0 , _react3.storiesOf)(...).add(...).add(...).add(...).addWithInfo is not a function

1 test is failing, but that it is failing on master as well

That's weird. Did you run yarn bootstrap --core?

Can you please resolve the conflicts? They are mostly caused by renaming "Left panel" to "Stories panel"

@Hypnosphi Thanks for reviewing!
The branch was based on master. I've rebased the branch on latest release/3.3 and fixed the conflicts.
yarn bootstrap reset everything and all tests are passing!
I've also omitted 'Addon' in the addon story names.

Please run yarn test --core --update to update test snapshots

Live example for reference
Looks like some of the stories still have wrong kinds:

Root title is hidden when using search. Is it on purpose?

Looks like some of the stories still have wrong kinds:

Fixed!

Root title is hidden when using search. Is it on purpose?

Nice catch! Fixed!

Good to go if you ask me!

I think we're aiming to add this for 3.4?
I added the do not merge label because of the upcoming changes to our workflow. Feel free to merge to master after we get 3.3 out

We have moved some stories to examples/storybook-official. Would you mind resolving the conflicts?

@shilman after we merge this one, we won't be able to release 3.3 from master anymore

I've rebased the branch on master, keeping the history nice & clean. Fixed tests, added separator config to examples/official-storybook and updated core and cli snapshots.

@Havelaer That's fantastic work!


Translations update from Hosted Weblate

Translations update from Hosted Weblate for evcc/evcc.
Current translation status:

Weblate currently is locked for some reason, unable to do translations.

@premultiply Weblate currently is locked for some reason, unable to do translations.

I know but my own build environment is currently broken due to recent golang version update. I have to fix that first. 😟


[4.2] Runtime: Properly handle demangling nested generic typerefs with symbolic manglings.

The demangling tree for a symbolic reference doesn't indicate the generic context depth of the referenced type, so we have to form the type metadata from whole cloth without incrementally building up nested types as we do for concrete mangled types. Notice when DecodedMetadataBuilder is passed a context descriptor ref without a parent and directly form the entire type in this case. Fixes rdar://problem/38891999.

@swift-ci Please test


Ability to change the background color of the current scope

I want to be able to change the background color of the scope the cursor is currently in. When the cursor enters a scope, that scope will be colored differently from the rest of the file. Please see the below image of what I aim for.
Is this possible with an editor extension? If so please let me know how I can get the current scope from the extension api.

See https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.scoper fro example.

@ArturoDent Scoper is exactly what I wanted, thank you very much!


Increase gossipsub seen-ttl

The gossipsub IGNORE rule for attestations is:
attestation.data.slot + ATTESTATION_PROPAGATION_SLOT_RANGE >= current_slot >= attestation.data.slot

As ATTESTATION_PROPAGATION_SLOT_RANGE is 32, this allows for clients to propagate attestations up until the start of the 33rd slot after publishing.
Because we've set our duplicate cache to the start of the 32nd slot, I've noticed quite a few duplicates bouncing around the network. Increasing the cache time will prevent these extra duplicates being unnecessarily propagated.

in nimbus, we stop propagating a bit earlier than 32 actually, to avoid the duplicate and to avoid being descored by lighthouse in particular - basically, there's a race where the attestation is valid when sending, then becomes invalid in-flight as time passes.


updated "familial prostate cancer" branch

Addresses #8060
See issue for details

@matentzn and @twhetzel I don't know what the QC fail is and how to resolve it. Could you please help? Thank you!

@sabrinatoro this was a temporary glitch - when this happens (i.e. whenever you dont know whats going on :P) just run the QC check again! You can do so by clicking on "Re-run all jobs"

this was a temporary glitch - when this happens (i.e. whenever you dont know whats going on :P) just run the QC check again! You can do so by clicking on "Re-run all jobs"

I almost did run the QC checks again! Then I stop myself thinking that "it is just wishful thinking" :-) Thanks @matentzn


Refactor the code base to allow for unit testing

Codecov Report
Attention: 63 lines in your changes are missing coverage. Please review.

Files
Coverage Δ

src/comment.rs
100.00% <ø> (ø)

src/filetype.rs
83.95% <ø> (ø)

src/tmp.rs
92.30% <92.30%> (ø)

src/args.rs
55.81% <55.81%> (ø)

src/main.rs
0.00% <0.00%> (ø)

src/docstring.rs
80.48% <80.48%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


FV: Stop Felix(s) and Typha in parallel.

Description

Hopefully another small FV speed win.
Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

This seemed to speed things up locally but, on semaphore, it seems to slow things down!  I guess the semaphore VMs don't have enough spare cores to benefit from the parallelism.


[WFLY-19397] Jakarta Data support in WildFly Preview

https://issues.redhat.com/browse/WFLY-19397
@scottmarlow Doing this is 97% boilerplate, so since I'm sadly responsible for most of the boilerplate details I took a shot at this while watching sports yesterday.
It's a new jakarta.data.api module, a minimal subsystem and a DUP to add the api to the deployment. Plus a galleon layer to allow adding the extension/subsystem. The new module, subsystem and layer are only integrated in WildFly Preview.
We need a subsystem so we can evolve any configuration or add any /deployment=foo.war/subsystem=jakarta-data stuff in the future without breaking people who were accustomed to not needing one. Plus it's just the normal way of adding technologies.
I'll spend a bit of time today trying to port https://github.com/jakartaredhat/hibernate-data-tck/tree/main/runner-web to wildfly-tck-runners. The TCK would be the primary way this would be tested initially.

@darranl That should be fixed now.

@darranl @scottmarlow @jamezp A build of this branch passes the Jakarta Data TCK when I use the proposed runner at https://github.com/wildfly/wildfly-tck-runners/pull/184.  So I've moved this out of draft state.
For 34 Final this needs a smoke test, but I don't have time today so I focused on getting the TCK to run and pass, as that's a better proof of the basic validity of the integration for 34 Beta.
@gavinking @starksm64 FYI

Great to see

@bstansberry I have a fix for the failure, sending a replacement PR


Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)

Is this a client library issue or a product issue?
This is a client library issue.

Did someone already solve this?
I have seen several posts about it but no solution so far. I am looking to understand the root cause so I know how to avoid it best.

Do you have a support contract?
No

The error is as follows and it comes up frequently and it's a big problem!
Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)
    at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:342:141)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:305:181)
    at process.nextTick (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:124:78)
    at process._tickCallback (internal/process/next_tick.js:61:11)
  code: 13,
  details: 'Received RST_STREAM with code 2 (Internal server error)',
  metadata: Metadata { internalRepr: Map {}, options: {} },
  note:
   'Exception occurred in retry method that was not classified as transient' }"

It occurs mostly on GET calls but I don't see many other patterns emerging otherwise. It happens way too often for a database library to be considered stable, unfortunately. Is there any solution or any workaround?

Environment details

OS: App Engine servers
Node.js version: 12.13.0
npm version: 6.12.0
@google-cloud/datastore version: 6.3.1

I am marking this as a duplicate of https://github.com/googleapis/nodejs-datastore/issues/679. Please add any context there if you believe what you have experienced isn't captured.


Unbearably slow in my code base: https://github.com/scverse/scanpy

          Still unbearably slow in my code base: https://github.com/scverse/scanpy

Saving files takes multiple seconds. VS Code waits and eventually shows a popup “Getting code actions from ''Python"”.
When setting "python.languageServer": "None", saving works as expected.
Why will VS Code wait for Pylance to save things? I have only source.fixAll.ruff activated, so the Python extension shouldn’t be consulted when saving a file at all.
{
    "[python]": {
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "ms-python.black-formatter",
        "editor.codeActionsOnSave": {
            "source.fixAll.ruff": true,
        },
    },
    "python.testing.pytestArgs": ["scanpy/tests"],
    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true,
    "python.languageServer": "Pylance",
}

Originally posted by @flying-sheep in https://github.com/microsoft/pylance-release/issues/4263#issuecomment-1623513714

@flying-sheep can you upload a log as described here?
https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue
I cannot reproduce any slowdown with that configuration in that same project. A log may at least point to what part is taking so long.
Does it only reproduce for certain files?

Not sure how 2023.6.40 solves the problem, we haven't really changed much of anything in the last week.
However, I am able to cause analysis to take a long time if I try to save test_neighbors.py.
This setting is causing VS code to wait for all code action providers (not sure why VS code does this though):
    "[python]": {
        "editor.formatOnSave": true,
}

So, the combination of that setting and the fact that test_neighbors takes a very long time to analyze is the reason for the slow down.
I'm guessing the work on this issue here is why format on save forces code actions to be gathered:
https://github.com/microsoft/vscode/issues/67147

Here's the directions for my repro:

Git clone the https://github.com/scverse/scanpy
pip-compile -o requirements.txt pyproject.toml
python -m venv .venv
activate .venv
pip install -r requirements.txt
pip install pytest
change settings as shown above
open scanpy\tests\test_neighbors.py
Try saving the file

I get output like so:
2023-07-07 09:41:08.511 [info] [Info  - 9:41:08 AM] (19388) [BG(1)] Long operation: checking: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (4166ms)
2023-07-07 09:41:08.511 [info] [Info  - 9:41:08 AM] (19388) Heap stats: total_heap_size=160MB, used_heap_size=121MB, total_physical_size=160MB, total_available_size=1921MB, heap_size_limit=2072MB

And I cannot repro it on 2023.6.40 either.

The difference between the two versions seems to be something marking the file as continually dirty:
2023-07-07 10:05:05.786 [info] (12332) Background analysis message: getDiagnosticsForRange
2023-07-07 10:05:05.787 [info] (12332) Background analysis message: setFileOpened
2023-07-07 10:05:05.787 [info] (12332) Background analysis message: markFilesDirty
2023-07-07 10:05:05.794 [info] (12332) Background analysis message: setFileOpened
2023-07-07 10:05:05.794 [info] (12332) Background analysis message: markFilesDirty
2023-07-07 10:05:05.795 [info] (12332) Background analysis message: setFileOpened
2023-07-07 10:05:05.795 [info] (12332) Background analysis message: markFilesDirty
2023-07-07 10:05:05.795 [info] (12332) Background analysis message: analyze

Not sure which file is being marked dirty, but these messages all appear after saving a single file. The same doesn't occur in 2023.6.40.

This change is the cause of the slowdown:
https://github.com/microsoft/pyrx/commit/6d83e146e412424e83168940f9046b0745bdf94d
Not sure why yet. That change seems correct to me.

With that change, analyzing the test_neighbors.py takes 5000ms. Without it takes 500ms.

This change is the cause of the slowdown: https://github.com/microsoft/pyrx/commit/6d83e146e412424e83168940f9046b0745bdf94d
Not sure why yet. That change seems correct to me.

We don't have access to this private repo.
What I know is this isn't the first time of similar problem happening (few months ago it did) and users like me lost hours/days of work due to this, saying to our managers/PM VSCode is not working I can't work this week is very frustrating experience.
And understanding that we have to downgrade pylance isn't obvious.
If the problem is due to the same code being change again, but me worth finding a way to avoid this in the future as this is extremely painful.

I want to express that I value all the hard work going into this project. Python was in desperate need for a good language server that integrates with typing.
@Jacques-Peeters I assume there is performance testing, and I assume pathological cases like this will be tested in the future. We’re using a relatively new project, things like this are to be expected.

I want to express that I value all the hard work going into this project. Python was in desperate need for a good language server that integrates with typing.
@Jacques-Peeters I assume there is performance testing, and I assume pathological cases like this will be tested in the future. We’re using a relatively new project, things like this are to be expected.

You're right, this is also the value of the project having constant product updates.

After some more investigation the commit that caused the problem was not the root cause. It simply put the underlying file system back to the way it should have been.
This bug is reproducible with Pyright, but it doesn't manifest the same way. Instead, it just shows the analysis taking a long time.
[FG] analyzing: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py ...
[FG]   parsing: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (7ms)
[FG]   binding: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (2ms)
[FG]   checking: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (6906ms)
[Info  - 3:47:54 PM] [FG] Long operation: checking: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (6906ms)
[FG] analyzing: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (6915ms)
[Info  - 3:47:54 PM] [FG] Long operation: analyzing: c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py (6915ms)
[Info  - 3:47:54 PM] SourceFile: Received fs event 'change' for path 'c:\Users\rchiodo\source\testing\scanpy\scanpy\tests\test_neighbors.py'


Certain resolutions can hide the '+' button

When browser windows are small enough, the '+' button required to create an event will be hidden, preventing users for actually creating an event (and thus use the app).

was having trouble with + with also last week when i got project to working


In the participant list one cannot filter the participants by is_present === false

base-list-filter.service.ts

Please discuss with @luisa-beerboom if her PR #1084 fixes also this issue.


Umbra queries should be run as PreparedStatements

We'll defer implementing this - Umbra recompiles queries for every execution so this would not make much of a difference (I think).


Add logging for data directory and config file paths

Following up from #210
fixes: #202

You really didn't need to open another PR for this. You should just have to rebase the old one. Please do not do this, it makes it hard to follow the review process. It's the second time already that this happens for the same issue.

You really didn't need to open another PR for this. You should just have to rebase the old one. Please do not do this, it makes it hard to follow the review process. It's the second time already that this happens for the same issue.

I actually didn't closed it by myself. It happened when I synced on my fork and it got deleted. I apologize for creating a new PR and making it difficult to follow the review process. I understand the importance of keeping the conversation and history in a single PR. In the future, I will make sure to rebase and fix any issues within the existing PR. Thank you for your feedback, and I will take it into account for future contributions.

Fork repo says:-

But I have only pushed one commit and the other one gets attached automatically. I git logged and go through it but didn't found the second commit hash there so that I can reset. When I try to do rebase it shows my first commit only and second commit is not there. If it is there I can either drop or squash but it is not even present there.

How can I solve this issue?

This is exactly what happened  with my previous pr so I synced from my repo itself which resulted in pr closed. I never did intentionally. I don't know how to solve this. @sr-gi please if you could help regarding this it would really help me understand how this works as a whole.

You needed to first pull from upstream to get the new changes. Normally you'd do this on master, but you were already working on master instead of in a separate branch for this PR. After having your local master synced with upstream, you would need to rebase your branch with master, which may cause some merge issues that you'd need to deal with. After that you can force push.

You needed to first pull from upstream to get the new changes. Normally you'd do this on master, but you were already working on master instead of in a separate branch for this PR. After having your local master synced with upstream, you would need to rebase your branch with master, which may cause some merge issues that you'd need to deal with. After that you can force push.

I did all of these but didn't work.

The second one here is not even committed be me. When I click on this commit it shows these:-

The extra commit hash is d698a26751ed39a56c6b859ad603c1bd0592bc82 which has two parents one from previous pr that got deleted and the other one is fix clippy responder one.
2 parents 4bde9ff + 886e0ff
commit d698a26
I am not able to solve this and can do by making a new branch related to this issue and the cherry pick the first commit that I want to keep and then force push.

When I remove the second commit (latest one) and point the head to the first one it says branch is outdated and fork becomes one commit ahead which I did and one commit behind which was from @sr-gi. When I sync it to match the upstream then the fork gets updated with two commits and shows two commits ahead. @mariocynicys @sr-gi I understand that you both are quite busy, and I truly appreciate any time and assistance you can provide to help me understand and resolve this issue.

I'm not really following on the git issues you are facing @anipaul2, but I think you wanna give git book a read first as it gonna help your hands get moving with git. We don't have to rush on this PR for now.

I'm not following either at this point 🫤

I'm not following either at this point 🫤

In summary I added and committed before fetching the upstream at first so that's why it became so confusing. And it cannot be resolved too in this branch. I have to raise another pr with another branch and not witih master then it will work. But, I guess I already raise two so if you agree I will do.

I'll fix it

I'll fix it

I sincerely apologize for the inconvenience caused by the issues with my PR. I understand that it has made the review process more challenging, and I want to assure you that I will take the necessary steps to avoid this situation in the future.

There you go, your master is now up to date with upstream.

There you go, your master is now up to date with upstream.

Should I delete the two local commits?

and then write the code again from the saved data as you said or cherry pick the commit and push it?

I did git reset hard and local commits removed. Adding my codes from the data saved and will raise a pr soon.

Following up from #210
fixes: #202

Thank you so much for the saved data! I pushed the commit but it doesn't reopens this pr and shows conflicts again so added manually and raised a pr again. I know raising pr three times for this simple issue makes the process of review very difficult that's why I tried my best but doing further research I got that my local commits have messed up totally and I have to raise a pr again. I am really sorry for the inconvenience caused and from next time I will not make the same mistake again.


502 Bad Gateway after Login-redirect from GitLab

Dear all,
I installed GitLab (with separate postgresql / redis container which) and GitLab-CI (using the same postgresql / redis as GitLab). GitLab-CI is booting just fine and I was able to connect to GitLab (getting redirected, asked for permission to access API), but after GitLab redirects to the (correct) URL (http://<IP_ADDRESS>:10080/user_sessions/callback?code=xyz), it loads for about 2 minutes and comes to an end with 502 Bad Gateway, nginx.
Any ideas how to troubleshoot this behavior?
Thanks!

Okay, I found the production.logfile:
Started GET "/" for <IP_ADDRESS> at 2015-05-17 07:38:04 +0000
Processing by ProjectsController#index as HTML
  Rendered projects/_public.html.haml (119.3ms)
  Rendered projects/index.html.haml within layouts/application (145.0ms)
  Rendered layouts/_head.html.haml (375.1ms)
  Rendered layouts/_nav.html.haml (18.3ms)
  Rendered layouts/_info.html.haml (6.8ms)
Completed 200 OK in 768ms (Views: 581.7ms | ActiveRecord: 136.0ms)
Started GET "/user_sessions/auth" for <IP_ADDRESS> at 2015-05-17 07:38:06 +0000
Processing by UserSessionsController#auth as HTML
Redirected to http://<IP_ADDRESS>:10080/oauth/authorize?client_id=be55beef2d41d109c872dcf48c131738d9f5ed869722410f5db284043a2ca5c4&redirect_uri=http%3A%2F%2Fgitlab-ci.home.phildiegmann.com%2Fuser_sessions%2Fcallback&response_type=code
Completed 403 Forbidden in 113ms (ActiveRecord: 18.7ms)
Started GET "/user_sessions/auth" for <IP_ADDRESS> at 2015-05-17 07:38:07 +0000
Processing by UserSessionsController#auth as HTML
Redirected to http://<IP_ADDRESS>:10080/oauth/authorize?client_id=be55beef2d41d109c872dcf48c131738d9f5ed869722410f5db284043a2ca5c4&redirect_uri=http%3A%2F%2Fgitlab-ci.home.phildiegmann.com%2Fuser_sessions%2Fcallback&response_type=code
Completed 302 Found in 11ms (ActiveRecord: 1.1ms)
Started GET "/user_sessions/callback?code=792764beded7a1eb9bd3d53734901757c94b1637f98772a7ce1540011ec28205" for <IP_ADDRESS> at 2015-05-17 07:38:10 +0000
Processing by UserSessionsController#callback as HTML
  Parameters: {"code"=>"792764beded7a1eb9bd3d53734901757c94b1637f98772a7ce1540011ec28205"}
Completed 500 Internal Server Error in 3068ms

Faraday::ConnectionFailed (getaddrinfo: Name or service not known):
  app/controllers/user_sessions_controller.rb:18:in `callback'

Started GET "/user_sessions/callback?code=18474165970c57b89503ea8a5a76940efeb596f881edf2349b5521b78519f98d" for <IP_ADDRESS> at 2015-05-17 07:38:18 +0000
Processing by UserSessionsController#callback as HTML
  Parameters: {"code"=>"18474165970c57b89503ea8a5a76940efeb596f881edf2349b5521b78519f98d"}
Started GET "/" for <IP_ADDRESS> at 2015-05-17 07:38:28 +0000
Processing by ProjectsController#index as HTML
  Rendered projects/_public.html.haml (10.6ms)
  Rendered projects/index.html.haml within layouts/application (12.2ms)
  Rendered layouts/_head.html.haml (4.2ms)
  Rendered layouts/_nav.html.haml (2.7ms)
  Rendered layouts/_info.html.haml (0.7ms)
Completed 200 OK in 38ms (Views: 24.0ms | ActiveRecord: 4.1ms)
Started GET "/user_sessions/callback?code=18474165970c57b89503ea8a5a76940efeb596f881edf2349b5521b78519f98d" for <IP_ADDRESS> at 2015-05-17 07:39:21 +0000
Processing by UserSessionsController#callback as HTML
  Parameters: {"code"=>"18474165970c57b89503ea8a5a76940efeb596f881edf2349b5521b78519f98d"}

Nevermind, magically, it now worked after the 10th try somehow.

@pdiegmann Generally configuring GITLAB and GITLAB_CI to use IP addresses makes the configuration a little difficult to understand. You should consider using domain names to avoid confusion.
Anyways, I can get gitlab and gitlab-ci working together using the docker-compose.yml files in the respective project repos. Just make sure that in the docker-compose.yml of gitlab-ci, updated GITLAB_URL to use the ip address of the gitlab server instead of localhost. If this works for you, then you can go ahead and customize the docker-compose.yml file.
Apart from this i cannot suggest much without taking a look at your docker run commands / environment.

@sameersbn I did use Domain-Names but to be sure that the problem lies apart from my reverse proxy, I switched to IP-Port-usage.
But as it does run okay for now, I'd have this issue closed.
But thanks for your support!


feat: support Vite 6

[x] vite-glob-routes
[ ] react-server

[x] css issue https://github.com/hi-ogawa/vite-plugins/actions/runs/8763396722/job/24052233978?pr=297#step:10:67

ssrEmitAssets not working? https://github.com/vitejs/vite/pull/16480

[x] absolute path action import issue https://github.com/vitejs/vite/pull/17422

now we have ModuleRunner.isCurcularImport maximum call stack error?

[x] browser hmr double module

hmr calls with absolute path: http://localhost:5173/home/hiroshi/code/personal/vite-plugins/packages/react-server/examples/basic/src/components/counter.tsx?t=1721384641484
client reference normalized: http://localhost:5173/src/components/counter.tsx?t=1721384641484
workaround https://github.com/hi-ogawa/vite-plugins/pull/297/commits/a8ab872b1cf2fcb9286a2722d41ad06c80ddf2d9

[ ] vite-node-miniflare

port back https://github.com/hi-ogawa/vite-environment-examples/tree/main/packages/workerd

[x] vite-plugin-ssr-middleware

port back https://github.com/hi-ogawa/vite-environment-examples/blob/41384888128ac49901422d444154862821ef7460/examples/react-ssr/vite.config.ts#L49

#594
#592
#297  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


Confidence intervals error for WeibullFitter function

All,
I found a confidence interval error in WeibullFitter function from lifelines. Please see the below. Highly appreciate if someone can fix this issue.
Thanks,
Suresh
Reliasoft answers:
Eta = 1351.86, Beta = 1.94
Mean(t=720) = 0.7452, Lower_0.95(t=720) = 0.000002, Higher_0.95(t=720)=0.980240
Weibullfitter answers:
lambda_ = 1351.69, rho_ = 1.94
Mean(t=720) = 0.745159, Lower_0.95(t=720) = -0.128332, Higher_0.95(t=720) = 1.61865
Note that Lower_0.95 and Higher_0.95 should be between [0,1]. This is the bug.
Code is below:
x = [20,37,46,63,5,6,7,8,9,10,13,14,15,16,18,19,20,21,22,23,24,26,27,28,30,31,32,35,37,38,40,41,42,45,47,49,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,87,88]
number = [1,1,1,2,1,2,3,1,3,1,2,1,1,2,1,2,1,2,1,2,2,1,1,2,1,2,1,2,1,1,1,1,3,1,1,1,1,73,75,54,31,77,81,69,80,98,86,48,88,113,112,145,240,35,1,1,11,5,4,1,3,3]
censor=[1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]

wf = WeibullFitter()
wf._scipy_fit_method = "Nelder-Mead"
timeline=[720]
wf.fit(x,event_observed=censor,weights=number,timeline=timeline)
wf.print_summary()
print(wf.survival_function_)
print(wf.confidence_interval_survival_function_)

Hi all,
I just found the same behavior (particulaly the negative survival at the lower confidence interval) independently on a similar application. Any ideas yet? Thanks,


Fantom credit limit

Ref:

https://github.com/CreamFi/compound-protocol/commit/d86764e3ba06630ba2ac54df3024ff1cb0543e73
https://github.com/CreamFi/compound-protocol/commit/82548841134430dfd695aaf58d9f141c05a02b78


chore: kubernetes end to end aws

Add an example to deploy a cdk8s application from scratch to AWS, with the help of the AWS CDK.
Resolves https://github.com/cdk8s-team/cdk8s/issues/1277
TODO

[ ] Language parity

This is a good E2E example using CDK EKS L2 construct for creating a cluster and CDK8s+CDK for workload provisioning.

@udaypant yes the cdk.out directory was checked in intentionally to be able to look at the resulting templates without needing to clone and build the example. I follow this pattern throughout all the examples.


feat: add global tracer

Signed-off-by: rogerogers<EMAIL_ADDRESS>en: add global registry
zh: 增加 global registry, 所有的指标注册到一个registry，只需暴露一个metric server就可以收集client和server所有指标
Fixed #8

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


remove

in lines 6 through 9 in plugin/slime_cells.vim
noremap <unique> <script> <silent> <Plug>SlimeCellsNext :<c-u>call slime_cells#go_to_next_cell()<cr>
noremap <unique> <script> <silent> <Plug>SlimeCellsPrev :<c-u>call slime_cells#go_to_previous_cell()<cr>
noremap <unique> <script> <silent> <Plug>SlimeCellsSendAndGoToNext :<c-u>call slime_cells#send_cell_and_go_to_next()<cr>
noremap <unique> <script> <silent> <Plug>SlimeCellsSendAndGoToNext :<c-u>call slime_cells#send_cell_and_go_to_next()<cr>

the additional <cr> causes the cursor to go to a new line after the text is sent ,
this destorys the purpose of slime_preserve_curpos in vim-slime

Hi,
I am not sure I understand your issue. If I remove these <cr> the commands won't be executed anymore, will they?

oh alright, i am mistaken
i had an extra  in my vim init for the keybinding
sorry for the noise.

No problem, have fun using vim-slime-cells. :)


More stylesheet cleanup

Some more minor stylesheet cleanup
Remove grunt-contrib-watch as it is not being used

Travis is erroring on
Error: Undefined mixin 'regulation-nav-item-font'.

@cmc333333: fixed!

Looks good!


Currency conversion does not work

Issue Label:

[x] Bug
[ ] New feature
[ ] Enhancement
[ ] New component

Description:
Conversion from USD to INR does not show correct results.
$ currency
What is the base currency: USD
What currency to exchange to: INR
What is the amount being exchanged: 1

=========================
| USD to INR
| Rate: 2.0
.
2.4
.18
.
| USD: 1
| INR: 2.0
2.0
2.4
.18
.18
=========================

Today the conversion rate is: 1 USD = 70.87 INR
If its a bug make sure to include this section.
OS and OS version:

[ ] Mac
[ ] Linux 32 Bit
[x] Linux 64 Bit
[ ] Windows 32 Bit
[ ] Windows 64 Bit

OS Version: Ubuntu 16.04
I am using master.

Seems like the endpoint of the api being used changed. Should be fixed now with b270518de8c96ed1e67fafd7701ae08aa932ec1e

It's fixed. Thanks!


Use prebuilts

Hey @malisipi,
Thanks for looking into this!
Since a lot of progress towards not needing to include the pre-builts was made, the idea was to not add the prebuilts anymore as intermediary step as mentioned here: https://github.com/webui-dev/v-webui/pull/27#issuecomment-1689174878
This will prevent adding additional binary data to the history of the repository.
Things got a bit messy with the fast changes upstream and not updating the PR here on the V-webui repo, sorry about this.


Missing X-CSRF-Token Header on AJAX POST Request with File Upload

I'm trying to trace either some sort of conflict on my end (my app is rather complex, albeit not really JS-wise) or a bug in jquery-ujs which I have tentatively traced to the nonBlankFileInputs variable. (That is the bug seems to occur, if this if block is true: https://github.com/rails/jquery-ujs/blob/master/src/rails.js#L477)
Basically, I have a form that sends correct AJAX requests (correct meaning including the X-CSRF-Token header) as long as, and only as long as, its file input field left empty. As soon as a file input field is selected the header is no longer sent (and I think the request is also no longer handled via AJAX).
Some quirky things about this form that may be contributing to this bug are

I use the simple_form gem instead of the default form_for tags.
The form itself is loaded by AJAX due to user input, so it isn't present on the page at load time, in case that is causing some event not to bind to it.
The form loads in a modal box javascript library (called bootbox) which has its own button design, so the way I ended up implementing the submit action is by placing a display: none submit button within the <form> tags and then triggering it with javascript from the bootbox code with $('div.bootbox div.bootbox-body').find('input[type=submit]').first().click();. This has worked perfectly so far though.

Any advice on how I can trace this problem further would be greatly appreciated.

It is the expected behavior. If the form has file inputs it will fallback to standard POST, so it will not need to send the header.

But how does the csrf token from the meta tags get included then? And why am I  getting an invalid authenticity token error then?
On Dec 23, 2015 11:22 AM, Rafael França<EMAIL_ADDRESS>wrote:It is the expected behavior. If the form has file inputs it will fallback to standard POST, so it will not need to send the header.
—Reply to this email directly or view it on GitHub.

The form usually include the authenticity token. Check if it is being included in the form.

You mean as a hidden input? No. It isn't.
On Dec 23, 2015 12:00 PM, Rafael França<EMAIL_ADDRESS>wrote:The form usually include the authenticity token. Check if it is being included in the form.
—Reply to this email directly or view it on GitHub.

Yes, the hidden input. So that is why it is not working.

Iiinteresting.. thanks a ton!

@rafaelfranca so doing some more investigation into this, I seem to have figured out the source of the problem here.
I'm not sure if you'd like to reopen this issue or if I should make a new one (please advise), but this definitely seems to warrant further discussion/analysis.. Basically, this problem seems to be a case of both the action_view gem and the jquery-ujs gems each thinking that the other is handling the inclusion of the authenticity token when there is a file field in a form is submitted via AJAX. (See https://github.com/rails/rails/blob/621ed494f573c4e37c1f7d37cc8741cc4c502827/actionview/lib/action_view/helpers/form_tag_helper.rb#L20 on lines 20, 31 and 38 for further details.)
According to the source code comments there, a simple workaround would be to set config.action_view.embed_authenticity_token_in_remote_forms = true, but it appears this is intentionally disabled by default (and presumably delegated to this gem by the Rails team) to allow for the fragment caching of forms.
Might I propose solving this conflict by catching submit events for AJAX POST forms with file uploads and creating/updating a hidden authenticity_token input field (from the token in the meta tags) before letting the submission through?
If that route is not chosen, I really think there should at least be better warnings/documentation for this situation, since, AFAIK, there is currently none whatsoever, neither in Rails nor in this gem.
Please let me know if I should also be creating a concurrent issue in the Rails repository.

I believe we should take in consideration rendering the hidden field if remote: true and file_field is present. Could you open a PR?

I can certainly try my hand at it.. Should have one within a week.

Should this issue be reopened in the interim in case others have ideas/input?

@rafaelfranca Wait, to clarify, when you say "rendering the hidden field", are you suggesting doing this at submit-time via JS in jquery-ujs (as I suggested) or inside ActionView?

Inside action view. It is the best place to know about this case.

@rafaelfranca I have created issue https://github.com/rails/rails/issues/22807 in the rails repo to ensure that whatever PR I write, the repo owner is prepared to merge it.
Please comment there and share your perspective.

@rafaelfranca
rails/rails#22807 doesn't have any replies yet, unfortunately, so I'm tempted to just submit a PR to this repo to implement the fix the way I mentioned above.
I know you said you think the fix belongs in actionview, but I'm wary of doing that since any implementation there would break fragment caching.. Is there any reason why you don't think the fix belongs in this gem?

Workaround
FYI, this doesn't resolve this issue, but one workaround I've discovered is to include a javascript plugin that enables support for POST XHR requests with file inputs.
For example, if the following javascripts are required (in order):

jquery
jquery-ui
jquery-ujs
https://github.com/blueimp/jQuery-File-Upload

And then something the following code is run at page load:
$(document).on('ajax:aborted:file', 'form', function(event, nonBlankFileInputs) {
  $(this).fileupload();
  $(this).fileupload('send', {fileInput: nonBlankFileInputs});
  return false;
});

All POST requests marked as "remote" will be submitted via XHR requests, even if they have file inputs.

It is the expected behavior. If the form has file inputs it will fallback to standard POST

@rafaelfranca Maybe this behaviour should be revisited as the latest browsers support HTML5 APIs to perform file uploads via AJAX. For non-supported browsers it can fallback to a POST as it does currently.

Wow, I just ran into this, and it was painful to track down.
To me, it seems like jquery-ujs is responsible for all the JavaScript logic of remote: true, so before submitting the form, if the form has a file input, it should fetch the CSRF value from the <%= csrf_meta_tags %>, dynamically create a hidden element for the CSRF token on the form on-the-fly, and then submit the form.
This would necessatate changes to documentation to indicate that the security improvements of per-form CSRF tokens do not apply to forms with file inputs:

If you set config.action_controller.per_form_csrf_tokens = true, per-form CSRF tokens will be created for increased security, except in the case that a form inlcudes a file uploads (file_field) and remote: true. In that case, the page-level CSRF token will be used instead. This is due to limitations in jquery-ujs' ability to submit form with file inputs via JavaScript.

It seems like this approach:

Still allows for fragment caching of forms (the hidden form element is created dynamically)
Allows per-form CSRF tokens in most cases, with one exceptional case which is documented
Keeps all the nuances of remote: true form submission in jquery-ujs

Another workaround
An easy workaround is to add authenticity_token: true to your form_for:
<%= form_for @user, remote: true, authenticity_token: true do |f| %>
  <%= f.file_field :image %>
<% end %>

That workaround is easy if you're not fragment caching forms, and ignores the documentation's statement that you should only use the :authenticity_token to customize or hide the field:

Use only if you need to pass custom authenticity token string, or to not add authenticity_token field at all (by passing false).

Perhaps another way to "fix" this is to always include the authenticity token, and to instruct users who care about fragment caching to use authenticity_token: false on form_for. They're already having to perform nuanced coding around where to place cache statements, it seems reasonable that they should also have to remove CSRF tokens before caching.

After reading this again very carefully, I see that @mvastola and mine's proposed solution for jquery-ujs is the exact same. 👏  @mvastola

I like the solution proposed here https://github.com/rails/jquery-ujs/issues/451#issuecomment-258547646. Could you work on it?

Considering this solution is (as @aguynamedben noted) identical to my original suggestion, it will hopefully come as a shock to no one that I concur with it. :-)
@aguynamedben,
If you'd be willing to do this, that would be great. (Free time is hard to come by these days.) I was hoping to do this way back when I submitted it, but I was confused by @rafaelfranca's suggestion that the change be made within action_view and then I forgot about this when I didn't get clarification.
It's worth pointing out that I raised this issue before Rails 5 was released, and thus before per-form CSRF tokens were a thing. Given their advent and the security benefits they confer, I think it's working in your another workaround into this patch, which would allow people who don't use fragment caching to continue to reap the benefits of per-form CSRF tokens. I would make one tweak though: I'd automagically detect if the form_for tag is being fragment-cached (that is, if it's inside a cache block). Then you can just set the form_for's :authenticity_token option to default false if (and only if) a cache block is present. (NB: This change would presumably be in action_view rather than jquery-ujs..)
@lucaspiller,
I agree that your suggestion should be implemented, but IMHO, that exceeds the scope of this issue. Having jquery-ujs implement HTML5/XHR2 support would still require using POST requests as a fallback in browsers that don't support the former, and the point of this issue is that this implementation is currently buggy (or, at the very least, unintuitive and not straightforward to implement). That said, I would whole-hardheartedly :+1: a PR that provided the compatibility with newer browser features that you suggest.


Add timestamps to confirmed and spent block columns

The wallet currently displays the confirmed and/or spent block height for coins/tokens, it would be much more user friendly to instead display the timestamp of the transaction block and have the block height (and potentially transaction ID) in a tooltip for the coin/token

Good point, the wallet protocol doesn't provide this data though, so I'm not sure what the best way to get it would be.

The wallet protocol doesn't have a message for this, but it turns out the peer protocol does. You can request the block header for the spent and confirmed heights and get the timestamp out of the foliage block info. I'll make a queue to request all of the block timestamps for the coin records in the wallet.


impl faer_mul_add and faer_abs2_add

Adds faer_mul_add and faer_abs2_add to ComplexField.

im not sure i get why we need these?

I'm attempting to reduce rounding errors for functions accepting E: RealField:
fn dummy_example<E: RealField>(x: E) -> E {
	x.faer_mul_add(x, x)
}

Is this already possible somehow?

Ok, at the moment I'm using E: RealField + MulAdd<Output = E> where MulAdd is my own trait and it works fine. But I thought this functionality is in general useful and if I understand the traits correctly it's currently not supported out of the box. It would complement the SIMD variants faer_simd_mul_adde for non-SIMD types.
Feel free to close this PR if you don't think it's useful.

yeah, i don't think i want to add these. mul_add needs to go through an indirect function call on x86, which makes it really slow.