Can we change the form of VkPhysicalDeviceProperties::deviceID for Apple GPUs?

For Apple GPU's, MoltenVK currently sets VkPhysicalDeviceProperties::deviceID in the hex form 0xaMMX, where a indicates an Apple SoC, MM is the SoC model number (08, 10...) and X is 1 for X version, 0 for other. The original idea was to try to map to the A8, A10X...A15 nomenclature Apple was using for their SoCs, for transparent identification.
With the introduction of the M1 series of processors under macOS, and now iOS (recent iPad Pro), this naming structure gets confusing. For example, MoltenVK currently reports an M1 macOS as 0xa140, because it supports the same functionality as the A14 GPU.
Apple distinguishes GPUs based on capabilities using the MTLGPUFamily enumeration (MTLGPUFamilyApple7, MTLGPUFamilyApple6, ...), and these apply to all platforms. For instance, both the A14 and M1GPUs support MTLGPUFamilyApple7 .
Some options for moving forward with the VkPhysicalDeviceProperties ::deviceID nomenclature:

Leave it alone and continue to number just based on historic iOS AXX SoC's, even for the M1 series.

Introduce a second type of nomenclature for the M1 family (eg. 0xb010). But this becomes arbitrary, and although we can assume M1 on macOS, it's not clear how we could distinguish M1 from say A14 on iPad Pro, without heroic efforts to extract system info.

Scrap the current nomenclature, and replace it with one simply based on the MTLGPUFamily enumeration, since that indicates relative GPU functionality, and is consistent on all platforms. For instance, we could create a deviceID that is basically just the number of the GPU functionality enumeration (MTLGPUFamilyApple7 -> 0x7...or maybe 0xad7 for Apple Device 7).

The third option is preferred because it is trivial to implement, is consistent across all platforms and GPU's, and maps to they way Apple identifies and distinguishes GPU functionality.
Does anyone use VkPhysicalDeviceProperties::deviceID in a way that will break if we make this change? Or is there reason to try to perform system query heroics to separately identify individual GPUs beyond Apple's MTLGPUFamily functionality designations?

Just making sure, this wont affect vk::PhysicalDeviceIDProperties::deviceUUID correct?
That field is needed to open the correct vulkan device depending on an opengl context's properties. I'm not sure how yet since EXT_external_objects is missing but that's a different issue.
I'm not using VkPhysicalDeviceProperties::deviceID, option 3 seems fine. But why not just the numeric value for the enum's value? ie 1007 for MTLGPUFamilyApple7?

Just making sure, this wont affect vk::PhysicalDeviceIDProperties::deviceUUID correct? That field is needed to open the correct vulkan device depending on an opengl context's properties. I'm not sure how yet since EXT_external_objects is missing but that's a different issue.

Yes. A change to VkPhysicalDeviceProperties::deviceID will also change the value of VkPhysicalDeviceIDProperties::deviceUUID, and would therefore break the Vulkan spec contract that...

deviceUUID must be immutable for a given device across [...] driver versions [...].

You seem to indicate you're running some kind of combined Vulkan/OpenGL hybrid. Can you elaborate on why a change to the value of VkPhysicalDeviceIDProperties::deviceUUID will cause a problem with your environment? What is the value of VkPhysicalDeviceIDProperties::deviceUUID being used for?

why not just the numeric value for the enum's value? ie 1007 for MTLGPUFamilyApple7

That is a good suggestion. Thanks.

I do run both Vulkan and OpenGL in the same application. Externally developed opengl based plugins need to keep running within an application ported over to Vulkan.
The situation on windows is hugely different than that on macOS. I think it could be useful to describe how it works on a platform with native Vulkan & OpenGL support though so bear with me.
On windows:
API interop is basically implemented as an external queue. There are extensions enabling support for creating objects to be accessible from the external queue, ie:
-https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_KHR_external_memory.html
-https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_KHR_external_memory_win32.html
-Also semaphores & fences. Other platforms got different type, ie fd on linux i believe.
When vulkan is done with an image, it's memory is transferred to the external queue (VK_QUEUE_FAMILY_EXTERNAL) at which point opengl can access it through a texture created with glTexStorageMem2DEXT
Using this texture, opengl can sample from it or render to it as it pleases. Eventually opengl will do a glSignalSemaphoreEXT call. Vulkan will transfer the the memory back from the external queue to lets say the graphics queue, waiting on the opengl semaphore.
This works great on single gpu machines, but on multi gpu (ie intel integrated + nvidia mobile laptops) some extra care needs to be taken. The shared memory is device-local, and thus if it's on the nvidia gpu the intel gpu cant access it. Since opengl has no way to select a device, vulkan needs to follow the gpu that the opengl context is using. On OpenGL i do this:
glGetUnsignedBytevEXT( GL_DRIVER_UUID_EXT, driverID.data() );
glGetUnsignedBytei_vEXT( GL_DEVICE_UUID_EXT, 0, deviceID.data() );

This retreives the driver id and device id which are needed to select the exact vulkan physical device that should be used. This is checked as:
memcmp( driverID.data(), physicalDevice.GetDeviceIDProperties().driverUUID, driverID.size() ) == 0 &&
memcmp( deviceID.data(), physicalDevice.GetDeviceIDProperties().deviceUUID, deviceID.size() ) == 0

If these values match that of the opengl context i know it's the same device and i can open that one. With this setup, memory stays on the gpu when going between apis and except for some some extra synchronization not much performance is lost.
On macos:
Before i describe how i've implemented it on macos i would like to say it is incomplete. It works correctly on single gpu systems, but on multi gpu (ie mbp with intel + amd) i'm getting issues. My implementation is currently lacking device selection so probably i need to do something there.
None of the extensions used on windows (or their counterparts)  are available. We do however have core video which can be used for memory sharing. First create a CVPixelBufferRef. Then create a CVMetalTextureRef as well as a CVOpenGLTextureRef referencing this pixel buffer. From the metal texture's id im creating a vulkan image using vkSetMTLTextureMVK.
Since the external synchronization primitives are also not supported i needed something else. In testing it 'somehow' seemed to just work when submitting in order. So all vkQueueSubmits are flushed before opengl starts processing and after ogl is done i use a glFlush. I assumed this to work correctly because eventually macos seems to have just a single queue anyway so i can synchronize using just barriers.
Now, i'm not saying changing vk::PhysicalDeviceIDProperties::deviceUUID breaks anything for me right now. I'm not using it  on macos so as far as i'm concerned you can change it to whatever the spec allows. I dont think it necessarily needs to match VkPhysicalDeviceProperties::deviceID though. I was asking about it because I just wanted to know what the plans are for this field seeing that i need to do something with device selection and how important this field is for that on windows.

Thanks for the background.

I dont think it necessarily needs to match VkPhysicalDeviceProperties::deviceID though

The two values are distinct. But deviceID is one of the components that factor into the calculation of the deviceUUID...so changing the former will change the latter.


Move discussion on "pass" from module 1 to module 3

Currently, module 1 introduces print, a few values, comments and pass. While I think that contrasting pass with values and comments is instructive, the keyword seems rather useless in this context. @oktaal pointed out that module 3 would be a more logical place to introduce pass, when indented blocks enter the scene. I agree.

Implemented in the May 2024 edition on Google Drive. Will commit later.

Completed in #14.


Flutter for Web does not hide url bar and navigation bar on scroll in iOS's Safari

Steps to Reproduce

Create new Flutter project
Copy and paste code below in the main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        body: ListView.builder(
          itemBuilder: (context, index) => Container(
            child: Text('$index'),
          ),
          itemCount: 1000,
        ),
      ),
    );
  }
}

Run flutter run -d web-server --web-port 8080
Open iOS simulator and go to localhost:8080
Scroll the list

Expected results:
iOS's Safari should hide the url bar (top bar) and the navigation bar (bottom bar) while scrolling.
Actual results:
iOS's Safari does not hide both the url bar and navigation bar

Logs

Analyzing safari_scroll_bug...
No issues found! (ran in 2.4s)

