SliverPersistentHeader with floating does not respect constraints.overlap

Steps to reproduce

Start with a CustomScrollView
Add a pinned header to the top
Add a floating header directly below
Add some more content.
Scroll up and down

Expected results
It is expected that when the floating header is shown, it respects the overlap of the pinned header above.
https://share.cleanshot.com/NzPVhS4L
Actual results
As the floating header is shown, you will see it is hidden by the pinned header above.
https://share.cleanshot.com/tZNmLvkl
Code sample
Code sample
import 'package:flutter/material.dart';

class FloatingHeaderExample extends StatelessWidget {
  const FloatingHeaderExample({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: SafeArea(
        child: CustomScrollView(
          slivers: [
            SliverPersistentHeader(
              pinned: true,
              delegate: _SliverAppBarDelegate(
                height: 50,
                child: Container(
                  color: Colors.red,
                  child: Center(child: Text('PINNED')),
                ),
              ),
            ),
            SliverPersistentHeader(
              floating: true,
              delegate: _SliverAppBarDelegate(
                height: 80,
                child: Container(
                  color: Colors.green,
                  child: Center(child: Text('FLOATING')),
                ),
              ),
            ),
            SliverToBoxAdapter(
              child: Container(
                height: 1000,
                decoration: BoxDecoration(
                  gradient: LinearGradient(
                    colors: [
                      Colors.grey.shade900,
                      Colors.grey.shade500,
                    ],
                    begin: Alignment.topCenter,
                    end: Alignment.bottomCenter,
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

class _SliverAppBarDelegate extends SliverPersistentHeaderDelegate {
  _SliverAppBarDelegate({
    required this.height,
    required this.child,
  });

  final double height;
  final Widget child;

  @override
  double get minExtent => height;
  @override
  double get maxExtent => height;

  @override
  Widget build(
      BuildContext context, double shrinkOffset, bool overlapsContent) {
    return child;
  }

  @override
  bool shouldRebuild(_SliverAppBarDelegate oldDelegate) {
    return height != oldDelegate.height || child != oldDelegate.child;
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://share.cleanshot.com/tZNmLvkl

Logs
No response
Flutter Doctor output
Doctor output
flutter doctor -v
[✓] Flutter (Channel master, 3.21.0-14.0.pre.2, on macOS 14.4.1
    23E224 darwin-arm64, locale en-AU)
    • Flutter version 3.21.0-14.0.pre.2 on channel master at
      /Users/kanewickman/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d8854fd898 (4 weeks ago), 2024-03-23
      22:03:12 -0400
    • Engine revision 2f5afdf623
    • Dart version 3.4.0 (build 3.4.0-267.0.dev)
    • DevTools version 2.34.0-dev.12

[✓] Android toolchain - develop for Android devices (Android SDK
    version 34.0.0)
    • Android SDK at /Users/kanewickman/Library/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/kanewickman/Library/Android/Sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.13.0

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

[✓] Android Studio (version 2023.1)
    • 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
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.86.0-insider)
    • VS Code at /Applications/Visual Studio Code -
      Insiders.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (5 available)
    • Kane's iPhone (mobile)          • 00008130-000925A921F2001C
      • ios            • iOS 17.4.1 21E236
    • iPhone 15 (mobile)              •
      05708B14-B0F9-41DA-A04C-F584FAB266D6 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)                 • macos
      • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad
      • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome
      • web-javascript • Google Chrome 123.0.6312.124

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thank you for the report. I also see the same issue as reported.

Demo of sample code
https://github.com/flutter/flutter/assets/104349824/57153ed8-bc89-4602-b9a9-0e1e1ccd897d

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (31 hours ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.124

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.22.0-14.0.pre.67, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.0-14.0.pre.67 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 1a905d508d (17 hours ago), 2024-04-21 06:44:23 -0400
    • Engine revision 75ca2195c9
    • Dart version 3.5.0 (build 3.5.0-83.0.dev)
    • DevTools version 2.35.0-dev.8
    • 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 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 124.0.6367.60

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I think this is the same issue as https://github.com/flutter/flutter/issues/26667, can you take a look @k-ane?


⚠ Site ANTS has degraded performance

In 68b4357, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 16106 ms

Resolved: Site ANTS performance has improved in d1af50e after 56 minutes.


greetingcard.cc

I have a very similar Pythonic solution to greeting card (https://open.kattis.com/problems/greetingcard) by hardcoding the only possible situations where pairs of points are exactly 2018 units apart. However, my solution failed with a "TLE" message failing on the 5/11 test case and I just couldn't figure out why.
Is your solution able to successful pass all the test cases on Kattis?
T = int(input())

lattice = []
for _ in range(T):
    x, y = map(int, input().split())
    lattice.append((x, y))

count = 0
for index in range(len(lattice)):
    cur_x = lattice[index][0]
    cur_y = lattice[index][1]
    for jndex in range(index, len(lattice)):

        nex_x = lattice[jndex][0]
        nex_y = lattice[jndex][1]

        if ((cur_x + 2018 == nex_x and cur_y == nex_y) or
        (cur_x - 2018 == nex_x and cur_y == nex_y) or
        (cur_x == nex_x and cur_y + 2018 == nex_y) or
        (cur_x == nex_x and cur_y - 2018 == nex_y) or
        # more
        (cur_x + 1118 == nex_x and cur_y + 1680 == nex_y) or
        (cur_x + 1118 == nex_x and cur_y - 1680 == nex_y) or
        (cur_x - 1118 == nex_x and cur_y + 1680 == nex_y) or
        (cur_x - 1118 == nex_x and cur_y - 1680 == nex_y) or
        # more
        (cur_x + 1680 == nex_x and cur_y + 1118 == nex_y) or
        (cur_x + 1680 == nex_x and cur_y - 1118 == nex_y) or
        (cur_x - 1680 == nex_x and cur_y + 1118 == nex_y) or
        (cur_x - 1680 == nex_x and cur_y - 1118 == nex_y)):
            count += 1
print(count)

Yes, my solution is AC on kattis. Your solution seems different though, its complexity is O(N^2) instead of O(N log N).


feat: allow dev users to see all token kebab options [2/n]

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3933

PR #3934   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


1.8: Fixed safety issues from 2023-08-27

coverage: 33.944%. first build when pulling d7d682e8362bbe7f51a6f5d1c123da87c49af7b7 on 1.8/andy/safety-2023-08-27 into 520b26b0313c6200d9bdb28f6aa97d288f28e08c on stable_1.8.


Add groupings key to stats (similar to old categories)

Nested structure should include a new key for each item to specify a parent (which would be concatenated together) to generate a grouping id.

I'm going to include api support for n-level groupBy in this issue, though I'll leave the UI implementation as is for now.

Makes sense
On Fri, Sep 1, 2023, 1:39 PM Will Guter @.***> wrote:

I'm going to include api support for n-level groupBy in this issue, though
I'll leave the UI implementation as is for now.
—
Reply to this email directly, view it on GitHub
https://github.com/MIT-CAVE/cave_static/issues/323#issuecomment-1703107173,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3ICW22SN5AC4Y64JA52NDXYIMWPANCNFSM6AAAAAA4GBDLZ4
.
You are receiving this because you authored the thread.Message ID:
@.***>


PKCS12_parse can fail on structure from PKCS12_create_ex

PKCS12_create_ex allows creating a PKCS12 structure with a library context and/or property query. Similarly, PKCS12_init_ex will also set them.
However, PKCS12_parse in crypto/pkcs12/p12_kiss.c can fail to parse that structure because parse_bag calls PKCS12_decrypt_skey for shrouded key bags instead of PKCS12_decrypt_skey_ex with the appropriate library context and property query.
This means that skey decrypt will always use the default ctx/propq for PKCS8 decryption, not what was set on the PCKS12 structure. If, for example, the default context doesn't have the legacy provider loaded or is in FIPS mode, then parsing can fail.
For context, PKCS7 functions retrieve the library context from pkcs12->authsafes->ctx.libctx. Since the affected routines are all internal, one solution would be to retrieve the ctx/propq and send them down to parse_bags and parse_bag and call PKCS12_decrypt_skey_ex for case NID_pkcs8ShroudedKeyBag.

In that sequence, d2i_PKCS12_bio will call ASN1_item_d2i_bio which calls ASN1_item_d2i_bio_ex with libxtx/propq NULL.
You can use ASN1_item_d2i_bio_ex(ASN1_ITEM_rptr(PKCS12), bio, &p12, libctx, propq); directly.
But that will still fail on a shrouded key bag as the libctx/propq are overridden with NULL in the PKCS12_decrypt_skey call.
I ran a test and verified that it does indeed fail when the default library context is set to FIPS and the shrouded key bag contains non-FIPS encryption and that it succeeds when the default library context allows that encryption. Any PKCS7 elements use the libctx/propq settings; when legacy encryption is required they work as expected when libctx contains the legacy provider. It's just the PKCS8 elements.

There is not a single reference to the libctx in the _kiss file..
Some of the interfaces were extended to pass a libctx, so that would be required here..
For some reason this struct got the libctx added to it, but it wasnt done for the p12 ctx..
typedef struct PKCS7_CTX_st {
    OSSL_LIB_CTX *libctx;
    char *propq;
} PKCS7_CTX;

There is a libctx function that you can set temporarily and set back after the call to 'work around' this kind of issue..

Refer to the documentation for  OSSL_LIB_CTX_set0_default()


problem with 'emitWithAckWith' function

I am encountering an issue with socket.ios.ts, I keep getting this error TypeError: this.socket.emitWithAckWith is not a function. (In 'this.socket.emitWithAckWith(event, payload)', 'this.socket.emitWithAckWith' is undefined).
Nativescript-socketio is the  last available version (3.3.1) and ios is 14.6.

CLI: 7.2.0

Any help would be greatly welcomed !

Have you tried @triniwiz/nativescript-socketio ?

yes, that is specifically what i am using

yes, that is specifically what i am using

Was wondering because you mentioned "Nativescript-socketio is the last available version (3.3.1)"

Yeah, I just realized the latest version according to your repo is not the same one than on the npm module linked to it (https://www.npmjs.com/package/nativescript-socketio) ; hence this 'mistake'.
Could this have a link with my mistake ?

That version is correct this repo is currently for {N} v6 only, newer releases can be found here

Yes, I am precisely working with {N} v6 (6.5.4 to be exact)

Ah okay you can still try the @triniwiz version it should just work since on the older version

Okay I'll try to take a look at it and come back to you ! Thanks for your fast answer anyway !!

Hi ! Sorry to bother you again ; how can I use your new release into my project ? Should I clone it and then build it ?

You need to install @triniwiz/nativescript-socketio an switch the imports to that

Indeed, thanks a lot for your help :) !


operator: initial version with gpu and qat controllers

I tested the operator and its webhooks with Kind. Surprisingly the webhook setup just works with cert-manager enabled (no need to generate certificates manually).
For some reason I had to reset github actions' cache of the vendor directory. Somehow it missed one of the dependencies (k8s.io/apimachinery/pkg/util/version). If you know how to reset the cache manually, then please do and I'll drop the deleteme commit.

Codecov Report

Merging #376 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #376   +/-   ##
=======================================
  Coverage   58.94%   58.94%
=======================================
  Files          26       26
  Lines        2426     2426
=======================================
  Hits         1430     1430
  Misses        938      938
  Partials       58       58

Continue to review full report at Codecov.

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

@kad @bart0sh OK to merge?

/lgtm


Sample app including rendering

A relatively "bare C++"/OpenGL example that includes rendering would be useful, for those who aren't using a game engine, or who are using a game engine/scenegraph without existing VR support or an integration.
Some of the Leap Motion examples use the "Cinder" framework (primarily BSD licensed - includes Boost which is of course BSL), which might be a useful path to follow to keep the boilerplate of cross-platform OpenGL setup out of the way of the actual example.
see:

http://libcinder.org/
https://github.com/leapmotion-examples/VRIntro/blob/master/cmake-module/FindCinder.cmake

It was pretty quick to get the distortionizer and latency meter running using Qt.  The distortionizer does two eyes, currently hard-coded.  Extending it to parse the various config files could be straightforward.

I think the distortionizer already supports the config files.
From: Russell Taylor<EMAIL_ADDRESS>Sent: Thursday, March 12, 2015 8:29 PM
To: OSVR/OSVR-Core
Subject: Re: [OSVR-Core] Sample app including rendering (#66)
It was pretty quick to get the distortionizer and latency meter running using Qt. The distortionizer does two eyes, currently hard-coded. Extending it to parse the various config files could be straightforward.
—
Reply to this email directly or view it on GitHub https://github.com/OSVR/OSVR-Core/issues/66#issuecomment-78714652 .  https://github.com/notifications/beacon/AIqiI9cYSTI2WKYvbLZqDmcXzaLk9W89ks5n0ibIgaJpZM4Dt4Ix.gif

The most commonplace crossplatform bare-bones toolkit I've seen in use everywhere is SDL, for OpenGL rendering. Something that draws a cube or two, perhaps a simple game (that ideally could render on obscenely low-spec machines) would be ideal.

We have that since the displayconfig api got merged in - SDL examples.


New command fails with error: System.ArgumentNullException: Value cannot be null. (Parameter 'source')

Brief description of your issue
I was trying out wingetcreate for the first time so I might be messing this up due to lack of knowledge, but when I ran the new command with the url of the zip file I wanted to package up, i got the error
Steps to reproduce
wingetcreate version = <IP_ADDRESS>
> wingetcreate new --out ~\Source\wingetcreate 'https://github.com/martinvonz/jj/releases/download/v0.8.0/jj-v0.8.0-x86_64-pc-windows-msvc.zip'
Expected behavior
Not sure, still a noob at this, but I figure it should download the file and move on to the next step
Actual behavior
❯ wingetcreate new --out ~\Source\wingetcreate 'https://github.com/martinvonz/jj/releases/download/v0.8.0/jj-v0.8.0-x86_64-pc-windows-msvc.zip'
Downloading and parsing: https://github.com/martinvonz/jj/releases/download/v0.8.0/jj-v0.8.0-x86_64-pc-windows-msvc.zip...
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Microsoft.WingetCreateCore.PackageParser.ParsePackageAndGenerateInstallerNodes(InstallerMetadata installerMetadata, Manifests manifests)
   at Microsoft.WingetCreateCore.PackageParser.ParsePackage(InstallerMetadata installerMetadata, Manifests manifests)
   at Microsoft.WingetCreateCore.PackageParser.ParsePackages(List`1 installerMetadataList, Manifests manifests)
   at Microsoft.WingetCreateCLI.Commands.NewCommand.Execute()
   at Microsoft.WingetCreateCLI.Program.Main(String[] args)

Environment
❯ wingetcreate --help
Windows Package Manager Manifest Creator v<IP_ADDRESS>

Copyright (c) Microsoft Corporation. All rights reserved.

The manifest creation command line utility generates manifest for submitting
apps to the Windows Package Manager repo.

  new         Launches a series of questions to help generate a new manifest
  update      Updates fields of an existing manifest
  submit      Submits a valid manifest directly to the Windows Package Manager repo
  settings    Open settings
  token       Modifies the GitHub auth token cache
  cache       Manage downloaded installers stored in cache

More help can be found at: https://aka.ms/winget-create
Privacy statement: https://aka.ms/privacy

~
❯ winget --info
Windows Package Manager v1.5.1881
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2134
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1881.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

This is a known error in <IP_ADDRESS> and will be fixed by PR

#434

In the meantime, you can use an older version of winget-create to generate the manifest

thanks @mdanish-kh


http_client verify server certificate

Hello, this is a question. I have 2 vms and they are establishing a connection with http_server and http_server.
Scripts:
./http_server -c www.example.com,key_crt.pem,key_srv.pem -s {server_ip}:4433 -p /'
./http_client  -H www.example.com -s {serverIP}:4433 -p /'
I realised that the client is not verifying the server certificate with CA certificate. So, I modified the client script to:
./http_client -C key_CA.pem -H www.example.com -s {serverIP}:4433 -p /'
Unfortunately, that did not work as I gave it an invalid CA cert to verify and that also established a connection. Is there another way to verify the server cert on the client side?

Hello, sorry to bother you again. Could I please get an example of verify at client?


Fix crash inside JSX Closing tag

Fix issue #5953 by giving its associated opening tag. Initially, the PR tried to address preventing adding the global symbols that is not in jSX into the opening tag. However, doing so cause some inconsistent so the change is rolled back.

After some though, I've realized that this sort of thing is potentially obstructive to the way that users might write code. For instance, let's say I have
var x =

    </

Let's say I'm actually simply intent on closing my div element. I'm going to try to come back to my span element later, but you're giving no suggestions to me. Now that impedes the flow as I type, expecting to be completed by div.
I think you should consider giving completions for all containing open tags who don't have an appropriate corresponding closing tag. That means that for:

  </ span

It might be the case that the a is considered closed, but its matching closing tag is span. That means a probably still needs to be closed, so you should show it in the completion list. That also means that div and span also lack a matching tag ( gets closed with
, and
 is unclosed).
We should discuss this a bit tomorrow.

Let's say I'm actually simply intent on closing my div element

This seems like an odd state to be in.
@bowdenk7 - Maybe we can get some people writing JSX in our next usability study so we can see what order people actually go in. That could be very informative.

@DanielRosenwasser yes. I don't think I got what you trying to say in the last part of the comment
and I agree with @RyanCavanaugh it is odd to come back to close the tag later. I can see more that you want to come back and type between tags.
Also to clarify, this behavior is only when you don't have react.d.ts.

We only show the closing tag element when you don't have a valid JSX namespace? That seems fine then. I'm mainly trying to avoid a scenario where you have someone with extremely weird typing habits (like myself) where they end up fighting the editor.

@DanielRosenwasser yep, this behavior is only trigger when we don't have valid JSX name.

@DanielRosenwasser @RyanCavanaugh @sandersn Any more comments?

We're exposing this in our API, so we should discuss this with @mhegazy in a meeting, but other than that :+1:

:+1:


LSP server failed to start: [info] (icn) Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

Description
LSP server failed to start due to this package pg or its dependencies missing
Ruby LSP. vscode. :   v0.5.21
ruby-lsp -v   :           0.16.6
the error form output as below:

I have export as its instructed but no luck:
brew install libpq
export export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libpq/include"

# then start vscode using code .

Thank you for the bug report. We released v0.7.0 with a few ASDF related fixes. Can you please try it and let us know if you find any issues?


Enhanced ScrollTop Button Functionality

Enhanced ScrollTop Button Functionality
Closes #1162

Sets the initial visibility of the scrollTop button to hidden, improving the overall user interface by reducing clutter.
The button becomes visible only after scrolling down more than 100 pixels, enhancing usability and encouraging seamless navigation back to the top.

@aditya-bhaumik
Pls assign me, give me labels like gssoc-extd and level.

@aditya-bhaumik Pls check and merge my PR.

@aditya-bhaumik
Pls review and merge my PR.

@Apoorva57 Pls review and merge this.

@aditya-bhaumik @Apoorva57 Pls check and merge my PR.

@aditya-bhaumik Pls check and merge my PR.


Map 'phone' to 'phoneNumber'

Map "phone" in Segment to "phoneNumber" for Iterable

mind taking a look when you get the chance @f2prateek ?

@dontgitit thanks for the PR. I think you can accomplish this by doing this on line 33:
var traits = traverse(identify.traits({ phone: 'phoneNumber' }));

.traits() function takes an alias object. I think that keeps it pretty clean.

thanks for the tip @hankim813 , let me try that out

works! much nicer, I agree!

LGTM


Added table containing Jaejin's SQL command

Resolved merge conflicts on Manager's GUI! Everything looks good!


chore(react-query-next-experimental): remove package

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.40%. Comparing base (f10fc35) to head (f9b0b07).

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1281      +/-   ##
==========================================
+ Coverage   68.77%   75.40%   +6.62%
==========================================
  Files          71       68       -3
  Lines         679      614      -65
  Branches      159      144      -15
==========================================
- Hits          467      463       -4
+ Misses        189      141      -48
+ Partials       23       10      -13

Components
Coverage Δ

@suspensive/utils
47.16% <ø> (ø)

@suspensive/react
100.00% <ø> (ø)

@suspensive/react-dom
96.66% <ø> (ø)

@suspensive/react-native
100.00% <ø> (ø)

@suspensive/react-query
72.09% <ø> (ø)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/jotai
0.00% <ø> (ø)


snowflake stage name location format bug fix

Hi how are you,
I would like to add this fix on snowflake to support a specific location of a snowflake stage name definition that include database dot schema dot stage name for external table definition.

relesed in version 1.0.4


Fused types ordering behaves different in pure Python mode

Cython normally attempts to resolve fused types in order. Therefore
cdef fused FusedType:
    SomeCdefClass
    object

will pick a specialization for SomeCdefClass first, even though SomeCdefClass is also an `object. In Pure Python mode this is lost somehow. See test-cases below.
Working .pyx version
import cython

cdef fused FT:
    C  # C should be used in preference
    object

cdef class C:
    pass

def f(FT x):
    """
    >>> f(C())  # C picked in preference to object
    C
    """
    print(cython.typeof(x))

pure version - BROKEN
import cython

# C appears first so should be used in preference
# "C" is a string so it's valid in Python. However, using non-string doesn't change results
FT = cython.fused_type("C", object)
FT2 = cython.fused_type("C", int)

@cython.cclass
class C:
    pass

@cython.locals(x = FT)
def f(x):
    """
    >>> f(C())  # FAILS - returns object
    C
    """
    print(cython.typeof(x))

@cython.locals(x = FT2)
def g(x):
    """
    >>> g(C())  # so C is recognised, just not in preference to object
    C
    """
    print(cython.typeof(x))

I don't really know where this is going wrong, but the arguments appear to be passed into the constructor of PyrexTypes.FusedType in the right order.

This is looking like a bug I introduced in https://github.com/cython/cython/pull/3391/files#diff-4befc14b337ab1321460ed046735be7dR1684 .... working on how to fix it but the source is at least identified


Support export default const

TypeScript Version:  2.4.0 / nightly (2.5.0-dev.201xxxxx)
2.6.0-dev.20170921
Code
export default const a = 'a';

Expected behavior:
Compile succ
Actual behavior:
Compile error

This is actually not currently supported by the ECMAScript specification.
currently, export default may only be combined with declaration the various declaration forms for class and function.
There was a fair amount of discussion about this a while ago on https://esdiscuss.org. I'll try to find the thread and link it.

Hear is the thread, it dates to 2013 and covered  the topic in depth. https://esdiscuss.org/topic/why-is-export-default-var-a-1-invalid-syntax

We recommend taking these features to TC39 instead.

What about enums? export default enum is fine, but export default const enum doesn't work.

@TedDriggs , Please see https://github.com/Microsoft/TypeScript/issues/3792#issuecomment-303526468

For others having the same problem:
You can just do it like that:
export const a = 5;
export default a;

The issue is that the syntax could be ambiguous, that's why anything link export default const a = 5; won't work. Example:
export default const a = 5, b = 5, c = 5;

Read more here, as @aluanhaddad already pointed out: https://esdiscuss.org/topic/why-is-export-default-var-a-1-invalid-syntax


Xtreme Codes streams do not work

Hi there. Channels with no extension such as Xtream Codes do not work.
Example http://<IP_ADDRESS>:22461/email/password/28268
They work in most players such as VLC, Kodi and the Android players Perfect Player and Smarters.
Could you please look into this?

Use HLS line from Xtream and it will work. I faced problems with MPEGTS lines, but with HLS it's perfectly fine.

Thank you. That did it!


The data reload mechanism wasn't being handle properly

Here is the result when I made several clicks on Refresh button at the top left.

Fixed please help check it again
Thank you


frame_rate query

I just want to know if my video is 25 fps and I am running VoTT at 1fps, is it skipping the other 24 frames or just playing them after?

It's sampling the first of every 25 frames


Add tests

I would like to add tests for the app. Kindly assign.

Hi, feel free to choose a bug and submit a PR with tests.


request: configuration option to enable multiple invenio instances to share an elasticsearch instance

It is easy to configure multiple invenio instances to share the same PostgreSQL and Redis servers, by separating their data with different postgres roles / redis URLs. However, this is not currently possible with ElasticSearch as it lacks any sort of namespacing, and index names will collide if you point 2 invenio instances at the same elasticsearch instance.
We are trying to work around this by manually specifying different index names for each instance, however this is fiddily.
Would it be possible to add an invenio-search configuration option that specifies a (unique) prefix to be used by a particular invenio instance? Or is there a better way to do this?

This could be done with prefixes, allowing then to use cern hosted elasticsearch too right?


Showing fields on specific condition

Hello.
I want to show some fields depending on attributes of user who logged in.
Currently, I use this code to show specific fields on condition:
    update do
    include_all_fields
       field :my_field do
            render do
                 if bindings[:view]._current_user._type == 'Owner'
                    bindings[:view].render :partial => "rails_admin/main/#{partial}", :locals => {:field => self, :form => bindings[:form] }
            else
                 ''
            end
         end
       end
    end

This gives me some errors on javascript console and has longer loading time when I open that page.
Is there more "elegant" solution for solving this problem?

I'm also looking for a good solution to this problem. In my case I want to display a field based on the controller.
In your case I think you can use bindings[:view].controller.current_user.
Right now I have something like this, but its not a very elegant solution.
edit do
  field :key do
    read_only do
      if bindings[:form].options.key? :parent_builder
        bindings[:form].options[:parent_builder].options[:as] == 'model_name'
      else
        false
      end
    end
  end
end

@yourivdlans this gem is too far from having version 1.0 :).

Word :)


suggestions for Calendar.js

Hello,
I am impressed by your Calendar.js project, especially how you handle repeating events.
As far as I can see, it is not possible to change one item from a repeating event like in Google agenda.
There you have the possibility to edit or delete an item, and you are prompted if you want this edit for
A - this event on that particular date only,
B - or for all these events,
C - or these events in the future.
One way to implement A would be that a not-repeating copy is made, for the chosen date only, and maintain an array or hash in the repeating event where the repeating event must not be shown
Implementing B is not too difficult, I guess the implementation is already there.
C would need a creation of a new repeating event (including the exception array from the original) and terminate the original repeating event.
Regards,
Willem Vermin

Hi Willem,
This is actually planned for the next version, but have taken a small break from the project, as I was releasing new versions every 4/5 days.
Thank you for your feedback.
Will

Great!
Willem
Op ma 12 apr. 2021 17:23 schreef William Troup @.***>:

Hi Willem,
This is actually planned for the next version, but have taken a small
break from the project, as I was releasing new versions every 4/5 days.
Thank you for your feedback.
Will
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/williamtroup/Calendar.js/issues/24#issuecomment-817902385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALUKUZOL5ZYMVMQL5RVA5DTIMF6LANCNFSM42ZL4SFQ
.

OK, thanks!

Hello,
I am impressed by your Calendar.js project, especially how you handle repeating events.
As far as I can see, it is not possible to change one item from a repeating event like in Google agenda. There you have the possibility to edit or delete an item, and you are prompted if you want this edit for
A - this event on that particular date only, B - or for all these events, C - or these events in the future.
One way to implement A would be that a not-repeating copy is made, for the chosen date only, and maintain an array or hash in the repeating event where the repeating event must not be shown
Implementing B is not too difficult, I guess the implementation is already there.
C would need a creation of a new repeating event (including the exception array from the original) and terminate the original repeating event.
Regards,
Willem Vermin

Updating repeating events was done in v2.8.0.  I went with option B and C.
Thanks


The get_block/get_lock_by_number rpc method does not support passing parameters verbosity/with_cycles

Version：V2.1.1
Script：The get_block/get_lock_by_number rpc method does not support passing parameters verbosity/with_cycles
ScreenShot：

fixed by #200


caseSenstive removed from URLManager ;(

Hi,
I wanted to make my URL's case insensitive, Googled it and in many posts there was a property "caseSenstive", but if I try to use it with Yii 2, I get "Setting unknown property: yii\web\UrlManager::caseSensitive".
Is there now another possibility?
Kind regards

Bad!

Not bad


Datepicker CSS

The datepicker doesn't bundle up the .less file it was importing, and it needs to be manually linked to by projects using it.  I removed the import less file from datepicker, moved the css (because it's not a less file) to /public so it's easier to find.  Also included it in the /docs template.
I'm open to better ways to do this, but this is better than what's there now.

Do we know why it isn't bundling?
I'm fine with reviewing and merging it, I'm just curious.

Well, previously I'd just done an "import './datepicker.less'" thinking it would just pull those styles into the JS and the user importing the component wouldn't need to do anything else.  After doing some reading, it seems like it only will do that if you import styles to an object, like "import styles from './datepicker.less'" and then using styles.classname to apply them to your component.
I don't think I can do that in this case since the styles are being used by the underlying react-datepicker component that I'm wrapping.  It seems like something there ought to be a clever way around, but I can't think of one at the moment.

I can't really think of a good solution to that either at the moment. I think this will be fine until something better can be done.
If you want to update the version and the docs, I'll merge it in.

Done. Thanks!


Password recovery

Password Recovery
Big PR for a tricky feature. The goal here was to make it so that when a user requests a password reset (by clicking forgot password), they're sent an email with a link which they click, which automatically brings them to our bespoke password reset interface.
Backend
Added a new endpoint ("callable") named initiatePasswordRecovery. This endpoint consumes an email address, updates the associated user document to have a field called passwordResetRequested set to true, and sends a password recovery email with an email sign-in link.
Frontend
The bulk of the complexity in this feature comes in the frontend state management. The naive implementation of this feature is to pop up the ChangePasswordModal for any user that's signed in and has props.store.data.user.passwordResetRequested === true. However the problem with this implementation is that it opens the legitimate user up to getting locked out of their account, by a malicious actor who simply incessantly requests password resets with the legitimate user's email address. By necessity, initiatePasswordRecovery can be called by unauthenticated users.
To account for this, we instead check for that both props.store.data.user.passwordResetRequested === true and that the user signed in via the email link before popping up the ChangePasswordModal. This ensures that the user actually actively clicked the link in the password recovery email, which we're taking to mean that they indeed do want a password reset. If the password reset was a mistake, or requested by another person, they can simply delete the email and continue signing in to the app as normal.
See trySignInWithEmailLink in Login.js as a jumping off point for how we handle this.
Other substantial changes are in ChangePasswordModal.js and the store. I moved all the direct firebase calls from ChangePasswordModal.js into functions in the store (we should stick to this paradigm as much as possible in general). I also eliminated some of the complexity associated with error handling -- now, if we encounter a Firebase error we just ask the user to retry . This eliminates the difficulty of testing states associated with specific errors (like 'auth/requires-recent-login'). It additionally makes it much simpler to use this same ChangePasswordModal.js component for all of the different password changes (firstTimeUser/recovery/change), without having to design and maintain tricky component state logic.
closes https://github.com/covid19risk/permission-portal/issues/243

Walking through the workflow at a high level makes sense and no red flags jump out at me.
I did, however, attempt to reset my password within the dev Firebase and got a 'insufficient permissions' error message in the console. See video here showing this. Any ideas why this would happen to a typical user @ibeckermayer ? (the user is my covidwatch email address). The error message points to the function onSnapshot defined in model.js.
Coming up to speed a bit here having not been too involved in email password set up workflow.

Yes, that's https://github.com/covid19risk/permission-portal/issues/227.


Add blog post remote-output-service.

cc @EdSchouten

Reviewers: I don't have write permission, please merge it when you think it's ready.


REQUEST: set custom class for dates

It would be very nice to be able to apply custom classes to specific dates or date ranges. I imagine something like  picker.set('class', 'customClassName', [1,3,5] );
For example, an appointment booking system for a hairdresser, being able to differentiate between a date with no available appointments, and a date where the salon is closed would be very useful.

Bump any update on this request/todo?

Bump again :) any news?

+1

I can't find anything for this feature in the documentation. Is this still a feature?

See https://github.com/siassaj/pickadate.js/commit/0fd753eed3b9d197839c1ad159b211a3cd4daa89

@DanielRuf I tried implementing it using this and the class isn't being added to the specified date:
dateClasses: {
  'picker__day--booking-departure': [
    '26/04/2018',
  ],
},

Is that format correct?

I'm running 3.5.6. I just checked the source code for picker.date.js on this version and the dateClasses functionality isn't there. Unless it's somewhere else I'm unaware of?

Sorry, the mentioned change is just in a fork. Do you want to provide a PR?

But we have settings.klass

See http://amsul.ca/pickadate.js/date/#options

Also we are still on 3.5. So there is no further implementation. PRs are welcome.

hi,
my workaround to this is to hook up onSet and check vs. a given timestamp array:
...
    onSet: function (obj) {

		// timestamps = [val1,val2,...] filled by backend

		$('.picker__day').each(function() {
			var ts = $(this).data('pick')

			if(timestamps.indexOf(ts) > -1 && !$(this).hasClass('my-kustom-klazz')){
				$(this).addClass('my-kustom-klazz')
			}
		})
    }

...


C API support

Is there a plan to define the C API?

Eventually, when something needs it. It would just wrap the C++, so we want to wait for that to settle first.

FFmpeg need the C API. If C API wrapper is ready, it will be easy to enable nGraph in the FFmpeg.

How are you trying to use nGraph in FFmpeg?.

The use case is simple. it focus on the inference. During the media decoding or transcoding, the end user can do the inference with  the nGraph as one of the backend. it helps accelerate on the different HW.

In your use case, I think you would have a specific graph in mind, and what you really want is the ability to produce a small library with a C API that runs that graph.


[RuntimeFilter] (JDBC) jdbc scan node support IN/MIN_MAX runtime filter

Proposed changes
Issue Number: close #xxx

JDBC scan node can use runtime filter to filter data, 2 main changes:

Generating runtime filters for JDBC scan node if left table is a JDBC external table in join.
Converting IN and MIN_MAX runtime filters to query strings like col in (v1, v2 . . .) and col >= min_v and col <= max_v, then rebuilding _query_string for JDBCScanNode.

Could you add this feature on Nereids planner, not legacy planner, please? legacy planner is planned to be removed in future.

This feature on Nereids planner has already been implemented before this PR, we just need to implement it in legacy planner.

run arm

run arm

run beut


feat: pnpm

Remove yarn / pnp, in favor of pnpm.
✅ $ pnpm unittest
✅ $ pnpm test:plugin
✅ $ pnpm build:plugin
✅ $ pnpm generate
🚩 $ pnpm lint
Checklist

[ ] I have tested this on a device/simulator for each compatible OS
[ ] I formatted JS and TS files with running yarn lint:fix in the root folder
[X] I have run tests via yarn test in the root folder
[X] I updated the documentation with running yarn generate in the root folder
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (index.d.ts)
[ ] I added/updated a sample (/example)

What would be tha advantage of pnpm in this repo? Could you work out some more context?

Hi @sarahsporck, the primary motivation was to reduce the amount of build complexity with the current setup of yarn and pnp.  I believe, and please correct me if I am wrong, but this PR eliminates a whole lot of unnecessary code and configuration  - 45,000 lines.  Please confirm. Tests run, lint works and the plugin and library build.
There are additional benefits of PNPM over yarn and npm. It works well out of the box with monorepos and is really good at managing dependency disk space.  I might be able to get both yarn and pnpm working in the same repo, if you think that is beneficial.
Take a look at #162 that builds upon this PR to implement Expo in a Monorepo environment.


Add Brusselator, type, and function resolve

Closes #101
This PR is for tracking the implementation of the Brusselator Decapode.

This example creates the Brusselator Decapode and runs the generated simulation on a unit square domain and on the unit sphere. Solutions are saved using JLD2 and visualizations are saved as gifs.


It seems that the handling of unkown message ids is broken

I get a lot of these messages running amqtt as a broker:
[2022-02-13 12:02:26,878] :: WARNING :: amqtt.mqtt.protocol.handler :: Received PUBREL for unknown pending message with Id: 14882
[2022-02-13 12:02:26,879] :: WARNING :: amqtt.mqtt.protocol.handler :: Received PUBACK for unknown pending message Id: '11298'
[2022-02-13 12:02:26,879] :: WARNING :: amqtt.mqtt.protocol.handler :: Received PUBCOMP for unknown pending message with Id: 25890

Looking at the code it seems that aqmtt does nothing but print the warning, which seems wrong in my opinion. The messages come back infinitely from the clients because they have not been dealt with.

Could you post a small reproducible code such that it can be tested by the person who wants to fix it?


bug: Create-T3-app accepts more than just 'Y' and 'n' answers.

Provide environment information
  System:
    OS: macOS 12.0.1
    CPU: (8) arm64 Apple M1
    Memory: 72.78 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 9.6.1 - ~/.nvm/versions/node/v16.14.2/bin/npm

"ct3aMetadata": {
    "initVersion": "7.13.0"
  }

Describe the bug
When scaffolding an app using Create-T3, the choices that require a 'Y' or 'n' input will implicitly choose 'n' if the answer does start with a 'Y' or the answer is not either 'Y' or 'n' explicitly.
Reproduction repo
N/A
To reproduce
Run Create-T3-app and type in an answer that either starts with 'Y' or does not start with either 'Y' or 'n'.
For example:
`Yno' -- Implicit Yes
'asdf' -- Implicit No
'nY' -- Implicit No
'Y123' -- Implicit Yes
Additional information
No response

This is a limitation in inquirer. Might be worth opening an issue there. That being said I agree that this isn't great UX and we could consider building our own implementation that only accepts yYnN. Feels low priority to me personally but would be open to a PR that doesn't add too much complexity and still works with CI.

Ah I see, I'll report it to Inquirer too then, maybe someone there can fix it and then we can just upgrade down the line.


Fix #313 (substring_match for Lisp): use simple=true

We can't feed arbitrary prefixes to substring_match match in
non-simple mode. We run into problems when the buffer has alternative
word rules (Like Lisp buffers with vlime).
The simple parameter of find will perform a substring search instead of a regex matching.
The pattern argument also allows more complex searches. See the PatternsTutorial for more information. We can turn off the pattern matching feature by using the optional fourth argument plain. plain takes a boolean value and must be preceeded by index. E.g.,

    > = string.find("Hello Lua user", "%su")          -- find a space character followed by "u"
    10      11
    > = string.find("Hello Lua user", "%su", 1, true) -- turn on plain searches, now not found
    nil

The problem arises when prefix ends with % like for instance foo%.
When using normal Vim word boundaries, % will end a word, so it can't be part of a prefix.

Learn a new thing today! Thanks for the fix:)

Learn a new thing today! Thanks for the fix:)


feature: add AutoLogout

Hey, I just made a Pull Request!
This PR brings the Autologout feature to Backstage. It is composed by the <AutoLogout> React component which handles timers management offered by the react-idle-timer library.
This is a screenshot of the Autologout in action, with a dialog that warns the user that they are about to be logged out:

Closes #18146
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Don't really know what's happening with the CI checks, sometimes Test 16.x passes while Test 18.x not and viceversa 😮

can this PR be open again? I think something will move again when @jhaals will come back from vacation :) @Rugvip

@manuelscurti Is this pull request no longer going on?

Hey there! I'm back from vacation and will promptly address the latest feedback on this merge request. Could we please reopen it in the meantime? @Rugvip @jhaals
It seems this MR has been unlucky of being open before August 😄

I may have closed the MR accidentally. Still I don't understand how. sorry 🥲 btw I worked on the feedback received. waiting for further comments 😄

@Rugvip anything outstanding on your end?

Looks like there's some yarn issue failing builds. Try running yarn again or rebase 🤞

Looks like there's some yarn issue failing builds. Try running yarn again or rebase 🤞

yarn.lock was outdated 😅 thanks!

Great, CI is still read because
packages/core-components/src/layout/SignInPage/providers.tsx:34:1 - error TS6133: 'LAST_SEEN_ONLINE_STORAGE_KEY' is declared but its value is never read.

34 import { LAST_SEEN_ONLINE_STORAGE_KEY } from '../../components/AutoLogout/disconnectedUsers';

Great work with this! This should be good to go 👍


Added Custom Commit Message

I have added the feature for users to insert a custom message within their Git commit.
I started by adding two settings: a select field with four options - ‘Custom Message’, ‘Default Message’, ‘Custom Message With Date’, and ‘Default Message With Date’, and a text field in where users can personalize their commit messages.
Explaination now for the settings:

The default setting is ‘Default Message With Date’, which leaves the behavior of the plugin unchanged.
‘Default Message’ option, I have simply removed the date indication.
‘Custom Message’ option, simply the function takes the text in the text field added. I have implemented appropriate checks to ensure that if the field is left empty, the default message with the date is sent, thus not altering the original behavior.
‘Custom Message With Date’ option functions the same as the ‘Custom Message’ option but adds the date indication.

This enhancement provides users with more flexibility and personalization in their Git commit messages.

Thank you for your efforts, sorry for the late reply.


Question: How do I link to pane? Excalibrain opens a new pane every time when I click the node in excalibrain.

https://user-images.githubusercontent.com/78029539/169510222-40f70cf2-c8bc-4ace-a506-5e4712cc1485.mov

The button you are click is not the right one. It is the open link button... but it only has a role in Excalidraw Edit mode (based on your misunderstanding I will hide it in view mode).

You should go to Excalidraw settings and turn on: Open in Adjacent Pane. then you will not have many panes open.
Going a step further, if you have multiple panes open, but you want Excalibrain to react only to one pane, you can use the pin button for that. You need to click the pane you want to pin ExcaliBrain to, then you need to click the pin button in ExcaliBrain. After this, ExcaliBrain will only listen to changes in the pinned pane, and when you open pages, it will always open in the pinned pane. Changing the page in other panes will not change the graph in ExcaliBrain.

I hope this video will help you better understand:
https://user-images.githubusercontent.com/14358394/169515560-394dbd6d-5fd5-4e38-9d6b-5a9c495f41d0.mp4

The button you are click is not the right one. It is the open link button... but it only has a role in Excalidraw Edit mode (based on your misunderstanding I will hide it in view mode).

You should go to Excalidraw settings and turn on: Open in Adjacent Pane. then you will not have many panes open.
Going a step further, if you have multiple panes open, but you want Excalibrain to react only to one pane, you can use the pin button for that. You need to click the pane you want to pin ExcaliBrain to, then you need to click the pin button in ExcaliBrain. After this, ExcaliBrain will only listen to changes in the pinned pane, and when you open pages, it will always open in the pinned pane. Changing the page in other panes will not change the graph in ExcaliBrain.

I hope this video will help you better understand:
2<IP_ADDRESS>.00.02.mp4

Thank you!


The back end of the file upload component can't find "file"

Issue Type:

[x] Help

Version & Environment:
Description:
The back end of the file upload component can't find "file"

i need more information with element-angular console message, and your code.
if you still have a issue, open a new issue.


 We wanted to recommend pushing this logic upstream into Leftovers. Would you consider cleaning up these GCP objects with Leftovers?
Specifically, we look for:

Any Addresses attached to the network matching the filter
Any routes attached to the network matching the filter
Any DNS Record sets inside of the top level DNS zone matching the filter
Any Firewall rules attached to the network matching the filter

Any of the 4 objects listed above could cause Leftovers to fail. We've found that it's safe to delete these objects, even if they do not match the filter string. I think for some objects, such as VMs, Leftovers will delete all VMs that are attached to the network in question, even if the VM name does not contain the filter. I'm curious if you would want to add more GCP objects to have this same behavior?

@mjj209 That logic sounds great. I can't imagine a user passing a filter knowing it would match some network and not want to delete the things in that network. Would the team be able to make a PR with the current GCP objects they've updated to follow this logic and then we can see what other objects make sense after that?

@nmahoney-pivotal @rowanjacobs Any thing y'all want to add?

Hey @mjj209 @rowanjacobs! Are you still interested in merging this functionality upstream?

Hi @mjj209.
I was reviewing the point about record sets in a dns zone. If a dns zone contains the filter, leftovers does delete the record sets inside of it.
https://github.com/genevieve/leftovers/blob/46d59f734f8af7b3ee68e71b239939a554f3bf7f/gcp/dns/managed_zone.go#L20
https://github.com/genevieve/leftovers/blob/46d59f734f8af7b3ee68e71b239939a554f3bf7f/gcp/dns/record_sets.go#L27-L52
I'm curious under what cases you've seen this cause leftovers to fail to clean up the gcp dns zone.

[ ] Any Addresses attached to the network matching the filter
[ ] Any routes attached to the network matching the filter
[ ] Any DNS Record sets inside of the top level DNS zone matching the filter
[ ] Any Firewall rules attached to the network matching the filter


Issues with amino signing StakeAuthorization, or maybe outdated protobuff?

Hi, I've tested telescope today which basically solved my issues with FeeGrant (I wasnt able to amino sign these types of transactions with default converters from cosmjs and now I can - thats great). First impression - great tool you've provided to the community. Thank you!
But after getting rid of cosmjs amino converters and using my newly generated ones via telescope I've fixed one issue but something what was working before, now stopped :/
StakeAuthorization transaction with MsgGrant returns me:
Broadcasting transaction failed with code 4 (codespace: sdk). Log: signature verification failed; please verify account number (2815654), sequence (23) and chain-id (cosmoshub-4): unauthorized
Which is very generic error telling that 'Hey dude, your converters are shit!'. But I am wondering why. From what I was able to compare, before my msg looked like this (and was working):
{
      "type": "cosmos-sdk/MsgGrant",
      "value": {
        "grant": {
          "authorization": {
            "type": "cosmos-sdk/StakeAuthorization",
            "value": {
              "Validators": {
                "type": "cosmos-sdk/StakeAuthorization/AllowList",
                "value": {
                  "allow_list": {
                    "address": [
                      "xxx"
                    ]
                  }
                }
              },
              "authorization_type": 1,
              "max_tokens": {
                "amount": "28247",
                "denom": "uatom"
              }
            }
          },
          "expiration": "2027-09-27T10:30:33Z"
        },
        "grantee": "xxx",
        "granter": "xxx"
      }
    },

And now it looks like this (and doesnt work):
    {
      "type": "cosmos-sdk/MsgGrant",
      "value": {
        "grant": {
          "authorization": {
            "type": "cosmos-sdk/StakeAuthorization",
            "value": {
              "allow_list": {
                "address": [
                  "xxx"
                ]
              },
              "authorization_type": 1,
              "max_tokens": {
                "amount": "28247",
                "denom": "uatom"
              }
            }
          },
          "expiration": "2027-09-27T15:29:55Z"
        },
        "grantee": "xxx",
        "granter": "xxx"
      }
    },

I followed classic telescope guide from ur README, all works great except this. Looking at proto files and comparing the ones which were installed by telescope and the ones from cosmos-sdk I can say they are different for example for proto x/staking/proto/cosmos/staking/v1beta1/authz.proto
May this difference be an issue? That protobuffs for telescope are outdated? Or maybe something else?

Thanks @wojciechowskip —  can you share your telescope configuration? You likely need to enable interfaces, which should create the proper encoders for the accepts/implements Any interfaces such as authz

@pyramation is that something on telescope side? Matter of config or an issue? Since it does not work for me only for MsgGrant with StakeAuthorization. I was trying to put custom converter for this case but unfortunately it messes everything up :/ Any advice for a temporary workaround to speed things up?
Btw this is a way I am creating a message:
return {     typeUrl: COSMOS_MESSAGE_TYPE_URL.GRANT,     value: MsgGrant.fromPartial({       granter: granterAddress,       grantee: granteeAddress,       grant: Grant.fromPartial({         expiration: expiredDate, // date format         authorization: {           typeUrl: COSMOS_MESSAGE_TYPE_URL.STAKE_AUTHORIZATION, // '/cosmos.staking.v1beta1.StakeAuthorization'           value: StakeAuthorization.encode(             StakeAuthorization.fromPartial({               maxTokens, // Coin               authorizationType: AuthorizationType.AUTHORIZATION_TYPE_DELEGATE, // 1               allowList: StakeAuthorization_Validators.fromPartial({                 address: validatorAddresses,               }),             })           ).finish(),         },       }),     }),   };

https://github.com/cosmology-tech/create-cosmos-app/tree/main/examples/authz
checkout this example for now, we'll dig into these accepts/implements interface issues after Cosmoverse — hopefully this working demo can help! it has the StakeAuthorization in it


Fix the output for codercise I.8.3

Feature details
According to the conversation here, Codercise I.8.3's needs expansion_strategy='device' to properly print the underlying gates from the Mottonen State Preparation.
The fix should be:
print(qml.draw(prepare_state, expansion_strategy='device')(v))
Additional information
No response

Thanks @kmyali! Will push a fix soon.


Error using aws-azure-login container on WSL 2

I have installed Ubuntu 18.04 as a WSL on my Windows 10 laptop.
Windows version and build Version 2004 (OS Build 19035.1)
Docker Edge version <IP_ADDRESS>
I realise that you said that this may be brittle based on windows updates and I am using the bleeding edge version. But can you see any reason why this would not be working?
Method of accessing docker from the WSL
export DOCKERPATH="/mnt/c/Program\ Files/Docker/Docker/resources/bin"
alias docker="$DOCKERPATH/docker.exe"

Method of invoking aws-azure-login config
docker run --rm -it -v ~/.aws:/root/.aws sportradar/aws-azure-login --configure

This works fine.
Method of invoking aws-azure-login
docker run --rm -it -v ~/.aws:/root/.aws sportradar/aws-azure-login

Error
❯ docker run --rm -it -v ~/.aws:/root/.aws sportradar/aws-azure-login
Logging in with profile 'default'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml
? Username<EMAIL_ADDRESS>? Password: [hidden]
We've sent a notification to your mobile device. Please open the Microsoft Authenticator app to respond.
Unable to recognize page state! A screenshot has been dumped to aws-azure-login-unrecognized-state.png. If this problem persists, try runn
ing with --mode=gui or --mode=debug

Attempt with --mode=gui
❯ docker run --rm -it -v ~/.aws:/root/.aws sportradar/aws-azure-login --mode=gui
Logging in with profile 'default'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml
Error: Failed to launch chrome!

(chrome:15): Gtk-WARNING **: cannot open display:

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/aws-azure-login/node_modules/puppeteer/lib/Launcher.js:348:14)
    at ChildProcess.helper.addEventListener (/aws-azure-login/node_modules/puppeteer/lib/Launcher.js:338:60)
    at emitTwo (events.js:131:20)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

Attempt with --mode=debug
Logging in with profile 'default'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml
Error: Failed to launch chrome!

(chrome:15): Gtk-WARNING **: cannot open display:

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/aws-azure-login/node_modules/puppeteer/lib/Launcher.js:348:14)
    at ChildProcess.helper.addEventListener (/aws-azure-login/node_modules/puppeteer/lib/Launcher.js:338:60)
    at emitTwo (events.js:131:20)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

I have also tried using powershell and CMD and get the same errors.

Hi @mchassy,
I'll try to have a look at this next week. I haven't tested the docker image since we took over the maintenance of this tool.

Im afriad this is not working for me either:
` aws-azure-login --mode=gui --mode=debug --no-sandbox  --enable-chrome-network-service  --no-verify-ssl --profile qa
Logging in with profile 'qa'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml
Error: Failed to launch the browser process!
[643:648:0603/151110.437069:ERROR:file_path_watcher_linux.cc(71)] Failed to read /proc/sys/fs/inotify/max_user_watches
[643:643:0603/151110.457320:ERROR:browser_main_loop.cc(1512)] Unable to open X display.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/usr/local/lib/node_modules/aws-azure-login/node_modules/puppeteer/lib/Launcher.js:750:14)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/aws-azure-login/node_modules/puppeteer/lib/Launcher.js:740:61)
at ChildProcess.emit (events.js:327:22)
at ChildProcess.EventEmitter.emit (domain.js:485:12)
at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)`

I was able to get it to work by installing this and running
https://stackoverflow.com/questions/60304251/unable-to-open-x-display-when-trying-to-run-google-chrome-on-centos-rhel-7-5
Then I ran this command:
aws-azure-login --mode=gui --mode=debug --no-sandbox  --enable-chrome-network-service  --no-verify-ssl
worked for me, hope that helps

I've been puzzling over this post for a long time, trying to get this fully working. I have it working without a problem with our MFA provider. From what I've seen, there are 2 basic ways to get this working with WSL2. The long way and the short way.
The short way:

Setup your MFA provider send you a push notification any and every time you login. I've done this with 2 different MFA providers, I don't think the MFA provider matters. Just have it send you a push notification automatically.
Use Docker integration.
You don't have to use any modes or sandobx. It Just Works (TM).

The long way (see @ralphcoder99 above):

Setup a minimal X environment and export the display
Install an X server in windows
Use --mode=gui to open a Chrome window and use the browser to login.

So very late reply, but in my case the --no-prompt flag worked. Just thought I might post if someone runs into this again.
Example command: aws-azure-login --profile dev --no-prompt --mode=gui


Fix incorrect timestamp in spec changelog

These are causing compilation errors in CentOS 7 because the original dates did not match up with the day of the week.


Migration of seat management over soz-core with more options

Linked with #158
I know the code is far from perfect but it's a mix of the old lua  with new functions.

Close --  need rebase and cleanup commit
i'll push another one


Change back to top to use prevent default

This means if something goes wrong, it still won't link anywhere and
is a bit more semantic,
More can be read here:
http://stackoverflow.com/questions/1357118/event-preventdefault-vs-return-false

There is another blog post here on reasoning too:
http://fuelyourcoding.com/jquery-events-stop-misusing-return-false/


New Action: JIRA Comments

Simple action to allow adding a comment to JIRA tickets.  We use this to attach build URLs, test reports, etc. to specific bug tickets.
https://github.com/fastlane/fastlane/issues/4269

@KrauseFx tried to address all your comments, but i'm a bit of a ruby noob.  When I ran rubocop, it said there were no offenses.  I tried to line up the assignments manually.

Looks great, thanks for updating. I added one last comment. Could you also squash the commits? 👍

@KrauseFx Squashed and updated.

Thank you for your contribution, this is awesome 👍


fix: Revert "Merge pull request #175 from supabase/fix/supabase-node-fetch"

This reverts commit dc1d067781f562d5fbfe83109527d57b2d9899b3, reversing changes made to b2e3486222126620cc65a5a1c1f967d25b4fb099.

:tada: This PR is included in version 2.5.3 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Multipart rename upload fails (attempts to complete with original filename)

Hi @jw-12138,
I've switched over to the updated code base and when using the multipart upload, it fails to complete when using the rename option. If I toggle off the rename option, all works as expected.
In the network inspector I can see that it's attempting to call mpu/complete/filename using the original filename, rather than the renamed filename.
Raising this here but I'm guessing, this is possibly an issue relating to https://github.com/jw-12138/r2-uploader-example-worker
Many Thanks
James

Screenshot:
Filename uploaded with rename option, gets to 100% and gets stuck -

Each part is using the renamed filename -

Request made to mpu/complete (incorrectly using the original filename and failing)

Further to my last update, I've been experimenting with Vercel which I doubt I would have looked at without this project, it's superb :-)
From my own branch, I've implemented a fix, tested and raised a pull request above.

this PR has been merged and deployed to r2.jw1.dev, thanks for that!
what a silly mistake i've made 😵💫

also did a refactor, all mpu-related functions are now using the fileName formatted from the uploadFile function so we don't have to read the value again.

thanks again for the PR, the client side code is a mess and poorly documented, yet you still put this much efforts on it ❤😭!

Many thanks again @jw-12138
Love this project and also appreciate your timely help and support 🙌


Current versionName and versionCode?

How do you get the current versionName and versionCode?
My use case is to append some text into the versionName.
For example, current versionName is "1.2.3", then I want it to be "1.2.3-hotfix"

+1 for this
versionCode = currentVersionCode + 1


Breaking change 1.0.6 with titles

Attributes title no longer works since update 1.0.5 to 1.0.6.

bla bla bla

In the new version the title attribute is false by default. In order to use it write this:
$('.tip').tipso({
    useTitle: true
});


Fix one item purchases

If a purchase is only one item, then the responses from eMerchantPay is
a single item, not an array.


Skip saving helm to temp file

install helm directly from the script instead of storing it in a temp file and then executing it.
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>fixes https://github.com/ceph/ceph-csi/issues/980

@Madhu-1 Is deploy.sh meant to be used in a local system? if yes, keeping it in a seperate tmp folder is preferred.

@Madhu-1 Is deploy.sh meant to be used in a local system? if yes, keeping it in a seperate tmp folder is preferred.

not meant to be used, but still, we need it as sometimes we need to test changes locally.

@nixpanic @humblec PTAL

@Madhu-1 Is deploy.sh meant to be used in a local system? if yes, keeping it in a seperate tmp folder is preferred.

not meant to be used, but still, we need it as sometimes we need to test changes locally.

Yeah, in those case the get helm  inside a tmp like folder helps to idenity or not to mangle existing  copy or easy path to wipe as well. Just some thoughts. Its easy to keep everything in a tmp folder then remove before next run compared to be  in the root dir or PWD.

@humblec @nixpanic PTAL

@humblec PTAL

@humblec PTAL

@Madhu-1 can you quickly rebase this PR ? LGTM.

@Madhu-1 can you quickly rebase this PR ? LGTM.

already rebased


Rebuild Tomcat 7 JRE image

The last published tomcat image with JRE 8 is 9 months old. Can we rebuild the image?

cc: @yosifkit @tianon

There's no more JRE images https://github.com/docker-library/tomcat/pull/158

all "jre" variants of the tomcat image are going away because we have to have the JDK to compile Tomcat Native and don't have an easy way to install that temporarily like we did with the Debian-package-based openjdk:jre images :disappointed:

https://github.com/docker-library/official-images/pull/5985

Thanks @wglambert for the updates. I will close the bug.


http.client.duration should be a timer metric

Currently it's a counter.

Another thing that came up was a question from @coccyx:
I thought we removed all .'s from dimension names? I still see http.target was that an omission?
I'm grouping this question here, since it's in the same area of the code.

s/http.target/http_target/g

So, I see that http.client.duration and http.server.duration are both counters (DELTA).  This ticket changes them to be timers (DELTA_MS).

Testing:
Ran nc -klu4w 0 localhost 8125 in one terminal.
Ran LD_PRELOAD=lib/linux/libscope.so curl --http1.1 wttr.in/minneapolis in another.  The "|ms|" part of this output from netcat is what I was looking to see:  (previously it was "|c|")
http.client.duration:426|ms|#http.target:/minneapolis,proc:curl,pid:21084,host:ubuntu18_4,unit:millisecond


fix: clarify between top, k and maxTextRecallSize parameters

Discussed in an internal Teams thread, there is some confusion between "top", "k" and "maxTextRecallSize" parameters and where they apply.
Specifically the docs were wrong about the use of "top" parameter:

"top": gets applied at the end. As such it does not affect the representation of keywords in hybrid search. maxTextRecallSize does.
"top" still applies on keyword-only searches (no vector therefore no "k")

Updated the tip for the semantic ranker as well.
Potentially there are other docs that need attention, I might open more PRs as I find them.

@HeidiSteen
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Tutorials landing page in the docs site

Problem Description
Create a landing page for our guides that lists the guides, maybe as a matrix of cards.
This will be referenced directly from the helidon.io home page.

Examples discussed on #j4c-dev...
https://openliberty.io/guides/
https://istio.io/docs/examples/

A few more site examples:
http://fnproject.io/tutorials/
https://kubernetes.io/docs/tutorials/
https://docs.docker.com/samples/

Generally I very much like the idea of a tutorials landing page.
Specific notes:

The About->Intro page also uses cards (I think), with quite a different look and feel from what is on the mock-up page for the tutorials. It would be good if the two uses of cards look the same. Is the L&F on the mock-up page the proposal for how all cards would display?
Would the eventual plan be to have separate landing pages for the different types of doc, or a single page segmented by type? Currently we have only three tutorials. What about if their cards shared space on a more general page with cards for other types of doc, such as the quick-starts? When we have more tutorials or quick-starts we could spin off a separate page or pages if we wanted.

Like Tim said, the intro page has cards that are generated from asciidoc. see about/01_introduction.adoc
I'm not a fan of collapsible content inside the main area, IMO it should just be scrollable.
How about having sections of cards that can span on multiple lines ? Exactly like openliberty guides https://openliberty.io/guides/

Where do we think the tutorials landing page would be and how would the user get there?
Currently expanding a category in the left-hand nav panel does not also change what's shown in the main panel. Conceivably one option would be that clicking on the Guides (or, perhaps changed to Tutorials) item in the nav panel would not only expand the list but also reload the main panel with the cards for the tutorials. I do not know how easy or hard it would be to change the behavior that way.

one option would be that clicking on the Guides (or, perhaps changed to Tutorials) item in the nav panel would not only expand the list but also reload the main panel with the cards for the tutorials.
+1

See PR https://github.com/oracle/helidon/pull/368 for a draft of the new tutorials landing page based on the CARDS markup that we have in about/01_introduction.adoc.

Where do we think the tutorials landing page would be and how would the user get there?
Currently expanding a category in the left-hand nav panel does not also change what's shown in the main panel. Conceivably one option would be that clicking on the Guides (or, perhaps changed to Tutorials) item in the nav panel would not only expand the list but also reload the main panel with the cards for the tutorials. I do not know how easy or hard it would be to change the behavior that way.

I'd say we should remove the individual guide links from the menu and make it a single link for guides.

Not to expand the scope of this item, but some thoughts that might match up with what we're discussing here...
I think of two general types of items in that left-hand nav panel. Some are categories that contain multiple separate items, such as tutorials and extensions which when expanded list those separate items. Some are single, longer documents which when expanded list the "chapters" (for lack of a better term) of each larger single document.
If it's easy to do, I like the idea of the items in that first category (such as tutorials) both expanding on the left and filling the main pane with cards for the individual items in that category. I think what we are discussing for tutorials applies equally well to extensions and maybe others.
In contrast, web server and config expand into "chapters". The card metaphor for chapters of a larger document is less useful, I think, so I would not suggest using cards for chapters of those types of item although I could be convinced otherwise if it's hard to implement.

I just read Romain's comment that he posted while I was editing this one. That works for me too.

Besides that, we could also add a Tutorials link adjacent to the Documentation link on the main site: https://helidon.io/#/.

I'd rather not add another link at the top. However we could add more links a the bottom in the getting started section. Instead of "try it now", we could have a links for the quickstarts and guides.

Fixed that. Where do you recommend we add the link - directly to the title of each card? Or, is there a way to make the entire card clickable?

Your last update to #368 is not valid asciidoc. Also I can't think of an easy to make the cards clickable currently, we will have to make changes to the sitegen to support that.

Ok, can you pls help me identify the issue in the markup, Romain?

the card block is delimited by --
[CARD]
--
card content
--

In your PR you've removed one of the --

Thanks, Romain!
Given the following CARD ...
[CARD]
--
.Create a RESTful Web Service Using Helidon SE
Use Helidon SE to create a RESTful web service that accepts HTTP requests.
--

How do I make the card title "Create a RESTful Web Service Using Helidon SE" a link pointing to guides/01_SE_REST_web-service.adoc ?

Links in card title are not supported currently, I'm actually working on adding this feature.

Sitegen features can be added anytime, it's not a part of the helidon "product". I'm working on this right now we may be able to use this for 1.0.

Sitegen features can be added anytime, it's not a part of the helidon "product".

Yes, I get that. My question was whether the work you're doing to support links in the card title will be done in the 1.0 timeframe. And you answered that. Thank you!

Do let me know when the feature is ready.   Is there a tracking issue that I can watch ?

I created this issue https://github.com/oracle/helidon-build-tools/issues/28

I really like the idea of the cards and a landing page for tutorials! On a separate note, the copyright year at the bottom of the page (http://helidon.io) only shows 2018. Do we need to update that?

... the copyright year at the bottom of the page (http://helidon.io) only shows 2018. Do we need to update that?

Yes!
@romain-grecourt - Could you please update the copyright notice?
For reference, the Oracle Legal-approved convention is:
"Copyright © , , Oracle and/or its affiliates."

The landing page has not been updated this year yet. @barchetta Can you update the copyright year with your next update in https://github.com/oracle/helidon-site/pull/22 ?
@kumar-dhanagopal the copyright notice of the website was given to us by the proper people. Also for the website I think only having the latest year of update is better.

Let me clarify since this wasn't clear. The copyright text was given to us by lawyers.
Also please stop mentioning internal URLs and corporate legal matters on GitHub.

ok.

@kumar-dhanagopal See PR https://github.com/oracle/helidon-build-tools/pull/29 for the card link support.

Thanks!
So would markup like in the following example make the entire card (including the card title) clickable ?
[CARD]
.Create a RESTful Web Service Using Helidon SE
--
[link=01_SE_REST_web-service.adoc]
Use Helidon SE to create a RESTful web service that accepts HTTP requests.
--

I've added the link attrib to the cards on the landing page.

@romain-grecourt , @barchetta - From @romain-grecourt 's comment in the PR that he closed, it appears that further review is required.  Let me know what else needs to be done to complete this task before 1.0. If we need to talk, my calendar is up to date.

@romain-grecourt  and @barchetta published this page: https://helidon.io/docs/latest/#/guides/01_overview on 2/8


feat(mxe auto-gen):Support aspect modeled as typeref when auto-genera…

…ting MXE
Checklist

[X] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[X] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Completed integration with metadata-models. Verified build success and corresponding MXE schema/code is auto-generated.


pass a file as an argument to a terraform module

hi,
I wan't to keep my project DRY but have a module that requires a config file as an argument (used with terraform's ${file(..)} used in a template_file datasource)
.tfvars files do not support multiline variables as per terraform documentation.
Furthermore it's often preferable to pass a full file as an argument rather than putting it inlined with EOF directive in a .tf file.
Currently the aforementioned file is contained inside the terraform's module itself, what would be my best option to move it back inside my terragrunt's live directory ?
thx,

Could you update your module to take in a file_path param and to call file(var.file_path) on it? If so, you could set file_path in your .tfvars file to a path in live.

hi @brikis98,
Yes i have full control on the module, and passing the file path is an option i have considered.
But is there a way to use a file_path in the .tfvars that allows keeping a clear separation of concerns between modules' code and environment variables?
As far as i remember with terragrunt the module's code is downloaded and executed in a tmp directory so having access to the live dir would mean using an absolute path?
(let me check with a relative path inside the live dir)
It would also be best to avoid referring to the env itself in the file_path var : dev/service/config.yml would not be a good separation of concerns compared to service/config.xml

Use a relative path with one of the Terragrunt helpers to create an absolute path. Example:
terragrunt = {
  terraform {
    source = "..."

    extra_arguments "path" {
      commands = "${get_terraform_commands_that_need_vars()}"
      arguments = ["--var", "file_path=${get_tfvars_dir()/../service/config.xml}"]
    }
  }
}

okkkk, i see, the solution is to pass the file path within a terragrunt block and not inside a plain .tfvars file.
Too bad it hides the declaration of this variable inside the terragrunt specific file :
i built my project to break the terragrunt config into a terraform.tfvars that has the terragrunt = {} block only and a component.tfvars that has the vars definition. So now I have most of the config vars inside the component.tfvars and the config file path inside the other file.
Anyhow I don't see any other way around.
maybe a quick addition to the doc illustrating the use case would be worth it !
Thanks for your help 👍

General-purpose interpolation in .tfvars files is an open issue, so for now, this is the best workaround. PRs to docs welcome :)

Dully noted!
Le ven. 27 oct. 2017 à 14:55, Yevgeniy Brikman<EMAIL_ADDRESS>a
écrit :

Closed #330 https://github.com/gruntwork-io/terragrunt/issues/330.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gruntwork-io/terragrunt/issues/330#event-1313868328,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALcep2DGgPMzx8CNw16pLEroattmChmiks5swdLYgaJpZM4QI32O
.

for whomever would find this, the exact syntax would be:
    extra_arguments "path" {
      commands = ["${get_terraform_commands_that_need_vars()}"]
      arguments = ["-var", "TF_VAR_swagger_file_path=${get_tfvars_dir()}/../service/config.xml"]
    }

i fixed a typo above: we don't need to pass a prefixed TF_VAR_xxx var as we're directly using Terraform's -var option. (see this doc)

Ah, of course, good catch :)


Nitro default config differs from docs

Environment

Operating System: Linux
Node Version:     v18.20.4
Nuxt Version:     3.14.159
CLI Version:      3.15.0
Nitro Version:    2.10.4
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction

Describe the bug
Some default values in nuxt.config.ts for nitro.prerender have been changed by the nuxt project, but are neither mentioned nor referenced in the nuxt documentation: https://nuxt.com/docs/api/nuxt-config#nitro
So I would expect to to see the new defaults (by nuxt hidden in the code) on the nuxt-config reference page.
For example:
## nitro

Configuration for Nitro.
**See**: Nitro configuration docs

**Default**
\```
{
  prerender:  {
    autoSubfolderIndex: true,
    concurrency: cpus().length * 4 || 4,  // <= differs from nitro default
    interval: 0,
    failOnError: true, // <= differs from nitro default
    crawlLinks: false,
    ignore: [],
    routes: [].concat(xxxx),  // <= differs from nitro default
    retry: 3,
    retryDelay: 500
  },
  ...
}
\```

This documentation could help people by debugging complex applications which are failing to generate but are working in SPA mode.
We encountered this issue after upgrading nuxt from 3.5 to 3.14 and wasted many hours troubleshooting, thinking that the documentation was correct but only digging into the code have helped us.
Additional context
No response
Logs

Thanks for discussion. I think it might be helpful indeed to log more information about pretender.
Apart from docs to be improved, I have prepared an upstream proposal: https://github.com/nitrojs/nitro/issues/2906
If you like to contribute it is more than welcome 👍🏼


Add _linear function to utils.LnRNNcell.py

https://github.com/zzw922cn/Automatic_Speech_Recognition/blob/84c7878eb83f12faa6cf6767ee5962f8414ee812/speechvalley/utils/lnRNNCell.py#L49

fix it by adding from tensorflow.contrib.rnn.python.ops.core_rnn_cell import _linear


Update RepoSense for ZhiHeng

Pull Request Test Coverage Report for Build 1061

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.965%

Totals

Change from base Build 986:
0.0%

Covered Lines:
2782

Relevant Lines:
3199

💛  - Coveralls


Adds travis jobs on ppc64le

This PR adds power support on travis.

For what benefit? Nothing in this package should ever behave differently because of architecture.

This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing,For more info tag @gerrith3.

I'm not sure what you mean - why would individual dependencies need to explicitly run tests on a specific ubuntu architecture as long as the tests for your top-level distribution passes?

It clarifies your theory; but 99% of node dependencies never need arch testing, because they do in fact work on every single distro. It requires something that touches the file system, or is a compiled/native dependency, to vary by architecture. Babel itself, for example - but virtually no babel transforms.

From testing close to 100,000 npms, we have found that close to 20% fail on Power.  The reasons are varied, including node.js version dependencies, lack of maintainence, and most often, dependency issues.  We are working on automation that tries to figure out all the types of failures, but it is not 99% that succeed, unfortunately.


Split libvcx alpine image build in 2 phases

Everytime libvcx image (we have cache miss) we are currently rebuilding it from scratch. This includes building libindy and postgres plugin. This can take up 50 minutes and is blocking other jobs.
In this PR, we build separately alpine base image with libindy and posgres, which wouldn't change as often. Then on top of that, we'll build libvcx.
Signed-off-by: Patrik Stas<EMAIL_ADDRESS>

Codecov Report

Merging #174 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   51.15%   51.15%
=======================================
  Files         150      150
  Lines       22899    22899
  Branches     6046     6046
=======================================
  Hits        11713    11713
  Misses       7580     7580
  Partials     3606     3606

Flag
Coverage Δ

#unittests
51.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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