mbedtls failure with unknown error codes (IDFGH-9548)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I try to use the ESP HTTP client for HTTPS POST requests by using this code and IDF version 5.0.1 on an ESP32 (WiFi is connected).
esp_err_t Error;
HTTP_Response_t Response;
esp_http_client_config_t Config;
esp_http_client_handle_t Client;

memset(&Config, 0, sizeof(Config));

Config.timeout_ms = CONFIG_API_TIMEOUT;
Config.cert_pem = _CA_Server_Start;
Config.transport_type = HTTP_TRANSPORT_OVER_SSL,
Config.method = HTTP_METHOD_POST;
Config.path = "/";
Config.client_cert_pem = NULL;
Config.client_cert_len = 0;
Config.user_agent = CONFIG_GENERAL_DEFAULT_NAME;
Config.event_handler = _HTTP_On_Event_Handler,
Config.user_data = &Response;
Config.url = _HTTP_URL.c_str();
Config.port = CONFIG_API_PORT;

Client = esp_http_client_init(&Config);
if(Client == NULL)
{
  Status_SetError(ERROR_WIFI_CONNECTION_ERROR);

  return ESP_ERR_HTTP_CONNECTION_CLOSED;
}

if((Response.StatusCode == 200) || (Response.StatusCode == 201))
{
    // TODO
}

Error = esp_http_client_close(Client);
Error |= esp_http_client_cleanup(Client);

But I get the following error messages
E (12308) HTTP: Last ESP error code: 0x103
E (12308) HTTP: Last mbedtls failure: 0x800ff50e
E (12308) HTTP: Last ESP error code: 0x103
E (12318) HTTP: Last mbedtls failure: 0x800d8509

What is the reason for those messages?

@Kampi
Error code 0x103 refers to ESP_ERR_INVALID_STATE. Probably its an issue with the API usage in your sample application and in that scenario mbedTLS code could be incorrect. Can you please enable debug/verbose log level and check your application for this error code once? Please share small application that recreates this problem along with your sdkconfig.

Hi @mahavirj,
I have increased the debug level to Verbose, but I don´t get any additional information:
I (12802) HTTP: Opening connection...
I (12812) HTTP:     Time: 0
I (12812) HTTP:     Host: https://...
I (12822) HTTP:     Endpoint: /
I (12822) HTTP:     Port: 443
D (12832) HTTP: HTTP_EVENT_DISCONNECTED
E (12832) HTTP: Last ESP error code: 0x103
E (12842) HTTP: Last mbedtls failure: 0x800edc5e
D (12842) HTTP: HTTP_EVENT_DISCONNECTED
E (12842) HTTP: Last ESP error code: 0x103
E (12852) HTTP: Last mbedtls failure: 0x800d4785

Figured out the issue. I forgot to use esp_http_client_open. I have tested the code with the HTTP example from Espressif and they have used different functions which called esp_http_client_open internally.


Fix/add alignments

Fixed and added alignments to the src/assets/obj-alignments.json file (mainly added 3dl alignments)

yoo, first actual commit


The Plans_handler.py does not match the original repo.

When I'm trying your models on other Dataset, I found the configManager went something wrong. There might be errors like AttributeError: 'ConfigurationManager' object has no attribute 'conv_kernel_sizes'. Did you mean: 'pool_op_kernel_sizes'?
I'm using the offical-generated nnUNet Plans Manager and I found your Plans Manager doesn't match the official ones. Did you modified the Plans_handler.py while you are coding? Why did you do this?

I have the same problem. How can I solve it?

I've solved this problem by revise the code in the plans_handler.py.
To be more specific, please print/debug a variable called PlansManager.
Then alter the api as the structures in the PlansManager.
The name of those keys may vary a little bit from the original one:(

Thank you so much for sharing your experience. However, I found that the error was caused by the incorrect version of nnunet. We should compile nnunet first to process the data, so that the generated plan.json is correct.

I think the issue is that you're using nnUNet's plans and preprocess instead of UMamba's. This is likely because of some previous nnUNet setup that’s still active. Make sure you initialize the UMamba environment variables correctly. Also, you can use pip list to check which version of nnUNet is currently installed in your environment.


update StochasticProcess repr

change the repr for each model to a format that lets users
re-instantiate objects by copying the repr more or less exactly.

changed
<pyesg.GeometricBrownianMotion{'mu': 0.05, 'sigma': 0.2}>

to
<pyesg.GeometricBrownianMotion(mu=0.05, sigma=0.2)>


No matching variant of project :flutter was found

Steps to Reproduce

Create an android project
Create build types and product flavors
build types: release, qa, debug
flavors: dev, internal
Create/use a flutter module
Integrate the flutter module to the android project
Add the Flutter module as a dependency using Option B
Run the android project using one build variant (i.e. internalQa)

Expected results: App will run showing a basic screen
Actual results: Build fails with message No matching variant of project :flutter was found.

Sample build.gradle: https://gist.github.com/pastapareo/5e3dc479b4c53925b2d7d4064f6e91f2

Logs
Could not determine the dependencies of task ':app:mergeInternalQaNativeLibs'.
> Could not resolve all task dependencies for configuration ':app:internalQaRuntimeClasspath'.
   > Could not resolve project :flutter.
     Required by:
         project :app
      > No matching variant of project :flutter was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa', attribute 'com.android.build.api.attributes.ProductFlavor:custom' with value 'internal', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - Variant 'debugApiElements' capability com.example.dmb_flutter:flutter:1.0 declares a component, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0':
              - Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa'
              - Other compatible attributes:
                  - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:custom (required 'internal')
                  - Doesn't say anything about its target Java environment (preferred optimized for Android)
                  - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
          - Variant 'debugRuntimeElements' capability com.example.dmb_flutter:flutter:1.0 declares a runtime of a component, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0':
              - Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa'
              - Other compatible attributes:
                  - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:custom (required 'internal')
                  - Doesn't say anything about its target Java environment (preferred optimized for Android)
                  - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
          - Variant 'profileApiElements' capability com.example.dmb_flutter:flutter:1.0 declares a component, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0':
              - Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa'
              - Other compatible attributes:
                  - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:custom (required 'internal')
                  - Doesn't say anything about its target Java environment (preferred optimized for Android)
                  - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
          - Variant 'profileRuntimeElements' capability com.example.dmb_flutter:flutter:1.0 declares a runtime of a component, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0':
              - Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa'
              - Other compatible attributes:
                  - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:custom (required 'internal')
                  - Doesn't say anything about its target Java environment (preferred optimized for Android)
                  - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
          - Variant 'releaseApiElements' capability com.example.dmb_flutter:flutter:1.0 declares a component, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0':
              - Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa'
              - Other compatible attributes:
                  - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:custom (required 'internal')
                  - Doesn't say anything about its target Java environment (preferred optimized for Android)
                  - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
          - Variant 'releaseRuntimeElements' capability com.example.dmb_flutter:flutter:1.0 declares a runtime of a component, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0':
              - Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'qa'
              - Other compatible attributes:
                  - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:custom (required 'internal')
                  - Doesn't say anything about its target Java environment (preferred optimized for Android)
                  - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')

Analyzing dmb_android...
No issues found! (ran in 0.8s)

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-arm, locale en-PH)
    • Flutter version 3.0.5 at /Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (6 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/kurichannn/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Volumes/Echidna/Apps/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Volumes/Echidna/Apps/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] VS Code (version 1.63.2)
    • VS Code at /Volumes/Echidna/Apps/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (2 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 13 (API 33) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64  • macOS 12.5.1 21G83 darwin-arm

[✓] HTTP Host Availability
    • All required HTTP hosts are available

@pastapareo Can you please create a completed and minimal reproducible code sample so that we may verify this? It would be nice if you could create a Github repository and make it public.
Also, as far as I can see, you are using the old Flutter version 3.0.5, the latest Flutter stable is 3.3.10 and the master is 3.7.0. Please try upgrading them and retry to see if this issue still reproduces.
Thank you!

@huycozy Here's the minimal, reproducible example:
Android app: https://github.com/pastapareo/dmb-android.git
Flutter module: https://github.com/pastapareo/sample_module.git
I will also try using the latest stable release and master.

@pastapareo thanks for providing the same code. But I can run it normally:

Demo (screenshots)

In case you may also face to dependency issue (not your origin issue), this is my fix for that:

dmb-android/settings.gradle
import org.gradle.api.initialization.resolve.RepositoriesMode

pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)      // option B: use as dependency. old: FAIL_ON_PROJECT_REPOS -> fixed: https://github.com/realm/realm-java/issues/7374#issuecomment-809267410
    String storageUrl = System.env.FLUTTER_STORAGE_BASE_URL ?: "https://storage.googleapis.com"
    repositories {
        google()
        mavenCentral()
        maven {
            url '/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/sample_module/build/host/outputs/repo'
        }
        maven {
            url "$storageUrl/download.flutter.io"
        }
    }
}
rootProject.name = "dmb-android"
include ':app'
setBinding(new Binding([gradle: this]))                                // new
evaluate(new File(                                                     // new
        settingsDir.parentFile,                                              // new
        'sample_module/.android/include_flutter.groovy'                         // new
))