[✓] Flutter (Channel beta, 1.22.1, on Mac OS X 10.15.7 19H2, locale en-JP)
    • Flutter version 1.22.1 at /Users/panuavakul/Frameworks/flutter
    • Framework revision f30b7f4db9 (2 weeks ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

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

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

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

[✓] Connected device (3 available)
    • iPhone SE (2nd generation) (mobile) • 5CB0F884-F448-4A74-9D58-75FC3B8BD51D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
    • Web Server (web)                    • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 86.0.4240.111

@panuavakul
Can you upgrade to latest beta, try again and also share video of the issue.

Just upgraded to the latest beta
[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H2 x86_64, locale en-JP)

Hey thanks, just upgraded to the latest beta
[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H2 x86_64, locale en-JP)

Here is a video of the issue

Googling Flutter search results on iOS safari browser ans scrolling the results does hide the nav and url bar, but the same isn't happening when using Flutter web. Keeping this issue open for further analysis.

flutter doctor -v
[✓] Flutter (Channel dev, 1.24.0-1.0.pre, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.24.0-1.0.pre at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 12bea61c29 (11 days ago), 2020-10-14 15:57:04 -0700
    • Engine revision 069b3cf8f0
    • Dart version 2.11.0 (build 2.11.0-218.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.4 19E2269
      darwin-x64
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome
      86.0.4240.111

• No issues found!

Hello @yjbanov, here is some research I have been doing related to this problem:
The safari mobile WebKit uses the body scroll to handle this interaction. This requires the body overflow-y attribute to be set to auto/scroll and the body to have a size longer than 100%. Obviously, this is not the case for any flutter web as by default overflow is hidden.
After changing that I couldn't make it work programmatically by calling window.scrollTo(...) or windowScroll(). Only user manual drag worked.
By overriding, some of the default CSS attributes added by the flutter framework I manage to hide the bars. But also it broke most of the hitTest inside the flutter framework.
I also couldn't remove the scrollbar that appears after making these changes.
You have the demo here:  https://jamesblasco.github.io/flutter-web-scroll/

You can add this to the <head> of the index.hml file of any flutter project and try it also there.

  <style>
    body {
      height: 500vh !important;  /* Bigger than 100% to allow scroll */
      position: static !important;  /* Override absolute from flutter */
      overflow-y: scroll !important; /* Allows verticall scrolling */
      overflow-x: hidden !important;
      touch-action: pan-y !important;  /* Allows vertical scrolling */
      overscroll-behavior: none; /* Avoid bouncing scrolling on top/bottom edget */
    }

     /* Centers flutter canvas with a size of the viewport*/
    flt-glass-pane {
      position: fixed !important; /* Overrides absolute from flutter  */
      top: 50vh  !important;
      left: 50vw  !important;
      max-width: 100vw  !important;
      max-height: 100vh  !important;
      transform: translate(-50vw, -50vh)  !important;
    }

    /*
    Scrollbar hide doesn't work on iOS, they add a default one when overflow:true and  -webkit-overflow-scrolling: touch;
    Sadly since iOS 13, this value is forced on iOS -> https://developer.apple.com/documentation/safari-release-notes/safari-13-release-notes
    */
    ::-webkit-scrollbar {
      display: false;
      width: 0px;
      height: 0px;  /* Remove scrollbar space */
      background: transparent;  /* Optional: just make scrollbar invisible */
    }

  </style>

Deduplicating with https://github.com/flutter/flutter/issues/69529

Hi jamesblasco,
The aforementioned code only works in the Non Scrollview and Listview cases, however when we use Listview or Scrollview in Dart, the material does not scroll as intended.


Project name getting rendered as 'unknown project'

Describe the bug
The project name is getting rendered as unknown project
Screenshots

Desktop (please complete the following information):
Plugin version: 1.10.0
Obsidian version: 1.0.3
Additional context
Maybe this bug is related to #118
Weird behavior
I've noticed a weird behavior when I kept restarting obsidian, sometimes the project name gets rendered just fine but sometimes it doesn't, not sure but maybe this is related to the REST API used in this plugin integration.

I've noticed a weird behavior when I kept restarting obsidian, sometimes the project name gets rendered just fine but sometimes it doesn't

This behavior disappears after more than 10 restarts, now only the unknown project is returned.

After further testing I was able to solve this issue.
Solution

I issued a new API token

I'm not sure if this solution is permanent neither what was the cause of the issue in the first place.
If anybody is faced with this issue please try the solution above and comment below if it did work for you or not.

After further testing I was able to solve this issue.
Solution

I issued a new API token

I'm not sure if this solution is permanent neither what was the cause of the issue in the first place.
If anybody is faced with this issue please try the solution above and comment below if it did work for you or not.

Issuing a new API token worked for me also


Adding YARNContainerFactory. This allows OpenWhisk to run actions on Apache Hadoop clusters.

Thousands of organizations have Apache Hadoop clusters today. By implementing a YARNContainerFactory, OpenWhisk can run actions on Hadoop clusters. This will lower the barrier to adoption and expand the potential use cases for OpenWhisk.
Description
The YARNContainerFactory uses the Apache Hadoop Services REST API to create a single YARN service with a component for each action type. Both simple authentication and Kerberos/SPNEGO are supported. This was tested with Apache Hadoop 3.1.1.
https://hadoop.apache.org/docs/r3.1.1/hadoop-yarn/hadoop-yarn-site/yarn-service/YarnServiceAPI.html
The implemention is based on the MesosContainerFactory.
This was first implemented using Akka HTTP, but was rewritten to use the Apache HTTP client in order to suport SPNEGO.
There is a MockYARNRM in the tests directory. This mock RM simulates the YARN Resource Manager REST API and is used for the YARNContainerFactory tests.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[x] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[x] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[x] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[x] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[x] I added tests to cover my changes.
[x] My changes require further changes to the documentation.
The website should be updated as well
[x] I updated the documentation where necessary.

🤯 this is excellent!

For anyone wanting to test this out, here is a quick guide for enabling Docker on YARN:
https://community.hortonworks.com/articles/226331/dockerized-yarn-services-quickstart.html
It was tested with HDP 3.0.1 from Hortonworks. Available here:
https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.0.1/index.html
The steps are similar with a base Apache Hadoop installation (version 3.1.1 or higher).

@rabbah Thanks for the feedback. I refactored the solution to use an Actor instead of synchronized blocks.
The TravisCI build errored due to:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Nice! Thanks for improving the PR. I will go through the changes and restart Travis for you.

The test coverage is missing some of the error handling and all the Kerberos/SPNEGO code. Is it possible to test Kerberos/SPNEGO with TravisCI?

I don't know @SamHjelmfelt - not something I've tried. We do have a Jenkins job we can try once it's fully operational.

sorry @SamHjelmfelt i'm behind on this but i'm going through and regaining velocity on the prs so i'm hoping to get to it sooner rather than later.

Rebasing

Thanks for reviewing this code with me and showing me a demo. Minor nits but LGTM generally.

@rabbah I believe I addressed everything you requested, but I am happy to make further improvements.

@SamHjelmfelt this is a very neat addition!


[6590] remove some trash added during merging

Story / Bug id: https://bugzilla.stxnext.pl/show_bug.cgi?id=6490
Project / App: Onboarding - Presence Analyzer
Reference person: @ADubielSTX
Description: Removing trash in HTML code.
Migrations:
Rollback:
New imports / dependencies:
Unit Tests:
What tests do I need to run to validate this change:
Scripts to be run:
New or Changed JS and / or HTML Files:
Changed/fixed:
src/presence_analyzer/static/presence_start_end.html

Gist with PEP8, unittests and pylint:
https://gist.github.com/ADubielSTX/548132b20878b711d3f7


Delete unused graphql_query library

Delete unused, defunct graphql_query library from archive node code.

!ci-build-me


Bug: Weird empty highlighted box in folders

What happened?
When you have no folders and the list is empty, for some reason you can hover over something in the name category and then you can see its effect.

Version
upstream (ghcr.io/diced/zipline:trunk)
What browser(s) are you seeing the problem on?
Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc)
Zipline Logs
No response
Browser Logs
No response
Additional Info
No response

Seems to be a bug with mantine-datatable, it isn't much of a problem as most people won't be hovering over that one area, if not even have no data within the tables.


Can´t load component

Hi!
I am receiving the following error:
[Vue warn]: Unknown custom element:  - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in )
I am using Laravel 5.4 and Vue 2 with webpack.
I have the following on app.js:
import AirbnbStyleDatepicker from 'vue-airbnb-style-datepicker'
require('vue-airbnb-style-datepicker/dist/styles.css');
Vue.use(AirbnbStyleDatepicker);

npm run dev builds fine, but it can´t find the component. Any ideas?
Best regards

Hi!
I remove node_modules with no lukc. After several tests, it works by changing AirbnbStyleDatepicker for airbnb-style-datepicker in HTML.
Thanks!

I'm having a similar issue.
./node_modules/vue-airbnb-style-datepicker/dist/vue-airbnb-style-datepicker.es.js
Module not found: Error: Can't resolve 'date-fns/add_days' in '/Users/joshuabriley/go/vue-components/node_modules/vue-airbnb-style-datepicker/dist'
 @ ./node_modules/vue-airbnb-style-datepicker/dist/vue-airbnb-style-datepicker.es.js 12:0-40
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/main.js


Any idea why this dependency resolution is failing? Varcel is throwing out this error ....

[14:53:27.953] Installing build runtime...
[14:53:30.145] Build runtime installed: 2.192s
[14:53:30.532] Looking up build cache...
[14:53:30.672] Build Cache not found
[14:53:30.953] Installing dependencies...
[14:53:31.394] yarn install v1.22.17
[14:53:31.485] [1/4] Resolving packages...
[14:53:31.712] [2/4] Fetching packages...
[14:53:43.265] [3/4] Linking dependencies...
[14:53:43.267] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[14:53:43.267] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[14:53:43.269] warning "next > styled-jsx ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>[14:53:47.012] [4/4] Building fresh packages...
[14:53:47.189] Done in 15.80s.
[14:53:47.221] Detected Next.js version: 11.1.2
[14:53:47.223] Running "yarn run build"
[14:53:47.565] yarn run v1.22.17
[14:53:47.608] $ next build && node .next/server/build-rss.js
[14:53:48.279] info  - Loaded env from /vercel/path0/.env
[14:53:48.775] Error: failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
[14:53:48.811] Error: Command "yarn run build" exited with 1

I am logging a different one

Leave issues


Make email address optional

ACME registration doesn't require an email, so the user shouldn't be force to provide one. Allowing them to enter one is fine, but maybe say "(optional)" after the prompt. Not sure if traefik will allow this, but I dont see any reason why it wouldn't.

Sorry I must admit I don't really know the ACME protocol in detail, but it seems like Traefik requires that an email be set in order for the certificates to be auto-renewed (https://docs.traefik.io/configuration/acme/). I'll close this for now (for housekeeping the number of open issues), but feel free to open this issue if there is a way for me to get Traefik to auto-renew the certs without providing an email. Thanks!


Can't update dependencies Ubuntu 19.04 but cli install work

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Ubuntu 19.04

node version: v12.11.1

yarn version: v1.19.1

Hyper.app version: 3.0.2

Link of a Gist with the contents of your .hyper.js: https://gist.github.com/LoiKos/0cf5222096e280309fe5f82ff8da84d3

Issue

When i try to update plugins i get the following errors on Buffer:
❯ hyper -v
Plugin hyper-snazzy (1.3.0) loaded.

Plugin hyperline (1.2.0) loaded.

Plugin hypercwd (1.4.0) loaded.

Plugin hyperterm-paste (1.1.2) loaded.

plugins have changed / not init, scheduling plugins installation

Disabling Chromium GPU blacklist

running in prod mode
electron will open file:///opt/Hyper/resources/app.asar/index.html

[1485:1014/143106.351899:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.

[1444:1014/143106.377084:WARNING:keyboard_util.cc(261)] Invalid accelerator token: del
[1444:1014/143106.377107:WARNING:accelerator_util.cc(62)] ctrl+del doesn't contain a valid key

[1444:1014/143106.378409:WARNING:keyboard_util.cc(261)] Invalid accelerator token: del
[1444:1014/143106.378424:WARNING:accelerator_util.cc(62)] ctrl+del doesn't contain a valid key

Setting Hyper as default client for ssh:// protocol

[1444:1014/143106.574769:INFO:CONSOLE(1)] "(re)loading renderer plugins", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.579588:INFO:CONSOLE(1)] "Plugin hyper-snazzy (1.3.0) loaded.", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.583097:INFO:CONSOLE(1)] "DEPRECATED: If your plugin requires `react`, it must bundle it as a dependency", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.626107:INFO:CONSOLE(1)] "DEPRECATED: If your plugin requires `react`, it must bundle it as a dependency", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.629052:INFO:CONSOLE(1)] "DEPRECATED: If your plugin requires `hyper/component`, it must requires `react.PureComponent` instead and bundle `react` as a dependency", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.692569:INFO:CONSOLE(1)] "Plugin hyperline (1.2.0) loaded.", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.694559:INFO:CONSOLE(1)] "Plugin hypercwd (1.4.0) loaded.", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.696484:INFO:CONSOLE(1)] "Plugin hyperterm-paste (1.1.2) loaded.", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[1444:1014/143106.739266:INFO:CONSOLE(5)] "hypercwd: no 'config.hypercwd' object found in ~/.hyper.js - see https://github.com/hharnisc/hypercwd#configuration for configuration details", source: /home/llepenn/.hyper_plugins/node_modules/hypercwd/configParse.js (5)

[1444:1014/143106.788893:INFO:CONSOLE(36)] "total init time", source: file:///opt/Hyper/resources/app.asar/index.html (36)

Checking for notification messages

Launching yarn: /opt/Hyper/hyper /opt/Hyper/resources/bin/yarn-standalone.js install --no-emoji --no-lockfile --cache-folder /home/llepenn/.hyper_plugins/cache

No matching notification messages

[Notification] Error updating plugins.: (node:1582) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning hyperline ><EMAIL_ADDRESS>use String.prototype.padStart()
warning "hyperline ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| 16.x.x".
error /home/llepenn/.hyper_plugins/node_modules/hyperline: Command failed.
Exit code: 127
Command: opencollective postinstall
Arguments:
Directory: /home/llepenn/.hyper_plugins/node_modules/hyperline
Output:
/usr/bin/env: 'node': No such file or directory

(node:1582) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning hyperline ><EMAIL_ADDRESS>use String.prototype.padStart()
warning "hyperline ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| 16.x.x".
error /home/llepenn/.hyper_plugins/node_modules/hyperline: Command failed.
Exit code: 127
Command: opencollective postinstall
Arguments:
Directory: /home/llepenn/.hyper_plugins/node_modules/hyperline
Output:
/usr/bin/env: 'node': No such file or directory

i try to unistall/ reinstall but i still get the same errors. hyper i *plugin* work no problem to install but can't update

Can you try with a CI build of current canary or maybe compile one yourself?


Peer To Peer 5/26/2023

Hi @lordksix
Good Work 💯
https://github.com/lordksix/Meals-API-template/blob/ca7e81d38afa39c48ab40f42a9db40ada6b44fd1/src/modules/ListItemMod.js#L20
but I find something above not clear about full classes[7] here I don't know what's means.
https://github.com/lordksix/Meals-API-template/blob/76e11b8d79b7e0e57388a2e77e485c4064927d7d/src/modules/const.js#L10-L13
I suggest converting the above code export classes from array to object to fix classes[7] to classes.classBtn
by doing the above thing it will be more readable
also, I put my resource for clean code the book called clean code for Robert C. Martin

Thanks! I have made add the suggestions to the code. @waelelsafty07


Fixed some bugs & Added my card.

separated all the cards using border bottom. fixed the ui-7 image error. also try to ignore cookies if you can. Do check out my card.

Yeah sure, but there's one more issue, in ui-7 card the card is above
navbar when we scroll down. So I'm giving navbar z-index more than the ui-7
card. Is that okay?
On Sun, Oct 2, 2022, 10:28 AM ARMAN ALI KHAN @.***>
wrote:

@.**** requested changes on this pull request.
remove the lines between cards and follow the website format like you have
to write "click here for code *star " so make the required change and do a
pr again
—
Reply to this email directly, view it on GitHub
https://github.com/Arman-ali-khan-786/CardUI/pull/59#pullrequestreview-1127590743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHAJ2GP3ERZ22MRJRGEPTDWBEI6RANCNFSM6AAAAAAQ2UC26A
.
You are receiving this because you authored the thread.Message ID:
@.***>

hey bro can you please accept my merge request?
On Sun, Oct 2, 2022 at 11:37 AM Prerit @.***> wrote:

Yeah sure, but there's one more issue, in ui-7 card the card is above
navbar when we scroll down. So I'm giving navbar z-index more than the ui-7
card. Is that okay?
On Sun, Oct 2, 2022, 10:28 AM ARMAN ALI KHAN @.***>
wrote:

@.**** requested changes on this pull request.
remove the lines between cards and follow the website format like you
have to write "click here for code *star " so make the required change and
do a pr again
—
Reply to this email directly, view it on GitHub
https://github.com/Arman-ali-khan-786/CardUI/pull/59#pullrequestreview-1127590743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHAJ2GP3ERZ22MRJRGEPTDWBEI6RANCNFSM6AAAAAAQ2UC26A
.
You are receiving this because you authored the thread.Message ID:
@.***>


Db2 blog

Hey, just to be sure, the PR should be against the upstream/develop branch.

Yes. Sorry. It was an error on my part which is why I closed.


Bevy 0.9 support

Love this project!
Are there plans in the works for upgrading naia to Bevy 0.9 yet?

Yes there is, I was kind of waiting to see if there would be a Bevy 0.9.1 like some in the Discord suggested .. not really a consensus yet though? https://github.com/bevyengine/bevy/milestone/9
Not that there's any good reason to do so, just thought it'd make it less likely to run into a bug when upgrading. But I'll likely tackle this next week unless someone gets to it first!

Supported now in https://github.com/naia-lib/naia/releases/tag/v0.14.0


Routers

Routers for token, hotels, flight, local events, and a function to convert city names to longitude and latitude that will be used in local events routes

Thank you! We all worked on it together through zoom! Keep up the good work!


Automating Qt/QML builds

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Qt/QML projects are configured using qmake.
Each platform build (iOS/Android) is then executed with their respective tools.
According to xamarin_build plugin, I guess we are supposed to do preliminary work with a custom plugin and then fastlane init through each configured iOS/Android project recursively so fastlane can finalize those builds?
Are there any existing routines for that type of actions already?
Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.3

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.26.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

i18n
0.7.0

json
1.8.1

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.4.3

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.5

claide
1.0.1

colored
1.2

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.54.0

faraday
0.11.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.0.1

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.26

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.3

faraday_middleware
<IP_ADDRESS>

generated on: 2017-04-09

Also, how are iOS and Android projects supposed to be prepared for fastlane to start using them?


[META] PR for discussion

See #37
THIS WILL NOT BE MERGED

Do I got this right, that you are currently switching out maintineui with bootstrap? Are there any reasons, just curious?