I'm verifying this on the latest stable 3.3.10

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.3.10 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (13 hours ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.7.0-19.0.pre.13, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.0-19.0.pre.13 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f8628b5cb1 (39 minutes ago), 2023-01-11 18:48:03 -0800
    • Engine revision 4a8d6866a1
    • Dart version 3.0.0 (build 3.0.0-112.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

3.3.10 is working for me, but I am getting this with latest stable.


BTK meeting (07/28/21) tasks

I'm copying here some of the discussion about this that we had during the meeting. Later we can divide it up into more issues, etc.

[ ] Link to a website for easy access and visibility
[x] Take some time to think about exactly which #s we want to use
[x] Add all surveys from BTK
[ ] #52
[ ] #3
[x] Link to the BTK repo (so people know it was developed as part of BTK)
[x] #2

Guiding principles

Keep it small so it is easy to plugin by others
Not necessarily comprehensive or universal

Superseeded by the other issues


Safari 18.2 enables WebGPU by default

On devices running iOS 18.2 beta and macOS Sonoma 15.2 beta, WebGPU is marked as “stable” within Feature Flags, and is enabled by default [1]
However, I haven’t seen an official announcement of this and it’s not included in the release notes for Safari 18.2—maybe @jensimmons can confirm this change?

See also #7093, #7127

We’d love for people to test Web GPU, and provide feedback at http://feedbackassistant.apple.com.
It might be a bit early for it to appear on Can I Use, since it's not listed in release notes. Let me get back to you on that. Thanks for asking.

Thanks for the response Jen!
I proposed the change here because WebGPU is enabled by default in stable Safari (i.e. not TP) on my devices running 15.2/18.2, and this wasn’t true on previous macOS/iOS versions.
Looking forward to hearing back; I’m very excited for WebGPU to land in Safari!

Safari 18.2 beta 4 came out today. If you test in a more recent beta, you'll see that WebGPU is off by default.

I’ll say again… WebGPU can be enabled with the feature flag. To anyone who reading this who is interested, please do test it out! File any issues you find at bugs.webkit.org.  (where you can now log in using your GitHub account) and help us ensure it’s awesome.

I don't have an answer about when. It is close, but we want to make sure it's ready before shipping.


How to define a future type when using bridge?

BridgeTypeAnnotation(Bridge TypeReference.unresolved(Bridge Unresolved TypeReference('dart:core', 'Future'), []), false).

Does not work

You can use CoreTypes.future for this.


adding support for discovery of elastigroups

This is my first attempt at adding discovery to the agent
The idea is to provide the same level of functionality as the native Auto Scaling Groups. Only a couple of relevant details were added to the elastigroup entity type.

:+1:

:+1:

:+1:

👍


Question: images in tables or gallery view

In the roadmap we find two important features that may open the way to create databases of images:

Allow embedding of pages, sections, and so on in a dataview

Gallery view (primarily for images)

These will be two extraordinary features. However, concerns to images, what data is involved? Only Implicit Fields (file.name, etc.) or new fields via YAML frontmatter entries? How to add metadata to images?

@blacksmithgu
While playing around with dataview and excalidraw-plugin, I found that embedded excalidraw files (filename.excalidraw.md) somehow are rendered correctly in the dataview table
And even if that excalidraw drawing has a pincture inside it, it is visible!
Eg. A section of dataview table.

Is this known already?
Can this be some insight on how to support embedding of images?

Very recent versions of Obsidian have started properly rendering embeds, so perhaps it will just work now?

Can anyone comment on where we're at with this?

Going back, the main question here is related with the ability to add/read metadata directly to images (not related with embeds).
In this perspective, I think everything remains in the start line. :)

It seems there is not a gallery view at the moment.


VS Code Notebook API to run SQL statements

It's a very large API, and maybe even deserves to live in its own extension, but I think having a notebook for running SQL statements could be awesome.
https://code.visualstudio.com/api/references/vscode-api#notebooks

https://code.visualstudio.com/api/extension-guides/notebook

Also, maybe CL commands?!
Absolutely needs to be its own extension.

Would you create an own extension "IBM i notebooks" for CL and SQL or for each one single extension?
Where would you create the extension? Would it be fine for you if I create such a extension as a repo on my own? (I don't know if I really want to do this yet. Just asking.)

@szsascha i believe all the notebooks should live in their own extension.
If you want to create the repo, be my guest. If not, I'll probably start it on Sunday night.

@worksofliam
Awesome!
I don't know if I get the motivation for this until Sunday night. If not, I'll probable join your repo. But we'll see.

@szsascha It's likely this can be done by you... I have lots of other issues to work on.

@worksofliam Thanks for the information. But I just got another idea for a great new VS Code IBM i extension. Maybe something pretty useful is coming in the future if the prototype is doing well :)

@szsascha sounds good to me!
Don't forget, if you write your own extension you can hook right into the Code for IBM i connection!
https://github.com/halcyon-tech/vscode-ibmi/blob/master/docs/api/extending.md

Likely not to be part of the base since we are now moving most of the SQL functionality to a different extension


Need documentation on protoc buildtime dependency

On attempting to build the localtoast binary per the README.md instructions from the v<IP_ADDRESS> code tarball:
❯ make
go install google.golang.org/protobuf/cmd/protoc-gen-go
protoc -I=. --go_out=. scannerlib/proto/*.proto
/bin/sh: line 1: protoc: command not found
make: *** [Makefile:5: localtoast] Error 127

Seems that it's expected to build the gRPC protos before a build is executed through the build_protos.sh script.
It'd be nice if this was documented or if there was a different make target provided that didn't require the protos to be created before the binary is built.

Ah - might be a simple problem with protoc vs protoc-gen-go being called. When I look in my go bin after the go install in the first step, I see:
❯ ls -la
total 23824
drwxr-xr-x. 2 fedora fedora     4096 Sep  6 16:34 .
drwxr-xr-x. 4 fedora fedora     4096 Aug  8 15:56 ..
-rwxr-xr-x. 1 fedora fedora  8481069 Sep  6 17:13 protoc-gen-go

The README should now have information about the build dependencies including protoc.


Pester tests wouldn't run from build directory with spaces

Added quotes at the appropriate places to enable running commands that
contained spaces in the filename/path.  Also needed to add pester.psm1
to path of Import-Module.

Hi @BarryNolte, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

I updated the branch, I got ahead of myself on the fix and didn't need the hard coded file, thanks.

@BarryNolte - to make reviewing easier on us, can you rebase or squash?

Updated, rebased and squashed.

@BarryNolte, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Why is Invoke-Expression being used here?  Without it, you wouldn't have to worry about quoting anything manually.

@dlwyatt - good call.  @mirichmo, who signed off on your change :)


Input's value does not change after changing data

Version
2.4.1
Reproduction link
https://github.com/whtsky/__vue-value-shorthanded
Steps to reproduce

Type something in the input, so the a is changed
Click Clear A button

What is expected?
Input's value=''
What is actually happening?
Input's value did not change

add a online demo
https://jsfiddle.net/qbcv68uw/1/

:value should be a domProps
actually  it was attrs
i think https://github.com/vuejs/vue/pull/6159 is already fix that

This is a JSX transform issue - see https://github.com/vuejs/babel-plugin-transform-vue-jsx/issues/84
@nickmessing I think it would make sense to treat value and other necessary attributes as domProps by default in babel-plugin-transform-vue-jsx.

@yyx990803, I'll do that in the next few hours, sorry for offtopic but can you please merge my PR in babel-plugin-transform-vue-jsx?


fix: update docker version

Docker Build Optimization for GitHub Actions
This document details the current state of our Docker build process, performance bottlenecks, and steps we plan to take to optimize the workflow. Our goal is to minimize build times while ensuring smooth integration with GitHub Actions.
Current GitHub Action Setup
Below is the current configuration of our GitHub Actions workflow for building and pushing Docker images.
GitHub Action Workflow
name: Build and Push Image

on:
  push:
    branches:
      - 'main'
      - feat/docker-cache

jobs:
  docker:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3
        with:
          install: true
          driver-opts: image=moby/buildkit:master,network=host

      - name: Login to Docker Hub
        uses: docker/login-action@v3
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

      - name: Build and push with cache
        uses: docker/build-push-action@v6
        with:
          push: true
          tags: bonyuta0204/github-remainder:latest
          cache-from: type=gha
          cache-to: type=gha,mode=max

Dockerfile
The Dockerfile currently uses a two-stage build process to optimize the resulting image.
FROM fpco/stack-build:lts-20.5 as build
RUN mkdir /opt/build
COPY . /opt/build
RUN cd /opt/build && stack build --system-ghc && stack install

FROM ubuntu:18.04
RUN mkdir -p /opt/myapp
ARG BINARY_PATH
WORKDIR /opt/myapp

ENV LANG C.UTF-8
ENV LANGUAGE C.UTF-8
ENV LC_ALL C.UTF-8

RUN apt-get update && apt-get install -y \
  ca-certificates \
  libgmp-dev

COPY --from=build /root/.local/bin .
CMD ["./github-remainder"]

Performance Issue

The current Docker build and push process takes more than 7 minutes 52 seconds on the first try.

GitHub Actions Run

The second run took 8 minutes 11 seconds, indicating that the current setup is not utilizing caching at all.

The build time is longer than desired, and improvements are needed to optimize this workflow.

Cache Not Utilized: The second run did not indicate effective use of caching, as layers were still being re-downloaded and extracted.

Optimization Strategy
1. Enable Docker Layer Caching
Currently, it is not clear if Docker caching is being utilized effectively. To leverage caching for repeated builds, we plan to:

Use Docker cache to reduce build times, especially for unchanged layers.
Modify the GitHub Actions workflow to explicitly enable caching:- name: Build and push with cache
  uses: docker/build-push-action@v6
  with:
    push: true
    tags: bonyuta0204/github-remainder:latest
    cache-from: type=gha
    cache-to: type=gha,mode=max

2. Optimize Dockerfile for Cache Efficiency
Dockerfile optimization can also help reduce build times:

Reorder Dockerfile instructions to maximize layer caching. For instance, moving commands that rarely change (e.g., installing packages) earlier in the Dockerfile.
Use multi-stage builds more effectively to keep the final image lightweight.
Minimize ARG Usage: Ensure that ARGs that change frequently are only used where necessary to avoid invalidating cached layers.

3. Utilize Buildx with Cache Imports
Using docker/setup-buildx-action to enable cache imports for cross-run caching:

Configure setup-buildx-action to use remote cache storage, so cached layers from previous runs can be reused.

Next Steps

Run the current workflow again to verify if any caching is already in effect.
Update the GitHub Actions workflow to use cache strategies as described.
Monitor build times after implementing caching improvements to evaluate effectiveness.
Analyze Logs to determine if specific layers are still being rebuilt unnecessarily and identify further optimizations.

References

GitHub Actions for Docker Build
Optimizing Dockerfile Builds
Docker Caching with GitHub Actions

Feel free to add more details or suggestions as you explore further optimizations. Let's aim to reduce that build time significantly!

After setting cache


Add polar, lerp, asin, ceil for torch

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation and Context
add camb ops: polar, lerp, asin, ceil
Description
add camb ops: polar, lerp, asin, ceil
Checklist
Before PR:

[x] I have read and followed the workflow indicated in the Contributors.md to create this PR.
[x] Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
[x] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
[x] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[x] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

[ ] CLA has been signed and all committers have signed the CLA in this PR.

 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.

其他分支已经合入此逻辑，故关闭此pr。


New Query: Selecting hosts resets the query that is run, but the query in the UI does not reflect this

Description
Whenever you select targets on the New Query page, the query resets to select * from osquery_info even though the UI does not reflect this. This means if you type your query, then select which hosts to run it on, it runs the incorrect query.
What version of fleet are you using (fleet version --full)?
2.1.2
What operating system are you using?
Ubuntu 18.04
What did you do?

Enter the query select * from processes
Select a target host
Click Run

What did you expect to see?
All of the process info from the running processes on the machine
What did you see instead?
The results from the default query of select * from osquery_info EG:
hostname | build_distro | build_platform | config_hash | config_valid | extensions | instance_id | pid | start_time | uuid | version | watcher
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
ubuntu-bionic | xenial | ubuntu |<PHONE_NUMBER>9720730bf82cfe000ae9b9ad548a94 | 1 | active | c755078e-8929-453e-ba61-7817a7e5848f | 1825 |<PHONE_NUMBER> | B2435C0D-2FA9-4745-BB95-554A1CD00714 | 3.3.2 | 1823

Other details
Changing the query at all, even just adding a semicolon to the end and running it again will make the correct query execute.

Apologies for this bug. It was documented in #2054 and fixed in #2060. We will be getting out a new release with the fix shortly.


[Dashboard Screen] - Flag the widget with “thumb down” when the bucket stops receiving data for a certain period of time

The “thumb down” (or “dislike”) flag (currently adopted by Thinger) is very important to identify if the panel information (in the widgets) is up to date. This prevents the user from making a decision based on data that is out of date due to some problem.
The “problem” is that the “thumb down” flag is currently only available when the widget is configured with the font “From Device Resource”.
The suggestion would be to allow the widget to set the “thumb down” flag with the font “From Data Bucket”.
On the configuration screen (print below), there should be a setting to define the “thumb down” signaling. Ex: If new information is not written to the bucket after 30 minutes, signal “thumb down”.
This is a VERY important indicator for users (especially Project Users…) who are viewing the dashboard and reading and interpreting the data. By viewing the “thumb down” Project Users will know something is wrong and will interpret the data correctly.
As a Developer user, you can quickly identify if there is something wrong with: 1) Data sent from the Device to the Bucket; 2) If there is a problem in NodeRed, if it is used to save data in Bucket; 3) If the browser has not updated the data (this happens frequently when waking Windows from sleep/hibernate mode); 4) If there is any problem with the user’s internet connection.

An example of how the user can be misled when interpreting dashboard information.
LED widgets have as "Data Source" "From Data Bucket".
Devices send data every 10 minutes to Bucket.
It turns out that 2 devices were offline for more than 11 hours and stopped sending data to the bucket. Even so, the widget informs the last value sent more than 11 hours ago.
It would be important to have a rule in the widget's configuration to report something wrong, such as "thumbs down" and the LED turning gray, in case the bucket does not receive data for more than 30 minutes, for example.
The lack of this functionality impairs the interpretation of the data.
A simple implementation that could avoid big problems for users (our customers).

We are adding a new parameter on the Widget Settings, called "Show Offline", where you can establish a timespan, independently if the data comes from a bucket, device, property, etc.

Then, if the data is older than this timespan, the widget displays a disconnected icon, and its background turns red to provide noticeable clues that there is some problem with the data.

What do you think?  I am still considering the widget background or other ways to inform the user.

SENSATIONAL!!!!!!!
This functionality is VERY IMPORTANT!!!!
Thinger will give you a very good user experience!!!
Some opinions:

I liked the icon to inform "offiline". Very important!
Regarding the red background, I think the user may want to configure another color. I myself use red to indicate alarm. So, it's better to give the option to the user to assign the color he thinks is best.

Other icons that report offline:

A suggestion:

Only the clock would turn red

And the "offline" icon at the bottom.

I think we will start with this approach:

No red background, as it can be annoying if a dashboard is full of disconnected widgets
Keep the thumb down icon at this moment
The latest update blinks in red to notify the problem

Yes! We can close it... did you tested the feature? Does it works well for you?

So far, everything working fine.

We are adding a new parameter on the Widget Settings, called "Show Offline", where you can establish a timespan, independently if the data comes from a bucket, device, property, etc.

Then, if the data is older than this timespan, the widget displays a disconnected icon, and its background turns red to provide noticeable clues that there is some problem with the data.

What do you think? I am still considering the widget background or other ways to inform the user.

We will evolve this idea into a watermark that prevents the user from misreading and misinterpreting the information that is still visible in the widget (although it is out of date).
New implementation suggestion:
https://github.com/thinger-io/thinger-server/issues/101


disallow specifying multiple:true for boolean arguments

multiple allows you to collect all the values for string arguments into an array. It doesn't do anything for boolean arguments. Best disallow it, I would think?

Collecting an array of string arguments is the main use case, but an array of booleans can be used as an indirect counting feature. The classic use case is more verbose, like -vvv.

https://github.com/pkgjs/parseargs/pull/80#discussion_r825359708

It doesn't do anything for boolean arguments. Best disallow it, I would think?

I think it does do something and no need to disallow? I do think of the boolean usage as somewhat of a side-affect of the string array support rather than a "real" feature, but in the absence of explicit support for counting options (which is not a common enough use case to have made the feature set), I think multiple is usable for that purpose.

Oh, sorry I missed that conversation. If it's intentional, I'll just change this to be a test, then.


server started hook sent much too early

I found it often quick too early that the server started status hook gets applied.
For example here the server wasn't even downloaded, but the started hook sent signal to discord:
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-server DEBUG - [157] - Valheim Server is not yet downloaded - waiting
valheim_1  | Jun  2 10:10:58 /supervisord: valheim-server DEBUG - [157] - Valheim Server is not yet downloaded - waiting
valheim_1  | 2021-06-02 10:11:01,951 INFO success: valheim-server entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
valheim_1  | Jun  2 10:11:01 /supervisord: valheim-updater valheim-server: started
valheim_1  | Jun  2 10:11:02 /supervisord: valheim-updater INFO - Running post start hook: curl -sfSL -X POST -H "Content-Type: application/json" -d "{"username":"$SERVER_NAME","content":"$DISCORD_MESSAGE_STARTED"}" "$DISCORD_WEBHOOK"
valheim_1  | Jun  2 10:11:05 /supervisord: valheim-server DEBUG - [157] - Valheim Server is not yet downloaded - waiting
valheim_1  | Jun  2 10:11:12 /supervisord: valheim-server DEBUG - [157] - Valheim Server is not yet downloaded - waiting

Can you post the entire log start to finish? There's something else going on here. The message "Valheim Server is not yet downloaded - waiting" should never be shown in the logs. If it gets into that state it means something else is broken.

This one is related to the other I posted: https://github.com/lloesche/valheim-server-docker/issues/364
So, it is basically waiting to actually download the server, but the hook already reports that the server should be running.
Over the past month using the image, I found several cases, where this message might be a bit confusing, since the server isn't really up and running to a state, where it would really accept connections.
I don't know if there would be a better implementation for this, but maybe checking query port 2457 for response and then publish the hook message?

I pushed an update that makes it so that if the mod download fails the valheim-updater also fails and retries again 15min later. That way it's not getting into this state and the hook won't be send.


import Unexpected identifier

I have "Uncaught SyntaxError: Unexpected identifier" in console at string, wich starts with "import", when try to load JsBarcode.js. Chrome version is 68, so it must be supported(?); Sorry for mistakes, bad in english, bad in js :))

@devildummy can you provide a detailed error?


[CT-301] [Spike] Perf improvements for single show terse call for each database

Spike on this ticket and the perf improvement that can be gained: https://github.com/dbt-labs/dbt-snowflake/issues/83
Exit criteria: Will we see a perf improvement by making this change? Is it worth investing in?

Shared initial findings in https://github.com/dbt-labs/dbt-snowflake/issues/83#issuecomment-1072331707


can we have cfbridge.py in crazyflie-lib-python folder

Hi Denniss,
I have created a PR for crazyflie-lib-python to include cfbridge.py in it. This will allow users to use cfbridge.py with cflib. Needed your approval on it.

Go for it! One thing to note is that CRTP port 8 has since been taken https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/interface/crtp.h#L47. So it would probably be less confusing to everyone to also reserve a port in there to ensure future interoperability.


Refresh Method expects a validated user?

Describe the bug
The refresh method expects a validated user, but the reason to call refresh is that the token is expired (or nearing expiration).
            //Get Authenticated user
            $authUser  = Auth::guard('api')->user();

            //Get User Data
            $user = $client->getUser($authUser[$paramUsername]);

$authUser will be null here, if we are using Headers guard on the API and the token is expired (But refresh token is good).

Further, the username isn't even required as part of the Cognito API. The Refresh token is all that is needed in the call, it seems that the user is only needed if boolClientSecret is true?

@jamesrusso Thank you for reaching out. In the API-based approach (stateless), we need some way to authenticate the user. If the auth_token is invalid (refresh requested after token invalidates), there is no way to authenticate that the request is coming from a legitimate user. If you need it for your project, you can customize it.

@jamesrusso Thank you for reaching out. In the API-based approach (stateless), we need some way to authenticate the user. If the auth_token is invalid (refresh requested after token invalidates), there is no way to authenticate that the request is coming from a legitimate user. If you need it for your project, you can customize it.

Refresh should not be an authenticated operation, just as it is not with the cognito API. By using this approach it removes all benefits of refresh tokens as now you only have the lifetime of the access token to make refresh requests.
The request is guaranteed to be coming from a legitimate user because they are holding the refresh token.

@amitdhongde ,
I think @jamesrusso is right here, the purpose of refresh token is to generate auth_token. Could you please re-consider this one?


Any chance for updated installation instructions?

Hello,
I tried reaching out to you on Twitter as well. Hoping you can help with an updated installation instruction :).
The installation procedure fails when adding the Ruby dependencies, as some of the sub libraries no longer exists. I believe mimemagic was removed and is no longer needed in v. 6 (some background here: https://github.com/mimemagicrb/mimemagic/issues/98). Anyway I cannot install the Staytus software on my new server. It's a shame, because the software works really great once running :).

I am planning on a change to these quite soon to improve the experience for everyone. Soon, Staytus will be distributed and supported exclusively using containers rather than requiring any of the complex bits we currently require.


Add some new git aliases, modify a few more.

Additions

Add gbV command to show more verbose git branch info.
Add gcam to make it possible to execute gca; gcm '<your message here>' more simply.
Add gii command to temporarily untrack (ignore) a file.
Add giI command to uningore a file.

Modifications

Change alias of gbl to gbv. Personally, I think aliases that
include a switch in the command should include the switch in the alias
if possible.  This makes them easier to remember.
Change alias of gbL to gba. I think the -a switch is more
salient to what this alias does than the -v.  Furthermore, with this
PR there are already gbv and gbV aliases, so those are out.
Rename gbx and gbX commands to gbd and gbD respectively
Change implementation of gCl alias to use built-in capabilities of
git, rather than sed.

This PR supercedes #1149 which I am unable to rebase because I deleted my fork from which that PR originated.

I'm not sure what to do about some of these, but here are my thoughts. Please feel free to refute them or offer different opinions:

gbx and gbX appear to have been named that way to match all the other aliases. The x seems to be used for delete. As such, I'm not sure it makes sense to rename them to gbd and gbD because they wouldn't match the rest of the aliases.

gbl and gbL were meant to stand for branch list. Changing that to a v obscures the meaning a bit (even if it does match the command line switches). I do get where you're coming from though... I'm not sure what the final decision on this will be especially because there isn't a logical alias to put git branch -vv in if we stay with the "list" mnemonic.

I also dislike changing aliases after the fact, purely because there are most likely people using the existing aliases... I am in favor of changing them when they don't make a lot of sense, but I'm not sure that's quite the case here. There was at least some form of logic behind them.
Because I'm not sure what the final decisions will be, it might take me a little while to nail down what would be best. Having other people chime could help move the discussion along and make the decisions easier, especially if there's agreement.

I wanted to propose these changes that I thought were logical and see what people thought of them.  Now that some time has passed to think about it more, I think I agree with you actually, that I shouldn't try to move gbx to gbd.  Both because it breaks uniformity (arbitrarily) and because people are already using it.  No doubt, if you merged this as is, THEN you would get people showing up to comment and ask why we removed the shortcuts they were using.
The changes to gbl were inspired by the fact that I just wasn't sure what alias to assign to git branch -vv.  I don't agree with you about changing the l to v obscuring the meaning.  After all, it's doing the same thing as gb, which is just displaying branches.  They just show different levels of information.  One thing I saw in Akarzim's docker aliases was that one command, docker ps had multiple aliases, dkps and dkls to appeal to whichever mnemonic is more memorable to you.  I wonder if it might be similarly OK to keep my aliases here for gba, gbv, and gbV, while restoring gbl and gbL to their original values.  What do you think?

Also, I should change all the single-dash single-character arguments to the double-dash full-word arguments used in the rest of the module.

+1 for gba!
why not, instead of gbV, gbvv?
Another one I would like to see added here is gst (for git status). Despite the fact that gs is being used for stash.
I'm a oh-my-zsh user, and over there gst states for git status, and it seems reasonable to me. =)
Ow, and maybe giap (git add -p) would go fine too.
About the "multiple aliases" for one command, I do not see any problem with that.

@diraol I came from OMZ as well, and I made the same transition from gst to gws.  With so many git aliases, I actually really like the way Prezto has them cordoned off into logical groups, each of which then gets an additional letter tacked on to identify its group.  This has made it much easier for me to learn and remember far more aliases than I did when using OMZ, because their aliases were kind of just arbitrary choices.  It's a bit of a transition, but I really felt much more solid with my use of aliases after making the jump myself.
For what it's worth, use the new sa alias (for "search aliases") from #1150 to help you learn all the new Prezto aliases.  =)

why not, instead of gbV, gbvv?

I dunno...  I like it better.  It kind of goes with existing conventions of having slightly different variations of commands just use the capitol of the last letter in the alias.  Any strong opinions from elsewhere?

@malikoth Thanks for the answers =)
They helped me understand a little better the logic behind the chosen aliases.
Wow! sa is just wonderful! Thanks! Life changing!

Wow! sa is just wonderful! Thanks! Life changing!

RIGHT?!?  That's what I thought too!

@belak Thoughts on the current state of this one?  I'll remove whatever you think I should to get this merged.

Sorry, I've been in the middle of a move so I'm a bit behind in reviews. If I don't get to it this weekend, feel free to ping me again.

I'm pretty sure this will be my last comment before this gets merged. I think this is pretty much ready, but for gbm and gbM it would be nice to also have gbr and gbR (or replace it with gbr) because the action is a rename, even if the command line flag is --move ("rename" is even used in the readme). Once one of those two is done, I'll merge this.
Also, sorry about the long delay. It's been a busy few weeks for me.

Understandable.  :)  I really appreciate all you're doing for Prezto.  Hope life returns to a sustainable pace for you.
gbr and gbR are in, go ahead and merge.

Merged! Thanks for doing this!


Add a quick note in AMPHTML Email examples

I think we should add a quick note in AMPHTML Email examples pointing to the spec:
https://github.com/ampproject/amphtml/blob/master/spec/amp-email-format.md
And also mention that Gmail is working on it's implementation:
https://www.blog.google/products/g-suite/bringing-power-amp-gmail/

I moved the information you had in the "Hello World" sample so that it appears on top of every future sample that has the "preview": "amp4email" metadata and also added link to the blog post.
We should probably remove / revisit in the future, but I think this is a good / simple solution to make it consistent across our samples.


typo, mini-minor

$ docker volume create firehol-update-upsets
$ docker run --name firehol-update-ipsets -it -d --restart=always --cap-add=NET_ADMIN --net=host -v firehol-update-ipsets:/etc/firehol/ipsets devrt/firehol-update-ipsets
-----------------------------first line, should be ....ipsets, not ......upsets.
Since docker creates the volume if not existing, there is no impact on the functionality.
And eh Thanks, works like a charm!

Thank you for letting me know (and sorry for taking so long time to get notice about this report).
Fixed.


Added InterstellarTechnologies as a recommended mod

Thanks for the update! Would you like us to apply this chnage to any previous versions as well?

the current version should be enough


regression: running godot -e path_to_scene fails to open the scene

Operating system or device - Godot version:
linux, master
Issue description (what happened, and what was expected):
I think caused by #6813. The path in the parameter is made absolute in main.cpp (around line 1326), the editor later calls Globals::localize_path, which fails to localize the path. I don't know what bug that fixes, but localize path should make the path local to the resource path
Steps to reproduce:
run
godot -e scene.scn
from the root of a project
Link to minimal example project (optional but very welcome):

CC @Faless.

So in looking at the issues that this fixed, those weren't issues :) You're
not supposed to use load("/script.gd") and expect it to load from your
resource path, that's an absolute path in the filesystem. Use res://, or
just "script.gd", that should be portable. I don't know if there's a way to
detect this, since scripts need to open absolute paths to do things like
batch processing of resources, but localize_path should work correctly.
On 20 November 2016 at 07:32, Rémi Verschelde<EMAIL_ADDRESS>wrote:

CC @Faless https://github.com/Faless.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7161#issuecomment-261770269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGVmPXM60pDXULocEAXKNHSi69gmqBj5ks5rACGjgaJpZM4K3gNA
.

So in looking at the issues that this fixed, those weren't issues :)

Yes, it all started with a misunderstanding, because load("/file.gd") was behaving like load("res://file.gd") while load("/dir/file.gd") was properly loading from the file system (on supported platforms of course).
That PR reverts a previous modification I did that completely disabled using absolute paths, and fixed the misbehavior for load("/file.res") trying to load from resource.
This is related to #6979 .


Update to reflect Hyper v0.4

Breaking Change was added to Hyper in this commit:
https://github.com/hyperium/hyper/commit/972b3a388ac3af98ba038927c551b92be3a68d62
This commit hopes to mirror those changes into this copy of the mock
functionality.
I think I got everything (at least everything needed to compile :smile:)

Thanks for contributing. Unfortunately I have to tell you that there were the following issues with your Pull Request

Commit: 142b1df6b9b05fa9b7f4f269b44941744cd8a56f
Your commit message body contains a line that is longer than 72 characters
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-git-commit-guidelines

This message was auto-generated by https://gitcop.com

I'm sorry you feel that way GitCop

It seems the law has a bug, as I manually checked the commit and could find no fault in it. Maybe you have changed it after it told you ? If so, thank you, GitCop, and in any way, thank you @talevy , your contribution is much appreciated !
NOTE: It seems even though I didn't change a thing and thought I aborted the 'amend commit' operation I did locally to verify the message, I must have accidentally amended anyway.  However, it's in there and I will just close this PR.

@Byron. thanks!

Ah, good to know that GitCop isn't faulty ! Thanks for the heads-up.
Please note that I have made another release since, as there was yet another issue with the latest hyper. Now it's working though, so it seems ;).

cool!
while I have your attention here. off the top of your head,
do you know of a good way to mock requests to specific urls. not just hosts.
From what I see, I would have to construct my own client::Request objects, rather than using the
high-level client.request()->RequestBuilder method, which creates an unmockable request.

No, unfortunately not. As the NetworkConnector as the only thing we can control in a client only sees the host information, you will have to get onto a higher level - as you state.
Maybe mock_connector_in_order is what you can use anyway though, just in case you have a predefined order of url requests in a particular test.

thanks for the help.
I was thinking of that, but was hoping for a less restrictive/implicit mock. It's cool. I might try
to play around with Client::request to see if I can expose a mockStream on a per Url basis. but my current ideas are hacky, so we'll see. no big deal.

@Byron
I was wrong. it quite possible. here is my first hack at it:
https://github.com/Byron/yup-hyper-mock/compare/master...talevy:pathmock
I would, by no means, merge this. but it does show that it is possible to construct a type of MockStream that will read its own request, parse out the request_uri, and return a different response accordingly.

:) ! This is quite a ruthless implementation, but I see how this works !
If there are tests at some point (which means you would have more tests than I have), one could even consider a merge as it might be useful to a greater audience.
This would also mean that I would have to provide tests for the existing mocks as well, and maybe some documentation. But why not ... .

haha, yeah. I just kept typing until it worked :) it is definitely not nice. but I'm glad it is possible.

Probably you know this project already, but it seems like what you wanted.


Added house robber III.

Coverage remained the same at 100.0% when pulling c05b015cd20657719f16168acb829ed77b4a328e on house-robber-iii into 8515079fc4a93d60463051c2739ce06748dea56a on master.


0.103.0 LIFX Set_State Service Issues

Home Assistant release with the issue:
0.103.0
Last working Home Assistant release (if known):
0.102.X
Operating environment (Hass.io/Docker/Windows/etc.):
Debian Linux - venv
Integration:
Lifx
Description of problem:
Yes, I read the release notes ;)
Two breaking changes have hit me here at the same time, unsure which is causing the issue.
I was previously using the service "light.lifx_set_state", with no entity_id in the data to target all of my LIFX bulbs. I've change my automations to instead call lifx.set_state (even though this one is still listed on the docs as being part of the light domain?)
I also added 'entity_id: all' to my data on the service call. Unfortunately it isn't working, lights do not change and I get errors in the logs.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
New config (not working in 0.103):
- alias: Lights Set LIFX Colour Temp
  trigger:
    - platform: state
      entity_id: input_number.light_temp
    - platform: state
      entity_id: light.flux
      to: 'on'
  action:
    service: lifx.set_state
    data:
      entity_id: all
      transition: 15
    data_template:
      kelvin: '{{  states.input_number.light_temp.state | int}}'

Previous config (working in 0.102):
- alias: Lights Set LIFX Colour Temp
  trigger:
    - platform: state
      entity_id: input_number.light_temp
    - platform: state
      entity_id: light.flux
      to: 'on'
  action:
    service: light.lifx_set_state
    data:
      transition: 15
    data_template:
      kelvin: '{{  states.input_number.light_temp.state | int}}'

Traceback (if applicable):
2019-12-12 21:53:39 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.lights_set_lifx_colour_temp. Unknown error for call_service at pos 1:
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/automation/__init__.py", line 443, in action
    await script_obj.async_run(variables, context)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 190, in async_run
    await self._handle_action(action, variables, context)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 273, in _handle_action
    await self._actions[_determine_action(action)](action, variables, context)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 355, in _async_call_service
    context=context,
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 97, in async_call_from_config
    domain, service_name, service_data, blocking=blocking, context=context
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1235, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/lifx/light.py", line 294, in service_handler
    for light in await self.async_service_to_entities(service):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/lifx/light.py", line 372, in async_service_to_entities
    entity_ids = await async_extract_entity_ids(self.hass, service)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 134, in async_extract_entity_ids
    entity_ids = hass.components.group.expand_entity_ids(entity_ids)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/group/__init__.py", line 141, in expand_entity_ids
    domain, _ = ha.split_entity_id(entity_id)
ValueError: not enough values to unpack (expected 2, got 1)

Additional information:

Just want to add that I had a similar problem and was able to correct it by changing the entity_id to "group.all_lights".  It still seems like it should work with "all" though.  Just thought I'd relay my findings!


Convenience functors to to customize node metadata

Already in the tree: e0c111c4c0d4af44f80b5371204fd43d502624f4 not sure why the GH interface hasn't spotted this.


Unable to get hash deeplinking working

Hi there,
I'm unable to get any hash deeplinking working (e.g. domain.com/page#tab-2) to activate that tab. Is it not a feature of the plugin or am I doing something wrong in setup?
Cheers

Hi,
it would be helpful if you could share some code or link, otherwise it is hard to tell you what is wrong. However, I can provide you with a working example of deep-linking enabled on Tabslet.
Here it is: http://superintendant-panda-15833.netlify.com/#tab-2
Notes:

If you change the last part of uri to #tab-3 and make the call then it loads the page with the last tab active.
It you click on the first tab then the uri should change to ...tlify.com/#tab-1

More notes:
To enable deep-linking you should set the deep-linking option to true, deeplinking:  true

Ah - I didn't know you needed to set that setting (it's not in the documentation).
Thanks :-)


Add support for OpenShift

Current situation
Currently it doesn't work because it doesn't identify the operating system and fails to install the debug packages.
Impact
inspektor-gadget doesn't work in OpenShift
Ideal future situation
Ideally, inspektor-gadget can be installed in OpenShift in a custom namespace (kube-system by default) so OpenShift users can benefit of using it as well.
Implementation options
There is a WIP fork https://github.com/clustership/inspektor-gadget/tree/master/openshift
Additional information

Probably related (even duplicated) https://github.com/kinvolk/inspektor-gadget/issues/120.

Probably related (even duplicated) https://github.com/kinvolk/inspektor-gadget/issues/120.


iOS pickMarker rarely called when touch Marker's location

Hi
I have a issue for pickMarker method.
`func mapView(_ view: TGMapViewController, recognizer: UIGestureRecognizer, didRecognizeSingleTapGesture location: CGPoint) {
    view.pickMarker(at: location)
    view.pickLabel(at: location)
    view.pickFeature(at: location)
    let loca = screenPosition(toLngLat: location)
    print("latitude\(loca.latitude)")
    print("longitude\(loca.longitude)")

}`

This method make pickMaker function call
And I set Marker like this.
markerSetStyling(Marker, styling: "{ style: 'points', interactive : true,  color: 'white', size: [30px, 30px], order: 1200, collide: false }")

markerSetImage(Marker, image: UIImage(named: "marker")!)

markerSetPoint(Marker, coordinates: TGGeoPoint(longitude: mylng, latitude: mylat))

So when I try pick marker, marker rarely selected....
so I think may pick marker called by exact location's latitude and longitude
Could you help me this issue?
Thank you.

By the way our selection system works, it is not possible that you pick for the exact maker's location latitude and longitude, it should be a least the size of your marker, so in your case 30pxx30px.
Have you tried experimenting with different values of setPickRadius? It is basically a thumb size that would increase the size of your selection. It is possible that since the selection is pixel perfect by default, you have some trouble selecting small markers like yours.

Thanks It works! I didn't set setPickRadius. so default value  0.5 is set.
Anyway thank you! @karimnaaji

Nice! Closing this.


SQUARE and SQRT function issue (SSMS)

Hello, I'm noticing an issue in SQL server where
Squaring<PHONE_NUMBER> using the SQUARE function returns<PHONE_NUMBER>132420608
However,<PHONE_NUMBER> *<PHONE_NUMBER> =<PHONE_NUMBER>132420609
DECLARE @x BIGINT =<PHONE_NUMBER>
DECLARE @squared BIGINT = SQUARE(@x)

SELECT @squared
SELECT @x * @x

Could this be an issue related to how the SQUARE function returns a float?
A similar issue happens on the SQRT function, where FLOOR(SQRT(4611686016279904209)) =<PHONE_NUMBER>, however this should return<PHONE_NUMBER>
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ecd81284-a82c-13d7-9225-74e895aed6ec
Version Independent ID: e448bf2a-af9b-1733-677f-601d176df72d
Content: SQUARE (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/square-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@mikeRayMSFT Should this issue be in a different repository? I'm not sure how it found its way to .NET docs.

This issue was moved to MicrosoftDocs/sql-docs#4166


Fix vmsnapshot upgrade bug

Signed-off-by<EMAIL_ADDRESS>
What this PR does / why we need it:
status.Phase was recently added to VirtualMachineSnapshot resource.
Unfortunately, we were not correctly handling the case when phase is unset on upgrade.  Were transitioning the snapshot to Failed state when should have transitioned to Succeeded.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
https://bugzilla.redhat.com/show_bug.cgi?id=2018521
Special notes for your reviewer:
Release note:

Fix BZ 2018521 - On upgrade VirtualMachineSnapshots going to Failed

/cherrypick release-0.44

/test pull-kubevirt-e2e-kind-1.19-sriov

/test pull-kubevirt-e2e-k8s-1.21-sig-storage


Allow lakectl to run without a config file

Codecov Report

Merging #1040 (fb4bd2f) into master (a8dc344) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1040      +/-   ##
==========================================
+ Coverage   46.17%   46.22%   +0.04%
==========================================
  Files         152      152
  Lines       12316    12316
==========================================
+ Hits         5687     5693       +6
+ Misses       5903     5898       -5
+ Partials      726      725       -1

Impacted Files
Coverage Δ

catalog/mvcc/cataloger_commit.go
77.14% <0.00%> (-2.86%)
:arrow_down:

stats/collector.go
59.09% <0.00%> (-2.28%)
:arrow_down:

catalog/mvcc/cataloger_create_repository.go
62.96% <0.00%> (+3.70%)
:arrow_up:

catalog/mvcc/cataloger_create_entry.go
100.00% <0.00%> (+5.26%)
:arrow_up:

config/logger.go
75.00% <0.00%> (+10.71%)
:arrow_up:

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 a8dc344...fb4bd2f. Read the comment docs.


When checkpoints are nested, the second checkpoint does not seem to run the rule

Snakemake version
8.8.0
Describe the bug
When there are nested checkpoints, the interior checkpoint does not seem to be running the shell command.
Minimal example
import json
import pathlib

def texts(wildcards):

    with checkpoints.needs_text.get(**wildcards).output[0].open() as f:
        file_names = json.load(f)

    return file_names

rule all:
    input: texts

def aggregate_pieces(wildcards):

    pieces_directory = pathlib.Path(checkpoints.pieces.get(**wildcards).output[0])
    files = list(pieces_directory.glob("*.txt"))
    return files

rule concatenate:
    input: aggregate_pieces
    output: "{name}.txt"
    wildcard_constraints:
        name="[a-z]+"
    shell:
        """
        cat {input} > {output}
        """

checkpoint pieces:
    output: directory("pieces/{name}/")
    shell:
        """
        mkdir {output}
        echo "hello" > {output}/1.txt
        """

checkpoint needs_text:
    output: "needs_text.json"
    shell:
        """
        echo '["b.txt", "a.txt"]' > {output}
        """

When you run the all rule, the {input} of the concatenate rule does not get hydrated
> snakemake --cores 1 -p
Using shell: /opt/homebrew/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job            count
-----------  -------
all                1
concatenate        2
total              3

Select jobs to execute...
Execute 1 jobs...

[Sat Mar 16 23:08:57 2024]
localrule concatenate:
    output: b.txt
    jobid: 3
    reason: Set of input files has changed since last execution
    wildcards: name=b
    resources: tmpdir=/var/folders/p0/59kzf5n91jl8jxbx7793rg440000gn/T

        cat  > b.txt

But if you run snakemake with a named target, that succeeds.
> snakemake --cores 1 -p b.txt
Assuming unrestricted shared filesystem usage.
Building DAG of jobs...
Using shell: /opt/homebrew/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job            count
-----------  -------
concatenate        1
total              1

Select jobs to execute...
Execute 1 jobs...

[Sat Mar 16 23:13:42 2024]
localrule concatenate:
    input: pieces/b/1.txt
    output: b.txt
    jobid: 0
    reason: Missing output files: b.txt
    wildcards: name=b
    resources: tmpdir=/var/folders/p0/59kzf5n91jl8jxbx7793rg440000gn/T

        cat pieces/b/1.txt > b.txt

[Sat Mar 16 23:13:42 2024]
Finished job 0.
1 of 1 steps (100%) done
Complete log: .snakemake/log/2024-03-16T231342.801951.snakemake.log

If you get rid of the needs_text checkpoint and explicitly list "a.txt", "b.txt" as dependencies of all, then everything also works.
Additional Information
This bug does not appear in snakemake 7.32.4

I've just run into this in my own workflow as I was migrating to Snakemake 8. Have you made any progress in debugging this?
Thanks for making a minimal example, I'll see what I can figure out.

I haven't dug into it yet, @cademirch.

I seem to be running into a similar issue, when a single function uses the output of two different checkpoints.


Why my segmentations don't seem to be saved？

I followed your tutorial step by step, but the result I got was like the segmentation was not saved。
Here's the statement I typed and the result I got：
You can see that the segmentation is not saved, and I have used the slicer software to see that there is indeed no predicted result, and nothing is displayed.
(d:\totalsegmentotar.conda) D:\totalsegmentotar>TotalSegmentator -i hip_left.nii.gz -o segmentations -ta hip_implant
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
No GPU detected. Running on CPU. This can be very slow. The '--fast' or the --roi_subset option can help to reduce runtime.
Generating rough body segmentation...
Resampling...
Resampled in 1.93s
Predicting...
d:\totalsegmentotar.conda\Lib\site-packages\nnunetv2\utilities\plans_handling\plans_handler.py:37: UserWarning: Detected old nnU-Net plans format. Attempting to reconstruct network architecture parameters. If this fails, rerun nnUNetv2_plan_experiment for your dataset. If you use a custom architecture, please downgrade nnU-Net to the version you implemented this or update your implementation + plans.
warnings.warn("Detected old nnU-Net plans format. Attempting to reconstruct network architecture "
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  1.12it/s]
Predicted in 12.95s
Resampling...
WARNING: Could not crop because no foreground detected
cropping from (333, 333, 539) to (333, 333, 539)
Predicting...
d:\totalsegmentotar.conda\Lib\site-packages\nnunetv2\utilities\plans_handling\plans_handler.py:37: UserWarning: Detected old nnU-Net plans format. Attempting to reconstruct network architecture parameters. If this fails, rerun nnUNetv2_plan_experiment for your dataset. If you use a custom architecture, please downgrade nnU-Net to the version you implemented this or update your implementation + plans.
warnings.warn("Detected old nnU-Net plans format. Attempting to reconstruct network architecture "
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 64/64 [04:27<00:00,  4.18s/it]
Predicted in 288.96s
Saving segmentations...
0%|                                                                                | 0/1 [00:00<?, ?it/s]Creating hip_implant.nii.gz
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.61s/it]
Saved in 6.80s

If you see please help me, this is very important to me, thank you sincerely.

Does the "total" task work? (-ta total)

Does the "total" task work? (-ta total)
You're right, with -ta total, the segmentator progress bar changes, but unfortunately it doesn't seem to save the results of the split, here is my output, and the output folder and the image opened in slicer 5.6.2, and nothing shows up.

Does the "total" task work? (-ta total)

You're right, with -ta total, the segmentator progress bar changes, but unfortunately it doesn't seem to save the results of the split, here is my output, and the output folder and the image opened in slicer 5.6.2, and nothing shows up.

I'm not sure if it has anything to do with the system, I'm using win11, is the latest version of totalsegmentator a must to use linux? Because I ran into this issue while training nnUNetv2, nnUNetv2 2.3 onwards would get an error.

I'm not sure if it has anything to do with the system, I'm using win11, is the latest version of totalsegmentator a must to use linux? Because I ran into this issue while training nnUNetv2, nnUNetv2 2.3 onwards would get an error.

I solved this problem! To a large extent it is related to the system, we need linux.


Issues adding GCE instance manually

Unable to add GCE node (Manage Jenkins->Manage Nodes->New Node-> type name and select "google compute engine") because of error.
I've seen a couple of users experience this issue although it is not our recommended workflow.
Reference issue

Plugin removes need to manually provision instances.

Shouldn't the correct response be to remove the ability to even encounter this error in the first place?

Thank you for the feedback. We've been in the process of clearing out our issue backlog, so when I initially responded I didn't have complete context on what was being asked and answered too quickly. After revisiting the issue I understand why we don't (and have no plans to) support provisioning nodes in the way the initial reporter described. It may be possible to make the response less jarring than angry Jenkins with a long stack trace, but actually fixing the issue would require a larger refactoring effort than we're able to commit to now.
When following the steps as listed, Jenkins expects there to be a configuration on the "ComputeEngineInstance" (the node itself) and fails without it. Instead, use the "Configure System" page to create a Google Compute Engine cloud and create an instance configuration with the desired label. Then on the "Manage Nodes" page, instead of using "New Node", use the "provision via ..." dropdown to select the label corresponding to the configuration, which will create a new node. I'll reference #145 here so that we keep this in mind when refreshing the usage documentation.


Use Bootstrap for template

https://getbootstrap.com/docs/5.3/examples/cover/#
https://getbootstrap.com/docs/5.3/getting-started/introduction/

will npm work ?

https://bootswatch.com/

Better check the devblogs UI design, they are using Bootstrap with something called masonry
Copy the same layout here:
https://devblogs.microsoft.com/visualstudio/


camel-optaplanner should not eat exceptions

Also fix async solving deamon test that broke after upgrade to 6.3
PS: It's a PITA (which cost me some time) that the log4j.properties of the components don't log ERRORs to the console by default. (I can understand they don't do INFO to reduce build verbosity, but they should show errors by default in the console (and intentional errors that are being tested can be filtered out). Anyway, that's a different issue. :)

Thanks @ge0ffrey :-)


Issue from website page Get Started: Install on Windows

From URL: https://flutter.io/setup-windows/
So I am advised that a new release of Dart (2.0) is available and I am provided a button to to obtain the new release. I click the button and end up on the referenced page. Where's the new Dart download?

advised that a new release of Dart (2.0) is available

Can you please post a screenshot. It would make it easier to see what is going on and where.
Please also add the output of flutter doctor -v.

The popup was the only indication that an update was available. The next time this appears, I'll get a screen shot.

Please add the output of flutter doctor -v.

[ΓêÜ] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 6.1.7601], locale en-US)
ΓÇó Flutter version 0.6.0 at C:\Downloads\flutter\flutter_windows_v0.5.1-beta\flutter
ΓÇó Framework revision 9299c02cf7 (3 weeks ago), 2018-08-16 00:35:12 +0200
ΓÇó Engine revision e3687f70c7
ΓÇó Dart version 2.1.0-dev.0.0.flutter-be6309690f
[ΓêÜ] Android toolchain - develop for Android devices (Android SDK 27.0.3)
ΓÇó Android SDK at C:\Users\gggustafson\AppData\Local\Android\sdk
ΓÇó Android NDK location not configured (optional; useful for native profiling support)
ΓÇó Platform android-27, build-tools 27.0.3
ΓÇó Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
ΓÇó Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
ΓÇó All Android licenses accepted.
[ΓêÜ] Android Studio (version 3.1)
ΓÇó Android Studio at C:\Program Files\Android\Android Studio
ΓÇó Flutter plugin version 26.0.1
ΓÇó Dart plugin version 173.4700
ΓÇó Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[ΓêÜ] VS Code, 64-bit edition (version 1.25.1)
ΓÇó VS Code at C:\Program Files\Microsoft VS Code
ΓÇó Flutter extension version 2.18.0
[ΓêÜ] Connected devices (1 available)
ΓÇó SM G925V ΓÇó 06157df60c7a8e20 ΓÇó android-arm64 ΓÇó Android 7.0 (API 24)
ΓÇó No issues found!

Is this the flutter doctor output of the same Flutter version where you got the update message for, or did you update in some way already since you got the message (from your initial comment)?

No update.
However, that is not the issue. When the button appeared, and I clicked on it, I was redirected to the  page  https://flutter.io/setup-windows/. But on that page there is no place to indicate that I want a Dart 2.0 download.
Suggestion: either add a button for Dart download or direct the reader to a different page that is specifically designed for Dart downloads.

Unfortunately, my Dart installation is current. When it becomes stale, and I get the same button, I'll reopen this issue. 'Til then, I think the issue can be closed.
Thanks for your help.

Sounds good.

Received the Dart SDK Update available message along with a link button. Clicking the button took me to https://www.dartlang.org/install Where there is no down load for a Dart SDK download. Attached screenshot. Results of flutter doctor -v are;
flutter doctor -v
[√] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 6.1.7601], locale en-US)
• Flutter version 0.6.0 at C:\Downloads\flutter\flutter_windows_v0.5.1-beta\flutter
• Framework revision 9299c02cf7 (3 weeks ago), 2018-08-16 00:35:12 +0200
• Engine revision e3687f70c7
• Dart version 2.1.0-dev.0.0.flutter-be6309690f
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\gggustafson\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] VS Code, 64-bit edition (version 1.25.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 2.18.0
[√] Connected devices (1 available)
• SM G925V • 06157df60c7a8e20 • android-arm64 • Android 7.0 (API 24)
• No issues found!

Actually that looks fine.
That message is from the Dart plugin and you seem to have Dart 1 installed on your system.
If you click https://www.dartlang.org/install  and then one of
 you get instructions how to install depending on your OS.

I ran the Web Dart SDK download. Now I get
flutter doctor -v
[√] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 6.1.7601], locale en-US)
• Flutter version 0.6.0 at C:\Downloads\flutter\flutter_windows_v0.5.1-beta\flutter
• Framework revision 9299c02cf7 (3 weeks ago), 2018-08-16 00:35:12 +0200
• Engine revision e3687f70c7
• Dart version 2.1.0-dev.0.0.flutter-be6309690f
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\gggustafson\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
X Android license status unknown.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] VS Code, 64-bit edition (version 1.25.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 2.18.0
[√] Connected devices (1 available)
• SM G925V • 06157df60c7a8e20 • android-arm64 • Android 7.0 (API 24)
! Doctor found issues in 1 category.
What is doctor complaining about?

Web Dart SDK and Flutter are not related in any way.
I don't know why Android toolchain - Android license status are not accepted anymore, but I can't see how the Dart update could possibly be related.
flutter doctor --android-licenses might fix that.

flutter doctor --android-licenses did fix it. Thanks.
I gave up trying to ask How do I reopen a closed issue? GitHub "thought"
the question was not complex enough!!!
On Wed, Sep 5, 2018 at 2:27 PM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

Web Dart SDK and Flutter are not related in any way.
I don't know why Android toolchain - Android license status are not
accepted anymore, but I can't see how the Dart update could possibly be
related.
flutter doctor --android-licenses might fix that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/21286#issuecomment-418852312,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANFWabLxCFoy3YUBOgjGWih7i63cqCj9ks5uYCWIgaJpZM4WVwA-
.

--
Gus Gustafson
12371 Ailanthus Drive
Pensacola, FL 32506
USA
Cell:<PHONE_NUMBER>

I gave up trying to ask How do I reopen a closed issue? GitHub "thought"
the question was not complex enough!!!

Why would you want to reopen?
You commented that it is solved?
Wjat is a bit weir though is that flutter doctor didn't suggest flutter doctor --android-licenses

An SO member had asked for a screenshot and the results of a flutter
doctor -v if the situation appeared again. When it did, I could not reopen
the issue and just posted the requested information as a comment. I do not
know if the member who asked for the information ever saw it.
On Wed, Sep 5, 2018 at 9:50 PM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

I gave up trying to ask How do I reopen a closed issue? GitHub "thought"
the question was not complex enough!!!
Why would you want to reopen?
You commented that it is solved?
Wjat is a bit weir though is that flutter doctor didn't suggest flutter
doctor --android-licenses
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/21286#issuecomment-418946719,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANFWae5BxKyijWfjzKDYnQ9SBltcD6uyks5uYI2TgaJpZM4WVwA-
.

--
Gus Gustafson
12371 Ailanthus Drive
Pensacola, FL 32506
USA
Cell:<PHONE_NUMBER>

@gggustafson If you can't reopen, either post a comment so that someone who can does, or just create a new issue with a link to the old one.
It's not clear to me if I should reopen and why. Can you please clarify?

As I said earlier, I wanted to reopen the issue because I provided
information that was requested by you. I wanted to insure that you would
see it. You did. So there's now no reason to reopen.
On Thu, Sep 6, 2018 at 12:33 PM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

@gggustafson https://github.com/gggustafson If you can't reopen, either
post a comment so that someone who can does, or just create a new issue
with a link to the old one.
It's not clear to me if I should reopen and why. Can you please clarify?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/21286#issuecomment-419178206,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANFWaSRg13FSZGTD8n0Yz4RqMJ-D_vMIks5uYVx_gaJpZM4WVwA-
.

--
Gus Gustafson
12371 Ailanthus Drive
Pensacola, FL 32506
USA
Cell:<PHONE_NUMBER>

I think I got it :D.
If you add @zoechi to a comment I'll get it listed in my notifications. Also when I commented before in an issue I'll get notified about other comments.
Some people just can't keep up reading the notifications.


fix: belongsToMany relationships can now be removed

Removing all entries of a belongsToMany relationship in voyager results in the field being removed from the request that is to be saved in to the database. Therefore, a relationship cannot be removed, because that would render $content as is_empty and the current code then removes the $row. This fixes that issue.

It happened to me also. This fixes issues. Thanks for pr!

Thanks for the solution!


Move file-type to optional dependency

because only http-axios.ts (deprecated) depends on it.

やったところで感


Properly configure the project dependencies for TerminalAzBridge

I don't think this is the resolution for #14581, but this can't hurt

1 / 1 builds succeeded.
/azp run

3/3 builds passed it a row? Man I don't wat to get ahead of myself but I think this was it


Specify --no-install-recommends in apt-get install in Dockerfiles

Explicitly list needed packaged in Dockerfile and then add --no-install-recommends so that unneeded packaged are not added. For example right now install OpenJDK tried to install fuse.

unzip needs to be added to the list of packages to install.

Martin's unassignment of @jendap was an accident.

See: https://github.com/4Catalyzer/tensorflow/commit/83ebb0a0f1995441af66f476a19a97524748be95

Fixed by commit e19437c09af0ba8eb83b282ffd4b76a2444f01d3


feat: align version with vllm

Gemma-2 no longer requires flashinfer - in fact, newest version of vllm has a bug in its usage, which makes the LLM return wrong tokens.
This pull requests makes it possible to use the newest vLLM build with gemma-2 models in a serverless mode.

@wwydmanski did you run any tests ?  also can you add any ref: issue/bug/fix?

@pandyamarut yes, I've deployed both the version with and without the fix on Runpod Serverless. The original crashed due to kwargs incompatibility, and after fixing it gave wrong results due to flashinfer bug. The fixed verison is currently deployed on my dev setup and works well

Thank you @wwydmanski . Do you mind sharing the Reproduce steps, Just what ENVs you are passing for both ? So it will easy for me to test & get this merged.
Thanks again for the PR. @wwydmanski