Do I got this right, that you are currently switching out maintineui with bootstrap? Are there any reasons, just curious?

@wolflu05 I am testing out compatibility with plugins that assume bootstrap is available.

@matmair And what about using dangerouslysetinnerhtml for legacy plugins, and current plugins can just provide an bundle file which has a default export which is included via runtime import() and rendered as component?
Originally posted by @wolflu05 in https://github.com/inventree/InvenTree/pull/4114#issuecomment-1368508498

@wolflu05 I think for a start we will use iframes and then work around arising problems.

So v1 compatible plugins can't use react directly, they need to provide their own build or use something like preact what I already do?

@wolflu05 that part of the infrastructure is not done yet so I don't really know. We will release the frontends in parallel so we can check for that stuff.


Uncaught TypeError: Cannot read property 'fn' of undefined  at setTransitionEndSupport (bootstrap.js:122)

Trying to work with Bootstrap 4 and Angular 6. I got "Uncaught TypeError: Cannot read property 'fn' of undefined at setTransitionEndSupport (bootstrap.js:122)". I have been using bootstrap for a while and this is the first time I saw such an error. This is my first integrating Angular 6 and Bootstrap 4
"bootstrap": "^4.1.1",
"jquery": "^3.3.1",

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

Hi @mikiol60 ,
I just had a similar issue in my project and found below ticket:
https://github.com/understrap/understrap/issues/449
(Note: I wasn't using Understrap at all here)
There someone suggested to double check your HTML and see if the *.js files are loaded in the correct order:
https://github.com/understrap/understrap/issues/449#issuecomment-376139160

jQuery must come first, then Popper.js, and then our JavaScript plugins.

My order was:
{bootstrap, popper, jquery}
Changed that to:
{jquery, popper, bootstrap}
And my issue is solved, hope it helps for you too.
Cheers,

Judging by the reactions to these two comments (thumbs down on @Johann-S's comment that clearly reiterate our issue templates, thumbs up on @flashover's suggestion), your issue is resolved. Closing out.

I am trying to work through a tutorial so at this stage, I do not have enough knowledge to comply with the 'contributing guidelines' as suggested by Johann-s (so -1 for thinking that we are all in your league).
What i CAN tell you is that this issue occurred AFTER I  upgrade my version of Bootstrap (which now suddenly NEEDS 'popper'?)
I can also tell you that when I right-click on the web page and inspect/sources, one of the 'problem' links is http://localhost:58746/bundles/bootstrap?v=iTdcQLdhilorfQsoxwYdUx39Ev8f-pgcBu51zsXdT2o1 (whatever that means?)
and when I click on the above link, it seems to be taking me to code in either Bootstrap.js or Popper.js. The browser is reporting that the error occurs in the following section. The cursor is flashing on the full stop between "n.fn"

but expected type "'+e+'".');}}};return n.fn.emulateTransitionEnd=r,n.event.sp

Not sure of this is of any assistance? I eagerly await a fix/update to the offending code so that I can continue with the tutorial.

Me too =/

@ningacoding @MatiasChao Try reordering your imports of jquery and  popper. That should pretty much get the job done

@mikiol60 that works for Angular in Browser, that's ok, but with Electron, order doesn't care, error is the same.

I use bootstrap within my java + thymeleaf project. Same problem:
util.js:56 Uncaught TypeError: Cannot read property 'fn' of undefined     at util.js:56     at util.js:10     at bootstrap.min.js:6     at bootstrap.min.js:6
Bootstrap version: 4.1.3

We cannot help with a partial bug report, please create a new issue with a live example on StackBlitz or CodePen


Update http4s-blaze-server, http4s-circe, ... to 0.21.4

Updates

org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.3 to 0.21.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Updated to newer version in #307


debugging match patterns issue

Originally opened at CodePlex
Hi, according to whole discussion on Stack Overflow](http://stackoverflow.com/questions/24041788/cannot-debug-f-recursive-function-line-by-line-vs-2013) and an advice on Microsoft connect (https://connect.microsoft.com/VisualStudio/feedback/details/889970/unable-to-debug-f-recursive-function-step-by-step) I am submitting this issue here.
pasted issue description from Connect:
I'm trying to debug f# function:
let CountList list =
 let rec TailCountList list acc =
     match list with
     | [] -> acc
     | h::t -> TailCountList t acc + 1

 TailCountList list 0

printfn "%d" <| CountList [1;2;3;4;5;6]

But the debugger, although it allows to place a breakpoint in one of match cases, after hitting the breakpoint moves it to the beginning of the internal function and highlights whole internal function as a single step so I can step into recursive calls.
I can reproduce this with:
*VS 2013 Pro Update 1
*VS 2013 Pro Update 2
*VS 2013 Express for Desktop
Attached are example solution and a screenshot presenting the issue.
file attachments

2014-06-06 11_03_25-master • FSharpPlayground (Debug_Any CPU) (Debugging) - Microsoft Visual Studio.png
ConsoleApplication2_2014-06-10 09-38-25Z.zip

comments
ovatsus wrote Jun 28, 2014 at 11:30 AM [x]
I have related problems frequently with match expressions on the debugger. If I have something like this:

let x = y
match x with
| A -> Something
| B -> Something2
| C -> Something3
>If I'm stepping with F10 and x is going to match C, after stopping in the "match x with" line, it always stops first at the Something location before going to the Something3 location. This means that if I need to put a breakpoint in the A clause handler, I'm going to have a lof of false positives

>need to put a breakpoint on the first clause, then the breakpoint keeps hitting there even if it's actually

>>dsyme wrote Jun 30, 2014 at 8:19 AM [x]
>>Yes, I have this problem too, it would be great to fix it

Fixed by above merged PR


3 way merge editor only edits 2 ways.

Re: 3 way merge. You keep using that word...

Please try out the merge editor before giving feedback.

@hediet -- I have now tried VS Code's tool, and it's my turn to request you read my previous bug report more carefully before closing it without checking in for clarification.
We both want a better tool, right? Let's learn together.

I have to disagree here.
We take the base into account and compute the changes by diffing everything (even the result) against base.

That describes your merge algorithm. You advertise a three-way merge editor.

I apologize that I elided the word "editor" from my initial report, as I had assumed it was clear in context.
kdiff3, a 3-way merge editor
Again, a three-way merge editor allows you to choose NewA, NewB, or the original file. Again, kdiff3 is a three-way merge editor.  I can see all four at once while performing a merge. :chef's kiss:
kdiff3 has a pane for editA, editB, base, and the result:

VS Code's 2-way merge editor

The merge editor allows you to quickly resolve Git merge conflicts. When enabled, the merge editor can be opened by clicking on a conflicting file in the Source Control view. Checkboxes are available to accept and combine changes in Theirs or Yours:

Theirs or Yours displayed in the editor with the result, no [permanently displayed] base. That's 2-way.
Note: WinMerge does 2-way too. And that's why WinMerge isn't an option in SourceTree as a conflict tool, just as a diff tool.
Here is the simplest-case merge conflict I set up to demonstrate in the VS Code merge editor:

That matches your marketing gif exactly. If I missed something that required me trying it out, tell me. I don't think I did.
If that's confusing, please feel free to ask questions. If it's not confusing and you claim you do have a three-way merge editor, you're wrong. No big deal, but your marketing material is -- and you are -- wrong.
I'm just trying to make a tool I enjoy better. I've put over an hour into this bug report, and the last 45 minutes I didn't need to, as the original report was bang on. Not great user support.
cc: @gjsjohnmurray

Version: 1.69.1
Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a
Date: 2022-07-12T08:21:51.333Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.5.0

In #154877 you said _ Because you can't see the original ancestor Theirs and Yours have in common._, but the merge editor shows base version when both checkboxes are unchecked, so I guess this is what no [permanently displayed] base means, right?
I admit I rarely use any merge editor, so I think you should clarify why this "temporary base display" is worse than permanent ones like KDiff, because IMO if I want to see the base, I can uncheck both, and after I made a decision, I no longer need to see the base.
Also, I only see comparison and facts from you, but not solutions. Are you proposing to make the merge editor similar to KDiff by showing 4 editors, or you have other better solutions?

Again, a three-way merge editor allows you to choose NewA, NewB, or the original file. Again, kdiff3 is a three-way merge editor. I can see all four at once while performing a merge. :chef's kiss:

@ruffin-- I think you nailed it here. This is about seeing the base version as well. But just because we don't render the base version, that doesn't mean this isn't a 3-way merge editor.
A simpler feature request for the same thing can be found here: https://github.com/microsoft/vscode/issues/155277

Merge editor appears to work just for git. Can we have it for any two files? I can select and compare two files but can I use a merge editor to merge them?

Unfortunately, this feature has been designed as 3-way merge editor, so you cannot use it to merge just two files (we need the base file). But I think there is a feature request for it.

/duplicate #155277

Also, I only see comparison and facts from you, but not solutions. Are you proposing to make the merge editor similar to KDiff by showing 4 editors, or you have other better solutions?

I'm not sure what I'm doing wrong here.
The current marketing material for VS Code is wrong.
VS Code does not provide a three-way merge editor, the same way WinMerge is not a three-way merge editor, even though it shows Yours, Theirs, and Current [though slightly differently than VS Code's].
I'm going to give up at this point after saying...
This is not  dupe of "create a three-way merge editor  [which requests VS Code provide a 4-editor view, which is, ontologically, what it means to be a three-way merge editor]". That's a feature request. This bug describes a mistake. You could fix this by implementing that feature request immediately or... you could fix the marketing to match the actual product.
I was really excited to see VS Code had added a 3-way editor, as kdiff3 is a little long in the tooth, and then exceptionally disappointed when that editor was missing the base file display.
from @yume-chan

so I think you should clarify why this "temporary base display" is worse than permanent ones like KDiff,

Because 3-way diffs tools like kdiff3 (kdiff 3 :wink:) provide more information.
How do I scan a conflict and know what the original looked like if I selected Yours or Theirs and that's all I can see [now] in the "temporary base display"?
Without the base, you can't manually display a three-way merge to another human, for instance.

Ashley asks, "Hey Pat! Take a look. Did I merge this correctly?"
Pat looks at the VS Code merge tool in front of Ashley, but can't tell.

Did Theirs just add a space over the original so Ashley ignored it and took Yours?
Or did Theirs, like Yours, also blast a line from the base and Ashley chose Yours over Theirs?

PAT CAN'T DEAL WITH THE PRESSURE AND TAKES UP PROFESSIONAL JAI ALAI INSTEAD!!!

The current diff implementation makes review a lossy process without a permanent base to check against. And believe me, with a complicated enough file, Pat is Ashley! (that is, you're going to wonder about your own conflict resolution)
And why was the base gone again? That's because that bottom pane is  not a "temporary base display". It's the result. There is no cake!^H^H^H^H I mean result -- here.
Why would VS Code provide a 2-way UI for a 3-way conflict resolution algorithm? It doesn't make any sense.
Try using kdiff3 (a newer version is [here[(https://github.com/KDE/kdiff3) by a different developer, but I haven't tried it) for a while to resolve complicated conflicts and let me know if you can't at least see why some might prefer that UI.
My request is that MS fix one or the other, marketing or the app, so that they match accurately. My guess is that fixing the marketing is going to be easier for now -- and then you can change it back when you're actually providing a 3-way editor in the future.
I mean, I know we're an increasingly postmodern society, but taxonomies and definitions still matter.
Thank you for attending my second off-TEDx talk. 😩

But just because we don't render the base version, that doesn't mean this isn't a 3-way merge editor.

@joaomoreno kdiff3 (and industry standards) would disagree.
See the Pat & Ashley routine above for why it's crucial to have a base in a 3-way merge editor. Otherwise you're not doing a 3-way edit.
(yes, I guess I lied about giving up earlier)

I already suggested something similar in previous exploratory tickets like Explore UX for three-way merge #146091
My comment:
https://github.com/microsoft/vscode/issues/146091#issuecomment-1089029759
Check also this blog

That describes your merge algorithm. You advertise a three-way merge editor. I apologize that I elided the word "editor" from my initial report,

Well it's a "(3-way merge) editor" not a "3-way (merge editor)" in the same way that vscode is a "(shitty code) editor" not a "shitty (code editor)". Maybe this problem could be fixed by naming it 3-way-merge editor instead of 3-way merge editor


fix(UI): edit header height for consistency with other platforms

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #53656

I have edited the header height as requested.

Hi @giorgiagalbullicavazzini. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Change FPGA gird layout

Hi, i ran an example in basic_tests but i changed the benchmark so it needed a large amount of clb so i changed grid layout from 4x4 to 20x20. But I run still error at iverilog stage. So I want to ask when I change from 4x4 to 20x20, should I pay attention to any other changes in the xml file?

For 16x16 FPGA, iVerilog may not be able to simulate (beyond its capability). We suggest to use commercial simulators
Modelsim
VCS
NCSim


@kanaabe => Artists Show more styles

https://github.com/artsy/microgravity/issues/34
Add styling to show more button on gene pages.
The header issue seems Eigen specific, should I open another issue in that repository?

This looks good to me! Eigen actually embeds views from Microgravity. In this case you might want to look at our conditional padding https://github.com/artsy/microgravity/blob/fc71f04895e1454f4595880e3184257a5ae683a6/components/layout/stylesheets/index.styl#L108
I'll leave that for another PR, and merge this as it looks good!

Also for debugging Eigen embedded in MG you can spoof the user agent by turning on mobile mode cmd + shift + i then click

Adding a custom device

Then add a mobile user agent string including Artsy-Mobile in it.
Happy to show you IRL, it's kind an involved process, but you hopefully only need to set it up once.


Index type is always "index" in \d for PostgreSQL

When describing indexes using \d it should say what's the kind of the index, like is it a btree or gist in PostgreSQL, but it's always set to index.

I'll check this and add to the repo if it checks out. Thanks!


ORC-1332: Avoid NegativeArraySizeException when using searchArgument

What changes were proposed in this pull request?
searchArgument takes effect only when rowIndexStride is greater than 0.
Why are the changes needed?
When orc.row.index.stride is set to a negative number, using searchArgument will throw NegativeArraySizeException.
Caused by: java.lang.NegativeArraySizeException
	at org.apache.orc.impl.RecordReaderImpl$SargApplier.pickRowGroups(RecordReaderImpl.java:1164)
	at org.apache.orc.impl.RecordReaderImpl.pickRowGroups(RecordReaderImpl.java:1273)
	at org.apache.orc.impl.RecordReaderImpl.readStripe(RecordReaderImpl.java:1293)
	at org.apache.orc.impl.RecordReaderImpl.advanceStripe(RecordReaderImpl.java:1345)
	at org.apache.orc.impl.RecordReaderImpl.advanceToNextRow(RecordReaderImpl.java:1388)
	at org.apache.orc.impl.RecordReaderImpl.<init>(RecordReaderImpl.java:367)

How was this patch tested?
add UT

Thank you for making a PR.
I think it would be better to also make the writer reset the negative rowIndexStride to 0.  This provides a wider range of compatibility. Allowing a negative rowIndexStride to be written to the file footer, then older versions of the ORC reader will still not be read correctly.

I backported this to branch-1.7 too.


Rename AddInstance to AddSingleton

The name AddInstance doesn't make it super clear what the lifetime is of the object. (If you stop and think about it, it can only be Singleton, but every time I call that method I have to stop and think about it.)
So, we should rename AddInstance to AddSingleton, or perhaps AddSingletonInstance.

@lodejard @davidfowl @halter73 thoughts on the name?

Is there an overload where the only difference would be between Type and Object? If that's okay any naming works for me

Makes the 3 scenarios line up:

AddSingleton<IService, MyService>();

AddSingleton<IService>(serviceProvider => new MyService(serviceProvider));

AddSingleton<IService>(new MyService());

I'm sold.


Add some options to coverage tool

Modified the coverage tool to provide the options of dumping the charmap as a range list, and as a text file, to make it easier to generate some sample text to view.

LGTM


Support unnest with outer option

Spark supports Generator with outer to allow the input values output at least once even the unnest array is null or empty
e.g.
select 1 as a, b from lateral view outer explode(array()) as  b;

1       NULL

UnnestNode can also support this whereas gluten can support such queries

Hey @rui-mo @PHILO-HE could you pls review this? Thanks!


Revert "Temporarily remove migration check"

This reverts commit aaa57c7f5b707a003ce64aa2816dba495a89005c.
Summary
Following up to https://github.com/mindersec/minder/pull/4764, this PR restores the migration check workflow that was temporarily removed to help merge the boilerplates.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[ ] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[x] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.003%) to 54.792%

Files with Coverage Reduction
New Missed Lines
%

internal/authz/authz.go
1
69.85%

Totals

Change from base Build<PHONE_NUMBER>1:
0.003%

Covered Lines:
15035

Relevant Lines:
27440

💛  - Coveralls


Order completed message

Adds the option to add a longer multi-line checkout order completed message with styling via the Shop Settings screen. However it probably needs extending for multi-language compatibility.

Hi Nick,
we have added editable filed in the live edit to edit the message


Shared link loses the visualization

Description
Shared Link is visible by team mates but the visualization got lost. Plots Matlab graphs are not visible by others.
Reproduce
Run a notebook that generates plotly/matlab results with some sort of visualization. Let it render.
Expected behavior
Plots are also visible by other collaborators
Context
jupyter --version
Selected Jupyter core packages...
IPython          : 7.29.0
ipykernel        : 6.5.0
ipywidgets       : 7.6.5
jupyter_client   : 7.0.6
jupyter_core     : 4.9.1
jupyter_server   : 1.11.2
jupyterlab       : 3.2.3
nbclient         : 0.5.8
nbconvert        : 6.3.0
nbformat         : 5.1.3
notebook         : 6.4.6
qtconsole        : not installed
traitlets        : 5.1.1

jupyter labextension list
JupyterLab v3.2.3
/usr/local/share/jupyter/labextensions
        jupyter-matplotlib v0.10.2 enabled OK
        jupyterlab-link-share v0.2.1 enabled OK (python, jupyterlab-link-share)
        jupyterlab_templates v0.3.1 enabled OK
        @jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: /usr/local/share/jupyter/lab
        jupyterlab-plotly v4.14.3 enabled OK
        plotlywidget v4.14.3 enabled OK
        ```

Hi @tracycarley, thanks for opening this issue.
The issue you describe here looks similar to https://github.com/jupyterlab/jupyterlab/issues/11435 in the JupyterLab repo.
There is already a PR open to solve it.

Thanks @tracycarley and @hbcarlos.
Closing since this doesn't seem to be related to the link share extension, which is limited to creating a link and does not interact with the outputs.
We can continue the discussion in https://github.com/jupyterlab/jupyterlab/issues/11435 and https://github.com/jupyterlab/jupyterlab/pull/11494.


Production

Merging the latest stable changes from the production branch into main.
Includes recent updates, bug fixes, and new features that passed all tests.
CI/CD pipeline is configured to automatically deploy after the merge.

Merged production branch into main to sync the latest stable changes.
All production-tested features and fixes are now available in the main branch.
Ensured CI/CD pipeline is set up for seamless deployment after this merge.
Verified no conflicts between branches before merging.
Ready for production release following this merge.
This merge includes performance optimizations and minor bug fixes from the production environment.


Align the left and the right side modals of the Form Playground

Describe the bug
Currently when we add elements to the Form playground in the Validate mode the left and the right modals seems not be aligned as we see some form elements fully visible in the form definition but not on the right in the form preview
Steps to reproduce

Create a form with multiple form elements
Move to the validate mode
We could see that the alignment of the form definition and preview modals are not equal hence few elements are completely visible in the form definition but partially in the form playground

Expected behavior
the left and the right sides should be aligned
Environment

OS: [ Windows 10]
Camunda Modeler Version: [5.6.0]
Execution Platform: [ Camunda Cloud]

Additional context
No response

I'd say it's a feature not a bug. Thanks for reporting.

That's related to https://github.com/bpmn-io/form-js/issues/406


RabbitMockConnectionFactoryAutoConfiguration's ConnectionFactory should mock an open Channel

Describe the bug
Using spring-cloud-contract-verifier:2.2.3.RELEASE,
with default configuration (i.e.: stubrunner.amqp.mockConnection=true),
when a ChannelAwareMessageListener invokes Channel.basicAck during a stub test,
then the test fails due to java.lang.IllegalStateException: Channel closed; cannot ack/nack.
This happens because the CachingConnectionFactory.invoke method in spring-rabbit:2.2.7.RELEASE throws this exception when the Channel is closed, and the RabbitMockConnectionFactoryAutoConfiguration's connectionFactory bean provider method doesn't define mock behavior for the Channel.isOpen method -- so it defaults to false (i.e.: always closed).
Defining mock behavior to mock an open channel resolves this issue e.g.:
final Channel mockChannel = mock(Channel.class, invocationOnMock -> {
...
    if ("isOpen".equals(invocationOnMock.getMethod().getName())) {
        return true;
    }
...
});

Thanks for the analysis, are you willing to file a PR to the 2.2.x branch?

Sure would be happy to

This issue is resolved by e4ed93acbfb917f6cbafd3d124e7e9a5b978032e
I'll upgrade when that change is released (assuming it will be in 2.2.4.RELEASE).
Thank you for your collaboration!


Doubling or overlaying of controls in control queue

Control queue shows a stacking or doubling of certain controls over time.

simply a graphical problem with no real solution, I've tried, closing

It remains functional


This job is really great，can you provide more documentation

@bytedance-oss-robot    This work is really great. Can you provide more documentation and basic tutorials on how to implement basic operators and how to implement custom operators.

And differences with xxIR

@bytedance-oss-robot Are there plans to increase support for ARM series DSP？Will you add some convolution acceleration work？

And differences with xxIR

It might sound very weird, but byteir is not an IR or a set of IRs. The name is more coming from a legacy purpose.
The compiler folder actually just contains a bunch of passes, which work with upstream MLIR dialects or google HLO dialects. These passes are used to build our internal pipelines some HWs, and they are generic enough for most HW if a compiler also use upstream MLIR or HLO. Since internally we already used so many passes from MLIR community, we like to contribute back our passes to the community. We don't officially release pipeline for a specific HW, other than some test compiler pipelines for some public HW in a demo purpose.
The frontends are simply regular frontend pipelines to generate HLOs, reusing some code we already contributed back to Tensorflow, ONNX-MLIR, or Torch-MLIR (which will be released after the rest few PR merged back to Torch-MLIR). These frontends are almost the same version we used internally, mainly for our HW partners to generate certain version we used internally, and also the version used in the compiler we provide if anyone want to use the compiler passses.
The runtime is simply a regular runtime backend we used internally, mainly for our HW partners to glue their code. It also contains a default provider purpose demo purpose, so our HW partners can know to glue.
The frontends, compiler, and runtime can work independently.

@bytedance-oss-robot This work is really great. Can you provide more documentation and basic tutorials on how to implement basic operators and how to implement custom operators.

I am not sure what your implementing operators refers to.
If you are referring to the compiler, the operators are either frontends, or lowering from other dialects depending on what dialects you uses. Custom operators depend on where they come from. If it is from a dialect, you can lower it HLO or Linalg, or scf we support. If it is from a language like Python or DSL, then you need a parser converting to IR presenting in HLO or any MLIR dialects.
If you are referring to binding a hand-written op implementation into runtime, you need to create a provider or register an op implementation in a provider. You can check https://github.com/bytedance/byteir/tree/main/runtime/include/brt/backends for creating a provider. For registering  an op implementation, it typically happens in a factory of a provider, taking the demo default CUDA provider as an example it happens in  https://github.com/bytedance/byteir/blob/main/runtime/lib/backends/cuda/providers/default/cuda_provider.cc.
In most use cases, if your op is generated through the compiler, you only need to register a hook op once for all generated ops.

@liwenchangbdbz   Thank you for your reply.

Hi, contributors. Please do not @ @bytedance-oss-robot in the daily development. This is used to automate the PR. issues etc. It won't notify the repo maintainers. If you need to notify maintainer, feel free to create Github teams.

Thanks for your reply, and byteir is literately misleading.


[go_router] Android OS back button not working - CastError: null route.navigatorKey.currentState

Steps to Reproduce

Execute flutter run on the code sample  on an Android device
When 'Screen A' appears, press 'View details'
Once 'Details Screen - A' appears, press the device's back button
Nothing happens

Expected results:
The current screen should've been popped and I should get back to 'Screen A'.
Actual results:
An exception is thrown, it can be noticed while running with debugger. Please see the screenshot.

Code sample
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

final GlobalKey<NavigatorState> _sectionANavigatorKey =
    GlobalKey<NavigatorState>(debugLabel: 'sectionANav');
final GlobalKey<NavigatorState> _sectionBNavigatorKey =
    GlobalKey<NavigatorState>(debugLabel: 'sectionBNav');

// This example demonstrates how to setup nested navigation using a
// BottomNavigationBar, where each tab uses its own persistent navigator, i.e.
// navigation state is maintained separately for each tab. This setup also
// enables deep linking into nested pages.
//
// This example demonstrates how to display routes within a ShellRoute using a
// `nestedNavigationBuilder`. Navigators for the tabs ('Section A' and
// 'Section B') are created via nested ShellRoutes. Note that no navigator will
// be created by the "top" ShellRoute. This example is similar to the ShellRoute
// example, but differs in that it is able to maintain the navigation state of
// each tab.

void main() {
  runApp(NestedTabNavigationExampleApp());
}

/// An example demonstrating how to use nested navigators
class NestedTabNavigationExampleApp extends StatelessWidget {
  /// Creates a NestedTabNavigationExampleApp
  NestedTabNavigationExampleApp({Key? key}) : super(key: key);

  static final List<ScaffoldWithNavBarTabItem> _tabs =
      <ScaffoldWithNavBarTabItem>[
    ScaffoldWithNavBarTabItem(
        rootRoutePath: '/a',
        navigatorKey: _sectionANavigatorKey,
        icon: const Icon(Icons.home),
        label: 'Section A'),
    ScaffoldWithNavBarTabItem(
      rootRoutePath: '/b',
      navigatorKey: _sectionBNavigatorKey,
      icon: const Icon(Icons.settings),
      label: 'Section B',
    ),
  ];

  final GoRouter _router = GoRouter(
    initialLocation: '/a',
    routes: <RouteBase>[
      /// Custom top shell route - wraps the below routes in a scaffold with
      /// a bottom tab navigator (ScaffoldWithNavBar). Note that no Navigator
      /// will be created by this top ShellRoute.
      BottomTabBarShellRoute(
        tabs: _tabs,
        routes: <RouteBase>[
          /// The screen to display as the root in the first tab of the bottom
          /// navigation bar.
          GoRoute(
            path: '/a',
            builder: (BuildContext context, GoRouterState state) =>
                const RootScreen(label: 'A', detailsPath: '/a/details'),
            routes: <RouteBase>[
              /// The details screen to display stacked on navigator of the
              /// first tab. This will cover screen A but not the application
              /// shell (bottom navigation bar).
              GoRoute(
                path: 'details',
                builder: (BuildContext context, GoRouterState state) =>
                    const DetailsScreen(label: 'A'),
              ),
            ],
          ),

          /// The screen to display as the root in the second tab of the bottom
          /// navigation bar.
          GoRoute(
            path: '/b',
            builder: (BuildContext context, GoRouterState state) =>
                const RootScreen(
                    label: 'B',
                    detailsPath: '/b/details/1',
                    detailsPath2: '/b/details/2'),
            routes: <RouteBase>[
              /// The details screen to display stacked on navigator of the
              /// second tab. This will cover screen B but not the application
              /// shell (bottom navigation bar).
              GoRoute(
                path: 'details/:param',
                builder: (BuildContext context, GoRouterState state) =>
                    DetailsScreen(label: 'B', param: state.params['param']),
              ),
            ],
          ),
        ],
      ),
    ],
  );

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      routeInformationParser: _router.routeInformationParser,
      routerDelegate: _router.routerDelegate,
      routeInformationProvider: _router.routeInformationProvider,
    );
  }
}

/// ShellRoute that uses a bottom tab navigation (ScaffoldWithNavBar) with
/// separate navigators for each tab.
///
/// NOTE: This is not an optimal implementation and should ideally be
/// implemented in go_router, although in a way that doesn't use a navigator.
/// Here is a proposed implementation:
/// https://github.com/tolo/flutter_packages/tree/nested-persistent-navigation/packages/go_router
class BottomTabBarShellRoute extends ShellRoute {
  final List<ScaffoldWithNavBarTabItem> tabs;

  BottomTabBarShellRoute({
    required this.tabs,
    GlobalKey<NavigatorState>? navigatorKey,
    List<RouteBase> routes = const <RouteBase>[],
    Key? scaffoldKey = const ValueKey('ScaffoldWithNavBar'),
  }) : super(
            navigatorKey: navigatorKey,
            routes: routes,
            builder: (context, state, Widget fauxNav) {
              return ScaffoldWithNavBar(
                  tabs: tabs,
                  key: scaffoldKey,
                  currentNavigator: fauxNav as Navigator,
                  currentRouterState: state,
                  routes: routes);
            });
}

/// Representation of a tab item in a [ScaffoldWithNavBar]
class ScaffoldWithNavBarTabItem extends BottomNavigationBarItem {
  /// Constructs an [ScaffoldWithNavBarTabItem].
  const ScaffoldWithNavBarTabItem(
      {required this.rootRoutePath,
      required this.navigatorKey,
      required Widget icon,
      String? label})
      : super(icon: icon, label: label);

  /// The initial location/path
  final String rootRoutePath;

  /// Optional navigatorKey
  final GlobalKey<NavigatorState> navigatorKey;
}

/// Builds the "shell" for the app by building a Scaffold with a
/// BottomNavigationBar, where [child] is placed in the body of the Scaffold.
class ScaffoldWithNavBar extends StatefulWidget {
  /// Constructs an [ScaffoldWithNavBar].
  const ScaffoldWithNavBar({
    required this.currentNavigator,
    required this.currentRouterState,
    required this.tabs,
    required this.routes,
    Key? key,
  }) : super(key: key ?? const ValueKey<String>('ScaffoldWithNavBar'));

  /// The navigator for the currently active tab
  final Navigator currentNavigator;

  /// The pages for the current route
  List<Page<dynamic>> get pagesForCurrentRoute => currentNavigator.pages;

  /// The current router state
  final GoRouterState currentRouterState;

  /// The tabs
  final List<ScaffoldWithNavBarTabItem> tabs;

  // The routes
  final List<RouteBase> routes;

  @override
  State<StatefulWidget> createState() => ScaffoldWithNavBarState();
}

/// State for ScaffoldWithNavBar
class ScaffoldWithNavBarState extends State<ScaffoldWithNavBar>
    with SingleTickerProviderStateMixin {
  late final AnimationController _animationController;
  late final List<_NavBarTabNavigator> _tabs;

  final PageController _controller = PageController();

  int _locationToTabIndex(String location) {
    final int index = _tabs.indexWhere(
        (_NavBarTabNavigator t) => location.startsWith(t.rootRoutePath));
    return index < 0 ? 0 : index;
  }

  int _currentIndex = 0;

  @override
  void initState() {
    super.initState();
    _tabs = widget.tabs
        .map((ScaffoldWithNavBarTabItem e) => _NavBarTabNavigator(e))
        .toList();

    _animationController = AnimationController(
        vsync: this, duration: const Duration(milliseconds: 400));
    _animationController.forward();
  }

  @override
  void didUpdateWidget(covariant ScaffoldWithNavBar oldWidget) {
    super.didUpdateWidget(oldWidget);
    _updateForCurrentTab();
  }

  @override
  void didChangeDependencies() {
    super.didChangeDependencies();
    _updateForCurrentTab();
  }

  void _updateForCurrentTab() {
    final int previousIndex = _currentIndex;
    final location = GoRouter.of(context).location;
    _currentIndex = _locationToTabIndex(location);

    final _NavBarTabNavigator tabNav = _tabs[_currentIndex];
    tabNav.pages = widget.pagesForCurrentRoute;
    tabNav.lastLocation = location;

    if (previousIndex != _currentIndex) {
      _animationController.forward(from: 0.0);
    }
  }

  @override
  void dispose() {
    _animationController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: _buildBody(context),
      bottomNavigationBar: BottomNavigationBar(
        items: _tabs
            .map((_NavBarTabNavigator e) => e.bottomNavigationTab)
            .toList(),
        currentIndex: _currentIndex,
        onTap: (int idx) {
          _onItemTapped(idx, context);
          _controller.jumpToPage(idx);
        },
      ),
    );
  }

  Widget _buildBody(BuildContext context) {
    return PageView(
        onPageChanged: (index) {
          _onItemTapped(index, context);
        },
        controller: _controller,
        children: _tabs
            .map((_NavBarTabNavigator tab) => tab.buildNavigator(context))
            .toList());
  }

  void _onItemTapped(int index, BuildContext context) {
    context.go(_tabs[index].currentLocation);
    _currentIndex = index;
  }
}

/// Class representing a tab along with its navigation logic
class _NavBarTabNavigator {
  _NavBarTabNavigator(this.bottomNavigationTab);

  final ScaffoldWithNavBarTabItem bottomNavigationTab;

  String? lastLocation;

  String get currentLocation =>
      lastLocation != null ? lastLocation! : rootRoutePath;

  String get rootRoutePath => bottomNavigationTab.rootRoutePath;

  Key? get navigatorKey => bottomNavigationTab.navigatorKey;
  List<Page<dynamic>> pages = <Page<dynamic>>[];

  Widget buildNavigator(BuildContext context) {
    if (pages.isNotEmpty) {
      return Navigator(
        key: navigatorKey,
        pages: pages,
        onPopPage: (Route<dynamic> route, dynamic result) {
          if (pages.length == 1 || !route.didPop(result)) {
            return false;
          }
          GoRouter.of(context).pop();
          return true;
        },
      );
    } else {
      return const SizedBox.shrink();
    }
  }
}

/// Widget for the root/initial pages in the bottom navigation bar.
class RootScreen extends StatelessWidget {
  /// Creates a RootScreen
  const RootScreen(
      {required this.label,
      required this.detailsPath,
      this.detailsPath2,
      Key? key})
      : super(key: key);

  /// The label
  final String label;

  /// The path to the detail page
  final String detailsPath;

  /// The path to another detail page
  final String? detailsPath2;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Tab root - $label'),
      ),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: <Widget>[
            Text('Screen $label',
                style: Theme.of(context).textTheme.titleLarge),
            const Padding(padding: EdgeInsets.all(4)),
            TextButton(
              onPressed: () {
                GoRouter.of(context).go(detailsPath);
              },
              child: const Text('View details'),
            ),
            const Padding(padding: EdgeInsets.all(4)),
            if (detailsPath2 != null)
              TextButton(
                onPressed: () {
                  GoRouter.of(context).go(detailsPath2!);
                },
                child: const Text('View more details'),
              ),
          ],
        ),
      ),
    );
  }
}

/// The details screen for either the A or B screen.
class DetailsScreen extends StatefulWidget {
  /// Constructs a [DetailsScreen].
  const DetailsScreen({
    required this.label,
    this.param,
    Key? key,
  }) : super(key: key);

  /// The label to display in the center of the screen.
  final String label;

  final String? param;

  @override
  State<StatefulWidget> createState() => DetailsScreenState();
}

/// The state for DetailsScreen
class DetailsScreenState extends State<DetailsScreen> {
  int _counter = 0;

  @override
  Widget build(BuildContext context) {
    return WillPopScope(child: Scaffold(
      appBar: AppBar(
        title: Text('Details Screen - ${widget.label}'),
      ),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: <Widget>[
            if (widget.param != null)
              Text('Parameter: ${widget.param!}',
                  style: Theme.of(context).textTheme.titleLarge),
            const Padding(padding: EdgeInsets.all(4)),
            Text('Details for ${widget.label} - Counter: $_counter',
                style: Theme.of(context).textTheme.titleLarge),
            const Padding(padding: EdgeInsets.all(4)),
            TextButton(
              onPressed: () {
                setState(() {
                  _counter++;
                });
              },
              child: const Text('Increment counter'),
            ),
          ],
        ),
      ),
    ),
    onWillPop: () async {
      debugPrint('onWillPop() executed');
      return true;
    },
    )
    ;
  }
}

Logs

Analyzing go_router_back_nav_android_sample...
No issues found! (ran in 1.3s)

[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6 21G115 darwin-arm, locale en-RO)
    • Flutter version 3.3.8 on channel stable at /Users/elena/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (6 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/elena/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.12+0-b1504.28-7817840)
    • 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.2)
    • 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.12+0-b1504.28-7817840)

[✓] Connected device (2 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 32) (emulator)
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 107.0.5304.110

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

• No issues found!

Notes:

this happens only with the PageView, I need it in order to have the nested navigators persistent and only create each screen when accessed for the first time instead of all at once / all the time as I understand it happens when using Stack
the code sample is based on this example
would be very helpful to know whether this is going to be fixed within this PR or if this could be fixed in the next couple of months so that I keep that in mind for one of my app releases

Thank you for your time & for this amazing package!

@huycozy thank you for your reply. Unfortunately, the example you provided is not persisting tab state.
For example,

open the provided sample app from your link
tap 'View A details'
you will notice the detail screen
tap 'B Screen' in bottom navigation bar
tap 'A Screen' in bottom navigation bar
you will notice the root screen from 'A Screen' tab is shown, even though it was on details last time.
Expected: to show details screen when switching back to 'A Screen'.

This is the reason why I used the nested navigation example. But unfortunately, that one creates all screens at once. To create each screen only when tapping the relevant bottom navigation bar item, I wanted to use a PageView but ran into the back button issue.
Please check.

Hi @elenacrst

Unfortunately, the example you provided is not persisting tab state.

This original issue was raised at https://github.com/flutter/flutter/issues/108044#issuecomment-1250262939 and led to https://github.com/flutter/flutter/issues/99124. As I see, it seems you are following the workaround here, right?
Also, I tried running your sample code but didn't see the crash log from the console. Can you share it here?

@huycozy yes, the workaround you mentioned is the same as the one in the link I provided https://gist.github.com/tolo/f7e6c30cad3ac76085d75255ba509f10 . I'm using it with PageView instead of a Stack and that's when the issue occurs.
The exception can't be seen in console, I could only see it when using the Debugger. Re-attaching the screenshot, please check:

Even though it's not in the console, it's still happening, I don't see any other reason for onWillPop not to get called.

@elenacrst I also can reproduce the issue when running in debugging. Labeling this issue for further investigation from the team. Thanks!

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0 22A380 darwin-x64, locale en-VN)
    • Flutter version 3.3.8 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (23 hours ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • 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.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • 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.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] 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.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • 332079AF-E895-4685-910E-7B1E18B0C6B8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 13.0 22A380 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 107.0.5304.110

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

• No issues found!

[!] Flutter (Channel master, 3.6.0-3.0.pre.48, on macOS 13.0 22A380 darwin-x64, locale en-VN)
    • Flutter version 3.6.0-3.0.pre.48 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 93c4b09e62 (15 minutes ago), 2022-11-15 18:07:50 -0800
    • Engine revision baad8f2c55
    • Dart version 2.19.0 (build 2.19.0-403.0.dev)
    • DevTools version 2.19.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.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • 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.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] 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.52.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0 22A380 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 107.0.5304.110

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

! Doctor found issues in 1 category.

The crash makes sense to me because the navigator in the shellroute is not built, You can consider fork this pr https://github.com/flutter/packages/pull/2650 to preserve navigator state if you need the functionality now. I will close this as Invalid


add event when a build references an input imagestreamtag local ref p…

…olicy and the image registry is not set on imagestream
@openshift/openshift-team-developer-experience FYI / PTAL if you have the cycles
/assign @bparees
@bparees - this is the attempt to add some non-intrusive / fairly qualified debug data around builds referencing imagestreams via local policy refs as part of their input before the image registry URL is available so that pullthrough can occur
re: https://bugzilla.redhat.com/show_bug.cgi?id=1721380#c11 and https://bugzilla.redhat.com/show_bug.cgi?id=1721380#c13

/approve
one nit and lgtm

suggested commit accepted and squashed @bparees PTAL

/lgtm

/retest


Uncaught Error: dlopen(~/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app.asar.unpacked/node_m...

[Enter steps to reproduce:]

Selected a line
Tried to copy with the keyboard

Atom: 1.58.0 x64
Electron: 9.4.4
OS: macOS 12.0.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: dlopen(/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (no such file), '/usr/lib/keyboard-layout-manager.node' (no such file)
At electron/js2c/asar.js:140

Error: dlopen(/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (no such file), '/usr/lib/keyboard-layout-manager.node' (no such file)
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:1:756278)
    at get_KeyboardLayoutManager (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:14:2894476)
    at get_manager (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:14:2894578)
    at Object.getCurrentKeyboardLayout (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:14:2894704)
    at e.keystrokeForKeyboardEvent (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:14:1119649)
    at KeymapManager.keystrokeForKeyboardEvent (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:11:1224825)
    at KeymapManager.handleKeyboardEvent (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:11:1222810)
    at WindowEventHandler.handleDocumentKeyEvent (/Users/aekwere/Desktop/Akan Ekwere/Atom.app/Contents/Resources/app/static/<embedded>:11:286651)

Commands
     -0:17.8.0 core:copy (input.hidden-input)

Non-Core Packages

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/21285. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Example code for autocomplete gif  used in read me

Thanks for fixing up that bug, it's working great now. Do you, or do you plan to, have a version with autocomplete functionality like in the preview gif used in the read me?

@jonthomp I don't know the project will be updated with a sample project like the one shown in the GIF, but you can use the tokenField:didChangeText delegate method to get the current state of the input field. Using the text parameter of the aforementioned method, you can filter a view.
(Please correct me if I’m wrong — that’s how I think the app was implemented.)

Auto-complete is a little out of scope for VENTokenField, but as @davidbarsky suggested, you can hook into the tokenField:didChangeText: method if you implement your own autocomplete form. :octocat:


Short word for @update:model-value

What problem does this feature solve?
@update:model-value used many time and can be used instead of creating watch function so it will be pretty if their is short word instead of a long word.
some suggestions
1-$u (as $ can be used as short  syntax for v-model so we can add u character  to it to  inform as update $)
2-@$
3-@::
What does the proposed API look like?
make syntax more clean with short code

https://vue-macros.sxzz.moe/macros/short-vmodel.html

https://github.com/vuejs/core/pull/8018

I mean short word for @update:model-value not v-model

#8018

I mean short word for https://github.com/update:model-value not v-model

<script lang="ts" setup>
const text = defineModel<string>({ default: '' });
</script>

<template>
  <input v-model="text" />
</template>

<script lang="ts" setup>
import { ref } from 'vue';

import TextField from '~/components/TextField.vue';

const val = ref('');
</script>

<template>
  <TextField v-model="val" />
</template>

<script lang="ts" setup>
const modelValue = defineModel<string>({ default: '' });
</script>

<template>
  <input v-model="modelValue" />
</template>

<script lang="ts" setup>
import { ref } from 'vue';

import TextField from '~/components/TextField.vue';

const val = ref('');
</script>

<template>
  <TextField v-model="val" />
  {{ val }}
</template>

Thank you but you  have misconceptions about what i want. i will try describe in details
You know in vue 3.3 new macros was released from this macros  short v-model syntax you can write $ or ::  instead of v-model  okay.
What i taking about is introduce short syntax also for update model event which triggered when model value changed to be
@$ or @:: instead of @update:model-value.


Documentation effort needed before release 0.92

Documentation must be reviewed to add :

New authentication schemes
usage of pyhaystack.connect() or get_instance
usage of new mixins
usage of session.site vs session.sites
how to pass a certificate for https connections
how to use a JSON or YAML file to log (pass it to get_instance)
any other point forgot here

I consider it done for now


bump docker action version

No relevant changes for us, I think
closes #1005

oop, that was wrong.


fix: remove unnecessary title attributes from datagrid

Closes #5351
this PR removes a bunch of unnecessary title attributes that were strung throughout the Datagrid component that was causing accessibility issues. current documentation tells us there's only a few valid instances in which to use title and none of the instances here meet the criteria.

Outside of potential uses on input elements, there are notable instances where the title is the recommended attribute for accessibility user experiences.

@matthewgallo thanks for catching that title issue. i went ahead and reverted that commit and only removed instances related to title.
i also added an additional small fix that adds role: undefined to cells and rows to alleviate violations that were showing up in the accessibility checker while testing

took us down from 209 to 59 violations. progress 😅

the last commit i added removed some additional problematic roles. this gets our violation count down to 32 💪

actually went ahead and addressed #4032 in the last commit because the fix was basically the same